Coding work
Code generation, repair, and software-engineering tasks
GPT-4.1
GPT-4.1 has the higher public coding point estimate, 37.8 to 31.8, with Supported evidence for both models. The conditional ranges do not establish rank confidence.
Updated November 27, 2026. Rank says GPT-4.1 is ahead. Price, access, and your workload can each overturn that. Public scores include evidence status and uncertainty.
GPT-4.1 has the higher public point estimate, 38.1 versus 34. Their conditional score ranges overlap. These ranges do not establish rank confidence. 4 results are shared. Category rows resting on Estimated evidence or different benchmark sets are marked directional and do not name a winner.
Claude Haiku 4.5: $1 input / $5 output
GPT-4.1: $2 input / $8 output
Claude Haiku 4.5: 200K
GPT-4.1: 1M
Claude Haiku 4.5: October 15, 2025
GPT-4.1: April 14, 2025
Recommendations appear only when a shared evidence basis or an explicit operating constraint supports the call. Secondary and unsupported use cases stay disclosed below the initial list.
Code generation, repair, and software-engineering tasks
GPT-4.1
GPT-4.1 has the higher public coding point estimate, 37.8 to 31.8, with Supported evidence for both models. The conditional ranges do not establish rank confidence.
Prompts that approach the documented context limit
GPT-4.1
GPT-4.1 has the larger documented context window.
1K fresh input + 500 output tokens
Claude Haiku 4.5
Claude Haiku 4.5 has the lower estimated token cost for this stated workload. Costs use the listed standard API rates.
50K fresh input + 3K output tokens
Claude Haiku 4.5
Claude Haiku 4.5 has the lower estimated token cost for this stated workload. Costs use the listed standard API rates.
Tool use, computer use, and multi-step task completion
Not enough matched evidence
GPT-4.1 is scored on Estimated evidence for agentic, so the reading is directional rather than like-for-like.
200K cached + 20K fresh input + 10K output tokens
Not enough matched evidence
The page does not recommend a cost winner because at least one model cannot fit the stated workload in one request. Claude Haiku 4.5 does not fit this workload in one request. GPT-4.1 has no published cached-input rate, so cached tokens use its listed input rate.
Choose a job from the LLM Selector's task catalog to see the category row it rests on, under the same basis rules as the table below. A directional row stays directional; choosing a job never creates a winner.
The same task catalog as the LLM Selector. Each job names the evidence surface it rests on; nothing here adds a new score.
Like-for-like · BenchAlign v6.0
GPT-4.1 has the higher coding point estimate. Conditional score ranges do not establish rank confidence.
Coding scores combine specific tasks and setups. Match the editor, harness, and effort to your workflow.
The LLM Selector reads what you need a model for and returns a shortlist, ranked in the same order the job pages publish.
We keep what you type here, drafts included, for 180 days, and after that only the job and requirements read from it. Nothing is tied to your IP address or account. Leave out names and other personal details. Privacy
Shared results can support a head-to-head reading. Results present for only one model describe coverage, not superiority.
2 categories rest on Estimated evidence or different evidence sets. Those rows remain visible for coverage context but do not name a winner.
Only shared public evidence is shown. Sparse evidence stays a ruled list rather than being closed into a radar shape.
Too few matched category axes support a radar. The ruled list below shows only shared benchmark results; positions use each benchmark’s normalized display scale when available.
SWE-bench VerifiedCoding
Normalized gap 18.7LiveCodeBench (Vals)Coding
Normalized gap 13.5MMLU-Pro (Vals)Knowledge
Normalized gap 1.8Each row shows the public-lane category score for both models: the BenchAlign v6.0 lane in every category, with the same rank each model page reports. A row is like-for-like only when both scores rest on Supported evidence. Directional and not-comparable rows remain visible, but they never receive a winner.
| Category | Claude Haiku 4.5 | GPT-4.1 | Basis | Reading |
|---|---|---|---|---|
| Coding | 31.8Supported · #159/180 | 37.8Supported · #135/180 | Like-for-likeBenchAlign v6.0 lane · 4 vs 2 public rows | GPT-4.1 leads · intervals overlap |
| Reasoning | 37.0Supported · #142/161 | 40.2Supported · #118/161 | Like-for-likeBenchAlign v6.0 lane · 0 vs 0 public rows | GPT-4.1 leads · intervals overlap |
| Instruction following | 35.2Supported · #119/143 | 36.0Supported · #116/143 | Like-for-likeBenchAlign v6.0 lane · 0 vs 1 public rows | GPT-4.1 leads · intervals overlap |
| Agentic | 30.8Supported · #166/182 | 33.3Estimated · #165/182 | Directional onlyBenchAlign v6.0 lane · 4 vs 1 public rows | Directional only |
| Multimodal | 41.6Supported · #100/120 | 41.9Estimated · #108/120 | Directional onlyBenchAlign v6.0 lane · 1 vs 0 public rows | Directional only |
| Knowledge | Not ranked | 39.0Supported · #124/158 | Not comparableBenchAlign v6.0 lane · 2 vs 4 public rows | Not comparable |
| Multilingual | Not ranked | 35.7Supported · #73/88 | Not comparableBenchAlign v6.0 lane · 0 vs 1 public rows | Not comparable |
| Math | Not ranked | 35.1Supported · #107/126 | Not comparableBenchAlign v6.0 lane · 0 vs 1 public rows | Not comparable |
Ranks count the models scored in each category’s BenchAlign v6.0 lane, so denominators differ by category. Like-for-like rows within 0.5 points read as a practical tie.
Three fixed token mixes turn per-token rates into comparable decisions. Each scenario states context fit and whether cached input had to fall back to the published list-input rate.
1K fresh input + 500 output tokens
Claude Haiku 4.5 has the lower modeled cost
Costs use the listed standard API rates.
50K fresh input + 3K output tokens
Claude Haiku 4.5 has the lower modeled cost
Costs use the listed standard API rates.
200K cached + 20K fresh input + 10K output tokens
Claude Haiku 4.5 does not fit this workload in one request. GPT-4.1 has no published cached-input rate, so cached tokens use its listed input rate.
Enter a month of tokens to price it at both models’ listed API rates.
Standard listed rates, no batch or volume discounts.
Overall score against output price per 1M tokens, one model per family. Pricing as of November 23, 2026.
Claude Haiku 4.5GPT-4.1
Gray dots are the other priced models. The dark step line is the efficiency frontier: for a model under it, another model costs no more and scores at least as high.
See Claude Haiku 4.5 on the full price vs performance chartSourced differences are shown directly. Missing facts stay explicit instead of being inferred from a model name or family.
Maximum documented context; output-token limits may be lower.
Claude Haiku 4.5
GPT-4.1
1M
Claude Haiku 4.5
claude-haiku-4-5-20251001
Claude API pricingGPT-4.1
Not sourced
A missing cached-input rate falls back to the listed input rate only in the stated workload estimate.
Claude Haiku 4.5
$0.1 per 1M cached input tokens
Claude API pricingGPT-4.1
Not published
Claude Haiku 4.5
text, image
Anthropic Claude Haiku 4.5 model pageGPT-4.1
text, image
OpenAI model page for gpt-4.1Claude Haiku 4.5
GPT-4.1
Claude Haiku 4.5
Not sourced
GPT-4.1
Not sourced
Claude Haiku 4.5
Non-Reasoning
GPT-4.1
Non-Reasoning
Claude Haiku 4.5
Proprietary
GPT-4.1
Proprietary
Claude Haiku 4.5
Proprietary
GPT-4.1
Proprietary
Claude Haiku 4.5
2025-10-15
GPT-4.1
2025-04-14
GPT-4.1 has the higher public point estimate, 38.1 versus 34. Their conditional score ranges overlap. These ranges do not establish rank confidence. The page therefore keeps the decision tied to the specific documented workload.
GPT-4.1 has the higher public coding point estimate, 37.8 to 31.8, with Supported evidence for both models. The conditional ranges do not establish rank confidence.
GPT-4.1 scores higher for agentic tasks on the public lane, 33.3 to 30.8. GPT-4.1 is scored on Estimated evidence for agentic tasks, so the reading is directional rather than like-for-like. BenchLM does not name a winner for agentic tasks from a directional reading; read the shared benchmark rows directly and test the models on the same task set.
For the stated presets, chat costs $0.0035 on Claude Haiku 4.5 and $0.006 on GPT-4.1; repository review costs $0.065 and $0.124; the cache-heavy agent loop costs $0.09 and $0.52. Claude Haiku 4.5 does not fit this workload in one request. GPT-4.1 has no published cached-input rate, so cached tokens use its listed input rate.
GPT-4.1 has the larger documented context window: 1M, compared with 200K.
The full public result ledger is available for audit without forcing a wide desktop table onto a phone.
JobBench
Not directly comparable
Terminal-Bench 2.1 (Vals)
Not directly comparable
MazeBench
Not directly comparable
OSWorld 2.1 Offline
Not directly comparable
Gert Labs
Not directly comparable
BinaryAudit
Shown onlyNot directly comparable
SkillsBench official leaderboard (BenchFlow)
Shown onlyNot directly comparable
SWE-bench Verified
Claude Haiku 4.5 leads this result
VulcanBench v3
Not directly comparable
LiveCodeBench (Vals)
GPT-4.1 leads this result
SWE-bench (Vals)
Not directly comparable
Claude Haiku 4.5 leads this result
OTelBench
Shown onlyNot directly comparable
GPT-4.1 leads this result
NYT Connections
Shown onlyNot directly comparable
ParseBench-1
Not directly comparable
GPQA Diamond (Vals)
Claude Haiku 4.5 leads this result
MMLU-Pro (Vals)
GPT-4.1 leads this result
MMLU
Not directly comparable
GPQA
Not directly comparable
FailureSensorIQ
Shown onlyNot directly comparable
MMLU-ProX
Not directly comparable
IFEval
Not directly comparable
FrontierMath v2 (Tiers 1-3)
Not directly comparable
One weekly email when material rank, price, or benchmark evidence changes make this matchup worth revisiting.
Read a sample issueJoin 7,500+ subscribers.
Last updated November 27, 2026