Enter opens the highlighted result. Esc closes.

GPT-5 vs GPT-5.1-Codex

GPT-5 leads GPT-5.1-Codex on coding, 38.8 to 15.3 on the Vibe Coding Index, at about the same output price ($10.00 vs $10.00 per million). Updated October 21, 2026; 23 benchmarks have a result for both.

GPT-5OpenAI
Coding
38.8
Overall
51.5
Output $/M
$10.00
15
GPT-5.1-CodexOpenAI
Coding
15.3
Overall
No data
Output $/M
$10.00
8
vs boards won of 23 shared

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

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

Pick GPT-5.1-Codex for work measured by LiveCodeBench (Artificial Analysis run) or Terminal-Bench, where it leads.

Shared results
23
GPT-5 only
90
GPT-5.1-Codex only
3
Like-for-like categories
8 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 38.8 from 3 benchmarks, GPT-5.1-Codex 15.3 from 2 benchmarks.
Widest category
Coding, 7.4 points apart on average over 9 shared benchmarks.
Widest single gap
ALE-Bench: GPT-5 807.6 against GPT-5.1-Codex 1244.9, 14.6 points apart on a 0 to 100 scale.
Output price
Both cost $10.00 per million output tokens.
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-5BarsGPT-5.1-CodexTies
Coding63
Intelligence01
Agentic work10
Reasoning11
Math02
Knowledge10
Web design41
General20
All shared boards158
CodingLike-for-likeSix of these boards feed the Vibe Coding Index63
Coding benchmarks for GPT-5 and GPT-5.1-Codex
BenchmarkGPT-5GPT-5.1-CodexLeader
Aider polyglot88.0%Not measuredOnly GPT-5 measured
SWE-bench Verified74.4%66.0%GPT-5
LMArena WebDev14181337GPT-5
AA Coding Index37.8Not measuredOnly GPT-5 measured
LiveCodeBench (Vals AI)85.9%85.5%GPT-5
SWE-bench Verified (Vals AI)69.0%Not measuredOnly GPT-5 measured
Vibe Code Bench (Vals AI)20.1%13.1%GPT-5
LiveCodeBench (Artificial Analysis run)84.6%84.9%GPT-5.1-Codex
Terminal-Bench Hard (Artificial Analysis run)37.9%34.8%GPT-5
Terminal-Bench49.6%57.8%GPT-5.1-Codex
GSO-Bench6.9%Not measuredOnly GPT-5 measured
WeirdML60.7%Not measuredOnly GPT-5 measured
ALE-Bench807.61244.9GPT-5.1-Codex
LMArena Text: coding1436Not measuredOnly GPT-5 measured
LMArena Text: software and IT1420Not measuredOnly GPT-5 measured
LMArena WebDev: HTML14271346GPT-5
SciCode0.0%Not measuredOnly GPT-5 measured
Neither model has a result on the other 22 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GPT-5 and GPT-5.1-Codex
BenchmarkGPT-5GPT-5.1-CodexLeader
AA Intelligence Index23.023.7GPT-5.1-Codex
Epoch Capabilities Index150.0Not measuredOnly GPT-5 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GPT-5 and GPT-5.1-Codex
BenchmarkGPT-5GPT-5.1-CodexLeader
Design Arena: agents building web appsNot measured1018Only GPT-5.1-Codex measured
Design Arena: agents building full-stack appsNot measured1086Only GPT-5.1-Codex measured
Design Arena: agents building mobile appsNot measured1191Only GPT-5.1-Codex measured
τ²-Bench Telecom86.5%83.0%GPT-5
METR time horizons69.6%Not measuredOnly GPT-5 measured
Remote Labor Index1.7%Not measuredOnly GPT-5 measured
GDPval34.8%Not measuredOnly GPT-5 measured
BALROG32.8%Not measuredOnly GPT-5 measured
DeepResearch Bench49.6%Not measuredOnly GPT-5 measured
BrowseComp-Plus80.0%Not measuredOnly GPT-5 measured
Neither model has a result on the other 31 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index11
Reasoning benchmarks for GPT-5 and GPT-5.1-Codex
BenchmarkGPT-5GPT-5.1-CodexLeader
GPQA Diamond85.6%Not measuredOnly GPT-5 measured
MMMU Pro (Vals AI)81.5%Not measuredOnly GPT-5 measured
GPQA Diamond (Artificial Analysis run)85.4%86.0%GPT-5.1-Codex
Humanity's Last Exam (Artificial Analysis run)28.5%25.7%GPT-5
GPQA Diamond (Epoch AI run)86.2%Not measuredOnly GPT-5 measured
ARC-AGI65.7%Not measuredOnly GPT-5 measured
ARC-AGI-29.9%Not measuredOnly GPT-5 measured
SimpleBench56.7%Not measuredOnly GPT-5 measured
Chess puzzles36.0%Not measuredOnly GPT-5 measured
Mystery game puzzles23.0%Not measuredOnly GPT-5 measured
EBR-bench12.7%Not measuredOnly GPT-5 measured
VPCT66.0%Not measuredOnly GPT-5 measured
LMArena Text: hard prompts1415Not measuredOnly GPT-5 measured
LMArena Text: expert1419Not measuredOnly GPT-5 measured
LMArena Text: hard prompts in English1419Not measuredOnly GPT-5 measured
LMArena Vision: diagrams1252Not measuredOnly GPT-5 measured
LMArena Vision: homework1278Not measuredOnly GPT-5 measured
Kagi LLM Benchmark72.7%Not measuredOnly GPT-5 measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for GPT-5 and GPT-5.1-Codex
BenchmarkGPT-5GPT-5.1-CodexLeader
AIME93.4%Not measuredOnly GPT-5 measured
MATH 500 (Vals AI)96.0%Not measuredOnly GPT-5 measured
MGSM (Vals AI)92.8%Not measuredOnly GPT-5 measured
AA Math Index94.395.7GPT-5.1-Codex
AIME 2025 (Artificial Analysis run)94.3%95.7%GPT-5.1-Codex
OTIS Mock AIME91.4%Not measuredOnly GPT-5 measured
FrontierMath, tiers 1 to 355.4%Not measuredOnly GPT-5 measured
FrontierMath, tier 422.0%Not measuredOnly GPT-5 measured
ProofBench18.0%Not measuredOnly GPT-5 measured
MATH level 598.1%Not measuredOnly GPT-5 measured
LMArena Text: math1407Not measuredOnly GPT-5 measured
LMArena Text: mathematical work1405Not measuredOnly GPT-5 measured
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index10
Knowledge benchmarks for GPT-5 and GPT-5.1-Codex
BenchmarkGPT-5GPT-5.1-CodexLeader
MMLU Pro86.5%Not measuredOnly GPT-5 measured
LegalBench (Vals AI)86.0%Not measuredOnly GPT-5 measured
CaseLaw (Vals AI)66.5%Not measuredOnly GPT-5 measured
CorpFin (Vals AI)61.1%Not measuredOnly GPT-5 measured
TaxEval (Vals AI)73.4%Not measuredOnly GPT-5 measured
MortgageTax (Vals AI)65.5%Not measuredOnly GPT-5 measured
MedQA (Vals AI)96.3%Not measuredOnly GPT-5 measured
MedCode (Vals AI)49.6%Not measuredOnly GPT-5 measured
MMLU Pro (Artificial Analysis run)87.1%86.0%GPT-5
SimpleQA Verified50.1%Not measuredOnly GPT-5 measured
GeoBench81.0%Not measuredOnly GPT-5 measured
LMArena Text: science1416Not measuredOnly GPT-5 measured
LMArena Text: medicine and healthcare1413Not measuredOnly GPT-5 measured
LMArena Text: legal and government1431Not measuredOnly GPT-5 measured
LMArena Text: business and finance1400Not measuredOnly GPT-5 measured
FACTS Benchmark Suite56.5%Not measuredOnly GPT-5 measured
Neither model has a result on the other 2 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index41
Web design benchmarks for GPT-5 and GPT-5.1-Codex
BenchmarkGPT-5GPT-5.1-CodexLeader
Design Arena: websites11841162GPT-5
Design Arena: UI components11801237GPT-5.1-Codex
Design Arena: game dev11851138GPT-5
Design Arena: data viz12211213GPT-5
Design Arena: 3D1056Not measuredOnly GPT-5 measured
Design Arena: all code categories11681152GPT-5
Design Arena: SVG1189Not measuredOnly GPT-5 measured
Design Arena: ASCII art1141Not measuredOnly GPT-5 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index20
General benchmarks for GPT-5 and GPT-5.1-Codex
BenchmarkGPT-5GPT-5.1-CodexLeader
SAGE (Vals AI)43.7%Not measuredOnly GPT-5 measured
MedScribe (Vals AI)83.7%Not measuredOnly GPT-5 measured
IFBench73.1%70.0%GPT-5
Long context reasoning (AA-LCR)78.2%69.3%GPT-5
DTBench90.7%Not measuredOnly GPT-5 measured
LMCA40.0%Not measuredOnly GPT-5 measured
Fiction.LiveBench97.2%Not measuredOnly GPT-5 measured
Creative writing (Lech Mazur)86.0%Not measuredOnly GPT-5 measured
LMArena Text1406Not measuredOnly GPT-5 measured
LMArena Text: instruction following1388Not measuredOnly GPT-5 measured
LMArena Text: creative writing1365Not measuredOnly GPT-5 measured
LMArena Vision1232Not measuredOnly GPT-5 measured
LMArena Text: English1409Not measuredOnly GPT-5 measured
LMArena Text: non-English1397Not measuredOnly GPT-5 measured
LMArena Text: Chinese1422Not measuredOnly GPT-5 measured
LMArena Text: German1416Not measuredOnly GPT-5 measured
LMArena Text: Japanese1409Not measuredOnly GPT-5 measured
LMArena Text: Korean1360Not measuredOnly GPT-5 measured
LMArena Text: French1409Not measuredOnly GPT-5 measured
LMArena Text: Spanish1399Not measuredOnly GPT-5 measured
LMArena Text: Russian1407Not measuredOnly GPT-5 measured
LMArena Text: Polish1431Not measuredOnly GPT-5 measured
LMArena Text: multi-turn1426Not measuredOnly GPT-5 measured
LMArena Text: longer queries1399Not measuredOnly GPT-5 measured
LMArena Text: writing and language1384Not measuredOnly GPT-5 measured
LMArena Text: entertainment and media1379Not measuredOnly GPT-5 measured
LMArena Vision: English1231Not measuredOnly GPT-5 measured
LMArena Vision: Chinese1267Not measuredOnly GPT-5 measured
LMArena Vision: reading text1246Not measuredOnly GPT-5 measured
LMArena Vision: humor1219Not measuredOnly GPT-5 measured
LMArena Vision: captioning1212Not measuredOnly GPT-5 measured
LMArena Vision: recognizing things1263Not measuredOnly GPT-5 measured
LMArena Vision: creative writing1210Not measuredOnly GPT-5 measured
Neither model has a result on the other 13 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-5 and GPT-5.1-Codex
BenchmarkGPT-5GPT-5.1-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$0.0063Fits in one request
GPT-5.1-Codex$0.0063Fits in one request

