Claude Sonnet 5.5 vs GPT-5.1-Codex
Updated October 21, 2026. 14 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick Claude Sonnet 5.5 for coding: it scores 88.9 on the Vibe Coding Index against 50.5 for GPT-5.1-Codex.
GPT-5.1-Codex is neither cheaper nor larger in context, and leads no benchmark both models were measured on.
- Shared results
- 14
- Claude Sonnet 5.5 only
- 81
- GPT-5.1-Codex only
- 12
- Like-for-like categories
- 6 of 9
Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.
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, four public coding benchmarks
Claude Sonnet 5.5
Claude Sonnet 5.5 scores 88.9 against 50.5.
2 benchmarks behind each score
Intelligence
AA Intelligence Index
Claude Sonnet 5.5
Claude Sonnet 5.5 leads, 56.0 against 23.7.
Same board, both measured
Web design
Design Arena: websites
Claude Sonnet 5.5
Claude Sonnet 5.5 leads, 1326 against 1162.
Same board, both measured
General
Vals Index
No call
Only Claude Sonnet 5.5 has a Vals Index result, 70.8%.
Directional only
Long documents
Listed context window
Claude Sonnet 5.5
Claude Sonnet 5.5 takes 1M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.1-Codex
Claude Sonnet 5.5 $0.0070, GPT-5.1-Codex $0.0063 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GPT-5.1-Codex has the number, $0.892.
Directional only
At a glance
- Coding index
- Claude Sonnet 5.5 88.9 from 2 benchmarks, GPT-5.1-Codex 50.5 from 2 benchmarks.
- Widest category
- Coding, 50.6 points apart on average over 4 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): Claude Sonnet 5.5 92.4% against GPT-5.1-Codex 13.1%, 79.3 points apart on a 0 to 100 scale.
- Output price
- Both cost $10.00 per million output tokens.
- Context window
- Claude Sonnet 5.5 takes 1M tokens, GPT-5.1-Codex 400K.
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 | Claude Sonnet 5.5 | Bars | GPT-5.1-Codex | Ties |
|---|---|---|---|---|
| Coding | 4 | 0 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 2 | 0 | ||
| Reasoning | 1 | 0 | ||
| Web design | 5 | 0 | ||
| General | 1 | 0 | ||
| All shared boards | 14 | 0 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index40
| Benchmark | Claude Sonnet 5.5 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| SWE-bench Verified | Not measured | 66.0% | Only GPT-5.1-Codex measured |
| LiveBench coding | 94.7% | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena WebDev | 1768 | 1337 | Claude Sonnet 5.5 |
| LiveCodeBench (Vals AI) | Not measured | 85.5% | Only GPT-5.1-Codex measured |
| Terminal-Bench 4 (Vals AI) | 64.1% | Not measured | Only Claude Sonnet 5.5 measured |
| Vibe Code Bench (Vals AI) | 92.4% | 13.1% | Claude Sonnet 5.5 |
| Code migration (Vals AI) | 69.8% | Not measured | Only Claude Sonnet 5.5 measured |
| ProgramBench (Vals AI) | 6.5% | Not measured | Only Claude Sonnet 5.5 measured |
| IOI (Vals AI) | 83.1% | Not measured | Only Claude Sonnet 5.5 measured |
| Terminal-Bench 2.1 (Vals AI) | 83.2% | Not measured | Only Claude Sonnet 5.5 measured |
| SWE-bench Multimodal (Vals AI) | 58.3% | Not measured | Only Claude Sonnet 5.5 measured |
| CyberBench (Vals AI) | 59.6% | Not measured | Only Claude Sonnet 5.5 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 84.9% | Only GPT-5.1-Codex measured |
| SciCode | 61.0% | Not measured | Only Claude Sonnet 5.5 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 34.8% | Only GPT-5.1-Codex measured |
| Terminal-Bench | Not measured | 57.8% | Only GPT-5.1-Codex measured |
| FrontierCode | 52.1% | Not measured | Only Claude Sonnet 5.5 measured |
| FrontierSWE | 61.9% | Not measured | Only Claude Sonnet 5.5 measured |
| ALE-Bench | 1819.1 | 1244.9 | Claude Sonnet 5.5 |
| LMArena Text: coding | 1513 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: software and IT | 1504 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena WebDev: React | 1817 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena WebDev: HTML | 1741 | 1346 | Claude Sonnet 5.5 |
| LMArena WebDev: from an image | 1737 | Not measured | Only Claude Sonnet 5.5 measured |
| Neither model has a result on the other 14 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Claude Sonnet 5.5 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| AA Intelligence Index | 56.0 | 23.7 | Claude Sonnet 5.5 |
| Epoch Capabilities Index | 166.2 | Not measured | Only Claude Sonnet 5.5 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Sonnet 5.5 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1303 | 1018 | Claude Sonnet 5.5 |
| Design Arena: agents building full-stack apps | Not measured | 1086 | Only GPT-5.1-Codex measured |
| Design Arena: agents building mobile apps | 1265 | 1191 | Claude Sonnet 5.5 |
| Design Arena: spreadsheets | 1245 | Not measured | Only Claude Sonnet 5.5 measured |
| LiveBench research | 83.6% | Not measured | Only Claude Sonnet 5.5 measured |
| LiveBench browser | 84.0% | Not measured | Only Claude Sonnet 5.5 measured |
| LiveBench long agentic | 78.8% | Not measured | Only Claude Sonnet 5.5 measured |
| SREBench (Vals AI) | 30.1% | Not measured | Only Claude Sonnet 5.5 measured |
| Finance Agent (Vals AI) | 58.1% | Not measured | Only Claude Sonnet 5.5 measured |
| Tax Agent Bench (Vals AI) | 42.0% | Not measured | Only Claude Sonnet 5.5 measured |
| Legal Research Bench (Vals AI) | 48.1% | Not measured | Only Claude Sonnet 5.5 measured |
| Harvey's Legal Agent Benchmark (Vals AI) | 10.4% | Not measured | Only Claude Sonnet 5.5 measured |
| Excel Modeling Benchmark (Vals AI) | 75.7% | Not measured | Only Claude Sonnet 5.5 measured |
| BioMysteryBench (Vals AI) | 81.1% | Not measured | Only Claude Sonnet 5.5 measured |
| Terminal-Bench-Science (Vals AI) | 47.1% | Not measured | Only Claude Sonnet 5.5 measured |
| Vals Science Index | 59.1% | Not measured | Only Claude Sonnet 5.5 measured |
| τ²-Bench Telecom | Not measured | 83.0% | Only GPT-5.1-Codex measured |
| APEX-Agents | 75.5% | Not measured | Only Claude Sonnet 5.5 measured |
| SpireClimb | 1.3% | Not measured | Only Claude Sonnet 5.5 measured |
| Vending-Bench 2 | $11,165 | Not measured | Only Claude Sonnet 5.5 measured |
| Neither model has a result on the other 19 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Claude Sonnet 5.5 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| LiveBench reasoning | 91.6% | Not measured | Only Claude Sonnet 5.5 measured |
| MysteryMechanism (Vals AI) | 49.1% | Not measured | Only Claude Sonnet 5.5 measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 86.0% | Only GPT-5.1-Codex measured |
| Humanity's Last Exam (Artificial Analysis run) | 55.0% | 25.7% | Claude Sonnet 5.5 |
| GPQA Diamond (Epoch AI run) | 95.6% | Not measured | Only Claude Sonnet 5.5 measured |
| Chess puzzles | 59.0% | Not measured | Only Claude Sonnet 5.5 measured |
| Mystery game puzzles | 65.0% | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: hard prompts | 1494 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: expert | 1531 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: hard prompts in English | 1502 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Vision: diagrams | 1329 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Vision: homework | 1331 | Not measured | Only Claude Sonnet 5.5 measured |
| Neither model has a result on the other 9 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | Claude Sonnet 5.5 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| AA Math Index | Not measured | 95.7 | Only GPT-5.1-Codex measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 95.7% | Only GPT-5.1-Codex measured |
| OTIS Mock AIME | 100.0% | Not measured | Only Claude Sonnet 5.5 measured |
| FrontierMath, tiers 1 to 3 | 88.8% | Not measured | Only Claude Sonnet 5.5 measured |
| FrontierMath, tier 4 | 80.5% | Not measured | Only Claude Sonnet 5.5 measured |
| ProofBench | 100.0% | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: math | 1497 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: mathematical work | 1510 | Not measured | Only Claude Sonnet 5.5 measured |
| Neither model has a result on the other 5 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
| Benchmark | Claude Sonnet 5.5 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| MedCode (Vals AI) | 52.9% | Not measured | Only Claude Sonnet 5.5 measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 86.0% | Only GPT-5.1-Codex measured |
| SimpleQA Verified | 46.5% | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: science | 1483 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: medicine and healthcare | 1464 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: legal and government | 1483 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: business and finance | 1468 | Not measured | Only Claude Sonnet 5.5 measured |
| Neither model has a result on the other 10 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | Claude Sonnet 5.5 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| Design Arena: websites | 1326 | 1162 | Claude Sonnet 5.5 |
| Design Arena: UI components | 1367 | 1237 | Claude Sonnet 5.5 |
| Design Arena: game dev | 1469 | 1138 | Claude Sonnet 5.5 |
| Design Arena: data viz | 1389 | 1213 | Claude Sonnet 5.5 |
| Design Arena: 3D | 1458 | Not measured | Only Claude Sonnet 5.5 measured |
| Design Arena: all code categories | 1364 | 1153 | Claude Sonnet 5.5 |
| LiveBench design | 85.0% | Not measured | Only Claude Sonnet 5.5 measured |
| Neither model has a result on the other 2 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Claude Sonnet 5.5 | GPT-5.1-Codex | Leader |
|---|---|---|---|
| Vals Index | 70.8% | Not measured | Only Claude Sonnet 5.5 measured |
| LiveBench data analysis | 59.5% | Not measured | Only Claude Sonnet 5.5 measured |
| Public Benefits Bench (Vals AI) | 67.2% | Not measured | Only Claude Sonnet 5.5 measured |
| SAGE (Vals AI) | 51.8% | Not measured | Only Claude Sonnet 5.5 measured |
| MedScribe (Vals AI) | 91.1% | Not measured | Only Claude Sonnet 5.5 measured |
| IFBench | Not measured | 70.0% | Only GPT-5.1-Codex measured |
| Long context reasoning (AA-LCR) | 82.7% | 69.3% | Claude Sonnet 5.5 |
| DTBench | 97.3% | Not measured | Only Claude Sonnet 5.5 measured |
| LMCA | 68.3% | Not measured | Only Claude Sonnet 5.5 measured |
| Furniture assembly | 75.0% | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text | 1473 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: instruction following | 1492 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: creative writing | 1467 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Vision | 1287 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: English | 1484 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: non-English | 1456 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: Chinese | 1535 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: French | 1499 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: Spanish | 1451 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: Russian | 1454 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: multi-turn | 1465 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: longer queries | 1495 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: writing and language | 1474 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Text: entertainment and media | 1461 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Vision: English | 1289 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Vision: reading text | 1297 | Not measured | Only Claude Sonnet 5.5 measured |
| LMArena Vision: creative writing | 1242 | Not measured | Only Claude Sonnet 5.5 measured |
| Neither model has a result on the other 19 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Sonnet 5.5 | 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
GPT-5.1-Codex costs less
Repository review
50K input + 3K output tokens
GPT-5.1-Codex costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | Anthropic Claude Sonnet 5.5 | OpenAI GPT-5.1-Codex |
|---|---|---|
| Maker | Anthropic | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | September 28, 2026 | November 13, 2025 |
| Context window | 1M | 400K |
| Input $/Mtok | $2.00 | $1.25 |
| Output $/Mtok | $10.00 | $10.00 |
| Coding index | 88.9 | 50.5 |
| Independent measurements behind it | 2 | 2 |
| Cost per solved task | Not computable | $0.892 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Sonnet 5.5 better than GPT-5.1-Codex for coding?
Pick Claude Sonnet 5.5 for coding: it scores 88.9 on the Vibe Coding Index against 50.5 for GPT-5.1-Codex. GPT-5.1-Codex is neither cheaper nor larger in context, and leads no benchmark both models were measured on.
Which is cheaper, Claude Sonnet 5.5 or GPT-5.1-Codex?
Claude Sonnet 5.5 costs $2.00 per million input tokens and $10.00 per million output tokens; GPT-5.1-Codex costs $1.25 and $10.00. Cost per solved task is known for GPT-5.1-Codex only.
Which has the bigger context window, Claude Sonnet 5.5 or GPT-5.1-Codex?
Claude Sonnet 5.5, with 1M tokens against 400K.
How many benchmarks is the Claude Sonnet 5.5 vs GPT-5.1-Codex comparison based on?
14 benchmarks have a result for both models as of October 21, 2026. Claude Sonnet 5.5's coding index rests on 2 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.