Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
Xai
Xai

GPT-5 Mini vs Grok 4 Fast

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Best LLMs for OpenClaw Vote for which model works best with OpenClaw

102 out of our 300 tracked models have had a price change in February.

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

Key Takeaways

GPT-5 Mini wins:

  • Higher intelligence benchmark
  • Better at coding
  • Better at math

Grok 4 Fast wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Larger context window
  • Faster response time
Price Advantage
Grok 4 Fast
Benchmark Advantage
GPT-5 Mini
Context Window
Grok 4 Fast
Speed
Grok 4 Fast

Pricing Comparison

Price Comparison

MetricGPT-5 MiniGrok 4 FastWinner
Input (per 1M tokens)$0.25$0.20 Grok 4 Fast
Output (per 1M tokens)$2.00$0.50 Grok 4 Fast
Cache Read (per 1M)$25000.00$50000.00 GPT-5 Mini
Using a 3:1 input/output ratio, Grok 4 Fast is 60% cheaper overall.

GPT-5 Mini Providers

OpenAI $0.25 (Cheapest)
Azure $0.25 (Cheapest)

Grok 4 Fast Providers

xAI $0.20 (Cheapest)

Benchmark Comparison

6
Benchmarks Compared
6
GPT-5 Mini Wins
0
Grok 4 Fast Wins

Benchmark Scores

BenchmarkGPT-5 MiniGrok 4 FastWinner
Intelligence Index
Overall intelligence score
41.022.6
Coding Index
Code generation & understanding
35.319.0
Math Index
Mathematical reasoning
90.741.3
MMLU Pro
Academic knowledge
83.773.0
GPQA
Graduate-level science
82.860.6
LiveCodeBench
Competitive programming
83.840.1
GPT-5 Mini significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
GPT-5 Mini
Other models

Context & Performance

Context Window

GPT-5 Mini
400,000
tokens
Max output: 128,000 tokens
Grok 4 Fast
2,000,000
tokens
Max output: 30,000 tokens
Grok 4 Fast has a 80% larger context window.

Speed Performance

MetricGPT-5 MiniGrok 4 FastWinner
Tokens/second90.8 tok/s172.3 tok/s
Time to First Token83.39s0.60s
Grok 4 Fast responds 90% faster on average.

Capabilities

Feature Comparison

FeatureGPT-5 MiniGrok 4 Fast
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGPT-5 MiniGrok 4 Fast
LicenseProprietaryProprietary
AuthorOpenAIXai
ReleasedAug 2025Sep 2025

GPT-5 Mini Modalities

Input
textimagefile
Output
text

Grok 4 Fast Modalities

Input
textimage
Output
text

Related Comparisons

Compare GPT-5 Mini with:

Compare Grok 4 Fast with:

Frequently Asked Questions

Grok 4 Fast has cheaper input pricing at $0.20/M tokens. Grok 4 Fast has cheaper output pricing at $0.50/M tokens.
GPT-5 Mini scores higher on coding benchmarks with a score of 35.3, compared to Grok 4 Fast's score of 19.0.
GPT-5 Mini has a 400,000 token context window, while Grok 4 Fast has a 2,000,000 token context window.
GPT-5 Mini supports vision. Grok 4 Fast supports vision.