LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.6 vs GPT-4.1

Updated October 21, 2026. 71 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Claude Sonnet 4.6Anthropic
Coding
57.8
Overall
30.1
Output $/M
$15.00
68
GPT-4.1OpenAI
Coding
46.5
Overall
12.7
Output $/M
$8.00
3
vs boards won of 71 shared

Decision reading

Pick Claude Sonnet 4.6 for coding: it scores 57.8 on the Vibe Coding Index against 46.5 for GPT-4.1.

Pick GPT-4.1 when output tokens cost 1.9x less, or when a solved task costs $0.37 against $1.68.

Shared results
71
Claude Sonnet 4.6 only
46
GPT-4.1 only
16
Like-for-like categories
8 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.

At a glance

Coding index
Claude Sonnet 4.6 57.8 from 2 benchmarks, GPT-4.1 46.5 from 2 benchmarks.
Widest category
Math, 34.0 points apart on average over 4 shared benchmarks.
Widest single gap
ARC-AGI: Claude Sonnet 4.6 86.5% against GPT-4.1 5.5%, 81.0 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.6 $15.00 against GPT-4.1 $8.00 per million output tokens, 1.9x apart.
Context window
Claude Sonnet 4.6 takes 1M tokens, GPT-4.1 1.05M.

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-4.1Ties
Coding50
Intelligence20
Agentic work10
Reasoning130
Math40
Knowledge102
Web design60
General271
All shared boards683
CodingLike-for-likeFour of these boards feed the Vibe Coding Index50
Coding benchmarks for Claude Sonnet 4.6 and GPT-4.1
BenchmarkClaude Sonnet 4.6GPT-4.1Leader
Aider polyglotNot measured52.4%Only GPT-4.1 measured
SWE-bench VerifiedNot measured39.6%Only GPT-4.1 measured
SWE-bench MultimodalNot measured31.1%Only GPT-4.1 measured
LiveBench coding66.6%Not measuredOnly Claude Sonnet 4.6 measured
LMArena WebDev1523Not measuredOnly Claude Sonnet 4.6 measured
AA Coding Index63.0Not measuredOnly Claude Sonnet 4.6 measured
LiveCodeBench (Vals AI)82.1%54.7%Claude Sonnet 4.6
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 measured45.7%Only GPT-4.1 measured
SciCode50.1%Not measuredOnly Claude Sonnet 4.6 measured
Terminal-Bench Hard (Artificial Analysis run)53.0%13.6%Claude Sonnet 4.6
Terminal-Bench53.4%Not measuredOnly Claude Sonnet 4.6 measured
FrontierCode24.3%Not measuredOnly Claude Sonnet 4.6 measured
WeirdML66.1%39.0%Claude Sonnet 4.6
ALE-BenchNot measured558.1Only GPT-4.1 measured
LMArena Text: coding15031390Claude Sonnet 4.6
LMArena Text: software and IT14911391Claude Sonnet 4.6
LMArena WebDev: React1512Not measuredOnly Claude Sonnet 4.6 measured
LMArena WebDev: HTML1527Not measuredOnly Claude Sonnet 4.6 measured
LMArena WebDev: from an image1529Not measuredOnly Claude Sonnet 4.6 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-4.1
BenchmarkClaude Sonnet 4.6GPT-4.1Leader
AA Intelligence Index30.112.7Claude Sonnet 4.6
Epoch Capabilities Index152.8136.7Claude Sonnet 4.6
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Claude Sonnet 4.6 and GPT-4.1
BenchmarkClaude Sonnet 4.6GPT-4.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 apps1202Not 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%47.1%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 19 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index130
Reasoning benchmarks for Claude Sonnet 4.6 and GPT-4.1
BenchmarkClaude Sonnet 4.6GPT-4.1Leader
GPQA Diamond85.6%65.4%Claude Sonnet 4.6
LiveBench reasoning86.4%Not measuredOnly Claude Sonnet 4.6 measured
MMMU Pro (Vals AI)83.6%72.4%Claude Sonnet 4.6
GPQA Diamond (Artificial Analysis run)87.5%66.6%Claude Sonnet 4.6
Humanity's Last Exam (Artificial Analysis run)33.6%4.2%Claude Sonnet 4.6
GPQA Diamond (Epoch AI run)87.4%66.9%Claude Sonnet 4.6
ARC-AGI86.5%5.5%Claude Sonnet 4.6
ARC-AGI-260.4%0.4%Claude Sonnet 4.6
SimpleBenchNot measured27.0%Only GPT-4.1 measured
Chess puzzles23.0%3.0%Claude Sonnet 4.6
Mystery game puzzles16.0%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text: hard prompts14851384Claude Sonnet 4.6
LMArena Text: expert15001364Claude Sonnet 4.6
LMArena Text: hard prompts in English14931393Claude Sonnet 4.6
LMArena Vision: diagrams13061215Claude Sonnet 4.6
LMArena Vision: homework13111248Claude 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 index40
Math benchmarks for Claude Sonnet 4.6 and GPT-4.1
BenchmarkClaude Sonnet 4.6GPT-4.1Leader
AIME92.3%39.6%Claude Sonnet 4.6
MATH 500 (Vals AI)Not measured87.2%Only GPT-4.1 measured
MGSM (Vals AI)Not measured87.7%Only GPT-4.1 measured
AA Math IndexNot measured34.7Only GPT-4.1 measured
AIME 2025 (Artificial Analysis run)Not measured34.7%Only GPT-4.1 measured
OTIS Mock AIME85.8%38.3%Claude Sonnet 4.6
FrontierMath, tiers 1 to 3Not measured6.0%Only GPT-4.1 measured
ProofBench45.0%Not measuredOnly Claude Sonnet 4.6 measured
MATH level 5Not measured83.0%Only GPT-4.1 measured
LMArena Text: math14621369Claude Sonnet 4.6
LMArena Text: mathematical work14831360Claude Sonnet 4.6
Neither model has a result on the other 2 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index102
Knowledge benchmarks for Claude Sonnet 4.6 and GPT-4.1
BenchmarkClaude Sonnet 4.6GPT-4.1Leader
MMLU Pro87.3%80.5%Claude Sonnet 4.6
LegalBench (Vals AI)82.1%83.1%GPT-4.1
CaseLaw (Vals AI)64.0%69.9%GPT-4.1
CorpFin (Vals AI)65.3%63.0%Claude Sonnet 4.6
TaxEval (Vals AI)77.1%75.1%Claude Sonnet 4.6
MortgageTax (Vals AI)67.7%65.9%Claude Sonnet 4.6
MedQA (Vals AI)92.1%91.2%Claude Sonnet 4.6
MMLU Pro (Artificial Analysis run)Not measured80.6%Only GPT-4.1 measured
SimpleQA Verified35.5%31.1%Claude Sonnet 4.6
GeoBenchNot measured72.0%Only GPT-4.1 measured
LMArena Text: science14741382Claude Sonnet 4.6
LMArena Text: medicine and healthcare14511379Claude Sonnet 4.6
LMArena Text: legal and government14701399Claude Sonnet 4.6
LMArena Text: business and finance14641369Claude Sonnet 4.6
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index60
Web design benchmarks for Claude Sonnet 4.6 and GPT-4.1
BenchmarkClaude Sonnet 4.6GPT-4.1Leader
Design Arena: websites12851039Claude Sonnet 4.6
Design Arena: UI components12711000Claude Sonnet 4.6
Design Arena: game dev12591080Claude Sonnet 4.6
Design Arena: data viz12781104Claude Sonnet 4.6
Design Arena: 3D1234850Claude Sonnet 4.6
Design Arena: all code categories12761026Claude Sonnet 4.6
Design Arena: SVG1196Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: ASCII art1235Not measuredOnly Claude Sonnet 4.6 measured
LiveBench design71.8%Not measuredOnly Claude Sonnet 4.6 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index271
General benchmarks for Claude Sonnet 4.6 and GPT-4.1
BenchmarkClaude Sonnet 4.6GPT-4.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%Not measuredOnly Claude Sonnet 4.6 measured
Vals Multimodal Index60.6%Not measuredOnly Claude Sonnet 4.6 measured
IFBench56.6%43.0%Claude Sonnet 4.6
Long context reasoning (AA-LCR)80.0%68.3%Claude Sonnet 4.6
DTBench89.9%68.3%Claude Sonnet 4.6
LMCA46.5%25.6%Claude Sonnet 4.6
Fiction.LiveBenchNot measured63.9%Only GPT-4.1 measured
ExploitBench23.6%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text14581383Claude Sonnet 4.6
LMArena Text: instruction following14761367Claude Sonnet 4.6
LMArena Text: creative writing14351363Claude Sonnet 4.6
LMArena Vision12831210Claude Sonnet 4.6
LMArena Text: English14721392Claude Sonnet 4.6
LMArena Text: non-English14401370Claude Sonnet 4.6
LMArena Text: Chinese14911382Claude Sonnet 4.6
LMArena Text: German14281381Claude Sonnet 4.6
LMArena Text: Japanese14201319Claude Sonnet 4.6
LMArena Text: Korean14101338Claude Sonnet 4.6
LMArena Text: French14651382Claude Sonnet 4.6
LMArena Text: Spanish14641376Claude Sonnet 4.6
LMArena Text: Russian14401377Claude Sonnet 4.6
LMArena Text: Polish14431389Claude Sonnet 4.6
LMArena Text: multi-turn14641397Claude Sonnet 4.6
LMArena Text: longer queries14791385Claude Sonnet 4.6
LMArena Text: writing and language14441371Claude Sonnet 4.6
LMArena Text: entertainment and media14311365Claude Sonnet 4.6
LMArena Vision: English12981209Claude Sonnet 4.6
LMArena Vision: Chinese13071226Claude Sonnet 4.6
LMArena Vision: reading text12961218Claude Sonnet 4.6
LMArena Vision: humor12481196Claude Sonnet 4.6
LMArena Vision: captioningNot measured1207Only GPT-4.1 measured
LMArena Vision: recognizing things11951208GPT-4.1
LMArena Vision: creative writing12721210Claude Sonnet 4.6
LMArena Document1482Not measuredOnly Claude Sonnet 4.6 measured
Neither model has a result on the other 10 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-4.1
BenchmarkClaude Sonnet 4.6GPT-4.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-4.1$0.0060Fits in one request

