Claude Haiku 5.5 vs Grok 4.7 pricing

Prices

Claude Haiku 5.5 and Grok 4.7 prices, USD per 1M tokens
USD per 1M tokensClaude Haiku 5.5Grok 4.7
Input$0.10$2.00
Output$0.50$6.00
Cache read$0.01$0.50
Cache write$0.125Not published
Batch input$0.05Not published
Batch output$0.25Not published

Verified against the provider's official pricing page on Oct 9, 2026. Official pricing page

xAI's list price for its own API, as compiled by models.dev and checked Oct 10, 2026, 09:00 UTC. Prices on cloud platforms and resellers can differ. Provider documentation

Monthly cost by workload

WorkloadClaude Haiku 5.5Grok 4.7
Chatbot1,000 in / 500 out tokens, 10,000 requests a day$105.00/mo$1,500/mo
RAG8,000 in / 500 out tokens, 5,000 requests a day$157.50/mo$2,850/mo
Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input$72.00/mo$1,560/mo

Cost = input tokens × input price + output tokens × output price, 30 days a month. Cached input uses the cache read price. Cache write fees are not included.

Context and capabilities

Claude Haiku 5.5Grok 4.7
Context1,000,000 tokens500,000 tokens
Max output128,000 tokens500,000 tokens
Inputtext, image, pdftext, image, pdf
Tool callingYesYes
ReasoningYesYes
Structured outputsYesYes

Questions

What is the price difference between Claude Haiku 5.5 and Grok 4.7?
Claude Haiku 5.5: $0.10 per 1M input tokens and $0.50 per 1M output tokens. Grok 4.7: $2.00 per 1M input tokens and $6.00 per 1M output tokens. For the Chatbot workload (1,000 in / 500 out tokens, 10,000 requests a day), that is about $105.00 per month for Claude Haiku 5.5 and $1,500 for Grok 4.7.
Which has the longer context window, Claude Haiku 5.5 or Grok 4.7?
Claude Haiku 5.5 has the longer context window: up to 1,000,000 tokens, compared with 500,000 for Grok 4.7.
Do Claude Haiku 5.5 and Grok 4.7 have prompt caching and batch prices?
Claude Haiku 5.5: cached input $0.01 per 1M tokens; batch $0.05 per 1M input tokens and $0.25 per 1M output tokens. Grok 4.7: cached input $0.50 per 1M tokens; no batch price published.

More comparisons