Model comparison
Claude 3.5 Sonnet vs GPT-4.1
Head-to-head evidence from 4 shared benchmark results across 3 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.
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 | Claude 3.5 Sonnet | Δ | GPT-4.1 |
|---|---|---|---|
| Knowledge | Claude 3.5 Sonnet59.4 | Margin→ 6.9 | GPT-4.166.3 |
| Coding | Claude 3.5 Sonnet49.0 | Margin→ 5.6 | GPT-4.154.6 |
| Math | Claude 3.5 Sonnet1.6 | Margin→ 2.5 | GPT-4.14.1 |
| Inst. Following | Claude 3.5 SonnetNot measured | MarginNo overlap | GPT-4.187.4 |
Decisive benchmark drivers
The largest measured benchmark gaps in this matchup, with exact reported values.
More
- Source ↗
GPQA
KnowledgeA 59.4%B 66.3%Winner: GPT-4.1Δ 6.9GPQA: Claude 3.5 Sonnet scored 59.4%; GPT-4.1 scored 66.3%. GPT-4.1 wins this benchmark. - Source ↗
SWE-bench Verified
CodingA 49%B 54.6%Winner: GPT-4.1Δ 5.6SWE-bench Verified: Claude 3.5 Sonnet scored 49%; GPT-4.1 scored 54.6%. GPT-4.1 wins this benchmark. - Source ↗
FrontierMath v2 (Tiers 1-3)
MathA 2.069%B 5.517%Winner: GPT-4.1Δ 3.4FrontierMath 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.
| Metric | Claude 3.5 Sonnet | GPT-4.1 | Comparison |
|---|---|---|---|
| Input / output priceUSD per 1M tokens | Claude 3.5 Sonnet$3 input / $15 output | GPT-4.1$2 input / $8 output | GPT-4.1 has the lower combined listed price. |
| Generation speedtokens per second | Claude 3.5 SonnetNot available | GPT-4.1108 tok/s | A complete speed comparison is not available. |
| First-answer latencyseconds to first token | Claude 3.5 SonnetNot available | GPT-4.11.02 s | A complete latency comparison is not available. |
| Context windowmaximum listed tokens | Claude 3.5 Sonnet200K | GPT-4.11M | GPT-4.1 lists the larger context window. |
Benchmark Deep Dive
Agentic2 benchmarks
CodingGPT-4.1 wins2 benchmarks
Reasoning2 benchmarks
KnowledgeGPT-4.1 wins8 benchmarks
| Benchmark | Claude 3.5 Sonnet | GPT-4.1 | Result |
|---|---|---|---|
| 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 wins2 benchmarks
Multimodal2 benchmarks
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.