GPT-4.1 costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 4.6$0.195Fits in one request
GPT-4.1$0.124Fits in one request

GPT-4.1 costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 4.6$0.750Fits in one request
GPT-4.1$0.480Fits in one request

GPT-4.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-4.1
SpecificationAnthropic Claude Sonnet 4.6OpenAI GPT-4.1
MakerAnthropicOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 17, 2026April 14, 2025
Context window1M1.05M
Input $/Mtok$3.00$2.00
Output $/Mtok$15.00$8.00
Coding index57.846.5
Independent measurements behind it22
Cost per solved task$1.68$0.37
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick Claude Sonnet 4.6 for coding: it scores 57.8 on the Vibe Coding Index against 46.5 for GPT-4.1. Pick GPT-4.1 when output tokens cost 1.9x less, or when a solved task costs $0.37 against $1.68.

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

Claude Sonnet 4.6 costs $3.00 per million input tokens and $15.00 per million output tokens; GPT-4.1 costs $2.00 and $8.00. Per solved SWE-bench Verified task, Claude Sonnet 4.6 costs $1.68 and GPT-4.1 $0.37.

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

GPT-4.1, with 1.05M tokens against 1M.

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

71 benchmarks have a result for both models as of October 21, 2026. Claude Sonnet 4.6's coding index rests on 2 independent benchmarks and GPT-4.1's on 2. 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-4-1" title="Claude Sonnet 4.6 vs GPT-4.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-4-1">LLMBenchmark.ai, Claude Sonnet 4.6 vs GPT-4.1</a></p>