Provider comparison · Updated 10 Oct 2026

OpenAI vs xAI

44 models vs 7 models

xAI is cheaper at the median: $1.25 against $2.00 per 1M input tokens across paid models, about 1.6× less. Its cheapest paid model, Grok Build 0.1 ($1.00), compares with gpt-oss-20b ($0.02) at OpenAI. OpenAI lists 44 models; xAI lists 7 models.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “OpenAI vs xAI”. Retrieved 10 Oct 2026. https://modelsatlas.com/compare-providers/openai/xai

At a glance

Standard tier · highlighted = better

OpenAI
xAI
Models listed
44
7
Cheapest paid input / 1M
$0.02
$1.00
Median paid input / output
$2.00 / $10.00
$1.25 / $2.50
Highest input / 1M
$30.00
$2.00
Largest context
1.05M
2M
Models with a batch tier
20 of 44
1 of 7
Open-weight models
8
0
Free models
0
0
Vision models listed
3
0
Audio models listed
4
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
$16.20 · gpt-oss-20b
$630 · Grok Build 0.1
RAG over documents2k queries/day · 12k in, 500 out
$15.66 · gpt-oss-20b
$780 · Grok Build 0.1
Coding agent300 tasks/day · 60k in, 8k out
$16.20 · gpt-oss-20b
$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 OpenAI xAI
1M contextGPT-6 Luna $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 OpenAI xAI
Flagship $3+GPT-4 $30.00
o1 $15.00
GPT-6 Astra $10.00
GPT-4 Turbo $10.00
GPT-5 Image $10.00
+4 more
None listed
Mid $0.50–$3GPT-3.5 Turbo $0.50
o3 Mini High $1.10
o4 Mini $1.10
o4 Mini High $1.10
GPT-5 $1.25
+16 more
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.50gpt-oss-20b $0.02
gpt-oss-120b $0.03
gpt-oss-safeguard-20b $0.08
GPT-6 Luna $0.10
GPT-5.6 Luna $0.20
None listed
Open weights any priceNone listedNone listed

Questions

Is OpenAI or xAI cheaper?
xAI at the median: $1.25 against $2.00 for OpenAI 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?
OpenAI lists more: OpenAI 44, xAI 7. Counts are models with a page in our catalogue.
Do both offer batch pricing?
OpenAI: 20 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 OpenAI and 80% for xAI.
Which has the larger context window?
xAI has the larger: GPT-5.4 (1.05M tokens) at OpenAI, Grok 4.20 (2M) at xAI.
Does either provider offer open-weight models?
OpenAI: 8 open-weight models. xAI: none marked open-weight.
Does either have free models?
OpenAI: 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.