Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.6 vs GPT-5.1

Claude Sonnet 4.6 leads GPT-5.1 on coding, 57.3 to 40.4 on the Vibe Coding Index, and GPT-5.1 costs 1.5x less per output token ($10.00 vs $15.00 per million). Updated October 22, 2026; 87 benchmarks have a result for both.

Claude Sonnet 4.6Anthropic
Coding
57.3
Overall
60.3
Output $/M
$15.00
65
GPT-5.1OpenAI
Coding
40.4
Overall
55.0
Output $/M
$10.00
21
vs boards won of 87 shared, 1 tied

Claude Sonnet 4.6 or GPT-5.1: which to pick

Pick Claude Sonnet 4.6 for coding: it scores 57.3 on the Vibe Coding Index against 40.4 for GPT-5.1.

Pick GPT-5.1 for output tokens 1.5x cheaper ($10.00 vs $15.00 per million) and a lower cost per solved task ($1.02 against $1.68).

Shared results
87
Claude Sonnet 4.6 only
31
GPT-5.1 only
14
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
Claude Sonnet 4.6 57.3 from 5 benchmarks, GPT-5.1 40.4 from 3 benchmarks.
Widest category
Agentic work, 16.8 points apart on average over 3 shared benchmarks.
Widest single gap
ARC-AGI-2: Claude Sonnet 4.6 60.4% against GPT-5.1 17.6%, 42.8 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.6 $15.00 against GPT-5.1 $10.00 per million output tokens, 1.5x apart.
Context window
Claude Sonnet 4.6 takes 1M tokens, GPT-5.1 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.1Ties
Coding121
Intelligence20
Agentic work21
Reasoning104
Math22
Knowledge76
Web design80
General2271 tie
All shared boards65211 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index121
Coding benchmarks for Claude Sonnet 4.6 and GPT-5.1
BenchmarkClaude Sonnet 4.6GPT-5.1Leader
SWE-bench VerifiedNot measured66.0%Only GPT-5.1 measured
LiveBench coding66.6%Not measuredOnly Claude Sonnet 4.6 measured
LMArena WebDev15231396Claude Sonnet 4.6
AA Coding Index63.049.4Claude Sonnet 4.6
LiveCodeBench (Vals AI)82.1%86.5%GPT-5.1
SWE-bench Verified (Vals AI)77.4%69.8%Claude Sonnet 4.6
Vibe Code Bench (Vals AI)55.8%24.6%Claude Sonnet 4.6
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 measured86.8%Only GPT-5.1 measured
SciCode50.1%Not measuredOnly Claude Sonnet 4.6 measured
Terminal-Bench Hard (Artificial Analysis run)53.0%45.5%Claude Sonnet 4.6
Terminal-Bench53.4%47.6%Claude Sonnet 4.6
FrontierCode24.3%Not measuredOnly Claude Sonnet 4.6 measured
GSO-BenchNot measured13.7%Only GPT-5.1 measured
WeirdML66.1%60.8%Claude Sonnet 4.6
LMArena Text: coding15031453Claude Sonnet 4.6
LMArena Text: software and IT14911454Claude Sonnet 4.6
LMArena WebDev: React15121307Claude Sonnet 4.6
LMArena WebDev: HTML15271405Claude Sonnet 4.6
LMArena WebDev: from an image15291421Claude Sonnet 4.6
Neither model has a result on the other 16 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Claude Sonnet 4.6 and GPT-5.1
BenchmarkClaude Sonnet 4.6GPT-5.1Leader
AA Intelligence Index30.124.7Claude Sonnet 4.6
Epoch Capabilities Index152.8149.8Claude Sonnet 4.6
Agentic workLike-for-likePublic boards, shown as published, kept out of the index21
Agentic work benchmarks for Claude Sonnet 4.6 and GPT-5.1
BenchmarkClaude Sonnet 4.6GPT-5.1Leader
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 apps1197Not 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%81.9%GPT-5.1
APEX-Agents43.0%Not measuredOnly Claude Sonnet 4.6 measured
OSWorld 2.09.3%Not measuredOnly Claude Sonnet 4.6 measured
DeepResearch Bench54.9%42.8%Claude Sonnet 4.6
OSWorld72.1%Not measuredOnly Claude Sonnet 4.6 measured
Vending-Bench 2$7,204$1,473Claude Sonnet 4.6
Neither model has a result on the other 21 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index104
Reasoning benchmarks for Claude Sonnet 4.6 and GPT-5.1
BenchmarkClaude Sonnet 4.6GPT-5.1Leader
GPQA Diamond85.6%86.6%GPT-5.1
LiveBench reasoning86.4%Not measuredOnly Claude Sonnet 4.6 measured
MMMU Pro (Vals AI)83.6%83.2%Claude Sonnet 4.6
GPQA Diamond (Artificial Analysis run)87.5%87.3%Claude Sonnet 4.6
Humanity's Last Exam (Artificial Analysis run)33.6%28.5%Claude Sonnet 4.6
GPQA Diamond (Epoch AI run)87.4%87.6%GPT-5.1
ARC-AGI86.5%72.8%Claude Sonnet 4.6
ARC-AGI-260.4%17.6%Claude Sonnet 4.6
SimpleBenchNot measured53.2%Only GPT-5.1 measured
Chess puzzles23.0%42.0%GPT-5.1
Mystery game puzzles16.0%19.0%GPT-5.1
VPCTNot measured58.7%Only GPT-5.1 measured
LMArena Text: hard prompts14851457Claude Sonnet 4.6
LMArena Text: expert15001470Claude Sonnet 4.6
LMArena Text: hard prompts in English14931462Claude Sonnet 4.6
LMArena Vision: diagrams13061264Claude Sonnet 4.6
LMArena Vision: homework13111272Claude Sonnet 4.6
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index22
Math benchmarks for Claude Sonnet 4.6 and GPT-5.1
BenchmarkClaude Sonnet 4.6GPT-5.1Leader
AIME92.3%93.3%GPT-5.1
MGSM (Vals AI)Not measured93.0%Only GPT-5.1 measured
AA Math IndexNot measured94.0Only GPT-5.1 measured
AIME 2025 (Artificial Analysis run)Not measured94.0%Only GPT-5.1 measured
OTIS Mock AIME85.8%88.6%GPT-5.1
ProofBench45.0%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: math14621446Claude Sonnet 4.6
LMArena Text: mathematical work14831449Claude Sonnet 4.6
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index76
Knowledge benchmarks for Claude Sonnet 4.6 and GPT-5.1
BenchmarkClaude Sonnet 4.6GPT-5.1Leader
MMLU Pro87.3%86.4%Claude Sonnet 4.6
LegalBench (Vals AI)82.1%85.7%GPT-5.1
CaseLaw (Vals AI)64.0%73.4%GPT-5.1
CorpFin (Vals AI)65.3%63.8%Claude Sonnet 4.6
TaxEval (Vals AI)77.1%74.9%Claude Sonnet 4.6
MortgageTax (Vals AI)67.7%61.4%Claude Sonnet 4.6
MedQA (Vals AI)92.1%96.4%GPT-5.1
MedCode (Vals AI)Not measured52.7%Only GPT-5.1 measured
MMLU Pro (Artificial Analysis run)Not measured87.0%Only GPT-5.1 measured
SimpleQA Verified35.5%48.0%GPT-5.1
LMArena Text: science14741459Claude Sonnet 4.6
LMArena Text: medicine and healthcare14511456GPT-5.1
LMArena Text: legal and government14701459Claude Sonnet 4.6
LMArena Text: business and finance14641431Claude Sonnet 4.6
FACTS Benchmark Suite37.0%45.0%GPT-5.1
Neither model has a result on the other 3 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
BenchmarkClaude Sonnet 4.6GPT-5.1Leader
Design Arena: websites12841187Claude Sonnet 4.6
Design Arena: UI components12691163Claude Sonnet 4.6
Design Arena: game dev12581178Claude Sonnet 4.6
Design Arena: data viz12781204Claude Sonnet 4.6
Design Arena: 3D12341060Claude Sonnet 4.6
Design Arena: all code categories12751170Claude Sonnet 4.6
Design Arena: SVG11961149Claude Sonnet 4.6
Design Arena: ASCII art12351119Claude Sonnet 4.6
LiveBench design71.8%Not measuredOnly Claude Sonnet 4.6 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index227
General benchmarks for Claude Sonnet 4.6 and GPT-5.1
BenchmarkClaude Sonnet 4.6GPT-5.1Leader
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%43.2%Claude Sonnet 4.6
MedScribe (Vals AI)Not measured88.1%Only GPT-5.1 measured
Vals Multimodal Index60.6%Not measuredOnly Claude Sonnet 4.6 measured
IFBench56.6%72.9%GPT-5.1
Long context reasoning (AA-LCR)80.0%80.0%Tie
DTBench89.9%90.1%GPT-5.1
LMCA46.5%43.9%Claude Sonnet 4.6
CL-benchNot measured23.7%Only GPT-5.1 measured
ExploitBench23.6%Not measuredOnly Claude Sonnet 4.6 measured
CL-bench LifeNot measured17.3%Only GPT-5.1 measured
LMArena Text14581443Claude Sonnet 4.6
LMArena Text: instruction following14761443Claude Sonnet 4.6
LMArena Text: creative writing14351427Claude Sonnet 4.6
LMArena Vision12831250Claude Sonnet 4.6
LMArena Text: English14721451Claude Sonnet 4.6
LMArena Text: non-English14401431Claude Sonnet 4.6
LMArena Text: Chinese14911495GPT-5.1
LMArena Text: German14281438GPT-5.1
LMArena Text: Japanese14201453GPT-5.1
LMArena Text: Korean14101401Claude Sonnet 4.6
LMArena Text: French14651450Claude Sonnet 4.6
LMArena Text: Spanish14641433Claude Sonnet 4.6
LMArena Text: Russian14401435Claude Sonnet 4.6
LMArena Text: Polish14431440Claude Sonnet 4.6
LMArena Text: multi-turn14641450Claude Sonnet 4.6
LMArena Text: longer queries14791448Claude Sonnet 4.6
LMArena Text: writing and language14441428Claude Sonnet 4.6
LMArena Text: entertainment and media14311415Claude Sonnet 4.6
LMArena Vision: English12981252Claude Sonnet 4.6
LMArena Vision: Chinese13071270Claude Sonnet 4.6
LMArena Vision: reading text12961255Claude Sonnet 4.6
LMArena Vision: humor12481263GPT-5.1
LMArena Vision: captioningNot measured1252Only GPT-5.1 measured
LMArena Vision: recognizing things11951232GPT-5.1
LMArena Vision: creative writing12721266Claude Sonnet 4.6
LMArena Document14821403Claude Sonnet 4.6
Neither model has a result on the other 8 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
BenchmarkClaude Sonnet 4.6GPT-5.1Leader
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$0.0063Fits in one request

GPT-5.1 costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 4.6$0.195Fits in one request
GPT-5.1$0.092Fits in one request

GPT-5.1 costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 4.6$0.750Fits in one request
GPT-5.1$0.350Fits in one request

GPT-5.1 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
SpecificationAnthropic Claude Sonnet 4.6OpenAI GPT-5.1
MakerAnthropicOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 17, 2026November 13, 2025
Context window1M400K
Input $/Mtok$3.00$1.25
Output $/Mtok$15.00$10.00
Coding index57.340.4
Independent measurements behind it53
Cost per solved task$1.68$1.02
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick Claude Sonnet 4.6 for coding: it scores 57.3 on the Vibe Coding Index against 40.4 for GPT-5.1. Pick GPT-5.1 for output tokens 1.5x cheaper ($10.00 vs $15.00 per million) and a lower cost per solved task ($1.02 against $1.68).

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

Claude Sonnet 4.6 costs $3.00 per million input tokens and $15.00 per million output tokens; GPT-5.1 costs $1.25 and $10.00. Per solved SWE-bench Verified task, Claude Sonnet 4.6 costs $1.68 and GPT-5.1 $1.02.

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

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

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

87 benchmarks have a result for both models as of October 22, 2026. Claude Sonnet 4.6's coding index rests on 5 independent benchmarks and GPT-5.1'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/claude-sonnet-4-6-vs-gpt-5-1" title="Claude Sonnet 4.6 vs GPT-5.1, 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/claude-sonnet-4-6-vs-gpt-5-1">LLMBenchmark.ai, Claude Sonnet 4.6 vs GPT-5.1</a></p>