Developer head to head · prices updated Oct 31, 2026

xAI vs Anthropic

Grok vs Claude: every model's API price, compared

Anthropic starts cheaper ($0.20 vs $0.275 per 1M tokens); xAI's typical model costs less ($1.56 vs $7.00); Anthropic has the more accurate top model (95.6% vs 94.0% GPQA).

Grok and more

xAI

from $0.275 / 1M

9 models · typical $1.56 · top 94.0% GPQA, high reasoning

Claude and more

Anthropic

from $0.20 / 1M

20 models · typical $7.00 · top 95.6% GPQA, max reasoning

  • Cheaper entry modelAnthropic
  • More accurate top modelAnthropic
  • Cheaper 85%+ GPQA modelAnthropic
  • More modelsAnthropic

The matchups that matter

xAIAnthropic
Cheapest modelGrok 4.1 Fast (Non-Reasoning) $0.275 via Google Cloud Vertex AIClaude Haiku 5.5 $0.20 via Anthropic · 89.6% GPQA, max reasoning
Most accurate (GPQA)Grok 4.6 $3.00 via xAI · 94.0% GPQA, high reasoningClaude Sonnet 5.5 $4.00 via Anthropic · 95.6% GPQA, max reasoning
Cheapest with 85%+ GPQAGrok 4.3 $1.56 via xAI · 88.8% GPQA, high reasoningClaude Haiku 5.5 $0.20 via Anthropic · 89.6% GPQA, max reasoning
Typical model price$1.56$7.00
Models we track920

Blended list price per 1M tokens (3 input : 1 output) at each model's cheapest provider; only models at least two providers sell. GPQA Diamond by Epoch AI (CC BY 4.0), best measured reasoning setting.

Every model, cheapest first

Questions people ask

Is xAI cheaper than Anthropic?

No at the cheap end: Anthropic's cheapest model, Claude Haiku 5.5, starts at $0.20 per 1M tokens, against $0.275 for xAI's Grok 4.1 Fast (Non-Reasoning). The typical (median) model costs $1.56 at xAI and $7.00 at Anthropic.

Which has the more accurate model, xAI or Anthropic?

xAI's most accurate model we track, Grok 4.6, scores 94.0% GPQA, high reasoning (GPQA Diamond, Epoch AI) for $3.00 per 1M tokens; Anthropic's Claude Sonnet 5.5 scores 95.6% GPQA, max reasoning for $4.00.

How many xAI and Anthropic models can I buy through APIs?

We track 9 xAI and 20 Anthropic models that at least two providers sell, with prices from each provider's pricing page.