Skip to main content

Model comparison

Claude Haiku 4.5 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.

55.85/100
Margin
5.4pts
← winning
OpenAI
50.44/100
2 category wins0 category wins

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

Evidence parity. Claude Haiku 4.5 and GPT-4.1 share 4 comparable benchmark results. 2 of 8 categories are comparable. 1 result is unique to Claude Haiku 4.5; 16 to GPT-4.1.

Updated July 24, 2026
Shared results
4
Claude Haiku 4.5 only
1
GPT-4.1 only
16
Comparable categories
2 / 8

Pick Claude Haiku 4.5 if you want the stronger benchmark profile. GPT-4.1 only becomes the better choice if you need the larger 1M context window.

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

Why this result

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

Claude Haiku 4.5's sharpest advantage is in coding, where it averages 73.3 against 54.6. The single biggest benchmark swing on the page is SWE-bench Verified, 73.3% to 54.6%.

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

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 Haiku 4.5 and GPT-4.1
CategoryClaude Haiku 4.5ΔGPT-4.1
CodingClaude Haiku 4.573.3Margin 18.7GPT-4.154.6
MathClaude Haiku 4.54.9Margin 0.8GPT-4.14.1
KnowledgeClaude Haiku 4.5Not measuredMarginNo overlapGPT-4.166.3
Inst. FollowingClaude Haiku 4.5Not measuredMarginNo overlapGPT-4.187.4

Decisive benchmark drivers

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

More
A · Claude Haiku 4.5B · GPT-4.1
  1. SWE-bench Verified

    Coding
    Source ↗
    A 73.3%B 54.6%
    Winner: Claude Haiku 4.5Δ 18.7
    SWE-bench Verified: Claude Haiku 4.5 scored 73.3%; GPT-4.1 scored 54.6%. Claude Haiku 4.5 wins this benchmark.
  2. FrontierMath v2 (Tier 4)

    Math
    Source ↗
    A 2.083%B 0.000%
    Winner: Claude Haiku 4.5Δ 2.1
    FrontierMath v2 (Tier 4): Claude Haiku 4.5 scored 2.083%; GPT-4.1 scored 0.000%. Claude Haiku 4.5 wins this benchmark.
  3. FrontierMath v2 (Tiers 1-3)

    Math
    Source ↗
    A 5.903%B 5.517%
    Winner: Claude Haiku 4.5Δ 0.4
    FrontierMath v2 (Tiers 1-3): Claude Haiku 4.5 scored 5.903%; GPT-4.1 scored 5.517%. Claude Haiku 4.5 wins this benchmark.

Operational comparison

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

MetricClaude Haiku 4.5GPT-4.1Comparison
Input / output priceUSD per 1M tokensClaude Haiku 4.5$1 input / $5 outputGPT-4.1$2 input / $8 outputClaude Haiku 4.5 has the lower combined listed price.
Generation speedtokens per secondClaude Haiku 4.5Not availableGPT-4.1108 tok/sA complete speed comparison is not available.
First-answer latencyseconds to first tokenClaude Haiku 4.5Not availableGPT-4.11.02 sA complete latency comparison is not available.
Context windowmaximum listed tokensClaude Haiku 4.5200KGPT-4.11MGPT-4.1 lists the larger context window.

Benchmark Deep Dive

Agentic
BenchmarkClaude Haiku 4.5GPT-4.1Result
JobBenchSource 16.0%Not comparable
τ²-bench resultsSource 47.1%Not comparable
Gert LabsSource 25.65%Not comparable
CodingClaude Haiku 4.5 wins
BenchmarkClaude Haiku 4.5GPT-4.1Result
SWE-bench VerifiedSource 73.3%54.6%Claude Haiku 4.5 leads
AA-SciCodeSource 38.1%Not comparable
Reasoning
BenchmarkClaude Haiku 4.5GPT-4.1Result
AA-LCRSource 61.0%Not comparable
CritPtSource 0.0%Not comparable
Knowledge
BenchmarkClaude Haiku 4.5GPT-4.1Result
MMLUSource 90.2%Not comparable
GPQASource 66.3%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
MathClaude Haiku 4.5 wins
BenchmarkClaude Haiku 4.5GPT-4.1Result
FrontierMath v2 (Tiers 1-3)Source 5.903%5.517%Claude Haiku 4.5 leads
FrontierMath v2 (Tier 4)Source 2.083%0.000%Claude Haiku 4.5 leads
Multimodal
BenchmarkClaude Haiku 4.5GPT-4.1Result
Design Arena WebsiteSource 11521068Claude Haiku 4.5 leads
AA-MMMU-ProSource 61.2%Not comparable
Inst. Following
BenchmarkClaude Haiku 4.5GPT-4.1Result
IFEvalSource 87.4%Not comparable
AA-IFBenchSource 43.0%Not comparable
Frequently Asked Questions (3)

Which is better, Claude Haiku 4.5 or GPT-4.1?

Claude Haiku 4.5 is ahead on BenchLM's BenchAlign leaderboard, 55.85 to 50.44. The biggest single separator in this matchup is SWE-bench Verified, where the scores are 73.3% and 54.6%.

Which is better for coding, Claude Haiku 4.5 or GPT-4.1?

Claude Haiku 4.5 has the edge for coding in this comparison, averaging 73.3 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 Haiku 4.5 or GPT-4.1?

Claude Haiku 4.5 has the edge for math in this comparison, averaging 4.9 versus 4.1. Inside this category, FrontierMath v2 (Tier 4) is the benchmark that creates the most daylight between them.

Related Comparisons

Last updated: July 24, 2026