GPT-5.1 vs GPT-5.1-Codex
GPT-5.1 leads GPT-5.1-Codex on coding, 40.4 to 15.3 on the Vibe Coding Index, at about the same output price ($10.00 vs $10.00 per million). Updated October 22, 2026; 22 benchmarks have a result for both.
GPT-5.1 or GPT-5.1-Codex: which to pick
Pick GPT-5.1 for coding: it scores 40.4 on the Vibe Coding Index against 15.3 for GPT-5.1-Codex.
Pick GPT-5.1-Codex for a lower cost per solved task ($0.892 against $1.02) and work measured by Terminal-Bench or τ²-Bench Telecom, where it leads.
- Shared results
- 22
- GPT-5.1 only
- 79
- GPT-5.1-Codex only
- 4
- 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.
Coding
Vibe Coding Index, six public coding benchmarks
GPT-5.1
GPT-5.1 scores 40.4 against 15.3.
3 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
GPT-5.1
GPT-5.1 leads, 24.7 against 23.7.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only GPT-5.1 has a GPQA Diamond result, 86.6%.
Directional only
Math
AIME
No call
Only GPT-5.1 has a AIME result, 93.3%.
Directional only
Knowledge
MMLU Pro
No call
Only GPT-5.1 has a MMLU Pro result, 86.4%.
Directional only
Web design
Design Arena: websites
GPT-5.1
GPT-5.1 leads, 1187 against 1161.
Same board, both measured
Long documents
Listed context window
No call
Both take 400K tokens.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
No call
GPT-5.1 $0.0063, GPT-5.1-Codex $0.0063 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-5.1-Codex
GPT-5.1 $1.02, GPT-5.1-Codex $0.892.
Published attempt cost and pass rate
At a glance
- Coding index
- GPT-5.1 40.4 from 3 benchmarks, GPT-5.1-Codex 15.3 from 2 benchmarks.
- Widest category
- General, 6.8 points apart on average over 2 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): GPT-5.1 24.6% against GPT-5.1-Codex 13.1%, 11.5 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.
| Category | GPT-5.1 | Bars | GPT-5.1-Codex | Ties |
|---|---|---|---|---|
| Coding | 6 | 1 | 1 tie | |
| Intelligence | 1 | 0 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 2 | 0 | ||
| Math | 0 | 2 | ||
| Knowledge | 1 | 0 | ||
| Web design | 3 | 2 | ||
| General | 2 | 0 | ||
| All shared boards | 15 | 6 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index61
| Benchmark | GPT-5.1 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| SWE-bench Verified | 66.0% | 66.0% | Tie |
| LMArena WebDev | 1396 | 1337 | GPT-5.1 |
| AA Coding Index | 49.4 | Not measured | Only GPT-5.1 measured |
| LiveCodeBench (Vals AI) | 86.5% | 85.5% | GPT-5.1 |
| SWE-bench Verified (Vals AI) | 69.8% | Not measured | Only GPT-5.1 measured |
| Vibe Code Bench (Vals AI) | 24.6% | 13.1% | GPT-5.1 |
| LiveCodeBench (Artificial Analysis run) | 86.8% | 84.9% | GPT-5.1 |
| Terminal-Bench Hard (Artificial Analysis run) | 45.5% | 34.8% | GPT-5.1 |
| Terminal-Bench | 47.6% | 57.8% | GPT-5.1-Codex |
| GSO-Bench | 13.7% | Not measured | Only GPT-5.1 measured |
| WeirdML | 60.8% | Not measured | Only GPT-5.1 measured |
| ALE-Bench | Not measured | 1244.9 | Only GPT-5.1-Codex measured |
| LMArena Text: coding | 1453 | Not measured | Only GPT-5.1 measured |
| LMArena Text: software and IT | 1454 | Not measured | Only GPT-5.1 measured |
| LMArena WebDev: React | 1307 | Not measured | Only GPT-5.1 measured |
| LMArena WebDev: HTML | 1405 | 1346 | GPT-5.1 |
| LMArena WebDev: from an image | 1421 | Not measured | Only GPT-5.1 measured |
| Neither model has a result on the other 22 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5.1 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| AA Intelligence Index | 24.7 | 23.7 | GPT-5.1 |
| Epoch Capabilities Index | 149.8 | Not measured | Only GPT-5.1 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GPT-5.1 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | Not measured | 1018 | Only GPT-5.1-Codex measured |
| Design Arena: agents building full-stack apps | Not measured | 1086 | Only GPT-5.1-Codex measured |
| Design Arena: agents building mobile apps | Not measured | 1191 | Only GPT-5.1-Codex measured |
| τ²-Bench Telecom | 81.9% | 83.0% | GPT-5.1-Codex |
| DeepResearch Bench | 42.8% | Not measured | Only GPT-5.1 measured |
| Vending-Bench 2 | $1,473 | Not measured | Only GPT-5.1 measured |
| Neither model has a result on the other 35 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5.1 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| GPQA Diamond | 86.6% | Not measured | Only GPT-5.1 measured |
| MMMU Pro (Vals AI) | 83.2% | Not measured | Only GPT-5.1 measured |
| GPQA Diamond (Artificial Analysis run) | 87.3% | 86.0% | GPT-5.1 |
| Humanity's Last Exam (Artificial Analysis run) | 28.5% | 25.7% | GPT-5.1 |
| GPQA Diamond (Epoch AI run) | 87.6% | Not measured | Only GPT-5.1 measured |
| ARC-AGI | 72.8% | Not measured | Only GPT-5.1 measured |
| ARC-AGI-2 | 17.6% | Not measured | Only GPT-5.1 measured |
| SimpleBench | 53.2% | Not measured | Only GPT-5.1 measured |
| Chess puzzles | 42.0% | Not measured | Only GPT-5.1 measured |
| Mystery game puzzles | 19.0% | Not measured | Only GPT-5.1 measured |
| VPCT | 58.7% | Not measured | Only GPT-5.1 measured |
| LMArena Text: hard prompts | 1457 | Not measured | Only GPT-5.1 measured |
| LMArena Text: expert | 1470 | Not measured | Only GPT-5.1 measured |
| LMArena Text: hard prompts in English | 1462 | Not measured | Only GPT-5.1 measured |
| LMArena Vision: diagrams | 1264 | Not measured | Only GPT-5.1 measured |
| LMArena Vision: homework | 1272 | Not measured | Only GPT-5.1 measured |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-5.1 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| AIME | 93.3% | Not measured | Only GPT-5.1 measured |
| MGSM (Vals AI) | 93.0% | Not measured | Only GPT-5.1 measured |
| AA Math Index | 94.0 | 95.7 | GPT-5.1-Codex |
| AIME 2025 (Artificial Analysis run) | 94.0% | 95.7% | GPT-5.1-Codex |
| OTIS Mock AIME | 88.6% | Not measured | Only GPT-5.1 measured |
| LMArena Text: math | 1446 | Not measured | Only GPT-5.1 measured |
| LMArena Text: mathematical work | 1449 | Not measured | Only GPT-5.1 measured |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5.1 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| MMLU Pro | 86.4% | Not measured | Only GPT-5.1 measured |
| LegalBench (Vals AI) | 85.7% | Not measured | Only GPT-5.1 measured |
| CaseLaw (Vals AI) | 73.4% | Not measured | Only GPT-5.1 measured |
| CorpFin (Vals AI) | 63.8% | Not measured | Only GPT-5.1 measured |
| TaxEval (Vals AI) | 74.9% | Not measured | Only GPT-5.1 measured |
| MortgageTax (Vals AI) | 61.4% | Not measured | Only GPT-5.1 measured |
| MedQA (Vals AI) | 96.4% | Not measured | Only GPT-5.1 measured |
| MedCode (Vals AI) | 52.7% | Not measured | Only GPT-5.1 measured |
| MMLU Pro (Artificial Analysis run) | 87.0% | 86.0% | GPT-5.1 |
| SimpleQA Verified | 48.0% | Not measured | Only GPT-5.1 measured |
| LMArena Text: science | 1459 | Not measured | Only GPT-5.1 measured |
| LMArena Text: medicine and healthcare | 1456 | Not measured | Only GPT-5.1 measured |
| LMArena Text: legal and government | 1459 | Not measured | Only GPT-5.1 measured |
| LMArena Text: business and finance | 1431 | Not measured | Only GPT-5.1 measured |
| FACTS Benchmark Suite | 45.0% | Not measured | Only GPT-5.1 measured |
| Neither model has a result on the other 3 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index32
| Benchmark | GPT-5.1 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| Design Arena: websites | 1187 | 1161 | GPT-5.1 |
| Design Arena: UI components | 1163 | 1234 | GPT-5.1-Codex |
| Design Arena: game dev | 1178 | 1137 | GPT-5.1 |
| Design Arena: data viz | 1204 | 1213 | GPT-5.1-Codex |
| Design Arena: 3D | 1060 | Not measured | Only GPT-5.1 measured |
| Design Arena: all code categories | 1170 | 1152 | GPT-5.1 |
| Design Arena: SVG | 1149 | Not measured | Only GPT-5.1 measured |
| Design Arena: ASCII art | 1119 | Not measured | Only GPT-5.1 measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5.1 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 43.2% | Not measured | Only GPT-5.1 measured |
| MedScribe (Vals AI) | 88.1% | Not measured | Only GPT-5.1 measured |
| IFBench | 72.9% | 70.0% | GPT-5.1 |
| Long context reasoning (AA-LCR) | 80.0% | 69.3% | GPT-5.1 |
| DTBench | 90.1% | Not measured | Only GPT-5.1 measured |
| LMCA | 43.9% | Not measured | Only GPT-5.1 measured |
| CL-bench | 23.7% | Not measured | Only GPT-5.1 measured |
| CL-bench Life | 17.3% | Not measured | Only GPT-5.1 measured |
| LMArena Text | 1443 | Not measured | Only GPT-5.1 measured |
| LMArena Text: instruction following | 1443 | Not measured | Only GPT-5.1 measured |
| LMArena Text: creative writing | 1427 | Not measured | Only GPT-5.1 measured |
| LMArena Vision | 1250 | Not measured | Only GPT-5.1 measured |
| LMArena Text: English | 1451 | Not measured | Only GPT-5.1 measured |
| LMArena Text: non-English | 1431 | Not measured | Only GPT-5.1 measured |
| LMArena Text: Chinese | 1495 | Not measured | Only GPT-5.1 measured |
| LMArena Text: German | 1438 | Not measured | Only GPT-5.1 measured |
| LMArena Text: Japanese | 1453 | Not measured | Only GPT-5.1 measured |
| LMArena Text: Korean | 1401 | Not measured | Only GPT-5.1 measured |
| LMArena Text: French | 1450 | Not measured | Only GPT-5.1 measured |
| LMArena Text: Spanish | 1433 | Not measured | Only GPT-5.1 measured |
| LMArena Text: Russian | 1435 | Not measured | Only GPT-5.1 measured |
| LMArena Text: Polish | 1440 | Not measured | Only GPT-5.1 measured |
| LMArena Text: multi-turn | 1450 | Not measured | Only GPT-5.1 measured |
| LMArena Text: longer queries | 1448 | Not measured | Only GPT-5.1 measured |
| LMArena Text: writing and language | 1428 | Not measured | Only GPT-5.1 measured |
| LMArena Text: entertainment and media | 1415 | Not measured | Only GPT-5.1 measured |
| LMArena Vision: English | 1252 | Not measured | Only GPT-5.1 measured |
| LMArena Vision: Chinese | 1270 | Not measured | Only GPT-5.1 measured |
| LMArena Vision: reading text | 1255 | Not measured | Only GPT-5.1 measured |
| LMArena Vision: humor | 1263 | Not measured | Only GPT-5.1 measured |
| LMArena Vision: captioning | 1252 | Not measured | Only GPT-5.1 measured |
| LMArena Vision: recognizing things | 1232 | Not measured | Only GPT-5.1 measured |
| LMArena Vision: creative writing | 1266 | Not measured | Only GPT-5.1 measured |
| LMArena Document | 1403 | Not measured | Only GPT-5.1 measured |
| Neither model has a result on the other 12 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5.1 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| 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
Same cost
Repository review
50K input + 3K output tokens
Same cost
Agent loop
200K input + 10K output tokens
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.
| Specification | OpenAI GPT-5.1 | OpenAI GPT-5.1-Codex |
|---|---|---|
| Maker | OpenAI | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | November 13, 2025 | November 13, 2025 |
| Context window | 400K | 400K |
| Input $/Mtok | $1.25 | $1.25 |
| Output $/Mtok | $10.00 | $10.00 |
| Coding index | 40.4 | 15.3 |
| Independent measurements behind it | 3 | 2 |
| Cost per solved task | $1.02 | $0.892 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5.1 better than GPT-5.1-Codex for coding?
Pick GPT-5.1 for coding: it scores 40.4 on the Vibe Coding Index against 15.3 for GPT-5.1-Codex. Pick GPT-5.1-Codex for a lower cost per solved task ($0.892 against $1.02) and work measured by Terminal-Bench or τ²-Bench Telecom, where it leads.
Which is cheaper, GPT-5.1 or GPT-5.1-Codex?
GPT-5.1 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.1 costs $1.02 and GPT-5.1-Codex $0.892.
Which has the bigger context window, GPT-5.1 or GPT-5.1-Codex?
Neither: both take 400K tokens.
How many benchmarks is the GPT-5.1 vs GPT-5.1-Codex comparison based on?
22 benchmarks have a result for both models as of October 22, 2026. GPT-5.1'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.