Skip to main content

Model comparison

Claude 3.5 Sonnet vs GPT-4.1

Data verified

Head-to-head evidence from 4 shared benchmark results across 3 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.

46.96/100
Margin
3.5pts
winning →
OpenAI
50.44/100
0 category wins3 category wins

Public leaderboard positions: Claude 3.5 Sonnet #139 (Estimated); GPT-4.1 #111 (Supported). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.

Evidence parity. Claude 3.5 Sonnet and GPT-4.1 share 4 comparable benchmark results. 3 of 8 categories are comparable. 0 results are unique to Claude 3.5 Sonnet; 16 to GPT-4.1.

Updated July 24, 2026
Shared results
4
Claude 3.5 Sonnet only
0
GPT-4.1 only
16
Comparable categories
3 / 8

Pick GPT-4.1 if you want the stronger benchmark profile. Claude 3.5 Sonnet only becomes the better choice if its workflow or ecosystem matters more than the raw scoreboard.

Confidence note. This is a partial-evidence comparison with 4 shared benchmark results across 3 evidence categories; 3 of 8 categories currently have scoreable aggregates for both models. Treat the verdict as directional until coverage is more balanced.

Why this result

GPT-4.1 is clearly ahead on the BenchAlign aggregate, 50.44 to 46.96. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.

GPT-4.1's sharpest advantage is in knowledge, where it averages 66.3 against 59.4. The single biggest benchmark swing on the page is GPQA, 59.4% to 66.3%.

Claude 3.5 Sonnet is also the more expensive model on tokens at $3.00 input / $15.00 output per 1M tokens, versus $2.00 input / $8.00 output per 1M tokens for GPT-4.1. GPT-4.1 gives you the larger context window at 1M, compared with 200K for Claude 3.5 Sonnet.

Category breakdown

Exact category averages are shown below. Not measured means BenchLM does not have enough sourced public coverage for that model and category.

Category scores and score margins for Claude 3.5 Sonnet and GPT-4.1
CategoryClaude 3.5 SonnetΔGPT-4.1
KnowledgeClaude 3.5 Sonnet59.4Margin 6.9GPT-4.166.3
CodingClaude 3.5 Sonnet49.0Margin 5.6GPT-4.154.6
MathClaude 3.5 Sonnet1.6Margin 2.5GPT-4.14.1
Inst. FollowingClaude 3.5 SonnetNot measuredMarginNo overlapGPT-4.187.4

Decisive benchmark drivers

The largest measured benchmark gaps in this matchup, with exact reported values.

More
A · Claude 3.5 SonnetB · GPT-4.1
  1. GPQA

    Knowledge
    Source ↗
    A 59.4%B 66.3%
    Winner: GPT-4.1Δ 6.9
    GPQA: Claude 3.5 Sonnet scored 59.4%; GPT-4.1 scored 66.3%. GPT-4.1 wins this benchmark.
  2. SWE-bench Verified

    Coding
    Source ↗
    A 49%B 54.6%
    Winner: GPT-4.1Δ 5.6
    SWE-bench Verified: Claude 3.5 Sonnet scored 49%; GPT-4.1 scored 54.6%. GPT-4.1 wins this benchmark.
  3. FrontierMath v2 (Tiers 1-3)

    Math
    Source ↗
    A 2.069%B 5.517%
    Winner: GPT-4.1Δ 3.4
    FrontierMath v2 (Tiers 1-3): Claude 3.5 Sonnet scored 2.069%; GPT-4.1 scored 5.517%. GPT-4.1 wins this benchmark.

Operational comparison

Runtime and commercial metrics are compared only when both models have a complete sourced value.

MetricClaude 3.5 SonnetGPT-4.1Comparison
Input / output priceUSD per 1M tokensClaude 3.5 Sonnet$3 input / $15 outputGPT-4.1$2 input / $8 outputGPT-4.1 has the lower combined listed price.
Generation speedtokens per secondClaude 3.5 SonnetNot availableGPT-4.1108 tok/sA complete speed comparison is not available.
First-answer latencyseconds to first tokenClaude 3.5 SonnetNot availableGPT-4.11.02 sA complete latency comparison is not available.
Context windowmaximum listed tokensClaude 3.5 Sonnet200KGPT-4.11MGPT-4.1 lists the larger context window.

Benchmark Deep Dive

Agentic
BenchmarkClaude 3.5 SonnetGPT-4.1Result
τ²-bench resultsSource 47.1%Not comparable
Gert LabsSource 25.65%Not comparable
CodingGPT-4.1 wins
BenchmarkClaude 3.5 SonnetGPT-4.1Result
SWE-bench VerifiedSource 49%54.6%GPT-4.1 leads
AA-SciCodeSource 38.1%Not comparable
Reasoning
BenchmarkClaude 3.5 SonnetGPT-4.1Result
AA-LCRSource 61.0%Not comparable
CritPtSource 0.0%Not comparable
KnowledgeGPT-4.1 wins
BenchmarkClaude 3.5 SonnetGPT-4.1Result
GPQASource 59.4%66.3%GPT-4.1 leads
MMLUSource 90.2%Not comparable
Artificial Analysis Intelligence IndexSource 19.4%Not comparable
AA-GPQA DiamondSource 66.6%Not comparable
AA-HLESource 4.6%Not comparable
AA-Omniscience IndexSource -36.2%Not comparable
AA-Omniscience AccuracySource 24.2%Not comparable
AA-Omniscience Hallucination RateSource 79.6%Not comparable
MathGPT-4.1 wins
BenchmarkClaude 3.5 SonnetGPT-4.1Result
FrontierMath v2 (Tiers 1-3)Source 2.069%5.517%GPT-4.1 leads
FrontierMath v2 (Tier 4)Source 0.000%0.000%Tie
Multimodal
BenchmarkClaude 3.5 SonnetGPT-4.1Result
AA-MMMU-ProSource 61.2%Not comparable
Design Arena WebsiteSource 1068Not comparable
Inst. Following
BenchmarkClaude 3.5 SonnetGPT-4.1Result
IFEvalSource 87.4%Not comparable
AA-IFBenchSource 43.0%Not comparable
Frequently Asked Questions (4)

Which is better, Claude 3.5 Sonnet or GPT-4.1?

GPT-4.1 is ahead on BenchLM's BenchAlign leaderboard, 50.44 to 46.96. The biggest single separator in this matchup is GPQA, where the scores are 59.4% and 66.3%.

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

GPT-4.1 has the edge for knowledge tasks in this comparison, averaging 66.3 versus 59.4. Inside this category, GPQA is the benchmark that creates the most daylight between them.

Which is better for coding, Claude 3.5 Sonnet or GPT-4.1?

GPT-4.1 has the edge for coding in this comparison, averaging 54.6 versus 49. Inside this category, SWE-bench Verified is the benchmark that creates the most daylight between them.

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

GPT-4.1 has the edge for math in this comparison, averaging 4.1 versus 1.6. Inside this category, FrontierMath v2 (Tiers 1-3) is the benchmark that creates the most daylight between them.

Related Comparisons

Last updated: July 24, 2026