Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.6 vs GPT-5.2

Claude Sonnet 4.6 leads GPT-5.2 on coding, 57.3 to 55.9 on the Vibe Coding Index, at about the same output price ($15.00 vs $14.00 per million). Updated October 22, 2026; 90 benchmarks have a result for both.

Claude Sonnet 4.6Anthropic
Coding
57.3
Overall
60.3
Output $/M
$15.00
63
GPT-5.2OpenAI
Coding
55.9
Overall
60.7
Output $/M
$14.00
27
vs boards won of 90 shared

Claude Sonnet 4.6 or GPT-5.2: which to pick

Claude Sonnet 4.6 and GPT-5.2 are level for coding, 57.3 against 55.9 on the Vibe Coding Index, so price and context decide.

Pick GPT-5.2 for output tokens 1.1x cheaper ($14.00 vs $15.00 per million) and work measured by LiveCodeBench (Vals AI) or Terminal-Bench, where it leads. Pick Claude Sonnet 4.6 for a lower cost per solved task ($1.68 against $1.91) and a larger context window (1M against 400K tokens).

Shared results
90
Claude Sonnet 4.6 only
28
GPT-5.2 only
24
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.2 55.9 from 3 benchmarks.
Widest category
Agentic work, 14.8 points apart on average over 8 shared benchmarks.
Widest single gap
ProofBench: Claude Sonnet 4.6 45.0% against GPT-5.2 15.0%, 30.0 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.6 $15.00 against GPT-5.2 $14.00 per million output tokens, 1.1x apart.
Context window
Claude Sonnet 4.6 takes 1M tokens, GPT-5.2 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.2Ties
Coding73
Intelligence02
Agentic work71
Reasoning77
Math32
Knowledge76
Web design80
General246
All shared boards6327
CodingLike-for-likeSix of these boards feed the Vibe Coding Index73
Coding benchmarks for Claude Sonnet 4.6 and GPT-5.2
BenchmarkClaude Sonnet 4.6GPT-5.2Leader
SWE-bench VerifiedNot measured72.8%Only GPT-5.2 measured
SWE-bench MultilingualNot measured66.7%Only GPT-5.2 measured
LiveBench coding66.6%Not measuredOnly Claude Sonnet 4.6 measured
LMArena WebDev15231417Claude Sonnet 4.6
AA Coding Index63.0Not measuredOnly Claude Sonnet 4.6 measured
LiveCodeBench (Vals AI)82.1%85.4%GPT-5.2
SWE-bench Verified (Vals AI)77.4%75.8%Claude Sonnet 4.6
Vibe Code Bench (Vals AI)55.8%53.5%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 measured89.4%Only GPT-5.2 measured
SciCode50.1%Not measuredOnly Claude Sonnet 4.6 measured
Terminal-Bench Hard (Artificial Analysis run)53.0%47.0%Claude Sonnet 4.6
Terminal-Bench53.4%64.9%GPT-5.2
FrontierCode24.3%Not measuredOnly Claude Sonnet 4.6 measured
GSO-BenchNot measured27.5%Only GPT-5.2 measured
WeirdML66.1%72.2%GPT-5.2
ALE-BenchNot measured1293.5Only GPT-5.2 measured
LMArena Text: coding15031442Claude Sonnet 4.6
LMArena Text: software and IT14911434Claude 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
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Claude Sonnet 4.6 and GPT-5.2
BenchmarkClaude Sonnet 4.6GPT-5.2Leader
AA Intelligence Index30.130.4GPT-5.2
Epoch Capabilities Index152.8153.7GPT-5.2
Agentic workLike-for-likePublic boards, shown as published, kept out of the index71
Agentic work benchmarks for Claude Sonnet 4.6 and GPT-5.2
BenchmarkClaude Sonnet 4.6GPT-5.2Leader
AA Agentic Index31.8Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: agents building web apps11901086Claude Sonnet 4.6
Design Arena: agents building full-stack apps12131043Claude Sonnet 4.6
Design Arena: agents building mobile apps12121093Claude Sonnet 4.6
Design Arena: agents building Android apps11971059Claude Sonnet 4.6
Design Arena: agents building Godot games12261142Claude Sonnet 4.6
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%84.8%GPT-5.2
APEX-Agents43.0%Not measuredOnly Claude Sonnet 4.6 measured
METR time horizonsNot measured75.3%Only GPT-5.2 measured
Remote Labor IndexNot measured2.5%Only GPT-5.2 measured
GDPvalNot measured49.7%Only GPT-5.2 measured
OSWorld 2.09.3%Not measuredOnly Claude Sonnet 4.6 measured
DeepResearch Bench54.9%41.1%Claude Sonnet 4.6
OSWorld72.1%Not measuredOnly Claude Sonnet 4.6 measured
Vending-Bench 2$7,204$3,591Claude Sonnet 4.6
Berkeley Function Calling Leaderboard (BFCL)Not measured55.9%Only GPT-5.2 measured
Neither model has a result on the other 17 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index77
Reasoning benchmarks for Claude Sonnet 4.6 and GPT-5.2
BenchmarkClaude Sonnet 4.6GPT-5.2Leader
GPQA Diamond85.6%91.7%GPT-5.2
LiveBench reasoning86.4%Not measuredOnly Claude Sonnet 4.6 measured
MMMU Pro (Vals AI)83.6%86.7%GPT-5.2
GPQA Diamond (Artificial Analysis run)87.5%90.3%GPT-5.2
Humanity's Last Exam (Artificial Analysis run)33.6%37.7%GPT-5.2
GPQA Diamond (Epoch AI run)87.4%91.4%GPT-5.2
ARC-AGI86.5%86.2%Claude Sonnet 4.6
ARC-AGI-260.4%52.9%Claude Sonnet 4.6
SimpleBenchNot measured45.8%Only GPT-5.2 measured
Chess puzzles23.0%48.0%GPT-5.2
Mystery game puzzles16.0%23.0%GPT-5.2
EBR-benchNot measured23.0%Only GPT-5.2 measured
VPCTNot measured84.0%Only GPT-5.2 measured
LMArena Text: hard prompts14851428Claude Sonnet 4.6
LMArena Text: expert15001445Claude Sonnet 4.6
LMArena Text: hard prompts in English14931431Claude Sonnet 4.6
LMArena Vision: diagrams13061265Claude Sonnet 4.6
LMArena Vision: homework13111276Claude Sonnet 4.6
Kagi LLM BenchmarkNot measured73.3%Only GPT-5.2 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.2
BenchmarkClaude Sonnet 4.6GPT-5.2Leader
AIME92.3%96.9%GPT-5.2
MGSM (Vals AI)Not measured94.0%Only GPT-5.2 measured
AA Math IndexNot measured99.0Only GPT-5.2 measured
AIME 2025 (Artificial Analysis run)Not measured99.0%Only GPT-5.2 measured
OTIS Mock AIME85.8%96.1%GPT-5.2
FrontierMath, tiers 1 to 3Not measured67.4%Only GPT-5.2 measured
FrontierMath, tier 4Not measured31.7%Only GPT-5.2 measured
ProofBench45.0%15.0%Claude Sonnet 4.6
LMArena Text: math14621440Claude Sonnet 4.6
LMArena Text: mathematical work14831442Claude Sonnet 4.6
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index76
Knowledge benchmarks for Claude Sonnet 4.6 and GPT-5.2
BenchmarkClaude Sonnet 4.6GPT-5.2Leader
MMLU Pro87.3%86.2%Claude Sonnet 4.6
LegalBench (Vals AI)82.1%82.8%GPT-5.2
CaseLaw (Vals AI)64.0%66.0%GPT-5.2
CorpFin (Vals AI)65.3%65.9%GPT-5.2
TaxEval (Vals AI)77.1%75.8%Claude Sonnet 4.6
MortgageTax (Vals AI)67.7%67.1%Claude Sonnet 4.6
MedQA (Vals AI)92.1%94.1%GPT-5.2
MedCode (Vals AI)Not measured49.8%Only GPT-5.2 measured
MMLU Pro (Artificial Analysis run)Not measured87.4%Only GPT-5.2 measured
SimpleQA Verified35.5%37.1%GPT-5.2
LMArena Text: science14741425Claude Sonnet 4.6
LMArena Text: medicine and healthcare14511425Claude Sonnet 4.6
LMArena Text: legal and government14701427Claude Sonnet 4.6
LMArena Text: business and finance14641414Claude Sonnet 4.6
FACTS Benchmark Suite37.0%48.5%GPT-5.2
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.2
BenchmarkClaude Sonnet 4.6GPT-5.2Leader
Design Arena: websites12841195Claude Sonnet 4.6
Design Arena: UI components12691190Claude Sonnet 4.6
Design Arena: game dev12581195Claude Sonnet 4.6
Design Arena: data viz12781202Claude Sonnet 4.6
Design Arena: 3D12341079Claude Sonnet 4.6
Design Arena: all code categories12751170Claude Sonnet 4.6
Design Arena: SVG11961139Claude Sonnet 4.6
Design Arena: ASCII art12351152Claude Sonnet 4.6
LiveBench design71.8%Not measuredOnly Claude Sonnet 4.6 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index246
General benchmarks for Claude Sonnet 4.6 and GPT-5.2
BenchmarkClaude Sonnet 4.6GPT-5.2Leader
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%49.3%GPT-5.2
MedScribe (Vals AI)Not measured84.4%Only GPT-5.2 measured
Vals Multimodal Index60.6%Not measuredOnly Claude Sonnet 4.6 measured
IFBench56.6%75.4%GPT-5.2
Long context reasoning (AA-LCR)80.0%82.7%GPT-5.2
DTBench89.9%90.9%GPT-5.2
LMCA46.5%43.9%Claude Sonnet 4.6
CL-benchNot measured18.2%Only GPT-5.2 measured
Furniture assemblyNot measured38.3%Only GPT-5.2 measured
ExploitBench23.6%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text14581416Claude Sonnet 4.6
LMArena Text: instruction following14761409Claude Sonnet 4.6
LMArena Text: creative writing14351376Claude Sonnet 4.6
LMArena Vision12831246Claude Sonnet 4.6
LMArena Text: English14721422Claude Sonnet 4.6
LMArena Text: non-English14401405Claude Sonnet 4.6
LMArena Text: Chinese14911447Claude Sonnet 4.6
LMArena Text: German14281444GPT-5.2
LMArena Text: Japanese14201420Claude Sonnet 4.6
LMArena Text: Korean14101374Claude Sonnet 4.6
LMArena Text: French14651454Claude Sonnet 4.6
LMArena Text: Spanish14641413Claude Sonnet 4.6
LMArena Text: Russian14401415Claude Sonnet 4.6
LMArena Text: Polish14431426Claude Sonnet 4.6
LMArena Text: multi-turn14641419Claude Sonnet 4.6
LMArena Text: longer queries14791413Claude Sonnet 4.6
LMArena Text: writing and language14441392Claude Sonnet 4.6
LMArena Text: entertainment and media14311378Claude Sonnet 4.6
LMArena Vision: English12981243Claude Sonnet 4.6
LMArena Vision: Chinese13071305Claude Sonnet 4.6
LMArena Vision: reading text12961257Claude Sonnet 4.6
LMArena Vision: humor12481227Claude Sonnet 4.6
LMArena Vision: captioningNot measured1267Only GPT-5.2 measured
LMArena Vision: recognizing things11951232GPT-5.2
LMArena Vision: creative writing12721225Claude Sonnet 4.6
LMArena Document14821405Claude 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.2
BenchmarkClaude Sonnet 4.6GPT-5.2Leader
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.2$0.0088Fits in one request

