Anthropic vs xAI

LLM API pricing compared on live data, plan by plan.

Anthropic logo
Anthropic
Claude API
$0.20/1M tokens
starting price
VS
xAI logo
xAI
Grok API
$1.25/1M tokens
starting price

Anthropic vs xAI at a glance

AnthropicxAI
Cheapest model Claude Haiku 5.5 · $0.10 in / $0.50 out grok-build-0.1 · $1.00 in / $2.00 out
Top-tier model Claude Fable 5.1 · $10.00 in / $50.00 out grok-4.7 · $2.00 in / $6.00 out
Models tracked 4 7
Prompt-caching discount Yes Yes
Category LLM API LLM API
Plans tracked 4 7

Green marks the lower price.

Prices last checked November 8, 2026 · re-checked twice a week from official pricing pages and APIs · How we collect prices

Every plan, side by side

Anthropic

ModelPrice
Fable 5.1 $10.00 in / $50.00 out
Opus 5.5 $4.00 in / $20.00 out
Sonnet 5.5 $2.00 in / $10.00 out
Haiku 5.5 $0.10 in / $0.50 out

xAI

ModelPrice
grok-4.7 $2.00 in / $6.00 out
grok-4.6 $2.00 in / $6.00 out
grok-4.5 $2.00 in / $6.00 out
grok-4.3 $1.25 in / $2.50 out
grok-4.20-0309-reasoning $1.25 in / $2.50 out
grok-4.20-0309-non-reasoning $1.25 in / $2.50 out
grok-build-0.1 $1.00 in / $2.00 out

Related comparisons

Frequently asked questions

Is Anthropic or xAI cheaper?

Anthropic has the cheaper entry model: Claude Haiku 5.5 at a blended $0.20 per million tokens.

How current is this Anthropic vs xAI comparison?

Both providers' prices come from CloudMart's live catalog, last checked November 8, 2026. The page is rebuilt from current data on every visit.

Not sure which option fits your workload?

Describe your project and the Planner picks the provider, sizes it, and estimates the monthly bill.

Plan my stack →
✦
CloudMart AI Compute
Answers from live pricing data
✦
What are you building?
Compare providers, estimate costs, or get a recommendation - answers come from CloudMart's live dataset, never made-up prices.
Enter to send · Shift+Enter for a new line
Compare:
Report a problem