GPT-5.1-Codex-Max vs Grok 4.6
GPT-5.1-Codex-Max (OpenAI) and Grok 4.6 (xAI) compared on benchmarks, pricing, context window, and use-case rankings.
- Grok 4.6 leads on overall intelligence (ECI 156 vs 150).
- GPT-5.1-Codex-Max is cheaper on input tokens — $1.25 vs $2.00 per 1M.
- Grok 4.6 has a larger context window (500K vs 400K tokens).
- Grok 4.6 ranks higher for coding (92th vs 61th percentile).
| Attribute | GPT-5.1-Codex-Max | Grok 4.6 |
|---|---|---|
| Scores | ||
| Intelligence (ECI) | 150 | 156 |
| Coding | 61 | 92 |
| Math | — | 91 |
| Reasoning & Knowledge | — | 73 |
| Agentic & Tools | 41 | 84 |
| Specifications | ||
| Developer | OpenAI | xAI |
| Family | GPT | Grok |
| Released | Nov 19, 2025 | Aug 12, 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 | 3.7 h | — |
| Terminal-Bench | 60% | — |
| AIME 2024/2025 | — | 99% |
| APEX | — | 41% |
| ARC-AGI | — | 88% |
| ARC-AGI-2 | — | 67% |
| GPQA Diamond | — | 94% |
| Humanity's Last Exam | — | 43% |
| SciCode | — | 56% |
| SimpleBench | — | 76% |
| SimpleQA Verified | — | 49% |
| WebDev Arena | — | 1629 |
| WeirdML | — | 67% |
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.1-Codex-Max better than Grok 4.6?
On Epoch AI's Capabilities Index, Grok 4.6 scores higher (156) than GPT-5.1-Codex-Max (150). The right pick depends on your task — compare their coding, math, and reasoning scores in the table above.
Which is cheaper, GPT-5.1-Codex-Max or Grok 4.6?
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.6?
Grok 4.6 supports up to 500K tokens, compared with 400K for the other.
Which is better for coding, GPT-5.1-Codex-Max or Grok 4.6?
Across coding benchmarks like SWE-bench Verified and Terminal-Bench, Grok 4.6 ranks higher — 92th vs 61th 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.