GPT-5.4 vs Grok 4.5
GPT-5.4 (OpenAI) and Grok 4.5 (xAI) compared on benchmarks, pricing, context window, and use-case rankings.
- GPT-5.4 leads on overall intelligence (ECI 156 vs 154).
- Grok 4.5 is cheaper on input tokens — $2.00 vs $2.50 per 1M.
- GPT-5.4 has a larger context window (1.1M vs 500K tokens).
- Grok 4.5 ranks higher for coding (91th vs 78th percentile).
| Attribute | GPT-5.4 | Grok 4.5 |
|---|---|---|
| Scores | ||
| Intelligence (ECI) | 156 | 154 |
| Coding | 78 | 91 |
| Math | 88 | 85 |
| Reasoning & Knowledge | 79 | 70 |
| Agentic & Tools | 74 | 75 |
| Specifications | ||
| Developer | OpenAI | xAI |
| Family | GPT | Grok |
| Released | Mar 5, 2026 | Jul 8, 2026 |
| Parameters | — | — |
| Availability | API access | API access |
| Context window | 1.1M | 500K |
| Price — $/M input | $2.50 | $2.00 |
| Price — $/M output | $15.00 | $6.00 |
| Inputs | text, image, file | text, image, file |
| Outputs | text | text |
| Benchmarks | ||
| AIME 2024/2025 | 98% | 98% |
| APEX | 36% | 34% |
| ARC-AGI | 94% | 87% |
| ARC-AGI-2 | 74% | 53% |
| FrontierMath | 48% | — |
| FrontierMath Tier 4 | 27% | — |
| GPQA Diamond | 93% | 93% |
| GSO (code optimization) | 31% | — |
| Humanity's Last Exam | 36% | 40% |
| METR task horizon | 5.7 h | — |
| SciCode | 57% | 54% |
| SimpleQA Verified | 45% | 54% |
| SWE-bench Verified | 77% | — |
| Terminal-Bench | 82% | — |
| WebDev Arena | 1457 | 1551 |
| WeirdML | 78% | 46% |
| τ²-bench | 87% | — |
| SimpleBench | — | 70% |
Use-case scores are 0–100 percentile composites across each area’s benchmarks, ranked against every model from the past year. Highlighted cells lead each row. Open a model for the full picture.
Frequently asked questions
Is GPT-5.4 better than Grok 4.5?
On Epoch AI's Capabilities Index, GPT-5.4 scores higher (156) than Grok 4.5 (154). The right pick depends on your task — compare their coding, math, and reasoning scores in the table above.
Which is cheaper, GPT-5.4 or Grok 4.5?
Grok 4.5 is cheaper on input tokens at $2.00 per million, versus $2.50 (representative OpenRouter pricing).
Which has a larger context window, GPT-5.4 or Grok 4.5?
GPT-5.4 supports up to 1.1M tokens, compared with 500K for the other.
Which is better for coding, GPT-5.4 or Grok 4.5?
Across coding benchmarks like SWE-bench Verified and Terminal-Bench, Grok 4.5 ranks higher — 91th vs 78th percentile among the models tracked on Model Beat.
Want a different match-up? Open the compare tool to add or swap models.
More comparisons
Benchmarks & model data from Epoch AI (CC BY); pricing & specs from OpenRouter. ECI = Epoch Capabilities Index.