Skip to main content

Model comparison

Claude Sonnet 4.6 vs GPT-4.1

Data verified

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

64.4/100
Margin
14.0pts
← winning
OpenAI
50.44/100
2 category wins1 category wins

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

Evidence parity. Claude Sonnet 4.6 and GPT-4.1 share 18 comparable benchmark results. 3 of 8 categories are comparable. 15 results are unique to Claude Sonnet 4.6; 2 to GPT-4.1.

Updated July 24, 2026
Shared results
18
Claude Sonnet 4.6 only
15
GPT-4.1 only
2
Comparable categories
3 / 8

Pick Claude Sonnet 4.6 if you want the stronger benchmark profile. GPT-4.1 only becomes the better choice if knowledge is the priority or you want the cheaper token bill.

Confidence note. This is a partial-evidence comparison with 18 shared benchmark results across 7 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

Claude Sonnet 4.6 is clearly ahead on the BenchAlign aggregate, 64.4 to 50.44. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.

Claude Sonnet 4.6's sharpest advantage is in mathematics, where it averages 26.4 against 4.1. The single biggest benchmark swing on the page is FrontierMath v2 (Tiers 1-3), 32.400% to 5.517%. GPT-4.1 does hit back in knowledge, so the answer changes if that is the part of the workload you care about most.

Claude Sonnet 4.6 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 Sonnet 4.6.

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 Sonnet 4.6 and GPT-4.1
CategoryClaude Sonnet 4.6ΔGPT-4.1
MathClaude Sonnet 4.626.4Margin 22.3GPT-4.14.1
CodingClaude Sonnet 4.669.1Margin 14.5GPT-4.154.6
KnowledgeClaude Sonnet 4.666.0Margin 0.3GPT-4.166.3
AgenticClaude Sonnet 4.665.2MarginNo overlapGPT-4.1Not measured
MultimodalClaude Sonnet 4.677.4MarginNo overlapGPT-4.1Not measured
Inst. FollowingClaude Sonnet 4.6Not measuredMarginNo overlapGPT-4.187.4

Decisive benchmark drivers

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

More
A · Claude Sonnet 4.6B · GPT-4.1
  1. FrontierMath v2 (Tiers 1-3)

    Math
    Source ↗
    A 32.400%B 5.517%
    Winner: Claude Sonnet 4.6Δ 26.9
    FrontierMath v2 (Tiers 1-3): Claude Sonnet 4.6 scored 32.400%; GPT-4.1 scored 5.517%. Claude Sonnet 4.6 wins this benchmark.
  2. SWE-bench Verified

    Coding
    Source ↗
    A 79.6%B 54.6%
    Winner: Claude Sonnet 4.6Δ 25
    SWE-bench Verified: Claude Sonnet 4.6 scored 79.6%; GPT-4.1 scored 54.6%. Claude Sonnet 4.6 wins this benchmark.
  3. GPQA

    Knowledge
    Source ↗
    A 89.9%B 66.3%
    Winner: Claude Sonnet 4.6Δ 23.6
    GPQA: Claude Sonnet 4.6 scored 89.9%; GPT-4.1 scored 66.3%. Claude Sonnet 4.6 wins this benchmark.
  4. FrontierMath v2 (Tier 4)

    Math
    Source ↗
    A 8.300%B 0.000%
    Winner: Claude Sonnet 4.6Δ 8.3
    FrontierMath v2 (Tier 4): Claude Sonnet 4.6 scored 8.300%; GPT-4.1 scored 0.000%. Claude Sonnet 4.6 wins this benchmark.

Operational comparison

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

MetricClaude Sonnet 4.6GPT-4.1Comparison
Input / output priceUSD per 1M tokensClaude Sonnet 4.6$3 input / $15 outputGPT-4.1$2 input / $8 outputGPT-4.1 has the lower combined listed price.
Generation speedtokens per secondClaude Sonnet 4.644 tok/sGPT-4.1108 tok/sGPT-4.1 has the higher measured throughput.
First-answer latencyseconds to first tokenClaude Sonnet 4.61.48 sGPT-4.11.02 sGPT-4.1 reaches the first token sooner.
Context windowmaximum listed tokensClaude Sonnet 4.6200KGPT-4.11MGPT-4.1 lists the larger context window.

