AnthropicvsxAI·Updated Nov 2026
anthropic/claude-haiku-4.5 logovsGrok Code Fast 1 logo

anthropic/claude-haiku-4.5 vs Grok Code Fast 1

Side-by-side pricing tables, surcharge math, capability benchmarks, and 30-day spend estimators across 411 live models and cloud GPU matchups.

Switch Comparison Matchup411 · Updated Nov 2026
Cheaper Input
Tie · $1.00/1M

Equal

Cheaper Output
Grok Code Fast 1 logoGrok Code Fast 1-60%

$2.00 vs $5.00 / 1M

AA Intelligence / AA Engineering
Reasoning

—

Context Window
Grok Code Fast 1 logoGrok Code Fast 11.3×

256K vs 200K tokens

Capability Benchmarks & Third-Party Evaluations

Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.

AA Intelligence · Engineering · Arena · SWE-bench
Artificial Analysis Benchmarks
AA Intelligence
anthropic/claude-haiku-4.5 logoanthropic/claude-haiku-4.5Pending
Grok Code Fast 1 logoGrok Code Fast 1Pending
AA Engineering
anthropic/claude-haiku-4.5 logoanthropic/claude-haiku-4.5Pending
Grok Code Fast 1 logoGrok Code Fast 1Pending
Core Capability Profile
Metricanthropic/claude-haiku-4.5Grok Code Fast 1
ReasoningYesYes
Input Modalitiestext, image, filetext
Tools & JSONToolsTools
Prompt Caching$0.10/1M$0.20/1M
Open-WeightProprietaryProprietary

Side-by-side specification matrix

USD ·
Metricanthropic/claude-haiku-4.5 logoanthropic/claude-haiku-4.5Grok Code Fast 1 logoGrok Code Fast 1Compare
Input / 1M$1.00$1.00Equal
Output / 1M$5.00$2.00Grok Code Fast 1 -60%
5m Cache Write / 1M$1.25$1.00Grok Code Fast 1 -20%
1h Cache Write / 1M———
Cache Read$0.10$0.20anthropic/claude-haiku-4.5 -50%
Web Search / Call———
Context200K (200,000)256K (256,000)Grok Code Fast 1 1.3×
Max Output64K (64,000)256K (256,000)Grok Code Fast 1 4×
AA Intelligence(Artificial Analysis)———
AA Engineering———
Capabilitiestext, image, filetextanthropic/claude-haiku-4.5
ReasoningSupportedSupportedEqual
Structured Outputs(JSON Schema)Not listedNot listedEqual
Open-WeightProprietary APIProprietary APIEqual

30-day production cost estimator

Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.

LLM API Monthly Cost Calculator
2,000
2,500
500
50%
0
60,000 · 150.0M · 30.0M
Est. 30-Day Spend
Estimated monthly savings with Grok Code Fast 1 $82.50/mo ($990.00)
-35%
anthropic/claude-haiku-4.5 logoanthropic/claude-haiku-4.5
$232.50/mo
In: $75.00
Cache: $7.50
Out: $150.00
Search: N/A
Grok Code Fast 1 logoGrok Code Fast 1Best Value
$150.00/mo
In: $75.00
Cache: $15.00
Out: $60.00
Search: N/A

Frequently Asked Questions

Is anthropic/claude-haiku-4.5 or Grok Code Fast 1 cheaper per API token?

Both anthropic/claude-haiku-4.5 and Grok Code Fast 1 charge an identical $1.00 per 1M input tokens. For output tokens, Grok Code Fast 1 costs 60% less ($2.00 vs $5.00 per 1M).

How do anthropic/claude-haiku-4.5 and Grok Code Fast 1 prompt caching discounts compare?

anthropic/claude-haiku-4.5 offers 50% cheaper cache reads at $0.10/1M compared to $0.20/1M for Grok Code Fast 1. anthropic/claude-haiku-4.5 5m write: $1.25/1M; Grok Code Fast 1 5m write: $1.00/1M.

Which model has a larger context window: anthropic/claude-haiku-4.5 or Grok Code Fast 1?

Grok Code Fast 1 provides a 1.3× larger context window (256K vs 200K tokens). For single-turn output generation, anthropic/claude-haiku-4.5 caps at 64K tokens and Grok Code Fast 1 caps at 256K tokens.

How do anthropic/claude-haiku-4.5 and Grok Code Fast 1 compare on benchmarks and capabilities?

Compare anthropic/claude-haiku-4.5 (Anthropic) and Grok Code Fast 1 (xAI) across tool calling (yes vs yes) and reasoning support above.

Related Head-to-Head Matchups

Comparisons