LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.6 vs GPT-4.1 Mini

Updated October 21, 2026. 72 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
72
GPT-4.1 MiniOpenAI
Coding
28.5
Overall
10.2
Output $/M
$1.60
0
vs boards won of 72 shared

Decision reading

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

Pick GPT-4.1 Mini when output tokens cost 9.4x less, or when the context window is larger, 1.05M against 1M tokens.

Shared results
72
Claude Sonnet 4.6 only
45
GPT-4.1 Mini only
12
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 Mini 28.5 from 2 benchmarks.
Widest category
Web design, 35.6 points apart on average over 6 shared benchmarks.
Widest single gap
ARC-AGI: Claude Sonnet 4.6 86.5% against GPT-4.1 Mini 3.5%, 83.0 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.6 $15.00 against GPT-4.1 Mini $1.60 per million output tokens, 9.4x apart.
Context window
Claude Sonnet 4.6 takes 1M tokens, GPT-4.1 Mini 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.1 MiniTies
Coding60
Intelligence20
Agentic work10
Reasoning140
Math40
Knowledge110
Web design60
General280
All shared boards720
CodingLike-for-likeFour of these boards feed the Vibe Coding Index60
Coding benchmarks for Claude Sonnet 4.6 and GPT-4.1 Mini
BenchmarkClaude Sonnet 4.6GPT-4.1 MiniLeader
Aider polyglotNot measured32.4%Only GPT-4.1 Mini measured
SWE-bench VerifiedNot measured23.9%Only GPT-4.1 Mini measured
LiveBench coding66.6%Not measuredOnly Claude Sonnet 4.6 measured
LMArena WebDev1523Not measuredOnly Claude Sonnet 4.6 measured
AA Coding Index63.020.2Claude Sonnet 4.6
LiveCodeBench (Vals AI)82.1%58.2%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 measured48.3%Only GPT-4.1 Mini measured
SciCode50.1%Not measuredOnly Claude Sonnet 4.6 measured
Terminal-Bench Hard (Artificial Analysis run)53.0%7.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%37.6%Claude Sonnet 4.6
LMArena Text: coding15031367Claude Sonnet 4.6
LMArena Text: software and IT14911360Claude 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 15 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 Mini
BenchmarkClaude Sonnet 4.6GPT-4.1 MiniLeader
AA Intelligence Index30.110.2Claude Sonnet 4.6
Epoch Capabilities Index152.8134.9Claude 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 Mini
BenchmarkClaude Sonnet 4.6GPT-4.1 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 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%52.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 19 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index140
Reasoning benchmarks for Claude Sonnet 4.6 and GPT-4.1 Mini
BenchmarkClaude Sonnet 4.6GPT-4.1 MiniLeader
GPQA Diamond85.6%67.9%Claude Sonnet 4.6
LiveBench reasoning86.4%Not measuredOnly Claude Sonnet 4.6 measured
MMMU Pro (Vals AI)83.6%70.5%Claude Sonnet 4.6
GPQA Diamond (Artificial Analysis run)87.5%66.4%Claude Sonnet 4.6
Humanity's Last Exam (Artificial Analysis run)33.6%5.0%Claude Sonnet 4.6
GPQA Diamond (Epoch AI run)87.4%65.8%Claude Sonnet 4.6
ARC-AGI86.5%3.5%Claude Sonnet 4.6
ARC-AGI-260.4%0.0%Claude Sonnet 4.6
Chess puzzles23.0%1.0%Claude Sonnet 4.6
Mystery game puzzles16.0%7.0%Claude Sonnet 4.6
LMArena Text: hard prompts14851349Claude Sonnet 4.6
LMArena Text: expert15001338Claude Sonnet 4.6
LMArena Text: hard prompts in English14931362Claude Sonnet 4.6
LMArena Vision: diagrams13061182Claude Sonnet 4.6
LMArena Vision: homework13111214Claude Sonnet 4.6
Neither model has a result on the other 6 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 Mini
BenchmarkClaude Sonnet 4.6GPT-4.1 MiniLeader
AIME92.3%49.4%Claude Sonnet 4.6
MATH 500 (Vals AI)Not measured88.0%Only GPT-4.1 Mini measured
MGSM (Vals AI)Not measured87.8%Only GPT-4.1 Mini measured
AA Math IndexNot measured46.3Only GPT-4.1 Mini measured
AIME 2025 (Artificial Analysis run)Not measured46.3%Only GPT-4.1 Mini measured
OTIS Mock AIME85.8%44.7%Claude Sonnet 4.6
FrontierMath, tiers 1 to 3Not measured6.7%Only GPT-4.1 Mini measured
ProofBench45.0%Not measuredOnly Claude Sonnet 4.6 measured
MATH level 5Not measured87.3%Only GPT-4.1 Mini measured
LMArena Text: math14621343Claude Sonnet 4.6
LMArena Text: mathematical work14831347Claude 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 index110
Knowledge benchmarks for Claude Sonnet 4.6 and GPT-4.1 Mini
BenchmarkClaude Sonnet 4.6GPT-4.1 MiniLeader
MMLU Pro87.3%77.2%Claude Sonnet 4.6
LegalBench (Vals AI)82.1%78.0%Claude Sonnet 4.6
CaseLaw (Vals AI)64.0%Not measuredOnly Claude Sonnet 4.6 measured
CorpFin (Vals AI)65.3%57.9%Claude Sonnet 4.6
TaxEval (Vals AI)77.1%71.9%Claude Sonnet 4.6
MortgageTax (Vals AI)67.7%65.5%Claude Sonnet 4.6
MedQA (Vals AI)92.1%84.6%Claude Sonnet 4.6
MMLU Pro (Artificial Analysis run)Not measured78.1%Only GPT-4.1 Mini measured
SimpleQA Verified35.5%12.7%Claude Sonnet 4.6
LMArena Text: science14741328Claude Sonnet 4.6
LMArena Text: medicine and healthcare14511324Claude Sonnet 4.6
LMArena Text: legal and government14701343Claude Sonnet 4.6
LMArena Text: business and finance14641322Claude Sonnet 4.6
Neither model has a result on the other 4 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 Mini
BenchmarkClaude Sonnet 4.6GPT-4.1 MiniLeader
Design Arena: websites1285997Claude Sonnet 4.6
Design Arena: UI components1271961Claude Sonnet 4.6
Design Arena: game dev12591071Claude Sonnet 4.6
Design Arena: data viz12781034Claude Sonnet 4.6
Design Arena: 3D1234837Claude Sonnet 4.6
Design Arena: all code categories1276994Claude 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 index280
General benchmarks for Claude Sonnet 4.6 and GPT-4.1 Mini
BenchmarkClaude Sonnet 4.6GPT-4.1 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%38.3%Claude Sonnet 4.6
Long context reasoning (AA-LCR)80.0%44.0%Claude Sonnet 4.6
DTBench89.9%68.8%Claude Sonnet 4.6
LMCA46.5%21.1%Claude Sonnet 4.6
Fiction.LiveBenchNot measured44.4%Only GPT-4.1 Mini measured
ExploitBench23.6%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text14581341Claude Sonnet 4.6
LMArena Text: instruction following14761333Claude Sonnet 4.6
LMArena Text: creative writing14351299Claude Sonnet 4.6
LMArena Vision12831181Claude Sonnet 4.6
LMArena Text: English14721356Claude Sonnet 4.6
LMArena Text: non-English14401318Claude Sonnet 4.6
LMArena Text: Chinese14911329Claude Sonnet 4.6
LMArena Text: German14281350Claude Sonnet 4.6
LMArena Text: Japanese14201290Claude Sonnet 4.6
LMArena Text: Korean14101298Claude Sonnet 4.6
LMArena Text: French14651358Claude Sonnet 4.6
LMArena Text: Spanish14641319Claude Sonnet 4.6
LMArena Text: Russian14401324Claude Sonnet 4.6
LMArena Text: Polish14431326Claude Sonnet 4.6
LMArena Text: multi-turn14641354Claude Sonnet 4.6
LMArena Text: longer queries14791344Claude Sonnet 4.6
LMArena Text: writing and language14441319Claude Sonnet 4.6
LMArena Text: entertainment and media14311300Claude Sonnet 4.6
LMArena Vision: English12981191Claude Sonnet 4.6
LMArena Vision: Chinese13071186Claude Sonnet 4.6
LMArena Vision: reading text12961188Claude Sonnet 4.6
LMArena Vision: humor12481182Claude Sonnet 4.6
LMArena Vision: captioningNot measured1174Only GPT-4.1 Mini measured
LMArena Vision: recognizing things11951187Claude Sonnet 4.6
LMArena Vision: creative writing12721182Claude 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 Mini
BenchmarkClaude Sonnet 4.6GPT-4.1 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-4.1 Mini$0.0012Fits in one request

GPT-4.1 Mini costs less

Repository review

50K input + 3K output tokens

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

GPT-4.1 Mini costs less

Agent loop

200K input + 10K output tokens

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

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

Questions

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

Pick Claude Sonnet 4.6 for coding: it scores 57.8 on the Vibe Coding Index against 28.5 for GPT-4.1 Mini. Pick GPT-4.1 Mini when output tokens cost 9.4x less, or when the context window is larger, 1.05M against 1M tokens.

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

Claude Sonnet 4.6 costs $3.00 per million input tokens and $15.00 per million output tokens; GPT-4.1 Mini costs $0.40 and $1.60. Per solved SWE-bench Verified task, Claude Sonnet 4.6 costs $1.68 and GPT-4.1 Mini $1.818.

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

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

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

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