Benchmark Deep Dive

Agentic
BenchmarkClaude Sonnet 4.6GPT-4.1Result
Terminal-Bench 2.0Source 59.1%Not comparable
OSWorld-VerifiedSource 72.1%Not comparable
Claw-EvalSource 67.8%Not comparable
CyberGymSource 65.2%Not comparable
τ²-bench resultsSource 79.5%47.1%Claude Sonnet 4.6 leads
Gert LabsSource 62.92%25.65%Claude Sonnet 4.6 leads
OSWorld 2.0Source 8.3%Not comparable
JobBenchSource 36.9%Not comparable
CodingClaude Sonnet 4.6 wins
BenchmarkClaude Sonnet 4.6GPT-4.1Result
SWE-bench VerifiedSource 79.6%54.6%Claude Sonnet 4.6 leads
SWE-RebenchSource 60.7%Not comparable
React Native EvalsSource 80.6%Not comparable
Vibe Code BenchSource 51.48%Not comparable
cursorBench31Source 48.8%Not comparable
AA-SciCodeSource 46.9%38.1%Claude Sonnet 4.6 leads
FrontierCode 1.1 MainSource 24.3%Not comparable
Reasoning
BenchmarkClaude Sonnet 4.6GPT-4.1Result
AA-LCRSource 57.7%61.0%GPT-4.1 leads
CritPtSource 0.9%0.0%Claude Sonnet 4.6 leads
KnowledgeGPT-4.1 wins
BenchmarkClaude Sonnet 4.6GPT-4.1Result
GPQASource 89.9%66.3%Claude Sonnet 4.6 leads
SuperGPQASource 95%Not comparable
MMLU-ProSource 79.2%Not comparable
HLESource 49%Not comparable
Artificial Analysis Intelligence IndexSource 35.9%19.4%Claude Sonnet 4.6 leads
AA-GPQA DiamondSource 79.9%66.6%Claude Sonnet 4.6 leads
AA-HLESource 13.2%4.6%Claude Sonnet 4.6 leads
AA-Omniscience IndexSource -2.9%-36.2%Claude Sonnet 4.6 leads
AA-Omniscience AccuracySource 38.0%24.2%Claude Sonnet 4.6 leads
AA-Omniscience Hallucination RateSource 65.9%79.6%Claude Sonnet 4.6 leads
MMLUSource 90.2%Not comparable
MathClaude Sonnet 4.6 wins
BenchmarkClaude Sonnet 4.6GPT-4.1Result
FrontierMath v2 (Tiers 1-3)Source 32.400%5.517%Claude Sonnet 4.6 leads
FrontierMath v2 (Tier 4)Source 8.300%0.000%Claude Sonnet 4.6 leads
Multimodal
BenchmarkClaude Sonnet 4.6GPT-4.1Result
CharXivSource 77.4%Not comparable
AA-MMMU-ProSource 70.6%61.2%Claude Sonnet 4.6 leads
Design Arena WebsiteSource 13141068Claude Sonnet 4.6 leads
Inst. Following
BenchmarkClaude Sonnet 4.6GPT-4.1Result
AA-IFBenchSource 41.2%43.0%GPT-4.1 leads
IFEvalSource 87.4%Not comparable
Frequently Asked Questions (4)

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

Claude Sonnet 4.6 is ahead on BenchLM's BenchAlign leaderboard, 64.4 to 50.44. The biggest single separator in this matchup is FrontierMath v2 (Tiers 1-3), where the scores are 32.400% and 5.517%.

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

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

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

Claude Sonnet 4.6 has the edge for coding in this comparison, averaging 69.1 versus 54.6. Inside this category, SWE-bench Verified is the benchmark that creates the most daylight between them.

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

Claude Sonnet 4.6 has the edge for math in this comparison, averaging 26.4 versus 4.1. 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