LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.5 vs GPT-4.1 Nano

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

Claude Sonnet 4.5Anthropic
Coding
59.1
Overall
20.7
Output $/M
$15.00
54
GPT-4.1 NanoOpenAI
Coding
8.9
Overall
7.8
Output $/M
$0.40
0
vs boards won of 54 shared

Decision reading

Pick Claude Sonnet 4.5 for coding: it scores 59.1 on the Vibe Coding Index against 8.9 for GPT-4.1 Nano.

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

Shared results
54
Claude Sonnet 4.5 only
38
GPT-4.1 Nano only
15
Like-for-like categories
7 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.5 59.1 from 2 benchmarks, GPT-4.1 Nano 8.9 from 1 benchmark.
Widest category
Math, 37.3 points apart on average over 6 shared benchmarks.
Widest single gap
ARC-AGI: Claude Sonnet 4.5 63.7% against GPT-4.1 Nano 0.0%, 63.7 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.5 $15.00 against GPT-4.1 Nano $0.40 per million output tokens, 37.5x apart.
Context window
Claude Sonnet 4.5 takes 1M tokens, GPT-4.1 Nano 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.5BarsGPT-4.1 NanoTies
Coding50
Intelligence20
Reasoning90
Math60
Knowledge110
Web design60
General150
All shared boards540
CodingLike-for-likeFour of these boards feed the Vibe Coding Index50
Coding benchmarks for Claude Sonnet 4.5 and GPT-4.1 Nano
BenchmarkClaude Sonnet 4.5GPT-4.1 NanoLeader
Aider polyglotNot measured8.9%Only GPT-4.1 Nano measured
SWE-bench Verified74.8%Not measuredOnly Claude Sonnet 4.5 measured
SWE-bench Multilingual67.0%Not measuredOnly Claude Sonnet 4.5 measured
LMArena WebDev1394Not measuredOnly Claude Sonnet 4.5 measured
AA Coding Index52.111.1Claude Sonnet 4.5
LiveCodeBench (Vals AI)73.0%42.7%Claude Sonnet 4.5
SWE-bench Verified (Vals AI)70.0%Not measuredOnly Claude Sonnet 4.5 measured
Vibe Code Bench (Vals AI)22.6%Not measuredOnly Claude Sonnet 4.5 measured
LiveCodeBench (Artificial Analysis run)Not measured32.6%Only GPT-4.1 Nano measured
Terminal-Bench Hard (Artificial Analysis run)Not measured3.8%Only GPT-4.1 Nano measured
Terminal-Bench46.5%Not measuredOnly Claude Sonnet 4.5 measured
GSO-Bench14.7%Not measuredOnly Claude Sonnet 4.5 measured
WeirdML47.7%19.0%Claude Sonnet 4.5
Cybench60.0%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: coding14881306Claude Sonnet 4.5
LMArena Text: software and IT14731305Claude Sonnet 4.5
LMArena WebDev: React1386Not measuredOnly Claude Sonnet 4.5 measured
LMArena WebDev: HTML1399Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Claude Sonnet 4.5 and GPT-4.1 Nano
BenchmarkClaude Sonnet 4.5GPT-4.1 NanoLeader
AA Intelligence Index20.77.8Claude Sonnet 4.5
Epoch Capabilities Index146.7129.5Claude Sonnet 4.5
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
Agentic work benchmarks for Claude Sonnet 4.5 and GPT-4.1 Nano
BenchmarkClaude Sonnet 4.5GPT-4.1 NanoLeader
AA Agentic Index15.8Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: agents building web apps1060Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: agents building full-stack apps1050Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: agents building mobile apps1137Not measuredOnly Claude Sonnet 4.5 measured
τ²-Bench TelecomNot measured17.3%Only GPT-4.1 Nano measured
METR time horizons67.4%Not measuredOnly Claude Sonnet 4.5 measured
Remote Labor Index2.1%Not measuredOnly Claude Sonnet 4.5 measured
GDPval42.5%Not measuredOnly Claude Sonnet 4.5 measured
DeepResearch Bench52.6%Not measuredOnly Claude Sonnet 4.5 measured
OSWorld62.9%Not measuredOnly Claude Sonnet 4.5 measured
Vending-Bench 2$3,839Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index90
Reasoning benchmarks for Claude Sonnet 4.5 and GPT-4.1 Nano
BenchmarkClaude Sonnet 4.5GPT-4.1 NanoLeader
GPQA Diamond81.6%50.8%Claude Sonnet 4.5
MMMU Pro (Vals AI)79.3%55.0%Claude Sonnet 4.5
GPQA Diamond (Artificial Analysis run)Not measured51.2%Only GPT-4.1 Nano measured
Humanity's Last Exam (Artificial Analysis run)Not measured3.8%Only GPT-4.1 Nano measured
GPQA Diamond (Epoch AI run)82.3%48.9%Claude Sonnet 4.5
ARC-AGI63.7%0.0%Claude Sonnet 4.5
ARC-AGI-213.6%0.0%Claude Sonnet 4.5
SimpleBench54.3%Not measuredOnly Claude Sonnet 4.5 measured
Chess puzzles10.0%0.0%Claude Sonnet 4.5
Mystery game puzzles17.0%Not measuredOnly Claude Sonnet 4.5 measured
EBR-bench2.4%Not measuredOnly Claude Sonnet 4.5 measured
VPCT39.8%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: hard prompts14621286Claude Sonnet 4.5
LMArena Text: expert14831271Claude Sonnet 4.5
LMArena Text: hard prompts in English14711293Claude Sonnet 4.5
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index60
Math benchmarks for Claude Sonnet 4.5 and GPT-4.1 Nano
BenchmarkClaude Sonnet 4.5GPT-4.1 NanoLeader
AIME88.2%26.5%Claude Sonnet 4.5
MATH 500 (Vals AI)Not measured80.2%Only GPT-4.1 Nano measured
MGSM (Vals AI)94.3%69.3%Claude Sonnet 4.5
AA Math IndexNot measured24.0Only GPT-4.1 Nano measured
AIME 2025 (Artificial Analysis run)Not measured24.0%Only GPT-4.1 Nano measured
OTIS Mock AIME77.8%28.9%Claude Sonnet 4.5
FrontierMath, tiers 1 to 323.9%Not measuredOnly Claude Sonnet 4.5 measured
FrontierMath, tier 42.4%Not measuredOnly Claude Sonnet 4.5 measured
ProofBench19.0%Not measuredOnly Claude Sonnet 4.5 measured
MATH level 597.7%70.0%Claude Sonnet 4.5
LMArena Text: math14491274Claude Sonnet 4.5
LMArena Text: mathematical work14621274Claude Sonnet 4.5
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index110
Knowledge benchmarks for Claude Sonnet 4.5 and GPT-4.1 Nano
BenchmarkClaude Sonnet 4.5GPT-4.1 NanoLeader
MMLU Pro87.4%63.5%Claude Sonnet 4.5
LegalBench (Vals AI)84.1%61.1%Claude Sonnet 4.5
CaseLaw (Vals AI)62.2%Not measuredOnly Claude Sonnet 4.5 measured
CorpFin (Vals AI)62.0%42.1%Claude Sonnet 4.5
TaxEval (Vals AI)73.3%60.8%Claude Sonnet 4.5
MortgageTax (Vals AI)64.0%52.8%Claude Sonnet 4.5
MedQA (Vals AI)94.7%68.2%Claude Sonnet 4.5
MedCode (Vals AI)44.1%Not measuredOnly Claude Sonnet 4.5 measured
MMLU Pro (Artificial Analysis run)Not measured65.7%Only GPT-4.1 Nano measured
SimpleQA Verified30.7%6.0%Claude Sonnet 4.5
LMArena Text: science14481297Claude Sonnet 4.5
LMArena Text: medicine and healthcare14441276Claude Sonnet 4.5
LMArena Text: legal and government14511300Claude Sonnet 4.5
LMArena Text: business and finance14401267Claude Sonnet 4.5
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.5 and GPT-4.1 Nano
BenchmarkClaude Sonnet 4.5GPT-4.1 NanoLeader
Design Arena: websites1190973Claude Sonnet 4.5
Design Arena: UI components1173916Claude Sonnet 4.5
Design Arena: game dev1166971Claude Sonnet 4.5
Design Arena: data viz1167891Claude Sonnet 4.5
Design Arena: 3D1158925Claude Sonnet 4.5
Design Arena: all code categories1183963Claude Sonnet 4.5
Design Arena: SVG1114Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: ASCII art1204Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index150
General benchmarks for Claude Sonnet 4.5 and GPT-4.1 Nano
BenchmarkClaude Sonnet 4.5GPT-4.1 NanoLeader
SAGE (Vals AI)36.1%Not measuredOnly Claude Sonnet 4.5 measured
MedScribe (Vals AI)84.5%Not measuredOnly Claude Sonnet 4.5 measured
IFBenchNot measured32.0%Only GPT-4.1 Nano measured
Long context reasoning (AA-LCR)Not measured20.3%Only GPT-4.1 Nano measured
DTBench83.2%52.5%Claude Sonnet 4.5
LMCA38.8%5.5%Claude Sonnet 4.5
Fiction.LiveBenchNot measured25.0%Only GPT-4.1 Nano measured
LMArena Text14381285Claude Sonnet 4.5
LMArena Text: instruction following14591266Claude Sonnet 4.5
LMArena Text: creative writing14421260Claude Sonnet 4.5
LMArena VisionNot measured1063Only GPT-4.1 Nano measured
LMArena Text: English14501303Claude Sonnet 4.5
LMArena Text: non-English14251260Claude Sonnet 4.5
LMArena Text: Chinese14601270Claude Sonnet 4.5
LMArena Text: German14271288Claude Sonnet 4.5
LMArena Text: Japanese13901198Claude Sonnet 4.5
LMArena Text: Korean1402Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: French1459Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: Spanish1458Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: Russian14371261Claude Sonnet 4.5
LMArena Text: Polish1423Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: multi-turn14651277Claude Sonnet 4.5
LMArena Text: longer queries14751283Claude Sonnet 4.5
LMArena Text: writing and language14421261Claude Sonnet 4.5
LMArena Text: entertainment and media14281243Claude Sonnet 4.5
LMArena Vision: EnglishNot measured1101Only GPT-4.1 Nano measured
LMArena Document1450Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 19 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Sonnet 4.5 and GPT-4.1 Nano
BenchmarkClaude Sonnet 4.5GPT-4.1 NanoLeader
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.5$0.011Fits in one request
GPT-4.1 Nano$0.0003Fits in one request

