Model comparison
Claude Haiku 4.5 vs GPT-4.1 mini
Head-to-head evidence from 3 shared benchmark results across 3 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.
Public leaderboard positions: Claude Haiku 4.5 #80 (Estimated); GPT-4.1 mini #160 (Estimated). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.
Evidence parity. Claude Haiku 4.5 and GPT-4.1 mini share 3 comparable benchmark results. 2 of 8 categories are comparable. 2 results are unique to Claude Haiku 4.5; 19 to GPT-4.1 mini.
Updated July 24, 2026- Shared results
- 3
- Claude Haiku 4.5 only
- 2
- GPT-4.1 mini only
- 19
- Comparable categories
- 2 / 8
Pick Claude Haiku 4.5 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.
Confidence note. This is a partial-evidence comparison with 3 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 43.1. 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 23.6. The single biggest benchmark swing on the page is SWE-bench Verified, 73.3% to 23.6%.
Claude Haiku 4.5 is also the more expensive model on tokens at $1.00 input / $5.00 output per 1M tokens, versus $0.40 input / $1.60 output per 1M tokens for GPT-4.1 mini. That is roughly 3.1x on output cost alone. GPT-4.1 mini 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 | Claude Haiku 4.5 | Δ | GPT-4.1 mini |
|---|---|---|---|
| Coding | Claude Haiku 4.573.3 | Margin← 49.7 | GPT-4.1 mini23.6 |
| Math | Claude Haiku 4.54.9 | Margin← 0.4 | GPT-4.1 mini4.5 |
| Knowledge | Claude Haiku 4.5Not measured | MarginNo overlap | GPT-4.1 mini64.2 |
| Inst. Following | Claude Haiku 4.5Not measured | MarginNo overlap | GPT-4.1 mini88.5 |
Decisive benchmark drivers
The largest measured benchmark gaps in this matchup, with exact reported values.
More
- Source ↗
SWE-bench Verified
CodingA 73.3%B 23.6%Winner: Claude Haiku 4.5Δ 49.7SWE-bench Verified: Claude Haiku 4.5 scored 73.3%; GPT-4.1 mini scored 23.6%. Claude Haiku 4.5 wins this benchmark. - Source ↗
FrontierMath v2 (Tiers 1-3)
MathA 5.903%B 4.483%Winner: Claude Haiku 4.5Δ 1.4FrontierMath v2 (Tiers 1-3): Claude Haiku 4.5 scored 5.903%; GPT-4.1 mini scored 4.483%. Claude Haiku 4.5 wins this benchmark.
Operational comparison
Runtime and commercial metrics are compared only when both models have a complete sourced value.
| Metric | Claude Haiku 4.5 | GPT-4.1 mini | Comparison |
|---|---|---|---|
| Input / output priceUSD per 1M tokens | Claude Haiku 4.5$1 input / $5 output | GPT-4.1 mini$0.4 input / $1.6 output | GPT-4.1 mini has the lower combined listed price. |
| Generation speedtokens per second | Claude Haiku 4.5Not available | GPT-4.1 mini80 tok/s | A complete speed comparison is not available. |
| First-answer latencyseconds to first token | Claude Haiku 4.5Not available | GPT-4.1 mini0.76 s | A complete latency comparison is not available. |
| Context windowmaximum listed tokens | Claude Haiku 4.5200K | GPT-4.1 mini1M | GPT-4.1 mini lists the larger context window. |
Benchmark Deep Dive
Agentic5 benchmarks
CodingClaude Haiku 4.5 wins3 benchmarks
Reasoning2 benchmarks
Knowledge8 benchmarks
| Benchmark | Claude Haiku 4.5 | GPT-4.1 mini | Result |
|---|---|---|---|
| MMLUSource | — | 87.5% | Not comparable |
| GPQASource | — | 64.2% | Not comparable |
| Artificial Analysis Intelligence IndexSource | — | 14.8% | Not comparable |
| AA-GPQA DiamondSource | — | 66.4% | Not comparable |
| AA-HLESource | — | 4.6% | Not comparable |
| AA-Omniscience IndexSource | — | -50.1% | Not comparable |
| AA-Omniscience AccuracySource | — | 17.5% | Not comparable |
| AA-Omniscience Hallucination RateSource | — | 82.0% | Not comparable |
MathClaude Haiku 4.5 wins2 benchmarks
Multimodal2 benchmarks
Frequently Asked Questions (3)
Which is better, Claude Haiku 4.5 or GPT-4.1 mini?
Claude Haiku 4.5 is ahead on BenchLM's BenchAlign leaderboard, 55.85 to 43.1. The biggest single separator in this matchup is SWE-bench Verified, where the scores are 73.3% and 23.6%.
Which is better for coding, Claude Haiku 4.5 or GPT-4.1 mini?
Claude Haiku 4.5 has the edge for coding in this comparison, averaging 73.3 versus 23.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 mini?
Claude Haiku 4.5 has the edge for math in this comparison, averaging 4.9 versus 4.5. Inside this category, FrontierMath v2 (Tiers 1-3) is the benchmark that creates the most daylight between them.