Verdict
computed from the published numbersGPT-5 wins on intelligence and on context window. Grok 4 wins on price. Benchmark data is unavailable for one or both models.
Price
Grok 4
Terminal-Bench
Not called
Intelligence
GPT-5
Context window
GPT-5
Key takeaways
who wins on what, from the published numbersGPT-5 wins
- Larger context window (410K vs 262K)
- More serving providers (9 vs 6)
- Supports vision
- Has reasoning mode
- Supports prompt caching
Grok 4 wins
- Cheaper output ($10.00 vs $2.50 /1M)
- Higher max output (128K vs 256K)
Cheaper overall
Grok 4
$1.25 + $2.50 /1M
Larger context
GPT-5
410K
More providers
GPT-5
9 providers
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-5 | Grok 4 | |
|---|---|---|
| Input $/1M | $1.25via Databricks | $1.25via xAI |
| Output $/1M | $10.00via Databricks | $2.50via xAI best |
| Context window | 410K best | 262K |
| Max output | 128K | 256K best |
| Serving providers | 9 best | 6 |
| Date | Released Aug 7, 2025 | Released Jul 9, 2024 |
Benchmarks
Benchmark scores, side by side| GPT-5 | Grok 4 | |
|---|---|---|
| Intelligence | 23.0 best | 22.5 |
| Terminal-Bench | 35% | Not available |
| GPQA Diamond | 85% | 88% best |
| Output speed | 102 t/s best | 75 t/s |
| Latency (TTFT) | 78.80s | 13.22s best |
Cost calculator
choose a serving route for each sideInput tokens / month
Output tokens / month
GPT-5
via Databricks
$16
Grok 4
via xAI
$8.75
Capabilities
feature support, side by side| Feature | GPT-5 | Grok 4 |
|---|---|---|
| Vision | ✓ | — |
| Tool use | ✓ | ✓ |
| Reasoning | ✓ | — |
| Audio | — | — |
| Prompt caching | ✓ | — |
| Structured output | ✓ | ✓ |
| Web search | ✓ | ✓ |
Related comparisons
Frequently asked questions
Which is cheaper, GPT-5 or Grok 4?
Grok 4 is cheaper for output ($10.00 vs $2.50 per 1M tokens) from xAI.
What is the context window difference between GPT-5 and Grok 4?
GPT-5 has a 410K-token context window and Grok 4 has 262K tokens, so GPT-5 can take a larger prompt.
How do GPT-5 and Grok 4 compare on benchmarks?
On the tracked benchmarks, GPT-5 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