Provider comparison · Updated 12 Oct 2026

Anthropic vs xAI

18 models vs 7 models

xAI is cheaper at the median: $1.25 against $5.00 per 1M input tokens across paid models, about 4× less. Its cheapest paid model, Grok Build 0.1 ($1.00), compares with Claude Haiku 5.5 ($0.10) at Anthropic. Anthropic lists 18 models; xAI lists 7 models.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Anthropic vs xAI”. Retrieved 12 Oct 2026. https://modelsatlas.com/compare-providers/anthropic/xai

At a glance

Standard tier · highlighted = better

Anthropic
xAI
Models listed
18
7
Cheapest paid input / 1M
$0.10
$1.00
Median paid input / output
$5.00 / $25.00
$1.25 / $2.50
Highest input / 1M
$15.00
$2.00
Largest context
1M
2M
Models with a batch tier
15 of 18
1 of 7
Open-weight models
0
0
Free models
0
0

Costs for real workloads

Cheapest paid model from each provider that fits the job · monthly

Support chatbot10k chats/day · 1.5k in, 300 out
$90.00 · Claude Haiku 5.5
$630 · Grok Build 0.1
RAG over documents2k queries/day · 12k in, 500 out
$87.00 · Claude Haiku 5.5
$780 · Grok Build 0.1
Coding agent300 tasks/day · 60k in, 8k out
$90.00 · Claude Haiku 5.5
$684 · Grok Build 0.1

Derived from standard-tier prices, 30 days. “Fits the job” means the context window holds the prompt and reply. Excludes batch and caching.

Cheapest model for each capability

Input / output per 1M

Capability Anthropic xAI
1M contextClaude Haiku 5.5 $0.10 / $0.50Grok 4.20 $1.25 / $2.50
Paid standard-tier models. A model counts only for what its record lists; one with nothing recorded is not counted.

Line-up by price tier

Paid models · input per 1M

Tier Anthropic xAI
Flagship $3+Claude Opus 4.1 $15.00
Claude Opus 4 $15.00
Claude Fable 5.1 $10.00
Claude Fable 5 $10.00
Claude Opus 5 $5.00
+8 more
None listed
Mid $0.50–$3Claude Haiku 4.5 $1.00
Claude Sonnet 5 $2.00
Claude Sonnet 5.5 $2.00
Grok Build 0.1 $1.00
Grok 4.20 $1.25
Grok 4.20 Multi-Agent $1.25
Grok 4.3 $1.25
Grok 4.5 $2.00
+2 more
Budget under $0.50Claude Haiku 5.5 $0.10
None listed
Open weights any priceNone listedNone listed

Questions

Is Anthropic or xAI cheaper?
xAI at the median: $1.25 against $5.00 for Anthropic per 1M input tokens. Median is across each provider's paid standard-tier models, so a provider with many small models can look cheaper than its flagship is.
Which provider has more models?
Anthropic lists more: Anthropic 18, xAI 7. Counts are models with a page in our catalogue.
Do both offer batch pricing?
Anthropic: 15 models list a batch tier. xAI: 1 model list a batch tier. Where a model lists both, batch is a median 50% of standard for Anthropic and 80% for xAI.
Which has the larger context window?
xAI has the larger: Claude Fable 5 (1M tokens) at Anthropic, Grok 4.20 (2M) at xAI.
Does either provider offer open-weight models?
Anthropic: none marked open-weight. xAI: none marked open-weight.
Does either have free models?
Anthropic: none listed at no per-token charge. xAI: none.

Browse more providers

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.