Skip to main content

Anthropic vs xAI Pricing Comparison

Full API pricing breakdown, model lineups, and category coverage.

Anthropic

Details →
Total Models
11
Avg Input
$6.254545/1M
Avg Output
$31.272727/1M
Cheapest Model
Claude 3.5 Haiku
Most Expensive
Claude 3 Opus
Price Range
$4.80 -$90.00
Total Models
6
Avg Input
$1.45/1M
Avg Output
$6.416667/1M
Cheapest Model
Grok 4.1 Fast
Most Expensive
Grok 3
Price Range
$0.70 -$18.00

Category Breakdown

Providerflagshipreasoningbalancedefficient
Anthropic5032
xAI1202

All Models & Pricing

ModelCategoryInputOutputContext
Claude 3.5 Haikuefficient$0.80/1M$4.00/1M200,000
Claude Haiku 4.5efficient$1.00/1M$5.00/1M200,000
Claude Sonnet 4.6balanced$3.00/1M$15.00/1M1,000,000
Claude Sonnet 4.5balanced$3.00/1M$15.00/1M200,000
Claude Sonnet 4standard$3.00/1M$15.00/1M200,000
Claude 3.5 Sonnetbalanced$3.00/1M$15.00/1M200,000
Claude Opus 4.6flagship$5.00/1M$25.00/1M1,000,000
Claude Opus 4.5flagship$5.00/1M$25.00/1M200,000
Claude Opus 4flagship$15.00/1M$75.00/1M200,000
Claude Opus 4.1flagship$15.00/1M$75.00/1M200,000
Claude 3 Opusflagship$15.00/1M$75.00/1M200,000
ModelCategoryInputOutputContext
Grok 4.1 Fastefficient$0.20/1M$0.50/1M2,000,000
Grok 3 Miniefficient$0.30/1M$0.50/1M128,000
Grok Code Fast 1standard$0.20/1M$1.50/1M256,000
Grok 4.20reasoning$2.00/1M$6.00/1M2,000,000
Grok 4reasoning$3.00/1M$15.00/1M256,000
Grok 3flagship$3.00/1M$15.00/1M131,072

Cross-Provider Model Matchups

Browse all model comparisons →

Showing 12 of 66 matchups between Anthropic and xAI.

Get started with Anthropic

Sign Up for Anthropic

Get started with xAI

Sign Up for xAI

Frequently Asked Questions

Which provider is cheaper on average, Anthropic or xAI?
On average, xAI has lower combined input + output rates. Compare model-specific pricing to match your workload.
What is the cheapest model across Anthropic and xAI?
Grok 4.1 Fast (xAI) is the lowest-cost option at $0.20 input and $0.50 output per million tokens.
Which model is the most expensive between these providers?
Claude Opus 4 (Anthropic) is the highest-cost model in this comparison at $15.00 input and $75.00 output per million tokens.
Which provider has more models available?
Anthropic offers more models in this dataset.