← All models
Compare

GPT-5.1-Codex-mini vs Grok 4.5

GPT-5.1-Codex-mini (OpenAI) and Grok 4.5 (xAI) compared on benchmarks, pricing, context window, and use-case rankings.

AttributeGPT-5.1-Codex-miniOpenAIGrok 4.5xAI · 2 in the news
Scores
Intelligence (ECI)154
Coding5191
Math6385
Reasoning & Knowledge3170
Agentic & Tools4875
Specifications
DeveloperOpenAIxAI
FamilyGPTGrok
ReleasedNov 12, 2025Jul 8, 2026
Parameters
AvailabilityAPI accessAPI access
Context window400K500K
Price — $/M input$0.25$2.00
Price — $/M output$2.00$6.00
Inputsimage, texttext, image, file
Outputstexttext
Benchmarks
AIME 2024/202592%98%
GPQA Diamond81%93%
Humanity's Last Exam17%40%
LiveCodeBench84%
MMLU-Pro82%
SciCode43%54%
Terminal-Bench62%
WebDev Arena12471551
τ²-bench63%
APEX34%
ARC-AGI87%
ARC-AGI-253%
SimpleBench70%
SimpleQA Verified54%
WeirdML46%

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.5?

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.5?

Grok 4.5 supports up to 500K tokens, compared with 400K for the other.

Which is better for coding, GPT-5.1-Codex-mini or Grok 4.5?

Across coding benchmarks like SWE-bench Verified and Terminal-Bench, Grok 4.5 ranks higher — 91th vs 51th percentile among the models tracked on Model Beat.

Want a different match-up? Open the compare tool to add or swap models.

Benchmarks & model data from Epoch AI (CC BY); pricing & specs from OpenRouter. ECI = Epoch Capabilities Index.