← All models
Compare

GPT‑5-Codex vs Grok 4.5

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

AttributeGPT‑5-CodexOpenAIGrok 4.5xAI · 2 in the news
Scores
Intelligence (ECI)154
Coding5491
Math9285
Reasoning & Knowledge6070
Agentic & Tools4775
Specifications
DeveloperOpenAIxAI
FamilyGPTGrok
ReleasedSep 15, 2025Jul 8, 2026
Parameters
AvailabilityAPI accessAPI access
Context window400K500K
Price — $/M input$1.25$2.00
Price — $/M output$10.00$6.00
Inputstext, imagetext, image, file
Outputstexttext
Benchmarks
AIME 2024/202599%98%
APEX20%34%
GPQA Diamond84%93%
Humanity's Last Exam26%40%
LiveCodeBench84%
MMLU-Pro87%
SciCode41%54%
Terminal-Bench44%
WeirdML55%46%
τ²-bench87%
ARC-AGI87%
ARC-AGI-253%
SimpleBench70%
SimpleQA Verified54%
WebDev Arena1551

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-Codex or Grok 4.5?

GPT‑5-Codex is cheaper on input tokens at $1.25 per million, versus $2.00 (representative OpenRouter pricing).

Which has a larger context window, GPT‑5-Codex 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-Codex or Grok 4.5?

Across coding benchmarks like SWE-bench Verified and Terminal-Bench, Grok 4.5 ranks higher — 91th vs 54th 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.