Claude vs Grok API pricing, compared model by model
On 10 November 2026 the cheapest Anthropic model, Claude Haiku 5.5, costs $0.10 per million input tokens against $1.00 for the cheapest xAI model, Grok Build 0.1, and the typical xAI model is the cheaper of the two.
| Claude (Anthropic) | Grok (xAI) | |
|---|---|---|
| Models listed | 16 | 7 |
| Cheapest model | Claude Haiku 5.5, $0.10 in, $0.50 out | Grok Build 0.1, $1.00 in, $2.00 out |
| Most expensive model | Claude Opus 4.1, $15.00 in, $75.00 out | Grok 4.7, $2.00 in, $6.00 out |
| Median input price | $5.00 | $1.25 |
| Median output price | $25.00 | $2.50 |
| Largest context | 1M, Claude Fable 5.2 | 2M, Grok 4.20 Multi-Agent |
| Newest model | Claude Fable 5.2, 2026-11-09 | Grok 4.7, 2026-09-21 |
| Models with a batch price | 16 | 3 |
Every model, with your monthly cost
| Model | Provider | Input | Output | Cached input | Batch in / out | Context | Your month | Listed |
|---|---|---|---|---|---|---|---|---|
| Claude Fable 5.2 | Anthropic | $8.00 | $40.00 | $0.20 | $4.00 / $20.00 | 1M | $1,080.00 | 2026-11-09 |
| Claude Haiku 5.5 | Anthropic | $0.10 | $0.50 | $0.01 | $0.05 / $0.25 | 1M | $13.50 | 2026-10-07 |
| Claude Sonnet 5.5 | Anthropic | $2.00 | $10.00 | $0.10 | $1.00 / $5.00 | 1M | $270.00 | 2026-09-28 |
| Claude Opus 5.5 | Anthropic | $4.00 | $20.00 | $0.20 | $2.00 / $10.00 | 1M | $540.00 | 2026-09-22 |
| Grok 4.7 | xAI | $2.00 | $6.00 | $0.50 | $1.60 / $4.80 | 500K | $210.00 | 2026-09-21 |
| Claude Fable 5.1 | Anthropic | $10.00 | $50.00 | $0.25 | $5.00 / $25.00 | 1M | $1,350.00 | 2026-09-01 |
| Grok 4.6 | xAI | $2.00 | $6.00 | $0.50 | $1.60 / $4.80 | 500K | $210.00 | 2026-08-12 |
| Claude Opus 5 | Anthropic | $5.00 | $25.00 | $0.50 | $2.50 / $12.50 | 1M | $675.00 | 2026-07-24 |
| Grok 4.5 | xAI | $2.00 | $6.00 | $0.30 | 500K | $210.00 | 2026-07-08 | |
| Claude Sonnet 5 | Anthropic | $2.00 | $10.00 | $0.20 | $1.00 / $5.00 | 1M | $270.00 | 2026-06-30 |
| Claude Fable 5 | Anthropic | $10.00 | $50.00 | $1.00 | $5.00 / $25.00 | 1M | $1,350.00 | 2026-06-09 |
| Claude Opus 4.8 | Anthropic | $5.00 | $25.00 | $0.50 | $2.50 / $12.50 | 1M | $675.00 | 2026-05-27 |
| Grok Build 0.1 | xAI | $1.00 | $2.00 | $0.20 | 256K | $90.00 | 2026-05-20 | |
| Grok 4.3 | xAI | $1.25 | $2.50 | $0.20 | $1.00 / $2.00 | 1M | $112.50 | 2026-04-30 |
| Claude Opus 4.7 | Anthropic | $5.00 | $25.00 | $0.50 | $2.50 / $12.50 | 1M | $675.00 | 2026-04-16 |
| Grok 4.20 Multi-Agent | xAI | $1.25 | $2.50 | $0.20 | 2M | $112.50 | 2026-03-31 | |
| Grok 4.20 | xAI | $1.25 | $2.50 | $0.20 | 2M | $112.50 | 2026-03-31 | |
| Claude Sonnet 4.6 | Anthropic | $3.00 | $15.00 | $0.30 | $1.50 / $7.50 | 1M | $405.00 | 2026-02-17 |
| Claude Opus 4.6 | Anthropic | $5.00 | $25.00 | $0.50 | $2.50 / $12.50 | 1M | $675.00 | 2026-02-04 |
| Claude Opus 4.5 | Anthropic | $5.00 | $25.00 | $0.50 | $2.50 / $12.50 | 200K | $675.00 | 2025-11-24 |
| Claude Haiku 4.5 | Anthropic | $1.00 | $5.00 | $0.10 | $0.50 / $2.50 | 200K | $135.00 | 2025-10-15 |
| Claude Sonnet 4.5 | Anthropic | $3.00 | $15.00 | $0.30 | $1.50 / $7.50 | 1M | $405.00 | 2025-09-29 |
| Claude Opus 4.1 served by Amazon Bedrock | Anthropic | $15.00 | $75.00 | $1.50 | $7.50 / $37.50 | 200K | $2,025.00 | 2025-08-05 |
All Claude prices . All Grok prices . Every provider
Common questions
Is Claude cheaper than Grok?
On 10 November 2026, the median Anthropic model on this list costs $5.00 per million input tokens and $25.00 per million output tokens, against $1.25 and $2.50 for xAI. By that measure xAI is cheaper, but compare the specific models you would use, since both providers sell models at very different price points.
What is the cheapest Claude model compared with the cheapest Grok model?
The cheapest Anthropic model on this list is Claude Haiku 5.5 at $0.10 in and $0.50 out per million tokens. The cheapest xAI model is Grok Build 0.1 at $1.00 in and $2.00 out.
Which has the larger context window, Claude or Grok?
The largest Claude context on this list is 1M tokens (Claude Fable 5.2) and the largest Grok context is 2M tokens (Grok 4.20 Multi-Agent).
How should I choose between Claude and Grok for a production agent?
Price per token is one input. Run both on a set of your own real cases, count how often each needs a retry or a human check, and compare the total cost of a correct answer rather than the cost of a token.
Choosing a model for a production agent
Price is one input. Quality on your own cases, latency and the cost of retries decide the rest. Tell me what you are building.