Provider comparison · Updated 10 Oct 2026

Google vs xAI

39 models vs 7 models

Google is cheaper at the median: $0.50 against $1.25 per 1M input tokens across paid models, about 2.5× less. Its cheapest paid model, Gemma 3 4B ($0.05), compares with Grok Build 0.1 ($1.00) at xAI. Google lists 39 models; xAI lists 7 models.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

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

At a glance

Standard tier · highlighted = better

Google
xAI
Models listed
39
7
Cheapest paid input / 1M
$0.05
$1.00
Median paid input / output
$0.50 / $2.50
$1.25 / $2.50
Highest input / 1M
$2.00
$2.00
Largest context
1.05M
2M
Models with a batch tier
9 of 39
1 of 7
Open-weight models
13
0
Free models
4
0
Vision models listed
3
0
Audio models listed
1
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
$31.50 · Gemma 3 4B
$630 · Grok Build 0.1
RAG over documents2k queries/day · 12k in, 500 out
$39.00 · Gemma 3 4B
$780 · Grok Build 0.1
Coding agent300 tasks/day · 60k in, 8k out
$34.20 · Gemma 3 4B
$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 Google xAI
1M contextGemini 3.1 Flash Lite $0.25 / $1.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 Google xAI
Flagship $3+None listedNone listed
Mid $0.50–$3Gemini 3 Flash Preview $0.50
Nano Banana 2 (Gemini 3.1 Flash Image) $0.50
Gemma 2 27B $0.65
Gemini 3.6 Flash $0.75
Gemini 3.7 Flash $0.75
+7 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.50Gemma 3 4B $0.05
Gemma 3 12B $0.05
Gemma 4 26B A4B $0.07
Gemma 3 27B $0.08
Gemma 4 31B $0.09
+6 more
None listed
Open weights any priceNone listedNone listed

Questions

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