Claude Sonnet 4.5 vs GPT-4.1 nano

Side-by-side benchmark comparison across knowledge, coding, math, and reasoning.

Claude Sonnet 4.5 is clearly ahead on the aggregate, 83 to 23. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.

Claude Sonnet 4.5's sharpest advantage is in mathematics, where it averages 95 against 9.8. The single biggest benchmark swing on the page is AIME 2024, 99 to 9.8.

Claude Sonnet 4.5 is also the more expensive model on tokens at $3.00 input / $15.00 output per 1M tokens, versus $0.10 input / $0.40 output per 1M tokens for GPT-4.1 nano. That is roughly 37.5x on output cost alone. GPT-4.1 nano gives you the larger context window at 1M, compared with 200K for Claude Sonnet 4.5.

Quick Verdict

Pick Claude Sonnet 4.5 if you want the stronger benchmark profile. GPT-4.1 nano only becomes the better choice if you want the cheaper token bill or you need the larger 1M context window.

Knowledge

Claude Sonnet 4.5

Claude Sonnet 4.5

78.8

GPT-4.1 nano

65.2

95
MMLU
80.1
93
GPQA
50.3
91
SuperGPQA
-
89
OpenBookQA
-
84
MMLU-Pro
-
21
HLE
-

Coding

Claude Sonnet 4.5
87
HumanEval
-
66
SWE-bench Verified
-
53
LiveCodeBench
-

Mathematics

Claude Sonnet 4.5

Claude Sonnet 4.5

95

GPT-4.1 nano

9.8

97
AIME 2023
-
99
AIME 2024
9.8
98
AIME 2025
-
93
HMMT Feb 2023
-
95
HMMT Feb 2024
-
94
HMMT Feb 2025
-
96
BRUMO 2025
-
88
MATH-500
-

Reasoning

Claude Sonnet 4.5
91
SimpleQA
-
89
MuSR
-
88
BBH
-

Instruction Following

Claude Sonnet 4.5

Claude Sonnet 4.5

90

GPT-4.1 nano

83.2

90
IFEval
83.2

Multilingual

Claude Sonnet 4.5
91
MGSM
-

Frequently Asked Questions

Which is better, Claude Sonnet 4.5 or GPT-4.1 nano?

Claude Sonnet 4.5 is ahead overall, 83 to 23. The biggest single separator in this matchup is AIME 2024, where the scores are 99 and 9.8.

Which is better for knowledge tasks, Claude Sonnet 4.5 or GPT-4.1 nano?

Claude Sonnet 4.5 has the edge for knowledge tasks in this comparison, averaging 78.8 versus 65.2. Inside this category, GPQA is the benchmark that creates the most daylight between them.

Which is better for math, Claude Sonnet 4.5 or GPT-4.1 nano?

Claude Sonnet 4.5 has the edge for math in this comparison, averaging 95 versus 9.8. Inside this category, AIME 2024 is the benchmark that creates the most daylight between them.

Which is better for instruction following, Claude Sonnet 4.5 or GPT-4.1 nano?

Claude Sonnet 4.5 has the edge for instruction following in this comparison, averaging 90 versus 83.2. Inside this category, IFEval is the benchmark that creates the most daylight between them.

Last updated: March 9, 2026

Weekly LLM Benchmark Digest

Get notified when new models drop, benchmark scores change, or the leaderboard shifts. One email per week.

Free. No spam. Unsubscribe anytime. We only store derived location metadata for consent routing.