Price Per TokenPrice Per Token
Microsoft
Microsoft
vs
Xai
Xai

Phi-3 Medium 128K Instruct vs Grok 3 Mini

A detailed comparison of 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.

Key Takeaways

Phi-3 Medium 128K Instruct wins:

  • No clear advantages in compared metrics

Grok 3 Mini wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
  • Has reasoning mode
Price Advantage
Grok 3 Mini
Benchmark Advantage
Grok 3 Mini
Context Window
Grok 3 Mini
Speed
Grok 3 Mini

Pricing Comparison

Price Comparison

MetricPhi-3 Medium 128K InstructGrok 3 MiniWinner
Input (per 1M tokens)$1.00$0.25 Grok 3 Mini
Output (per 1M tokens)$1.00$0.50 Grok 3 Mini
Cache Read (per 1M)N/A$0.07 Grok 3 Mini
Using a 3:1 input/output ratio, Grok 3 Mini is 69% cheaper overall.

Phi-3 Medium 128K Instruct Providers

No provider data available

Grok 3 Mini Providers

No provider data available

Benchmark Comparison

8
Benchmarks Compared
0
Phi-3 Medium 128K Instruct Wins
2
Grok 3 Mini Wins

Benchmark Scores

BenchmarkPhi-3 Medium 128K InstructGrok 3 MiniWinner
Intelligence Index
Overall intelligence score
32.032.1-
Coding Index
Code generation & understanding
-25.2-
Math Index
Mathematical reasoning
-84.7-
MMLU Pro
Academic knowledge
41.282.8
GPQA
Graduate-level science
11.579.1
LiveCodeBench
Competitive programming
-69.6-
AIME
Competition math
-93.3-
BBH
Big-Bench Hard
48.5--
Grok 3 Mini significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Phi-3 Medium 128K Instruct
Other models

Context & Performance

Context Window

Phi-3 Medium 128K Instruct
128,000
tokens
Grok 3 Mini
131,072
tokens
Grok 3 Mini has a 2% larger context window.

Speed Performance

MetricPhi-3 Medium 128K InstructGrok 3 MiniWinner
Tokens/secondN/A196.6 tok/s
Time to First TokenN/A0.47s

Capabilities

Feature Comparison

FeaturePhi-3 Medium 128K InstructGrok 3 Mini
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyPhi-3 Medium 128K InstructGrok 3 Mini
LicenseOpen SourceProprietary
AuthorMicrosoftXai
ReleasedUnknownJun 2025

Phi-3 Medium 128K Instruct Modalities

Input
Output

Grok 3 Mini Modalities

Input
text
Output
text

Related Comparisons

Compare Phi-3 Medium 128K Instruct with:

Compare Grok 3 Mini with:

Frequently Asked Questions

Grok 3 Mini has cheaper input pricing at $0.25/M tokens. Grok 3 Mini has cheaper output pricing at $0.50/M tokens.
Grok 3 Mini scores higher on coding benchmarks with a score of 25.2, compared to Phi-3 Medium 128K Instruct's score of N/A.
Phi-3 Medium 128K Instruct has a 128,000 token context window, while Grok 3 Mini has a 131,072 token context window.
Phi-3 Medium 128K Instruct does not support vision. Grok 3 Mini does not support vision.