Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.6 vs GPT-5.1-Codex-Mini

Claude Sonnet 4.6 leads GPT-5.1-Codex-Mini on the Artificial Analysis Intelligence Index, 30.1 to 20.4, and GPT-5.1-Codex-Mini costs 7.5x less per output token ($2.00 vs $15.00 per million). Updated October 21, 2026; 18 benchmarks have a result for both.

Claude Sonnet 4.6Anthropic
Coding
57.3
Overall
60.3
Output $/M
$15.00
16
GPT-5.1-Codex-MiniOpenAI
Coding
No data
Overall
No data
Output $/M
$2.00
2
vs boards won of 18 shared

Claude Sonnet 4.6 or GPT-5.1-Codex-Mini: which to pick

Only Claude Sonnet 4.6 has a coding score, 57.3 on the Vibe Coding Index; GPT-5.1-Codex-Mini has none, so the two cannot be ranked on coding.

Pick GPT-5.1-Codex-Mini for output tokens 7.5x cheaper ($2.00 vs $15.00 per million) and work measured by Terminal-Bench or IFBench, where it leads.

Shared results
18
Claude Sonnet 4.6 only
100
GPT-5.1-Codex-Mini only
4
Like-for-like categories
6 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
Claude Sonnet 4.6 57.3 from 5 benchmarks, GPT-5.1-Codex-Mini not benchmarked.
Widest category
Coding, 28.3 points apart on average over 4 shared benchmarks.
Widest single gap
LMArena WebDev: HTML: Claude Sonnet 4.6 1527 against GPT-5.1-Codex-Mini 1253, 45.6 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.6 $15.00 against GPT-5.1-Codex-Mini $2.00 per million output tokens, 7.5x apart.
Context window
Claude Sonnet 4.6 takes 1M tokens, GPT-5.1-Codex-Mini 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.

