OpenAINovember 14, 2025

GPT-5.1 Codex

OpenAI GPT-5.1 Codex

GPT-5.1-Codex is a version of GPT-5.1 optimised for long-running, agentic coding in Codex and similar environments, released on November 13, 2025. It has a 400K-token context window with up to 128K output tokens and accepts text and image input. It has since been retired in favour of newer Codex models.

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-5.1GPT-5.1CodexCodex2025 — 20262025 — 2026OpenAIOpenAIREST IN PEACEREST IN PEACE

A place to remember

Retired, not forgotten.

Released
14 Nov 2025
Endpoint retired
23 Jul 2026
Time in service
251 days

Superseded · Successor: GPT-5.1 Pro

“Finished in the top three on 1 leaderboard. Outlived by GPT-5.1 Pro.”

22 leaderboards · 1 top-three finishes · Best rank #1. The full model record remains below.

Benchmark snapshot

Best result in each categories

View benchmark details (11)

Benchmark details

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

Benchmark · settingScoreRank
Academic
AIME2025

Thinking High (No Tools) · Mathematics

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

Thinking High (No Tools) · Scientific Reasoning

5.766 / 134
Coding
APEX-SWE

Thinking High (With Tools) · Repository Engineering

29.053 / 61
LiveCodeBench

Thinking High (With Tools) · Algorithmic Coding

85.524 / 113
SWE-bench Verified

Thinking High (With Tools) · Repository Engineering

70.460 / 108
Terminal Bench 2.0

Thinking High (With Tools) · Agentic Development

52.828 / 46
Terminal Bench Hard

Thinking High (With Tools) · Agentic Development

34.850 / 157
Terminal-Bench 1.0

Thinking High (With Tools) · Agentic Development

56.31 / 26
Vibe Code Bench v1.1

Thinking High (With Tools) · Code Generation & Editing

13.199 / 121
General Evaluation
LiveBench

Normal (No Tools) · Cross-capability Suites

68.663 / 106
Multimodal
MMMU-Pro

Thinking High (No Tools) · Visual Understanding

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

Text rates in USD per million tokens; other billing units shown below · effective 2026-01-03

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

Image pricing

  • image input$1.25 / 1M tokens

    Migrated from MODEL_API_PRICE#205 (standard)

  • image cache read$0.125 / 1M tokens

    cache_status = hit · Migrated cached input from MODEL_API_PRICE#206

Estimate running cost for GPT-5.1 Codex

Specifications

Provider
OpenAI
Model type
Coding model
Released
November 14, 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

ReasoningCoding

GPT-5.1 Codex vs competitors

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

GPT-5.1 Codex benchmark scores against competitors
BenchmarkGPT-5.1 CodexThis modelvs Claude Opus 4.6Record 1–9vs Kimi K2.5Record 3–6–1vs Opus 4.5Record 2–8vs Gemini 3.0 Pro (Preview 11-2025)Record 1–8–1
Terminal Bench Hard34.848.534.847.041.7
MMMU-Pro72.577.375.474.080.2
CritPt5.712.63.14.69.1
Vibe Code Bench v1.113.157.617.520.614.3
LiveCodeBench85.576.085.087.192.0
SWE-bench Verified70.480.876.880.976.2
LiveBench68.674.569.172.673.4
AIME202595.799.896.191.395.7
APEX-SWE29.041.830.338.726.8
Terminal Bench 2.052.865.450.859.356.9

Lineage

Predecessors and successors · oldest to newest

  1. GPT-5 CodexSep 15, 2025Retired
  2. 60 days
    GPT-5.1 CodexNov 14, 2025Retiredvs GPT-5 Codex
  3. GPT-5.2-CodexDec 18, 202534 days laterRetired
  4. 49 days
    GPT-5.3 CodexFeb 5, 2026

Generational jump vs GPT-5 Codex

4 like-for-like benchmarks with the same protocol and setting.

Full head-to-head
GPT-5.1 CodexGPT-5 CodexOther ranked models

Thinking High (No Tools) · 114 ranked

5.1→5.7
0204035.7Claude Fable 5…Muse Wonder Fu…GPT-5.6 SolClaude Opus 5.5GPT-6.1 SolGPT-6 AstraClaude Sonnet…5.7GPT-5.1 CodexGPT-5InklingQwen3.8-27B5.1GPT-5 Codex+0.6 · #65→#61
Hover or focus any bar to inspect rank & scoreRank #65 → #61

Thinking High (No Tools) · 113 ranked

73.8%→72.5%
05010090.0Kimi K3.1 ProClaude Opus 5.5GPT-6.2 AstraClaude Fable 5…GPT-6 Astra73.8GPT-5 CodexGemma 4 26B A4BInklingGPT-5.4 miniGLM-5V-TurboQwen3.5-35B-A3B72.5GPT-5.1 Codex−1.3% · #69→#75
Hover or focus any bar to inspect rank & scoreRank #69 → #75

Thinking High (No Tools) · 57 ranked

98.7%→95.7%
050100100.0Claude Sonnet…GPT-5-ProGrok 4 HeavyGPT-5.2Step 3.5 Flash98.7GPT-5 CodexGLM-4.6GPT OSS 120BMAI-Thinking-1Haiku 4.5GLM-4.795.7GPT-5.1 Codex−3.0% · #11→#17
Hover or focus any bar to inspect rank & scoreRank #11 → #17

Thinking High (With Tools) · 113 ranked

37.9%→34.8%
037.57565.9GPT-5.6 SolClaude Fable 5GPT-5.6 TerraGPT-5.5Claude Opus 4.8GPT-5.4Gemini 3.0 Fla…37.9GPT-5 CodexGPT-5Step 3.7 Flash34.8GPT-5.1 CodexMiniMax M2.5−3.1% · #35→#45
Hover or focus any bar to inspect rank & scoreRank #35 → #45

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$1.25$10.002026-11-1498.7 ↗
2GPT-5.1 CodexNov 14, 2025 · Retired · This model$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.1 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.