Comprehensive side-by-side LLM comparison
Grok-4 leads with 45.9% higher average benchmark score. Claude 3.5 Haiku offers 136.0K more tokens in context window than Grok-4. Claude 3.5 Haiku is $13.20 cheaper per million tokens. Grok-4 supports multimodal inputs. Overall, Grok-4 is the stronger choice for coding tasks.
Anthropic
Claude 3.5 Haiku was developed as the next generation of Anthropic's fastest model, offering similar speed to Claude 3 Haiku while surpassing Claude 3 Opus on many intelligence benchmarks. Built with low latency, improved instruction following, and accurate tool use, it serves user-facing products, specialized sub-agent tasks, and data-heavy applications.
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.
8 months newer

Claude 3.5 Haiku
Anthropic
2024-10-22

Grok-4
xAI
2025-07-09
Cost per million tokens (USD)

Claude 3.5 Haiku

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

Claude 3.5 Haiku

Grok-4
Grok-4
2024-12-31
Available providers and their performance metrics

Claude 3.5 Haiku
Anthropic
Bedrock

Claude 3.5 Haiku

Grok-4

Claude 3.5 Haiku

Grok-4

Grok-4
xAI
ZeroEval