Boards won, where both have a result
CategoryClaude Sonnet 4.6BarsGPT-5.1-Codex-MiniTies
Coding31
Intelligence10
Agentic work10
Reasoning20
Web design80
General11
All shared boards162
CodingLike-for-likeSix of these boards feed the Vibe Coding Index31
Coding benchmarks for Claude Sonnet 4.6 and GPT-5.1-Codex-Mini
BenchmarkClaude Sonnet 4.6GPT-5.1-Codex-MiniLeader
LiveBench coding66.6%Not measuredOnly Claude Sonnet 4.6 measured
LMArena WebDev15231244Claude Sonnet 4.6
AA Coding Index63.0Not measuredOnly Claude Sonnet 4.6 measured
LiveCodeBench (Vals AI)82.1%Not measuredOnly Claude Sonnet 4.6 measured
SWE-bench Verified (Vals AI)77.4%Not measuredOnly Claude Sonnet 4.6 measured
Vibe Code Bench (Vals AI)55.8%Not measuredOnly Claude Sonnet 4.6 measured
Code migration (Vals AI)39.9%Not measuredOnly Claude Sonnet 4.6 measured
ProgramBench (Vals AI)0.5%Not measuredOnly Claude Sonnet 4.6 measured
Terminal-Bench 2.1 (Vals AI)57.3%Not measuredOnly Claude Sonnet 4.6 measured
SkillsBench (Vals AI)49.0%Not measuredOnly Claude Sonnet 4.6 measured
LiveCodeBench (Artificial Analysis run)Not measured83.6%Only GPT-5.1-Codex-Mini measured
SciCode50.1%Not measuredOnly Claude Sonnet 4.6 measured
Terminal-Bench Hard (Artificial Analysis run)53.0%33.3%Claude Sonnet 4.6
Terminal-Bench53.4%61.6%GPT-5.1-Codex-Mini
FrontierCode24.3%Not measuredOnly Claude Sonnet 4.6 measured
WeirdML66.1%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: coding1503Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: software and IT1491Not measuredOnly Claude Sonnet 4.6 measured
LMArena WebDev: React1512Not measuredOnly Claude Sonnet 4.6 measured
LMArena WebDev: HTML15271253Claude Sonnet 4.6
LMArena WebDev: from an image1529Not measuredOnly Claude Sonnet 4.6 measured
Neither model has a result on the other 18 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Claude Sonnet 4.6 and GPT-5.1-Codex-Mini
BenchmarkClaude Sonnet 4.6GPT-5.1-Codex-MiniLeader
AA Intelligence Index30.120.4Claude Sonnet 4.6
Epoch Capabilities Index152.8Not measuredOnly Claude Sonnet 4.6 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Claude Sonnet 4.6 and GPT-5.1-Codex-Mini
BenchmarkClaude Sonnet 4.6GPT-5.1-Codex-MiniLeader
AA Agentic Index31.8Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: agents building web apps1190Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: agents building full-stack apps1213Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: agents building mobile apps1212Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: agents building Android apps1196Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: agents building Godot games1226Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: agents building games1177Not measuredOnly Claude Sonnet 4.6 measured
LiveBench research63.6%Not measuredOnly Claude Sonnet 4.6 measured
LiveBench browser68.0%Not measuredOnly Claude Sonnet 4.6 measured
LiveBench long agentic23.1%Not measuredOnly Claude Sonnet 4.6 measured
Finance Agent (Vals AI)51.0%Not measuredOnly Claude Sonnet 4.6 measured
Tax Agent Bench (Vals AI)25.8%Not measuredOnly Claude Sonnet 4.6 measured
Legal Research Bench (Vals AI)38.5%Not measuredOnly Claude Sonnet 4.6 measured
Excel Modeling Benchmark (Vals AI)60.2%Not measuredOnly Claude Sonnet 4.6 measured
τ²-Bench Telecom79.5%62.9%Claude Sonnet 4.6
APEX-Agents43.0%Not measuredOnly Claude Sonnet 4.6 measured
OSWorld 2.09.3%Not measuredOnly Claude Sonnet 4.6 measured
DeepResearch Bench54.9%Not measuredOnly Claude Sonnet 4.6 measured
OSWorld72.1%Not measuredOnly Claude Sonnet 4.6 measured
Vending-Bench 2$7,204Not measuredOnly Claude Sonnet 4.6 measured
Neither model has a result on the other 21 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
Reasoning benchmarks for Claude Sonnet 4.6 and GPT-5.1-Codex-Mini
BenchmarkClaude Sonnet 4.6GPT-5.1-Codex-MiniLeader
GPQA Diamond85.6%Not measuredOnly Claude Sonnet 4.6 measured
LiveBench reasoning86.4%Not measuredOnly Claude Sonnet 4.6 measured
MMMU Pro (Vals AI)83.6%Not measuredOnly Claude Sonnet 4.6 measured
GPQA Diamond (Artificial Analysis run)87.5%81.3%Claude Sonnet 4.6
Humanity's Last Exam (Artificial Analysis run)33.6%18.5%Claude Sonnet 4.6
GPQA Diamond (Epoch AI run)87.4%Not measuredOnly Claude Sonnet 4.6 measured
ARC-AGI86.5%Not measuredOnly Claude Sonnet 4.6 measured
ARC-AGI-260.4%Not measuredOnly Claude Sonnet 4.6 measured
Chess puzzles23.0%Not measuredOnly Claude Sonnet 4.6 measured
Mystery game puzzles16.0%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: hard prompts1485Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: expert1500Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: hard prompts in English1493Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: diagrams1306Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: homework1311Not measuredOnly Claude Sonnet 4.6 measured
Neither model has a result on the other 7 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Math benchmarks for Claude Sonnet 4.6 and GPT-5.1-Codex-Mini
BenchmarkClaude Sonnet 4.6GPT-5.1-Codex-MiniLeader
AIME92.3%Not measuredOnly Claude Sonnet 4.6 measured
AA Math IndexNot measured91.7Only GPT-5.1-Codex-Mini measured
AIME 2025 (Artificial Analysis run)Not measured91.7%Only GPT-5.1-Codex-Mini measured
OTIS Mock AIME85.8%Not measuredOnly Claude Sonnet 4.6 measured
ProofBench45.0%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: math1462Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: mathematical work1483Not measuredOnly Claude Sonnet 4.6 measured
Neither model has a result on the other 6 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index14 boards, none shared
Knowledge benchmarks for Claude Sonnet 4.6 and GPT-5.1-Codex-Mini
BenchmarkClaude Sonnet 4.6GPT-5.1-Codex-MiniLeader
MMLU Pro87.3%Not measuredOnly Claude Sonnet 4.6 measured
LegalBench (Vals AI)82.1%Not measuredOnly Claude Sonnet 4.6 measured
CaseLaw (Vals AI)64.0%Not measuredOnly Claude Sonnet 4.6 measured
CorpFin (Vals AI)65.3%Not measuredOnly Claude Sonnet 4.6 measured
TaxEval (Vals AI)77.1%Not measuredOnly Claude Sonnet 4.6 measured
MortgageTax (Vals AI)67.7%Not measuredOnly Claude Sonnet 4.6 measured
MedQA (Vals AI)92.1%Not measuredOnly Claude Sonnet 4.6 measured
MMLU Pro (Artificial Analysis run)Not measured82.0%Only GPT-5.1-Codex-Mini measured
SimpleQA Verified35.5%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: science1474Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: medicine and healthcare1451Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: legal and government1470Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: business and finance1464Not measuredOnly Claude Sonnet 4.6 measured
FACTS Benchmark Suite37.0%Not measuredOnly Claude Sonnet 4.6 measured
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index80
Web design benchmarks for Claude Sonnet 4.6 and GPT-5.1-Codex-Mini
BenchmarkClaude Sonnet 4.6GPT-5.1-Codex-MiniLeader
Design Arena: websites12851111Claude Sonnet 4.6
Design Arena: UI components12721081Claude Sonnet 4.6
Design Arena: game dev12591092Claude Sonnet 4.6
Design Arena: data viz12771097Claude Sonnet 4.6
Design Arena: 3D1234988Claude Sonnet 4.6
Design Arena: all code categories12761094Claude Sonnet 4.6
Design Arena: SVG1197978Claude Sonnet 4.6
Design Arena: ASCII art12351105Claude Sonnet 4.6
LiveBench design71.8%Not measuredOnly Claude Sonnet 4.6 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index11
General benchmarks for Claude Sonnet 4.6 and GPT-5.1-Codex-Mini
BenchmarkClaude Sonnet 4.6GPT-5.1-Codex-MiniLeader
LiveBench data analysis76.1%Not measuredOnly Claude Sonnet 4.6 measured
Public Benefits Bench (Vals AI)62.5%Not measuredOnly Claude Sonnet 4.6 measured
SAGE (Vals AI)46.6%Not measuredOnly Claude Sonnet 4.6 measured
Vals Multimodal Index60.6%Not measuredOnly Claude Sonnet 4.6 measured
IFBench56.6%67.9%GPT-5.1-Codex-Mini
Long context reasoning (AA-LCR)80.0%66.7%Claude Sonnet 4.6
DTBench89.9%Not measuredOnly Claude Sonnet 4.6 measured
LMCA46.5%Not measuredOnly Claude Sonnet 4.6 measured
ExploitBench23.6%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text1458Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: instruction following1476Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: creative writing1435Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision1283Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: English1472Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: non-English1440Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: Chinese1491Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: German1428Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: Japanese1420Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: Korean1410Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: French1465Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: Spanish1464Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: Russian1440Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: Polish1443Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: multi-turn1464Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: longer queries1479Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: writing and language1444Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: entertainment and media1431Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: English1298Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: Chinese1307Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: reading text1296Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: humor1248Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: recognizing things1195Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: creative writing1272Not measuredOnly Claude Sonnet 4.6 measured
LMArena Document1482Not measuredOnly Claude Sonnet 4.6 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
Image generation benchmarks for Claude Sonnet 4.6 and GPT-5.1-Codex-Mini
BenchmarkClaude Sonnet 4.6GPT-5.1-Codex-MiniLeader
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

