Model Comparison

Claude 3.5 Haiku vs Grok Code Fast 1

Grok Code Fast 1 significantly outperforms across most benchmarks. Grok Code Fast 1 is 3.0x cheaper per token.

Performance Benchmarks

Comparative analysis across standard metrics

1 benchmarks

Claude 3.5 Haiku outperforms in 0 benchmarks, while Grok Code Fast 1 is better at 1 benchmark (SWE-Bench Verified).

Grok Code Fast 1 significantly outperforms across most benchmarks.

Fri May 29 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Grok Code Fast 1 costs less

For input processing, Claude 3.5 Haiku ($0.80/1M tokens) is 4.0x more expensive than Grok Code Fast 1 ($0.20/1M tokens).

For output processing, Claude 3.5 Haiku ($4.00/1M tokens) is 2.7x more expensive than Grok Code Fast 1 ($1.50/1M tokens).

In conclusion, Claude 3.5 Haiku is more expensive than Grok Code Fast 1.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Fri May 29 2026 • llm-stats.com
Anthropic
Claude 3.5 Haiku
Input tokens$0.80
Output tokens$4.00
Best providerAWS Bedrock
xAI
Grok Code Fast 1
Input tokens$0.20
Output tokens$1.50
Best providerxAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Grok Code Fast 1 accepts 256,000 input tokens compared to Claude 3.5 Haiku's 200,000 tokens. Claude 3.5 Haiku can generate longer responses up to 200,000 tokens, while Grok Code Fast 1 is limited to 10,000 tokens.

Anthropic
Claude 3.5 Haiku
Input200,000 tokens
Output200,000 tokens
xAI
Grok Code Fast 1
Input256,000 tokens
Output10,000 tokens
Fri May 29 2026 • llm-stats.com

License

Usage and distribution terms

Both models are licensed under proprietary licenses.

Both models have usage restrictions defined by their respective organizations.

Claude 3.5 Haiku

Proprietary

Closed source

Grok Code Fast 1

Proprietary

Closed source

Release Timeline

When each model was launched

Claude 3.5 Haiku was released on 2024-10-22, while Grok Code Fast 1 was released on 2025-08-28.

Grok Code Fast 1 is 10 months newer than Claude 3.5 Haiku.

Claude 3.5 Haiku

Oct 22, 2024

1.6 years ago

Grok Code Fast 1

Aug 28, 2025

9 months ago

10mo newer

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

Provider Availability

Claude 3.5 Haiku is available from Bedrock, Google, Anthropic. Grok Code Fast 1 is available from xAI.

Claude 3.5 Haiku

bedrock logo
AWS Bedrock
Input Price:Input: $0.80/1MOutput Price:Output: $4.00/1M
google logo
Google
Input Price:Input: $0.80/1MOutput Price:Output: $4.00/1M
anthropic logo
Anthropic
Input Price:Input: $1.00/1MOutput Price:Output: $5.00/1M

Grok Code Fast 1

xai logo
xAI
Input Price:Input: $0.20/1MOutput Price:Output: $1.50/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

No standout differentiators in the data we have for this pair.

Larger context window (256,000 tokens)
Less expensive input tokens
Less expensive output tokens
Higher SWE-Bench Verified score (70.8% vs 40.6%)

Detailed Comparison

AI Model Comparison Table
Feature
Anthropic
Claude 3.5 Haiku
xAI
Grok Code Fast 1

FAQ

Common questions about Claude 3.5 Haiku vs Grok Code Fast 1.

Which is better, Claude 3.5 Haiku or Grok Code Fast 1?

Grok Code Fast 1 significantly outperforms across most benchmarks. Claude 3.5 Haiku is made by Anthropic and Grok Code Fast 1 is made by xAI. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Claude 3.5 Haiku compare to Grok Code Fast 1 in benchmarks?

Claude 3.5 Haiku scores HumanEval: 88.1%, MGSM: 85.6%, DROP: 83.1%, MATH: 69.4%, MMLU-Pro: 65.0%. Grok Code Fast 1 scores SWE-Bench Verified: 70.8%.

Is Claude 3.5 Haiku cheaper than Grok Code Fast 1?

Grok Code Fast 1 is 4.0x cheaper for input tokens. Claude 3.5 Haiku costs $0.80/M input and $4.00/M output via bedrock. Grok Code Fast 1 costs $0.20/M input and $1.50/M output via xai.

What are the context window sizes for Claude 3.5 Haiku and Grok Code Fast 1?

Claude 3.5 Haiku supports 200K tokens and Grok Code Fast 1 supports 256K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Claude 3.5 Haiku and Grok Code Fast 1?

Key differences include context window (200K vs 256K), input pricing ($0.80 vs $0.20/M). See the full comparison above for benchmark-by-benchmark results.

Who makes Claude 3.5 Haiku and Grok Code Fast 1?

Claude 3.5 Haiku is developed by Anthropic and Grok Code Fast 1 is developed by xAI.