GPT-5.2 costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 4.6$0.195Fits in one request
GPT-5.2$0.130Fits in one request

GPT-5.2 costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 4.6$0.750Fits in one request
GPT-5.2$0.490Fits in one request

GPT-5.2 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.2
SpecificationAnthropic Claude Sonnet 4.6OpenAI GPT-5.2
MakerAnthropicOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 17, 2026December 10, 2025
Context window1M400K
Input $/Mtok$3.00$1.75
Output $/Mtok$15.00$14.00
Coding index57.355.9
Independent measurements behind it53
Cost per solved task$1.68$1.91
SourceOpenRouter listingOpenRouter listing

Questions

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

Claude Sonnet 4.6 and GPT-5.2 are level for coding, 57.3 against 55.9 on the Vibe Coding Index, so price and context decide. Pick GPT-5.2 for output tokens 1.1x cheaper ($14.00 vs $15.00 per million) and work measured by LiveCodeBench (Vals AI) or Terminal-Bench, where it leads. Pick Claude Sonnet 4.6 for a lower cost per solved task ($1.68 against $1.91) and a larger context window (1M against 400K tokens).

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

Claude Sonnet 4.6 costs $3.00 per million input tokens and $15.00 per million output tokens; GPT-5.2 costs $1.75 and $14.00. Per solved SWE-bench Verified task, Claude Sonnet 4.6 costs $1.68 and GPT-5.2 $1.91.

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

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

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

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