Head-to-head comparison across 1benchmark categories. Overall scores shown here use BenchLM's provisional ranking lane.
Claude 4 Sonnet
51
GPT-4.1 mini
46
Pick Claude 4 Sonnet if you want the stronger benchmark profile. GPT-4.1 mini only becomes the better choice if you want the cheaper token bill or you need the larger 1M context window.
Coding
+49.1 difference
Claude 4 Sonnet
GPT-4.1 mini
$3 / $15
$0.4 / $1.6
40 t/s
80 t/s
1.33s
0.76s
200K
1M
Pick Claude 4 Sonnet if you want the stronger benchmark profile. GPT-4.1 mini only becomes the better choice if you want the cheaper token bill or you need the larger 1M context window.
Claude 4 Sonnet is clearly ahead on the provisional aggregate, 51 to 46. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.
Claude 4 Sonnet's sharpest advantage is in coding, where it averages 72.7 against 23.6. The single biggest benchmark swing on the page is SWE-bench Verified, 72.7% to 23.6%.
Claude 4 Sonnet is also the more expensive model on tokens at $3.00 input / $15.00 output per 1M tokens, versus $0.40 input / $1.60 output per 1M tokens for GPT-4.1 mini. That is roughly 9.4x on output cost alone. GPT-4.1 mini gives you the larger context window at 1M, compared with 200K for Claude 4 Sonnet.
Claude 4 Sonnet is ahead on BenchLM's provisional leaderboard, 51 to 46. The biggest single separator in this matchup is SWE-bench Verified, where the scores are 72.7% and 23.6%.
Claude 4 Sonnet has the edge for coding in this comparison, averaging 72.7 versus 23.6. Inside this category, SWE-bench Verified is the benchmark that creates the most daylight between them.
For engineers, researchers, and the plain curious — a weekly brief on new models, ranking shifts, and pricing changes.
Free. No spam. Unsubscribe anytime.