GPT-5.1-Codex-mini vs Grok 4.6
GPT-5.1-Codex-mini (OpenAI) and Grok 4.6 (xAI) compared on benchmarks, pricing, context window, and use-case rankings.
- GPT-5.1-Codex-mini is cheaper on input tokens — $0.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 45th percentile).
| Attribute | GPT-5.1-Codex-mini | Grok 4.6 |
|---|---|---|
| Scores | ||
| Intelligence (ECI) | — | 156 |
| Coding | 45 | 92 |
| Math | 57 | 91 |
| Reasoning & Knowledge | 22 | 73 |
| Agentic & Tools | 41 | 84 |
| Specifications | ||
| Developer | OpenAI | xAI |
| Family | GPT | Grok |
| Released | Nov 12, 2025 | Aug 12, 2026 |
| Parameters | — | — |
| Availability | API access | API access |
| Context window | 400K | 500K |
| Price — $/M input | $0.25 | $2.00 |
| Price — $/M output | $2.00 | $6.00 |
| Inputs | image, text | text, image, file |
| Outputs | text | text |
| Benchmarks | ||
| AIME 2024/2025 | 92% | 99% |
| GPQA Diamond | 81% | 94% |
| Humanity's Last Exam | 19% | 43% |
| LiveCodeBench | 84% | — |
| MMLU-Pro | 82% | — |
| SciCode | 43% | 56% |
| Terminal-Bench | 62% | — |
| WebDev Arena | 1247 | 1629 |
| τ²-bench | 63% | — |
| APEX | — | 41% |
| ARC-AGI | — | 88% |
| ARC-AGI-2 | — | 67% |
| SimpleBench | — | 76% |
| SimpleQA Verified | — | 49% |
| 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
Which is cheaper, GPT-5.1-Codex-mini or Grok 4.6?
GPT-5.1-Codex-mini is cheaper on input tokens at $0.25 per million, versus $2.00 (representative OpenRouter pricing).
Which has a larger context window, GPT-5.1-Codex-mini 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-mini or Grok 4.6?
Across coding benchmarks like SWE-bench Verified and Terminal-Bench, Grok 4.6 ranks higher — 92th vs 45th 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.