Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
Xai
Xai

GPT-5 Image Mini vs Grok 4

A detailed comparison of pricing, benchmarks, and capabilities

Sponsor Price Per Token Reach 5000+ developers comparing LLM APIs

125 out of our 298 tracked models have had a price change in January.

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

Key Takeaways

GPT-5 Image Mini wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Larger context window

Grok 4 wins:

  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
Price Advantage
GPT-5 Image Mini
Benchmark Advantage
Grok 4
Context Window
GPT-5 Image Mini
Speed
Grok 4

Pricing Comparison

Price Comparison

MetricGPT-5 Image MiniGrok 4Winner
Input (per 1M tokens)$2.50$3.00 GPT-5 Image Mini
Output (per 1M tokens)$2.00$15.00 GPT-5 Image Mini
Cache Read (per 1M)$250000.00$750000.00 GPT-5 Image Mini
Using a 3:1 input/output ratio, GPT-5 Image Mini is 60% cheaper overall.

GPT-5 Image Mini Providers

OpenAI $2.50 (Cheapest)

Grok 4 Providers

Vercel $3.00 (Cheapest)
xAI $3.00 (Cheapest)

Benchmark Comparison

8
Benchmarks Compared
0
GPT-5 Image Mini Wins
0
Grok 4 Wins

Benchmark Scores

BenchmarkGPT-5 Image MiniGrok 4Winner
Intelligence Index
Overall intelligence score
-41.4-
Coding Index
Code generation & understanding
-40.5-
Math Index
Mathematical reasoning
-92.7-
MMLU Pro
Academic knowledge
-86.6-
GPQA
Graduate-level science
-87.7-
LiveCodeBench
Competitive programming
-81.9-
Aider
Real-world code editing
-79.6-
AIME
Competition math
-94.3-
Grok 4 significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Other models

Context & Performance

Context Window

GPT-5 Image Mini
400,000
tokens
Max output: 128,000 tokens
Grok 4
256,000
tokens
GPT-5 Image Mini has a 36% larger context window.

Speed Performance

MetricGPT-5 Image MiniGrok 4Winner
Tokens/secondN/A38.7 tok/s
Time to First TokenN/A7.94s

Capabilities

Feature Comparison

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

License & Release

PropertyGPT-5 Image MiniGrok 4
LicenseProprietaryProprietary
AuthorOpenAIXai
ReleasedOct 2025Jul 2025

GPT-5 Image Mini Modalities

Input
fileimagetext
Output
imagetext

Grok 4 Modalities

Input
imagetext
Output
text

Related Comparisons

Compare GPT-5 Image Mini with:

Compare Grok 4 with:

Frequently Asked Questions

GPT-5 Image Mini has cheaper input pricing at $2.50/M tokens. GPT-5 Image Mini has cheaper output pricing at $2.00/M tokens.
Grok 4 scores higher on coding benchmarks with a score of 40.5, compared to GPT-5 Image Mini's score of N/A.
GPT-5 Image Mini has a 400,000 token context window, while Grok 4 has a 256,000 token context window.
GPT-5 Image Mini supports vision. Grok 4 supports vision.