GPT-4.1 Nano costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 4.5$0.195Fits in one request
GPT-4.1 Nano$0.0062Fits in one request

GPT-4.1 Nano costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 4.5$0.750Fits in one request
GPT-4.1 Nano$0.024Fits in one request

GPT-4.1 Nano 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.5 and GPT-4.1 Nano
SpecificationAnthropic Claude Sonnet 4.5OpenAI GPT-4.1 Nano
MakerAnthropicOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedSeptember 29, 2025April 14, 2025
Context window1M1.05M
Input $/Mtok$3.00$0.10
Output $/Mtok$15.00$0.40
Coding index59.18.9
Independent measurements behind it21
Cost per solved task$1.16Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 4.5 better than GPT-4.1 Nano for coding?

Pick Claude Sonnet 4.5 for coding: it scores 59.1 on the Vibe Coding Index against 8.9 for GPT-4.1 Nano. Pick GPT-4.1 Nano when output tokens cost 37.5x less, or when the context window is larger, 1.05M against 1M tokens.

Which is cheaper, Claude Sonnet 4.5 or GPT-4.1 Nano?

Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; GPT-4.1 Nano costs $0.10 and $0.40. Cost per solved task is known for Claude Sonnet 4.5 only.

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

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

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

54 benchmarks have a result for both models as of October 21, 2026. Claude Sonnet 4.5's coding index rests on 2 independent benchmarks and GPT-4.1 Nano's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next