Developer head to head · prices updated Oct 31, 2026

xAI vs OpenAI

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

OpenAI starts cheaper ($0.055 vs $0.275 per 1M tokens); xAI's typical model costs less ($1.56 vs $3.44); OpenAI has the more accurate top model (95.8% vs 94.0% GPQA).

Grok and more

xAI

from $0.275 / 1M

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

GPT and more

OpenAI

from $0.055 / 1M

39 models · typical $3.44 · top 95.8% GPQA, max reasoning

  • Cheaper entry modelOpenAI
  • More accurate top modelOpenAI
  • Cheaper 85%+ GPQA modelOpenAI
  • More modelsOpenAI

The matchups that matter

xAIOpenAI
Cheapest modelGrok 4.1 Fast (Non-Reasoning) $0.275 via Google Cloud Vertex AIgpt-oss-20b $0.055 via W&B Inference (CoreWeave) · 60.8% GPQA, medium reasoning
Most accurate (GPQA)Grok 4.6 $3.00 via xAI · 94.0% GPQA, high reasoningGPT-6 Astra $20.00 via OpenAI · 95.8% GPQA, max reasoning
Cheapest with 85%+ GPQAGrok 4.3 $1.56 via xAI · 88.8% GPQA, high reasoningGPT-6 Luna $0.20 via OpenAI · 90.5% GPQA, max reasoning
Typical model price$1.56$3.44
Models we track939

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 OpenAI?

No at the cheap end: OpenAI's cheapest model, gpt-oss-20b, starts at $0.055 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 $3.44 at OpenAI.

Which has the more accurate model, xAI or OpenAI?

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; OpenAI's GPT-6 Astra scores 95.8% GPQA, max reasoning for $20.00.

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

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