Across 7 comparable benchmarks, GPT-5 has better reported results on 5 and worse on 1, with 1 tied.
Moderate evidence7 of 7 shared results countedHow we compare
GPT-5.1 Codex is no longer available through its official API. API prices for this version are not shown.
Price basis: Listed rates vs standard rates. The price section below shows the applicable periods.
| Fact | GPT-5.1 Codex | GPT-5 |
|---|---|---|
| Context window | 400K tokens | 400K tokens |
| Input / 1M | — | $1.25 |
| Output / 1M | — | $10.00 |
| Blended (4:1) | — | $2.19 |
| Status | Retired | Deprecated |
| Released | November 14, 2025 | August 7, 2025 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 6 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
GPT-5 ahead on 3 of 4 counted
GPT-5 ahead on 1 of 1 counted
Tied on 1 counted
No fixed-scale average — see the rows in Benchmark results
GPT-5 ahead on 1 of 1 counted
No shared comparable results for Abstract reasoning, Computer & tool use, Research & search, Long context, Professional work & productivity, Cybersecurity.
Published scores, with matching modes where available. Gaps show GPT-5.1 Codex relative to GPT-5. Reading the results
| Benchmark | GPT-5.1 Codex | GPT-5 | Gap |
|---|---|---|---|
| SWE-bench VerifiedRepository Engineering · Accuracy | 70.4Thinking High · tools | 72.8≠Thinking High · no tools | −2.4 pts#60 vs #49 of 108 |
| Terminal Bench HardAgentic Development · Accuracy | 34.8Thinking High · tools | 37.9≠Thinking Medium · tools | −3.1 pts#50 vs #38 of 157 |
| Terminal-Bench 1.0Agentic Development · Accuracy | 56.3Thinking High · tools | 43.8≠Thinking · tools | +12.5 pts#1 vs #7 of 26 |
| Vibe Code Bench v1.1Code Generation & Editing · Pass rate (%) | 13.1Thinking High · tools | 20.1Thinking High · tools | −7.0 pts#99 vs #88 of 121 |
| AIME2025Mathematics · Accuracy | 95.7Thinking High · no tools | 99.6≠Thinking · tools | −3.9 pts#22 vs #9 of 86 |
| CritPtScientific Reasoning · Score | 5.7Thinking High · no tools | 5.7Thinking High · no tools | =#66 vs #66 of 134 |
| MMMU-ProVisual Understanding · Accuracy | 72.5Thinking High · no tools | 78.4≠Thinking · no tools | −5.9 pts#80 vs #45 of 136 |
Repository Engineering · Accuracy
Agentic Development · Accuracy
Agentic Development · Accuracy
Code Generation & Editing · Pass rate (%)
Mathematics · Accuracy
Scientific Reasoning · Score
Visual Understanding · Accuracy
A dash means no result is available.
| Benchmark | GPT-5.1 Codex | GPT-5 |
|---|---|---|
| FrontierMath | — | 26.3 |
| FrontierMath - Tier 4 | — | 12.5 |
| FrontierMath Tier 4 v2 | — | 22.0 |
| FrontierMath v2 | — | 55.4 |
| GPQA Diamond | — | 87.3 |
| HLE | — | 35.2 |
| IMO-ProofBench | — | 59.0 |
| IMO-ProofBench Advanced | — | 20.0 |
| MATH-500 | — | 99.4 |
| MathArena Apex | — | 1.0 |
| MMLU-Pro | — | 87.1 |
| Aider-Polyglot | — | 88.0 |
| APEX-SWE | 29.0 | — |
| CodeClash | — | 1360 |
| GSO | — | 6.9 |
| IOI 2024 (Vals v1) | — | 11 |
| IOI 2025 (Vals v1) | — | 29 |
| LiveCodeBench | 85.5 | — |
| SWE-Bench Pro - Commercial | — | 14.9 |
| SWE-Bench Pro - Public | — | 41.8 |
| Terminal Bench 2.0 | 52.8 | — |
| WeirdML v2 | — | 60.7 |
| ECI | — | 150 |
| LiveBench | 68.6 | — |
| METR Time Horizons v1.1 | — | 203 |
| Text Arena (Coding) | — | 1395 |
| Creative Writing | — | 1626 |
| EBR-bench | — | 12.7 |
| Fiction.liveBench | — | 97.2 |
| GeoBench ACW | — | 81.0 |
| MMMU | — | 84.2 |
| VPCT | — | 66.0 |
| SAGE | — | 43.7 |
| τ²-Bench | — | 80.0 |
| τ²-Bench - Telecom | — | 95.8 |
| τ³-Banking | — | 22.1 |
| ARC-AGI-1 | — | 65.7 |
| ARC-AGI-2 | — | 9.9 |
| BALROG | — | 32.8 |
| SimpleBench | — | 56.7 |
| BrowseComp | — | 54.9 |
| GAIA | — | 59.4 |
| MedCode | — | 49.6 |
| MedScribe | — | 83.7 |
Time-of-day providers use peak-hour rates; fixed-price providers use standard rates. Off-peak discounts remain in the published details.
Drag the handle above the bar for cache hits, the one below it for the input : output mix · 5% steps
Blended price = effective input rate at 90% cache hits × 80% + output rate × 20%
A blended cost needs a published input and output price on both sides, and one of these two does not have them yet.
GPT-5.1 Codex: Listed text rates; pricing tier not confirmed.
GPT-5: Standard pricing. OpenAI official pricing (developers.openai.com/api/docs/pricing) verified 2026-11-13; standard tier; Deprecated; shutdown 2026-12-11 (replacement: gpt-6.1-sol)
| Price / 1M tokens | GPT-5.1 Codex | GPT-5 | Ratio |
|---|---|---|---|
| Input | — | $1.25 | — |
| Output | — | $10.00 | — |
| Cached input | — | $0.125 | — |
| Cache write | — | — | — |
| Blended | — | $2.19 | — |
Estimates use the selected token mix. Cache writes, tool fees and long-context surcharges are excluded.
Reported cost per task, paired with the score from the same run. Settings and sources may differ; costs do not affect the verdict.
| Attribute | GPT-5.1 Codex | GPT-5 |
|---|---|---|
| Availability | Retired | Deprecated |
| Provider | OpenAI | OpenAI |
| Model type | Coding model | Foundation model |
| First release | November 14, 2025 | August 7, 2025 |
| Context window | 400K tokens | 400K tokens |
| Max output | 128K tokens | 128K tokens |
| Architecture | Undisclosed | Undisclosed |
| Documented capabilities | Reasoning, Coding | Reasoning, Multilingual |
| Input modalities | Text, Image | Text, Image |
| Output modalities | Text | Text |
| Weights | Closed / API only | Closed / API only |
| Commercial use | Proprietary | Proprietary |
These are reported-score comparisons, not controlled head-to-head tests.
What people found comparing these models, or using either one. Comments also appear on the models' own pages.
Sign in with Google to comment on GPT-5.1 Codex vs GPT-5.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.