Verdict
computed from the published numbersGPT-4o wins on price. Grok 4 wins on intelligence and on context window. Benchmark data is unavailable for one or both models.
Price
GPT-4o
Coding
Not called
Intelligence
Grok 4
Context window
Grok 4
Key takeaways
who wins on what, from the published numbersGPT-4o wins
- Cheaper input ($2.50 vs $3.00 /1M)
- Cheaper output ($10.00 vs $15.00 /1M)
- More serving providers (6 vs 5)
- Supports vision
- Supports audio
Grok 4 wins
- Larger context window (131K vs 256K)
- Higher max output (16K vs 256K)
- Has reasoning mode
- Has web search
Cheaper overall
GPT-4o
$2.50 + $10.00 /1M
Larger context
Grok 4
256K
More providers
GPT-4o
6 providers
Pricing & specs
cheapest serving route · per 1M tokens| GPT-4o | Grok 4 | |
|---|---|---|
| Input $/1M | $2.50 best | $3.00 |
| Output $/1M | $10.00 best | $15.00 |
| Context window | 131K | 256K best |
| Max output | 16K | 256K best |
| Serving providers | 6 best | 5 |
| Released | 2024-05-13 | 2024-07-09 |
Benchmarks
Artificial Analysis indices, side by side| GPT-4o | Grok 4 | |
|---|---|---|
| Intelligence | 11.2 | 33.3 best |
| GPQA Diamond | 54% | 88% best |
| Output speed | 99 t/s | Not available |
| Latency (TTFT) | 5.19s | Not available |
Cost calculator
choose a serving route for each sideInput tokens / month
Output tokens / month
GPT-4o
via Azure
$23
Grok 4
via Azure
$30
Capabilities
feature support, side by side| Feature | GPT-4o | Grok 4 |
|---|---|---|
| Vision | ✓ | — |
| Tool use | ✓ | ✓ |
| Reasoning | — | ✓ |
| Audio | ✓ | — |
| Prompt caching | ✓ | ✓ |
| Structured output | ✓ | ✓ |
| Web search | — | ✓ |
Related comparisons
Frequently asked questions
Which is cheaper, GPT-4o or Grok 4?
GPT-4o is cheaper for input ($2.50 vs $3.00 per 1M tokens). GPT-4o is cheaper for output ($10.00 vs $15.00 per 1M tokens).
What is the context window difference between GPT-4o and Grok 4?
GPT-4o has a 131K-token context window and Grok 4 has 256K tokens, so Grok 4 can take a larger prompt.
How do GPT-4o and Grok 4 compare on benchmarks?
On the tracked Artificial Analysis indices, Grok 4 leads on intelligence.
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI