Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.6 vs GPT-5

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

Claude Sonnet 4.6Anthropic
Coding
57.3
Overall
60.3
Output $/M
$15.00
69
GPT-5OpenAI
Coding
38.8
Overall
51.5
Output $/M
$10.00
14
vs boards won of 84 shared, 1 tied

Claude Sonnet 4.6 or GPT-5: which to pick

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

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

Shared results
84
Claude Sonnet 4.6 only
34
GPT-5 only
29
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 38.8 from 3 benchmarks.
Widest category
Coding, 13.8 points apart on average over 11 shared benchmarks.
Widest single gap
ARC-AGI-2: Claude Sonnet 4.6 60.4% against GPT-5 9.9%, 50.6 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.6 $15.00 against GPT-5 $10.00 per million output tokens, 1.5x apart.
Context window
Claude Sonnet 4.6 takes 1M tokens, GPT-5 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-5Ties
Coding101
Intelligence20
Agentic work11
Reasoning1121 tie
Math32
Knowledge85
Web design80
General263
All shared boards69141 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index101
Coding benchmarks for Claude Sonnet 4.6 and GPT-5
BenchmarkClaude Sonnet 4.6GPT-5Leader
Aider polyglotNot measured88.0%Only GPT-5 measured
SWE-bench VerifiedNot measured74.4%Only GPT-5 measured
LiveBench coding66.6%Not measuredOnly Claude Sonnet 4.6 measured
LMArena WebDev15231418Claude Sonnet 4.6
AA Coding Index63.037.8Claude Sonnet 4.6
LiveCodeBench (Vals AI)82.1%85.9%GPT-5
SWE-bench Verified (Vals AI)77.4%69.0%Claude Sonnet 4.6
Vibe Code Bench (Vals AI)55.8%20.1%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 measured84.6%Only GPT-5 measured
SciCode50.1%Not measuredOnly Claude Sonnet 4.6 measured
Terminal-Bench Hard (Artificial Analysis run)53.0%37.9%Claude Sonnet 4.6
Terminal-Bench53.4%49.6%Claude Sonnet 4.6
FrontierCode24.3%Not measuredOnly Claude Sonnet 4.6 measured
GSO-BenchNot measured6.9%Only GPT-5 measured
WeirdML66.1%60.7%Claude Sonnet 4.6
ALE-BenchNot measured807.6Only GPT-5 measured
LMArena Text: coding15031436Claude Sonnet 4.6
LMArena Text: software and IT14911420Claude Sonnet 4.6
LMArena WebDev: React1512Not measuredOnly Claude Sonnet 4.6 measured
LMArena WebDev: HTML15271427Claude Sonnet 4.6
LMArena WebDev: from an image1529Not measuredOnly Claude Sonnet 4.6 measured
SciCodeNot measured0.0%Only GPT-5 measured
Neither model has a result on the other 13 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Claude Sonnet 4.6 and GPT-5
BenchmarkClaude Sonnet 4.6GPT-5Leader
AA Intelligence Index30.123.0Claude Sonnet 4.6
Epoch Capabilities Index152.8150.0Claude Sonnet 4.6
Agentic workLike-for-likePublic boards, shown as published, kept out of the index11
Agentic work benchmarks for Claude Sonnet 4.6 and GPT-5
BenchmarkClaude Sonnet 4.6GPT-5Leader
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%86.5%GPT-5
APEX-Agents43.0%Not measuredOnly Claude Sonnet 4.6 measured
METR time horizonsNot measured69.6%Only GPT-5 measured
Remote Labor IndexNot measured1.7%Only GPT-5 measured
GDPvalNot measured34.8%Only GPT-5 measured
OSWorld 2.09.3%Not measuredOnly Claude Sonnet 4.6 measured
BALROGNot measured32.8%Only GPT-5 measured
DeepResearch Bench54.9%49.6%Claude Sonnet 4.6
OSWorld72.1%Not measuredOnly Claude Sonnet 4.6 measured
Vending-Bench 2$7,204Not measuredOnly Claude Sonnet 4.6 measured
BrowseComp-PlusNot measured80.0%Only GPT-5 measured
Neither model has a result on the other 16 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index112
Reasoning benchmarks for Claude Sonnet 4.6 and GPT-5
BenchmarkClaude Sonnet 4.6GPT-5Leader
GPQA Diamond85.6%85.6%Tie
LiveBench reasoning86.4%Not measuredOnly Claude Sonnet 4.6 measured
MMMU Pro (Vals AI)83.6%81.5%Claude Sonnet 4.6
GPQA Diamond (Artificial Analysis run)87.5%85.4%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%86.2%Claude Sonnet 4.6
ARC-AGI86.5%65.7%Claude Sonnet 4.6
ARC-AGI-260.4%9.9%Claude Sonnet 4.6
SimpleBenchNot measured56.7%Only GPT-5 measured
Chess puzzles23.0%36.0%GPT-5
Mystery game puzzles16.0%23.0%GPT-5
EBR-benchNot measured12.7%Only GPT-5 measured
VPCTNot measured66.0%Only GPT-5 measured
LMArena Text: hard prompts14851415Claude Sonnet 4.6
LMArena Text: expert15001419Claude Sonnet 4.6
LMArena Text: hard prompts in English14931419Claude Sonnet 4.6
LMArena Vision: diagrams13061252Claude Sonnet 4.6
LMArena Vision: homework13111278Claude Sonnet 4.6
Kagi LLM BenchmarkNot measured72.7%Only GPT-5 measured
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index32
Math benchmarks for Claude Sonnet 4.6 and GPT-5
BenchmarkClaude Sonnet 4.6GPT-5Leader
AIME92.3%93.4%GPT-5
MATH 500 (Vals AI)Not measured96.0%Only GPT-5 measured
MGSM (Vals AI)Not measured92.8%Only GPT-5 measured
AA Math IndexNot measured94.3Only GPT-5 measured
AIME 2025 (Artificial Analysis run)Not measured94.3%Only GPT-5 measured
OTIS Mock AIME85.8%91.4%GPT-5
FrontierMath, tiers 1 to 3Not measured55.4%Only GPT-5 measured
FrontierMath, tier 4Not measured22.0%Only GPT-5 measured
ProofBench45.0%18.0%Claude Sonnet 4.6
MATH level 5Not measured98.1%Only GPT-5 measured
LMArena Text: math14621407Claude Sonnet 4.6
LMArena Text: mathematical work14831405Claude Sonnet 4.6
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index85
Knowledge benchmarks for Claude Sonnet 4.6 and GPT-5
BenchmarkClaude Sonnet 4.6GPT-5Leader
MMLU Pro87.3%86.5%Claude Sonnet 4.6
LegalBench (Vals AI)82.1%86.0%GPT-5
CaseLaw (Vals AI)64.0%66.5%GPT-5
CorpFin (Vals AI)65.3%61.1%Claude Sonnet 4.6
TaxEval (Vals AI)77.1%73.4%Claude Sonnet 4.6
MortgageTax (Vals AI)67.7%65.5%Claude Sonnet 4.6
MedQA (Vals AI)92.1%96.3%GPT-5
MedCode (Vals AI)Not measured49.6%Only GPT-5 measured
MMLU Pro (Artificial Analysis run)Not measured87.1%Only GPT-5 measured
SimpleQA Verified35.5%50.1%GPT-5
GeoBenchNot measured81.0%Only GPT-5 measured
LMArena Text: science14741416Claude Sonnet 4.6
LMArena Text: medicine and healthcare14511413Claude Sonnet 4.6
LMArena Text: legal and government14701431Claude Sonnet 4.6
LMArena Text: business and finance14641400Claude Sonnet 4.6
FACTS Benchmark Suite37.0%56.5%GPT-5
Neither model has a result on the other 2 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
BenchmarkClaude Sonnet 4.6GPT-5Leader
Design Arena: websites12841184Claude Sonnet 4.6
Design Arena: UI components12691177Claude Sonnet 4.6
Design Arena: game dev12581185Claude Sonnet 4.6
Design Arena: data viz12781221Claude Sonnet 4.6
Design Arena: 3D12341055Claude Sonnet 4.6
Design Arena: all code categories12751167Claude Sonnet 4.6
Design Arena: SVG11961188Claude Sonnet 4.6
Design Arena: ASCII art12351141Claude Sonnet 4.6
LiveBench design71.8%Not measuredOnly Claude Sonnet 4.6 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index263
General benchmarks for Claude Sonnet 4.6 and GPT-5
BenchmarkClaude Sonnet 4.6GPT-5Leader
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.7%Claude Sonnet 4.6
MedScribe (Vals AI)Not measured83.7%Only GPT-5 measured
Vals Multimodal Index60.6%Not measuredOnly Claude Sonnet 4.6 measured
IFBench56.6%73.1%GPT-5
Long context reasoning (AA-LCR)80.0%78.2%Claude Sonnet 4.6
DTBench89.9%90.7%GPT-5
LMCA46.5%40.0%Claude Sonnet 4.6
Fiction.LiveBenchNot measured97.2%Only GPT-5 measured
Creative writing (Lech Mazur)Not measured86.0%Only GPT-5 measured
ExploitBench23.6%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text14581406Claude Sonnet 4.6
LMArena Text: instruction following14761388Claude Sonnet 4.6
LMArena Text: creative writing14351365Claude Sonnet 4.6
LMArena Vision12831232Claude Sonnet 4.6
LMArena Text: English14721409Claude Sonnet 4.6
LMArena Text: non-English14401397Claude Sonnet 4.6
LMArena Text: Chinese14911422Claude Sonnet 4.6
LMArena Text: German14281416Claude Sonnet 4.6
LMArena Text: Japanese14201409Claude Sonnet 4.6
LMArena Text: Korean14101360Claude Sonnet 4.6
LMArena Text: French14651409Claude Sonnet 4.6
LMArena Text: Spanish14641399Claude Sonnet 4.6
LMArena Text: Russian14401407Claude Sonnet 4.6
LMArena Text: Polish14431431Claude Sonnet 4.6
LMArena Text: multi-turn14641426Claude Sonnet 4.6
LMArena Text: longer queries14791399Claude Sonnet 4.6
LMArena Text: writing and language14441384Claude Sonnet 4.6
LMArena Text: entertainment and media14311379Claude Sonnet 4.6
LMArena Vision: English12981231Claude Sonnet 4.6
LMArena Vision: Chinese13071267Claude Sonnet 4.6
LMArena Vision: reading text12961246Claude Sonnet 4.6
LMArena Vision: humor12481219Claude Sonnet 4.6
LMArena Vision: captioningNot measured1212Only GPT-5 measured
LMArena Vision: recognizing things11951263GPT-5
LMArena Vision: creative writing12721210Claude Sonnet 4.6
LMArena Document1482Not measuredOnly Claude Sonnet 4.6 measured
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
BenchmarkClaude Sonnet 4.6GPT-5Leader
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$0.0063Fits in one request

GPT-5 costs less

Repository review

50K input + 3K output tokens

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

GPT-5 costs less

Agent loop

200K input + 10K output tokens

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

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

Questions

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

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

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

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

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

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

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

84 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'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" title="Claude Sonnet 4.6 vs GPT-5, 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">LLMBenchmark.ai, Claude Sonnet 4.6 vs GPT-5</a></p>