Same cost

Repository review

50K input + 3K output tokens

GPT-5$0.092Fits in one request
GPT-5.1-Codex$0.092Fits in one request

Same cost

Agent loop

200K input + 10K output tokens

GPT-5$0.350Fits in one request
GPT-5.1-Codex$0.350Fits in one request

Same cost

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 and GPT-5.1-Codex
SpecificationOpenAI GPT-5OpenAI GPT-5.1-Codex
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedAugust 7, 2025November 13, 2025
Context window400K400K
Input $/Mtok$1.25$1.25
Output $/Mtok$10.00$10.00
Coding index38.815.3
Independent measurements behind it32
Cost per solved task$0.39$0.892
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GPT-5 for coding: it scores 38.8 on the Vibe Coding Index against 15.3 for GPT-5.1-Codex. Pick GPT-5.1-Codex for work measured by LiveCodeBench (Artificial Analysis run) or Terminal-Bench, where it leads.

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

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

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

Neither: both take 400K tokens.

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

23 benchmarks have a result for both models as of October 21, 2026. GPT-5's coding index rests on 3 independent benchmarks and GPT-5.1-Codex's on 2. 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-vs-gpt-5-1-codex" title="GPT-5 vs GPT-5.1-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-vs-gpt-5-1-codex">LLMBenchmark.ai, GPT-5 vs GPT-5.1-Codex</a></p>