OpenAISeptember 15, 2025

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.

Retired · 2026-07-23Text + Image inputText outputClosed / API only

At a glance

Context window
400K tokens
Max output
128K tokens
Historical text input / output · per 1M tokens
$1.25 / $10.00
Knowledge cutoff
—
R.I.P.R.I.P.GPT-5GPT-5CodexCodex2025 — 20262025 — 2026OpenAIOpenAIREST IN PEACEREST IN PEACE

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

View benchmark details (6)

Benchmark details

6 results · Best published score per benchmark, grouped by category

Benchmark · settingScoreRank
Academic
AIME2025

Thinking High (No Tools) · Mathematics

Source: Artificial Analysis (artificialanalysis.ai)
98.714 / 86
CritPt

Thinking High (No Tools) · Scientific Reasoning

5.170 / 134
MMLU-Pro

Thinking High (No Tools) · Knowledge Exams

Source: Artificial Analysis (artificialanalysis.ai)
86.520 / 153
Coding
SWE-bench Verified

Thinking High (No Tools) · Repository Engineering

74.539 / 108
Terminal Bench Hard

Thinking High (With Tools) · Agentic Development

37.938 / 157
Multimodal
MMMU-Pro

Thinking High (No Tools) · Visual Understanding

73.874 / 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

Estimate running cost for GPT-5 Codex

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

ReasoningMultilingualCoding

GPT-5 Codex vs competitors

Comparable results only · record is GPT-5 Codex's wins–losses

GPT-5 Codex benchmark scores against competitors
BenchmarkGPT-5 CodexThis modelvs Kimi K2.5Record 4–2vs Gemini 3.0 FlashRecord 0–6vs GPT-5.2Record 0–6vs Opus 4.5Record 2–4
Terminal Bench Hard37.934.838.647.047.0
MMLU-Pro86.578.589.087.490.0
MMMU-Pro73.875.479.980.474.0
CritPt5.13.18.611.64.6
SWE-bench Verified74.576.875.880.080.9
AIME202598.796.199.7100.091.3

Lineage

Predecessors and successors · oldest to newest

  1. GPT-5 CodexSep 15, 2025Retired
  2. 60 days
    GPT-5.1 CodexNov 14, 2025Retired
  3. GPT-5.2-CodexDec 18, 202534 days laterRetired
  4. 49 days
    GPT-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

Text inputText outputUSD / 1M tokens
$0$7.56$15.12GPT-5 CodexGPT-5.1 CodexGPT-5.2-CodexGPT-5.3 Codex

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

053.28106.56GPT-5 CodexGPT-5.1 CodexGPT-5.2-CodexGPT-5.3 Codex

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.

Listed prices and selected benchmark scores across model generations
Model · releasedInput / 1MOutput / 1MPrice effectiveAIME2025
1GPT-5 CodexSep 15, 2025 · Retired · This model$1.25$10.002026-11-1498.7 ↗
2GPT-5.1 CodexNov 14, 2025 · Retired$1.25$10.002026-01-0395.7 ↗
3GPT-5.2-CodexDec 18, 2025 · Retired$1.75$14.002026-11-14—
4GPT-5.3 CodexFeb 5, 2026$1.75$14.002026-06-14—

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.

Write an epitaph

One line for GPT-5 Codex. No sign-in, no links, published as written.

8–200 characters200

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.