Comprehensive side-by-side LLM comparison
Grok Code Fast 1 leads with 30.2% higher average benchmark score. Claude 3.5 Haiku offers 134.0K more tokens in context window than Grok Code Fast 1. Grok Code Fast 1 is $3.10 cheaper per million tokens. Claude 3.5 Haiku is available on 3 providers. Overall, Grok Code Fast 1 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 Code Fast was developed as a specialized coding model optimized for speed, designed to provide rapid code completion, generation, and assistance. Built to serve developers requiring quick feedback and iterative coding support, it combines programming expertise with low-latency responses.
10 months newer

Claude 3.5 Haiku
Anthropic
2024-10-22

Grok Code Fast 1
xAI
2025-08-28
Cost per million tokens (USD)

Claude 3.5 Haiku

Grok Code Fast 1
Context window and performance specifications
Average performance across 1 common benchmarks

Claude 3.5 Haiku

Grok Code Fast 1
Performance comparison across key benchmark categories

Claude 3.5 Haiku

Grok Code Fast 1
Available providers and their performance metrics

Claude 3.5 Haiku
Anthropic
Bedrock

Claude 3.5 Haiku

Grok Code Fast 1

Claude 3.5 Haiku

Grok Code Fast 1

Grok Code Fast 1
xAI