Skip to main content

Google vs xAI Pricing Comparison

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

Total Models
11
Avg Input
$0.638636/1M
Avg Output
$3.981818/1M
Cheapest Model
Gemini 2.0 Flash-Lite
Most Expensive
Gemini 3 Pro
Price Range
$0.375 -$14.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
Google3007
xAI1202

All Models & Pricing

ModelCategoryInputOutputContext
Gemini 2.0 Flash-Liteefficient$0.075/1M$0.30/1M1,000,000
Gemini Embedding 2embedding$0.20/1M$0.20/1M8,192
Gemini 2.0 Flashefficient$0.10/1M$0.40/1M1,000,000
Gemini 2.5 Flash-Liteefficient$0.10/1M$0.40/1M1,000,000
Gemini 3.1 Flash-Lite Previewefficient$0.25/1M$1.50/1M1,000,000
Gemini 3.1 Flash-Liteefficient$0.25/1M$1.50/1M1,000,000
Gemini 2.5 Flashefficient$0.30/1M$2.50/1M1,000,000
Gemini 3 Flashefficient$0.50/1M$3.00/1M1,000,000
Gemini 2.5 Proflagship$1.25/1M$10.00/1M2,000,000
Gemini 3.1 Proflagship$2.00/1M$12.00/1M1,000,000
Gemini 3 Proflagship$2.00/1M$12.00/1M2,000,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 Google and xAI.

Get started with Google

Sign Up for Google

Get started with xAI

Sign Up for xAI

Frequently Asked Questions

Which provider is cheaper on average, Google or xAI?
On average, Google has lower combined input + output rates. Compare model-specific pricing to match your workload.
What is the cheapest model across Google and xAI?
Gemini 2.0 Flash-Lite (Google) is the lowest-cost option at $0.075 input and $0.30 output per million tokens.
Which model is the most expensive between these providers?
Grok 4 (xAI) is the highest-cost model in this comparison at $3.00 input and $15.00 output per million tokens.
Which provider has more models available?
Google offers more models in this dataset.