Comprehensive side-by-side LLM comparison
Claude Haiku 4.5 leads with 17.8% higher average benchmark score. GPT-4.1 offers 680.3K more tokens in context window than Claude Haiku 4.5. Claude Haiku 4.5 is $4.00 cheaper per million tokens. Overall, Claude Haiku 4.5 is the stronger choice for coding tasks.
Anthropic
Claude Haiku 4.5 continues Anthropic's tradition of fast, efficient models in the fourth generation Claude family. Designed to maintain the hallmark speed and cost-effectiveness of the Haiku line while incorporating advancements from the Claude 4 series, it serves applications requiring rapid processing and quick turnaround times.
OpenAI
GPT-4.1 represents an iterative improvement in the GPT-4 series, developed to refine the foundational capabilities established by GPT-4. Built to incorporate learnings and optimizations from the deployment of previous versions, it continues the evolution of OpenAI's flagship model line with enhanced reliability and performance.
6 months newer

GPT-4.1
OpenAI
2025-04-14

Claude Haiku 4.5
Anthropic
2025-10-15
Cost per million tokens (USD)

Claude Haiku 4.5

GPT-4.1
Context window and performance specifications
Average performance across 4 common benchmarks

Claude Haiku 4.5

GPT-4.1
Performance comparison across key benchmark categories

Claude Haiku 4.5

GPT-4.1
GPT-4.1
2024-06-01
Claude Haiku 4.5
2025-02-01
Available providers and their performance metrics

Claude Haiku 4.5
Anthropic

GPT-4.1

Claude Haiku 4.5

GPT-4.1

Claude Haiku 4.5

GPT-4.1
OpenAI