Across 5 comparable benchmarks, GPT-5 Codex has better reported results on 4 and worse on 1.
Moderate evidence5 of 5 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.
GPT-5 Codex is no longer available through its official API. API prices for this version are not shown.
Price basis: Listed rates vs listed rates. The price section below shows the applicable periods.
| Fact | GPT-5.1 Codex | GPT-5 Codex |
|---|---|---|
| Context window | 400K tokens | 400K tokens |
| Input / 1M | — | — |
| Output / 1M | — | — |
| Blended (4:1) | — | — |
| Status | Retired | Retired |
| Released | November 14, 2025 | September 15, 2025 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 4 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
GPT-5 Codex ahead on 2 of 2 counted
GPT-5 Codex ahead on 1 of 1 counted
GPT-5.1 Codex ahead on 1 of 1 counted
No fixed-scale average — see the rows in Benchmark results
GPT-5 Codex 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 Codex. Reading the results
| Benchmark | GPT-5.1 Codex | GPT-5 Codex | Gap |
|---|---|---|---|
| SWE-bench VerifiedRepository Engineering · Accuracy | 70.4Thinking High · tools | 74.5≠Thinking High · no tools | −4.1 pts#60 vs #39 of 108 |
| Terminal Bench HardAgentic Development · Accuracy | 34.8Thinking High · tools | 37.9Thinking High · tools | −3.1 pts#50 vs #38 of 157 |
| AIME2025Mathematics · Accuracy | 95.7Thinking High · no tools | 98.7Thinking High · no tools | −3.0 pts#22 vs #14 of 86 |
| CritPtScientific Reasoning · Score | 5.7Thinking High · no tools | 5.1Thinking High · no tools | 1.12×#66 vs #70 of 134 |
| MMMU-ProVisual Understanding · Accuracy | 72.5Thinking High · no tools | 73.8Thinking High · no tools | −1.3 pts#80 vs #74 of 136 |
Repository Engineering · Accuracy
Agentic Development · Accuracy
Mathematics · Accuracy
Scientific Reasoning · Score
Visual Understanding · Accuracy
A dash means no result is available.
| Benchmark | GPT-5.1 Codex | GPT-5 Codex |
|---|---|---|
| MMLU-Pro | — | 86.5 |
| APEX-SWE | 29.0 | — |
| LiveCodeBench | 85.5 | — |
| Terminal Bench 2.0 | 52.8 | — |
| Terminal-Bench 1.0 | 56.3 | — |
| Vibe Code Bench v1.1 | 13.1 | — |
| LiveBench | 68.6 | — |
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 Codex: Listed text rates; pricing tier not confirmed.
| Price / 1M tokens | GPT-5.1 Codex | GPT-5 Codex | Ratio |
|---|---|---|---|
| Input | — | — | — |
| Output | — | — | — |
| Cached input | — | — | — |
| Cache write | — | — | — |
| Blended | — | — | — |
Estimates use the selected token mix. Cache writes, tool fees and long-context surcharges are excluded.
Lower prices are highlighted. The cache hit rate applies to input tokens only; models without a published cached-input rate use their normal input price for those tokens.Effective dates: GPT-5.1 Codex 2026-01-03; GPT-5 Codex 2026-11-14.| Attribute | GPT-5.1 Codex | GPT-5 Codex |
|---|---|---|
| Availability | Retired | Retired |
| Provider | OpenAI | OpenAI |
| Model type | Coding model | Coding model |
| First release | November 14, 2025 | September 15, 2025 |
| Context window | 400K tokens | 400K tokens |
| Max output | 128K tokens | 128K tokens |
| Architecture | Undisclosed | Undisclosed |
| Documented capabilities | Reasoning, Coding | Reasoning, Multilingual, Coding |
| 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 Codex.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.