Comprehensive side-by-side LLM comparison
Claude Haiku 4.5 leads with 19.4% higher average benchmark score. GPT-4.1 nano offers 680.3K more tokens in context window than Claude Haiku 4.5. GPT-4.1 nano is $5.50 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 Nano was developed as the smallest and most efficient variant in the GPT-4.1 family, designed for applications requiring minimal latency and resource usage. Built to enable AI capabilities on edge devices and resource-constrained environments, it distills GPT-4.1 capabilities into an ultra-compact form factor.
6 months newer

GPT-4.1 nano
OpenAI
2025-04-14

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

Claude Haiku 4.5

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

Claude Haiku 4.5

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

Claude Haiku 4.5
Anthropic

GPT-4.1 nano

Claude Haiku 4.5

GPT-4.1 nano

Claude Haiku 4.5

GPT-4.1 nano
OpenAI