GPT-5.1-Codex-Max vs Grok 4.5
GPT-5.1-Codex-Max (OpenAI) and Grok 4.5 (xAI) compared on benchmarks, pricing, context window, and use-case rankings.
- GPT-5.1-Codex-Max is cheaper on input tokens — $1.25 vs $2.00 per 1M.
- Grok 4.5 has a larger context window (500K vs 400K tokens).
- Grok 4.5 ranks higher for coding (91th vs 70th percentile).
| Attribute | GPT-5.1-Codex-Max | Grok 4.5 |
|---|---|---|
| Scores | ||
| Intelligence (ECI) | — | 154 |
| Coding | 70 | 91 |
| Math | — | 85 |
| Reasoning & Knowledge | — | 70 |
| Agentic & Tools | 51 | 75 |
| Specifications | ||
| Developer | OpenAI | xAI |
| Family | GPT | Grok |
| Released | Nov 19, 2025 | Jul 8, 2026 |
| Parameters | — | — |
| Availability | API access | API access |
| Context window | 400K | 500K |
| Price — $/M input | $1.25 | $2.00 |
| Price — $/M output | $10.00 | $6.00 |
| Inputs | text, image | text, image, file |
| Outputs | text | text |
| Benchmarks | ||
| METR task horizon | 2.7 h | — |
| Terminal-Bench | 60% | — |
| AIME 2024/2025 | — | 98% |
| APEX | — | 34% |
| ARC-AGI | — | 87% |
| ARC-AGI-2 | — | 53% |
| GPQA Diamond | — | 93% |
| Humanity's Last Exam | — | 40% |
| SciCode | — | 54% |
| SimpleBench | — | 70% |
| SimpleQA Verified | — | 54% |
| WebDev Arena | — | 1551 |
| WeirdML | — | 46% |
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
Which is cheaper, GPT-5.1-Codex-Max or Grok 4.5?
GPT-5.1-Codex-Max is cheaper on input tokens at $1.25 per million, versus $2.00 (representative OpenRouter pricing).
Which has a larger context window, GPT-5.1-Codex-Max or Grok 4.5?
Grok 4.5 supports up to 500K tokens, compared with 400K for the other.
Which is better for coding, GPT-5.1-Codex-Max or Grok 4.5?
Across coding benchmarks like SWE-bench Verified and Terminal-Bench, Grok 4.5 ranks higher — 91th vs 70th 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.