Enter opens the highlighted result. Esc closes.

GPT-5.1-Codex vs GPT-5.2-Codex

GPT-5.2-Codex leads GPT-5.1-Codex on coding, 45.4 to 15.3 on the Vibe Coding Index, and GPT-5.1-Codex costs 1.4x less per output token ($10.00 vs $14.00 per million). Updated October 22, 2026; 17 benchmarks have a result for both.

GPT-5.1-CodexOpenAI
Coding
15.3
Overall
No data
Output $/M
$10.00
2
GPT-5.2-CodexOpenAI
Coding
45.4
Overall
No data
Output $/M
$14.00
15
vs boards won of 17 shared

GPT-5.1-Codex or GPT-5.2-Codex: which to pick

Pick GPT-5.2-Codex for coding: it scores 45.4 on the Vibe Coding Index against 15.3 for GPT-5.1-Codex.

Pick GPT-5.1-Codex for output tokens 1.4x cheaper ($10.00 vs $14.00 per million) and work measured by Design Arena: agents building full-stack apps or Design Arena: agents building mobile apps, where it leads.

Shared results
17
GPT-5.1-Codex only
9
GPT-5.2-Codex only
5
Like-for-like categories
5 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
GPT-5.1-Codex 15.3 from 2 benchmarks, GPT-5.2-Codex 45.4 from 3 benchmarks.
Widest category
General, 10.3 points apart on average over 2 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): GPT-5.1-Codex 13.1% against GPT-5.2-Codex 37.9%, 24.8 points apart on a 0 to 100 scale.
Output price
GPT-5.1-Codex $10.00 against GPT-5.2-Codex $14.00 per million output tokens, 1.4x apart.
Context window
Both take 400K tokens.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryGPT-5.1-CodexBarsGPT-5.2-CodexTies
Coding08
Intelligence01
Agentic work22
Reasoning02
General02
All shared boards215
CodingLike-for-likeSix of these boards feed the Vibe Coding Index08
Coding benchmarks for GPT-5.1-Codex and GPT-5.2-Codex
BenchmarkGPT-5.1-CodexGPT-5.2-CodexLeader
SWE-bench Verified66.0%72.8%GPT-5.2-Codex
SWE-bench MultilingualNot measured66.3%Only GPT-5.2-Codex measured
LMArena WebDev13371339GPT-5.2-Codex
LiveCodeBench (Vals AI)85.5%88.0%GPT-5.2-Codex
SWE-bench Verified (Vals AI)Not measured72.4%Only GPT-5.2-Codex measured
Vibe Code Bench (Vals AI)13.1%37.9%GPT-5.2-Codex
LiveCodeBench (Artificial Analysis run)84.9%Not measuredOnly GPT-5.1-Codex measured
Terminal-Bench Hard (Artificial Analysis run)34.8%37.1%GPT-5.2-Codex
Terminal-Bench57.8%66.5%GPT-5.2-Codex
ALE-Bench1244.91299.9GPT-5.2-Codex
LMArena WebDev: ReactNot measured1329Only GPT-5.2-Codex measured
LMArena WebDev: HTML13461348GPT-5.2-Codex
Neither model has a result on the other 27 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GPT-5.1-Codex and GPT-5.2-Codex
BenchmarkGPT-5.1-CodexGPT-5.2-CodexLeader
AA Intelligence Index23.728.5GPT-5.2-Codex
Neither model has a result on the other 1 board here
Agentic workLike-for-likePublic boards, shown as published, kept out of the index22
Agentic work benchmarks for GPT-5.1-Codex and GPT-5.2-Codex
BenchmarkGPT-5.1-CodexGPT-5.2-CodexLeader
Design Arena: agents building web apps10181051GPT-5.2-Codex
Design Arena: agents building full-stack apps1086993GPT-5.1-Codex
Design Arena: agents building mobile apps11911090GPT-5.1-Codex
Design Arena: agents building Android appsNot measured1176Only GPT-5.2-Codex measured
Design Arena: agents building Godot gamesNot measured1142Only GPT-5.2-Codex measured
τ²-Bench Telecom83.0%92.1%GPT-5.2-Codex
Neither model has a result on the other 35 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index02
Reasoning benchmarks for GPT-5.1-Codex and GPT-5.2-Codex
BenchmarkGPT-5.1-CodexGPT-5.2-CodexLeader
GPQA Diamond (Artificial Analysis run)86.0%89.9%GPT-5.2-Codex
Humanity's Last Exam (Artificial Analysis run)25.7%35.7%GPT-5.2-Codex
Neither model has a result on the other 20 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Math benchmarks for GPT-5.1-Codex and GPT-5.2-Codex
BenchmarkGPT-5.1-CodexGPT-5.2-CodexLeader
AA Math Index95.7Not measuredOnly GPT-5.1-Codex measured
AIME 2025 (Artificial Analysis run)95.7%Not measuredOnly GPT-5.1-Codex measured
Neither model has a result on the other 11 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Knowledge benchmarks for GPT-5.1-Codex and GPT-5.2-Codex
BenchmarkGPT-5.1-CodexGPT-5.2-CodexLeader
MMLU Pro (Artificial Analysis run)86.0%Not measuredOnly GPT-5.1-Codex measured
Neither model has a result on the other 17 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
Web design benchmarks for GPT-5.1-Codex and GPT-5.2-Codex
BenchmarkGPT-5.1-CodexGPT-5.2-CodexLeader
Design Arena: websites1161Not measuredOnly GPT-5.1-Codex measured
Design Arena: UI components1234Not measuredOnly GPT-5.1-Codex measured
Design Arena: game dev1137Not measuredOnly GPT-5.1-Codex measured
Design Arena: data viz1213Not measuredOnly GPT-5.1-Codex measured
Design Arena: all code categories1152Not measuredOnly GPT-5.1-Codex measured
Neither model has a result on the other 4 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index02
General benchmarks for GPT-5.1-Codex and GPT-5.2-Codex
BenchmarkGPT-5.1-CodexGPT-5.2-CodexLeader
IFBench70.0%77.6%GPT-5.2-Codex
Long context reasoning (AA-LCR)69.3%82.3%GPT-5.2-Codex
Neither model has a result on the other 44 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-5.1-Codex and GPT-5.2-Codex
BenchmarkGPT-5.1-CodexGPT-5.2-CodexLeader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

