Comprehensive side-by-side LLM comparison
Grok-4 leads with 5.0% higher average benchmark score. Claude Haiku 4.5 offers 136.0K more tokens in context window than Grok-4. Claude Haiku 4.5 is $12.00 cheaper per million tokens. Both models have their strengths depending on your specific coding needs.
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.
xAI
Grok 4 represents the fourth generation of xAI's language models, developed to continue advancing the frontier of AI reasoning and knowledge. Built to handle increasingly complex tasks with enhanced reliability, it demonstrates xAI's commitment to pushing AI capabilities forward.
3 months newer

Grok-4
xAI
2025-07-09

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

Claude Haiku 4.5

Grok-4
Context window and performance specifications
Average performance across 2 common benchmarks

Claude Haiku 4.5

Grok-4
Grok-4
2024-12-31
Claude Haiku 4.5
2025-02-01
Available providers and their performance metrics

Claude Haiku 4.5
Anthropic

Grok-4

Claude Haiku 4.5

Grok-4

Claude Haiku 4.5

Grok-4
xAI
ZeroEval