Price Per TokenPrice Per Token
Anthropic
Anthropic
vs
Xai
Xai

Claude 3 Haiku vs Grok 4

A detailed comparison of pricing, benchmarks, and capabilities

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

Join the Price Per Token Community

Key Takeaways

Claude 3 Haiku wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Faster response time

Grok 4 wins:

  • Larger context window
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
  • Has reasoning mode
Price Advantage
Claude 3 Haiku
Benchmark Advantage
Grok 4
Context Window
Grok 4
Speed
Claude 3 Haiku

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

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

License & Release

PropertyClaude 3 HaikuGrok 4
LicenseProprietaryProprietary
AuthorAnthropicXai
ReleasedMar 2024Jul 2025

Claude 3 Haiku Modalities

Input
textimage
Output
text

Grok 4 Modalities

Input
imagetext
Output
text

Frequently Asked Questions

Claude 3 Haiku has cheaper input pricing at $0.25/M tokens. Claude 3 Haiku has cheaper output pricing at $1.25/M tokens.
Grok 4 scores higher on coding benchmarks with a score of 40.5, compared to Claude 3 Haiku's score of 6.7.
Claude 3 Haiku has a 200,000 token context window, while Grok 4 has a 256,000 token context window.
Claude 3 Haiku supports vision. Grok 4 supports vision.