Price Per TokenPrice Per Token
Microsoft
Microsoft
vs
Xai
Xai

Microsoft vs Xai

Compare all Microsoft and Xai models — pricing, benchmarks, and capabilities

108 out of our 483 tracked models have had a price change in March.

Get our weekly newsletter on pricing changes, new releases, and tools.

Overview

Microsoft

Models
7
Cheapest Input
$0.05
Max Context
131K
Top Intelligence
33.1

Xai

Models
9
Cheapest Input
$0.20
Max Context
2.0M
Top Intelligence
41.5

Flagship Model Comparison

WizardLM-2 8x22BvsGrok 4
MetricWizardLM-2 8x22BGrok 4
Input $/1M tokens$0.62$3.00
Output $/1M tokens$0.62$15.00
Context Window66K256K
Intelligence33.141.5
CodingN/A40.5
MathN/A92.7

All Models Pricing

Microsoft Models

ModelInput/1MOutput/1MContext
WizardLM-2 8x22B $0.62 $0.6266K
Phi-3 Medium 128K Instruct $1.00 $1.00128K
Phi-3 Mini 128K Instruct $0.10 $0.10128K
Phi 4 $0.06 $0.1416K
Phi 4 Multimodal Instruct $0.05 $0.10131K
Phi 4 Reasoning Plus $0.07 $0.3532K
Phi-3.5 Mini 128K Instruct $0.10 $0.10128K

Xai Models

ModelInput/1MOutput/1MContext
Grok 4 $3.00 $15.00256K
Grok 3 Mini $0.25 $0.50131K
Grok Code Fast 1 $0.20 $1.50256K
Grok 4.1 Fast $0.20 $0.502.0M
Grok 4 Fast $0.20 $0.502.0M
Grok 3 $3.00 $15.00131K
Grok 3 Mini Beta $0.30 $0.50131K
Grok 3 Beta $3.00 $15.00131K
Grok 3 Fast $5.00 $25.00131K

Benchmark Comparison

Best Scores by Provider

BenchmarkMicrosoftXai
Intelligence
33.1
WizardLM-2 8x22B
41.5
Grok 4
Coding
11.2
Phi 4
40.5
Grok 4
Math
18.0
Phi 4
92.7
Grok 4
MMLU Pro
71.4
Phi 4
86.6
Grok 4
GPQA
57.5
Phi 4
87.7
Grok 4
LiveCodeBench
23.1
Phi 4
81.9
Grok 4
Aider
44.4
WizardLM-2 8x22B
79.6
Grok 4
AIME
14.3
Phi 4
94.3
Grok 4
BBH
48.6
WizardLM-2 8x22B
N/A

Capabilities

CapabilityMicrosoftXai
Vision✓ (3 models)
Tool Calls✓ (7 models)✓ (9 models)
Reasoning✓ (2 models)✓ (6 models)
Audio Input
Audio Output
PDF Input
Web Search✓ (8 models)
Prompt Caching✓ (8 models)
Open Source Models✓ (7 models)

Model-Level Comparisons

Compare specific models head-to-head:

Frequently Asked Questions

Microsoft has 7 models while Xai has 9 models available through API providers.
Microsoft's cheapest model starts at $0.05/M input tokens, while Xai's cheapest starts at $0.20/M input tokens.
It depends on your needs. Compare specific models from each provider using the head-to-head comparisons above. Consider factors like pricing, benchmark performance, context window size, and supported capabilities.