Claude Sonnet 4.6$0.011Fits in one request
GPT-5.1-Codex-Mini$0.0013Fits in one request

GPT-5.1-Codex-Mini costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 4.6$0.195Fits in one request
GPT-5.1-Codex-Mini$0.018Fits in one request

GPT-5.1-Codex-Mini costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 4.6$0.750Fits in one request
GPT-5.1-Codex-Mini$0.070Fits in one request

GPT-5.1-Codex-Mini 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 Claude Sonnet 4.6 and GPT-5.1-Codex-Mini
SpecificationAnthropic Claude Sonnet 4.6OpenAI GPT-5.1-Codex-Mini
MakerAnthropicOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 17, 2026November 13, 2025
Context window1M400K
Input $/Mtok$3.00$0.25
Output $/Mtok$15.00$2.00
Coding index57.3Not benchmarked
Independent measurements behind it51
Cost per solved task$1.68Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 4.6 better than GPT-5.1-Codex-Mini for coding?

Only Claude Sonnet 4.6 has a coding score, 57.3 on the Vibe Coding Index; GPT-5.1-Codex-Mini has none, so the two cannot be ranked on coding. Pick GPT-5.1-Codex-Mini for output tokens 7.5x cheaper ($2.00 vs $15.00 per million) and work measured by Terminal-Bench or IFBench, where it leads.

Which is cheaper, Claude Sonnet 4.6 or GPT-5.1-Codex-Mini?

Claude Sonnet 4.6 costs $3.00 per million input tokens and $15.00 per million output tokens; GPT-5.1-Codex-Mini costs $0.25 and $2.00. Cost per solved task is known for Claude Sonnet 4.6 only.

Which has the bigger context window, Claude Sonnet 4.6 or GPT-5.1-Codex-Mini?

Claude Sonnet 4.6, with 1M tokens against 400K.

How many benchmarks is the Claude Sonnet 4.6 vs GPT-5.1-Codex-Mini comparison based on?

18 benchmarks have a result for both models as of October 21, 2026. Claude Sonnet 4.6's coding index rests on 5 independent benchmarks and GPT-5.1-Codex-Mini's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next