GPT-5.1-Codex$0.0063Fits in one request
GPT-5.2-Codex$0.0088Fits in one request

GPT-5.1-Codex costs less

Repository review

50K input + 3K output tokens

GPT-5.1-Codex$0.092Fits in one request
GPT-5.2-Codex$0.130Fits in one request

GPT-5.1-Codex costs less

Agent loop

200K input + 10K output tokens

GPT-5.1-Codex$0.350Fits in one request
GPT-5.2-Codex$0.490Fits in one request

GPT-5.1-Codex costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of GPT-5.1-Codex and GPT-5.2-Codex
SpecificationOpenAI GPT-5.1-CodexOpenAI GPT-5.2-Codex
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedNovember 13, 2025January 14, 2026
Context window400K400K
Input $/Mtok$1.25$1.75
Output $/Mtok$10.00$14.00
Coding index15.345.4
Independent measurements behind it23
Cost per solved task$0.892$0.43
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.1-Codex better than GPT-5.2-Codex for coding?

Pick GPT-5.2-Codex for coding: it scores 45.4 on the Vibe Coding Index against 15.3 for GPT-5.1-Codex. Pick GPT-5.1-Codex for output tokens 1.4x cheaper ($10.00 vs $14.00 per million) and work measured by Design Arena: agents building full-stack apps or Design Arena: agents building mobile apps, where it leads.

Which is cheaper, GPT-5.1-Codex or GPT-5.2-Codex?

GPT-5.1-Codex costs $1.25 per million input tokens and $10.00 per million output tokens; GPT-5.2-Codex costs $1.75 and $14.00. Per solved SWE-bench Verified task, GPT-5.1-Codex costs $0.892 and GPT-5.2-Codex $0.43.

Which has the bigger context window, GPT-5.1-Codex or GPT-5.2-Codex?

Neither: both take 400K tokens.

How many benchmarks is the GPT-5.1-Codex vs GPT-5.2-Codex comparison based on?

17 benchmarks have a result for both models as of October 22, 2026. GPT-5.1-Codex's coding index rests on 2 independent benchmarks and GPT-5.2-Codex's on 3. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/gpt-5-1-codex-vs-gpt-5-2-codex" title="GPT-5.1-Codex vs GPT-5.2-Codex, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/gpt-5-1-codex-vs-gpt-5-2-codex">LLMBenchmark.ai, GPT-5.1-Codex vs GPT-5.2-Codex</a></p>