GPT-5 Codex
GPT-5-Codex is a version of GPT-5 optimised for agentic software engineering in OpenAI's Codex, released on September 15, 2025. It was trained on real engineering work such as building projects, refactoring, debugging and code review, adjusts how long it thinks to task complexity, and can work independently for hours. It has since been retired.
At a glance
- Context window
- 400K tokens
- Max output
- 128K tokens
- Historical text input / output · per 1M tokens
- $1.25 / $10.00
- Knowledge cutoff
- —
A place to remember
Retired, not forgotten.
- Released
- 15 Sep 2025
- Endpoint retired
- 23 Jul 2026
- Time in service
- 311 days
Superseded · Successor: GPT-5-Codex-Mini
“Built to write code. Rewritten within the year.”
15 leaderboards · 0 top-three finishes · Best rank #14. The full model record remains below.
Benchmark snapshot
Best result in each categories
AcademicMMLU-Pro
86.5Thinking High (No Tools) · #20 of 153
Source: Artificial Analysis (artificialanalysis.ai)CodingTerminal Bench Hard
37.9Thinking High (With Tools) · #38 of 157
MultimodalMMMU-Pro
73.8Thinking High (No Tools) · #74 of 136
Benchmark details
6 results · Best published score per benchmark, grouped by category
| Benchmark · setting | Score | Rank |
|---|---|---|
| Academic | ||
| AIME2025 Thinking High (No Tools) · Mathematics Source: Artificial Analysis (artificialanalysis.ai) | 98.7 | 14 / 86 |
| CritPt Thinking High (No Tools) · Scientific Reasoning | 5.1 | 70 / 134 |
| MMLU-Pro Thinking High (No Tools) · Knowledge Exams Source: Artificial Analysis (artificialanalysis.ai) | 86.5 | 20 / 153 |
| Coding | ||
| SWE-bench Verified Thinking High (No Tools) · Repository Engineering | 74.5 | 39 / 108 |
| Terminal Bench Hard Thinking High (With Tools) · Agentic Development | 37.9 | 38 / 157 |
| Multimodal | ||
| MMMU-Pro Thinking High (No Tools) · Visual Understanding | 73.8 | 74 / 136 |
Rank is this model's position among every model with a published result on that leaderboard; the bar shows how far up the field that is. Orange marks first place on leaderboards with at least 5 models. Unranked leaderboards publish a composite or direction-less score.
Back to benchmark snapshot ↑Historical API pricing
Listed text rates, USD per million tokens · effective 2026-11-14
- Input
- $1.25
- Output
- $10.00
- Cached input
- $0.125
Blended price4:1 input:output · 90% of input tokens cached · same basis as the price ranking
$2.19/ 1M tokens
Specifications
- Provider
- OpenAI
- Model type
- Coding model
- Released
- September 15, 2025
- Endpoint retired
- 2026-07-23 Source
- Architecture
- Undisclosed
- Context window
- 400K tokens
- Max output
- 128K tokens
- Input
- Text, Image
- Output
- Text
- Weights
- Closed / API only
- Commercial use
- Proprietary
Capabilities
GPT-5 Codex vs competitors
Comparable results only · record is GPT-5 Codex's wins–losses
| Benchmark | GPT-5 CodexThis model | vs Kimi K2.5Record 4–2 | vs Gemini 3.0 FlashRecord 0–6 | vs GPT-5.2Record 0–6 | vs Opus 4.5Record 2–4 |
|---|---|---|---|---|---|
| Terminal Bench Hard | 37.9 | 34.8 | 38.6 | 47.0 | 47.0 |
| MMLU-Pro | 86.5 | 78.5 | 89.0 | 87.4 | 90.0 |
| MMMU-Pro | 73.8 | 75.4 | 79.9 | 80.4 | 74.0 |
| CritPt | 5.1 | 3.1 | 8.6 | 11.6 | 4.6 |
| SWE-bench Verified | 74.5 | 76.8 | 75.8 | 80.0 | 80.9 |
| AIME2025 | 98.7 | 96.1 | 99.7 | 100.0 | 91.3 |
Lineage
Predecessors and successors · oldest to newest
- GPT-5 CodexSep 15, 2025Retired
- 60 days
- 49 daysGPT-5.3 CodexFeb 5, 2026
Price & benchmark trends
Across curated predecessors and successors, ordered by release date. Points use listed rates and published results, not within-model price history. Related branches may appear; undated models appear last.
API price across generations
Uncached text rates on one linear USD axis (lower is cheaper). Retired models may keep their last recorded rate; inspect each model for tier conditions.
Benchmark performance across generations
Accuracy · Higher is better. Same recorded metric, protocol and setting.
Inspect AIME2025 ↗Orange marks this model. Hover, tap or focus the chart to inspect exact values. Missing values leave gaps; horizontal spacing shows release order, not elapsed time.
| Model · released | Input / 1M | Output / 1M | Price effective | AIME2025 |
|---|---|---|---|---|
| 1GPT-5 CodexSep 15, 2025 · Retired · This model | $1.25 | $10.00 | 2026-11-14 | 98.7 ↗ |
| 2GPT-5.1 CodexNov 14, 2025 · Retired | $1.25 | $10.00 | 2026-01-03 | 95.7 ↗ |
| 3GPT-5.2-CodexDec 18, 2025 · Retired | $1.75 | $14.00 | 2026-11-14 | — |
| 4GPT-5.3 CodexFeb 5, 2026 | $1.75 | $14.00 | 2026-06-14 | — |
Primary sources
- GPT-5 Codex technical reportopenai.com
- GPT-5 Codex online demochatgpt.com
On the stone
Memories and epitaphs, kept separately from model reviews.
Epitaphs from visitors
Nobody has written on this stone yet. The first line is yours.
Community discussion
Share the API, setup, and tradeoffs you actually tested. Rate the model once; comment as often as you like.
Sign in with Google to rate this model and leave a comment.
No community comments yet.
