Price Per TokenPrice Per Token
Anthropic
Anthropic
vs
Xai
Xai

Claude 3.5 Haiku vs Grok 4

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Deploy OpenClaw in Under 1 Minute We handle hosting, scaling, and maintenance

107 out of our 300 tracked models have had a price change in March.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

Claude 3.5 Haiku wins:

  • Cheaper input tokens
  • Cheaper output tokens

Grok 4 wins:

  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
Price Advantage
Claude 3.5 Haiku
Benchmark Advantage
Grok 4
Context Window
Grok 4
Speed
Grok 4

Pricing Comparison

Price Comparison

MetricClaude 3.5 HaikuGrok 4Winner
Input (per 1M tokens)$0.80$3.00 Claude 3.5 Haiku
Output (per 1M tokens)$4.00$15.00 Claude 3.5 Haiku
Cache Read (per 1M)$0.08$0.75 Claude 3.5 Haiku
Cache Write (per 1M)$1.00N/A Claude 3.5 Haiku
Using a 3:1 input/output ratio, Claude 3.5 Haiku is 73% cheaper overall.

Claude 3.5 Haiku Providers

Vercel $0.80 (Cheapest)
Amazon Bedrock $0.80 (Cheapest)
Google $0.80 (Cheapest)

Grok 4 Providers

Vercel $3.00 (Cheapest)
xAI $3.00 (Cheapest)

Benchmark Comparison

8
Benchmarks Compared
0
Claude 3.5 Haiku Wins
6
Grok 4 Wins

Benchmark Scores

BenchmarkClaude 3.5 HaikuGrok 4Winner
Intelligence Index
Overall intelligence score
18.741.5
Coding Index
Code generation & understanding
10.740.5
Math Index
Mathematical reasoning
-92.7-
MMLU Pro
Academic knowledge
63.486.6
GPQA
Graduate-level science
40.887.7
LiveCodeBench
Competitive programming
31.481.9
Aider
Real-world code editing
-79.6-
AIME
Competition math
3.394.3
Grok 4 significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Claude 3.5 Haiku
Other models

Context & Performance

Context Window

Claude 3.5 Haiku
200,000
tokens
Max output: 8,192 tokens
Grok 4
256,000
tokens
Grok 4 has a 22% larger context window.

Speed Performance

MetricClaude 3.5 HaikuGrok 4Winner
Tokens/second0.0 tok/s39.5 tok/s
Time to First Token0.00s10.74s
Grok 4 responds Infinity% faster on average.

Capabilities

Feature Comparison

FeatureClaude 3.5 HaikuGrok 4
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyClaude 3.5 HaikuGrok 4
LicenseProprietaryProprietary
AuthorAnthropicXai
ReleasedNov 2024Jul 2025

Claude 3.5 Haiku Modalities

Input
textimage
Output
text

Grok 4 Modalities

Input
imagetext
Output
text

Related Comparisons

Compare Claude 3.5 Haiku with:

Compare Grok 4 with:

Frequently Asked Questions

Claude 3.5 Haiku has cheaper input pricing at $0.80/M tokens. Claude 3.5 Haiku has cheaper output pricing at $4.00/M tokens.
Grok 4 scores higher on coding benchmarks with a score of 40.5, compared to Claude 3.5 Haiku's score of 10.7.
Claude 3.5 Haiku has a 200,000 token context window, while Grok 4 has a 256,000 token context window.
Claude 3.5 Haiku supports vision. Grok 4 supports vision.
Advertise with us