Comprehensive side-by-side LLM comparison
Claude Haiku 4.5 leads with 42.2% higher average benchmark score. Claude Haiku 4.5 offers 137.9K more tokens in context window than Gemma 3 4B. Gemma 3 4B is $5.94 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.
Gemma 3 4B was developed as a compact yet capable open-source model, designed to strike a balance between performance and resource efficiency. Built with 4 billion parameters and instruction tuning, it provides a practical option for applications requiring moderate capability with manageable computational costs.
7 months newer

Gemma 3 4B
2025-03-12

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

Claude Haiku 4.5

Gemma 3 4B
Context window and performance specifications
Average performance across 1 common benchmarks

Claude Haiku 4.5

Gemma 3 4B
Gemma 3 4B
2024-08-01
Claude Haiku 4.5
2025-02-01
Available providers and their performance metrics

Claude Haiku 4.5
Anthropic

Gemma 3 4B

Claude Haiku 4.5

Gemma 3 4B

Claude Haiku 4.5

Gemma 3 4B
DeepInfra