GPT-5 vs GPT-5.1 Codex
Which is better, GPT-5 or GPT-5.1 Codex?
GPT-5 and GPT-5.1 Codex are evenly matched on the 2 benchmarks both report.
| Spec | GPT-5 | GPT-5.1 Codex |
|---|---|---|
| Provider | OpenAI | OpenAI |
| Released | Aug 7, 2025 | Nov 13, 2025 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | — |
| Context window | 400K | 400K |
| Max output | 125K | 125K |
| Input price / 1M | $1.25 | $1.25 |
| Output price / 1M | $10 | $10 |
| Input modalities | text, image, file (better) | text, image |
| Open weights | No | No |
| License | Proprietary | Proprietary |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 35 (better) | 17 |
| Epoch Capabilities Index | 150.0 | — |
| GPQA Diamond | 86.2% | — |
| Humanity's Last Exam | 25.3% | — |
| SWE-bench Verified | 73.6% | — |
| Terminal-Bench | 49.6% | 57.8% (better) |
| Aider Polyglot | 88.0% | — |
| WebDev Arena | 1420 (better) | 1336 |
| OTIS Mock AIME | 91.4% | — |
| MATH Level 5 | 98.1% | — |
| FrontierMath | 55.4% | — |
| ARC-AGI-2 | 9.9% | — |
| SimpleQA Verified | 50.1% | — |
| METR Time Horizon | 203 min | — |
Cost example
For a workload of 10M input + 2M output tokens per month: GPT-5 costs $32.50 and GPT-5.1 Codex costs $32.50 at list price (OpenAI / openrouter pricing).
About GPT-5
GPT-5 is a proprietary reasoning llm from OpenAI, released Aug 7, 2025. It has a 400K-token context window and accepts text, image, file input. API pricing starts at $1.25 per million input tokens and $10 per million output tokens. It is available from 35 API providers. It scores 150.0 on the Epoch Capabilities Index. Full GPT-5 specs →
About GPT-5.1 Codex
GPT-5.1 Codex is a proprietary reasoning llm from OpenAI, released Nov 13, 2025. It has a 400K-token context window and accepts text, image input. API pricing starts at $1.25 per million input tokens and $10 per million output tokens. It is available from 17 API providers. Full GPT-5.1 Codex specs →
Compare other models
More GPT-5 comparisons
More GPT-5.1 Codex comparisons
More from OpenAI · Categories: visual-based llms (vision & multimodal), reasoning & thinking llms, agentic & tool-calling llms, domain-specific llms
FAQ
Which is better, GPT-5 or GPT-5.1 Codex?
GPT-5 and GPT-5.1 Codex are evenly matched on the 2 benchmarks both report.
Which has a bigger context window?
GPT-5: 400,000 tokens. GPT-5.1 Codex: 400,000 tokens.
Are GPT-5 and GPT-5.1 Codex open source?
GPT-5 is proprietary; GPT-5.1 Codex is proprietary.