Comprehensive side-by-side LLM comparison
Claude Haiku 4.5 leads with 16.9% higher average benchmark score. Claude Haiku 4.5 offers 368.0K more tokens in context window than Phi 4. Phi 4 is $5.79 cheaper per million tokens. Claude Haiku 4.5 supports multimodal inputs. 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.
Microsoft
Phi-4 was introduced as the fourth generation of Microsoft's small language model series, designed to push the boundaries of what compact models can achieve. Built with advanced training techniques and architectural improvements, it demonstrates continued progress in efficient, high-quality language models.
10 months newer

Phi 4
Microsoft
2024-12-12

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

Claude Haiku 4.5

Phi 4
Context window and performance specifications
Average performance across 1 common benchmarks

Claude Haiku 4.5

Phi 4
Phi 4
2024-06-01
Claude Haiku 4.5
2025-02-01
Available providers and their performance metrics

Claude Haiku 4.5
Anthropic

Phi 4

Claude Haiku 4.5

Phi 4

Claude Haiku 4.5

Phi 4
DeepInfra