Verdict
computed from the published numbersGrok 4 wins on price, on intelligence and on context window. Benchmark data is unavailable for one or both models.
Price
Grok 4
Terminal-Bench
Not called
Intelligence
Grok 4
Context window
Grok 4
Key takeaways
who wins on what, from the published numbersGPT-4o wins
- Supports vision
- Supports audio
- Supports prompt caching
Grok 4 wins
- Cheaper input ($2.50 vs $1.25 /1M)
- Cheaper output ($10.00 vs $2.50 /1M)
- Larger context window (131K vs 262K)
- Higher max output (16K vs 256K)
- Has web search
Cheaper overall
Grok 4
$1.25 + $2.50 /1M
Larger context
Grok 4
262K
More providers
Tied
Pricing & specs
cheapest listed route · per 1M tokensOn-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments can be materially lower.
| GPT-4o | Grok 4 | |
|---|---|---|
| Input $/1M | $2.50via OpenAI | $1.25via xAI best |
| Output $/1M | $10.00via OpenAI | $2.50via xAI best |
| Context window | 131K | 262K best |
| Max output | 16K | 256K best |
| Serving providers | 6 | 6 |
| Date | Released May 13, 2024 | Released Jul 9, 2024 |
Benchmarks
Benchmark scores, side by side| GPT-4o | Grok 4 | |
|---|---|---|
| Intelligence | 8.4 | 22.5 best |
| GPQA Diamond | 54% | 88% best |
| Output speed | 150 t/s best | 75 t/s |
| Latency (TTFT) | 0.79s best | 13.22s |
Cost calculator
choose a serving route for each sideInput tokens / month
Output tokens / month
GPT-4o
via Gmi
$23
Grok 4
via xAI
$8.75
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?
Grok 4 is cheaper for input ($2.50 vs $1.25 per 1M tokens) from xAI. Grok 4 is cheaper for output ($10.00 vs $2.50 per 1M tokens) from xAI.
What is the context window difference between GPT-4o and Grok 4?
GPT-4o has a 131K-token context window and Grok 4 has 262K tokens, so Grok 4 can take a larger prompt.
How do GPT-4o and Grok 4 compare on benchmarks?
On the tracked benchmarks, Grok 4 leads on intelligence.
Listed prices from LiteLLM, OpenRouter and Vercel · last checked Sep 22, 2026
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI