Google vs xAI
API pricing and model line-up compared · Prices checked 12 August 2026
Google has the lower entry price: Gemma 2 2B at $0.020 per million tokens blended, against Grok 3 mini at $0.360 on xAI, roughly 18.0× cheaper to start.
At the top of the range xAI goes higher: Grok 3 Fast at $11.00 per million tokens against Gemini 3 Pro at $5.00. Google offers more choice in our catalogue: 18 text models against 7. Google offers the larger maximum context window, 2,000,000 tokens against 1,000,000.
Catalogue side by side
| Metric | xAI | |
|---|---|---|
| Models tracked | 18 | 7 |
| Cheapest model | Gemma 2 2B · $0.020/M | Grok 3 mini · $0.360/M |
| Most expensive model | Gemini 3 Pro · $5.00/M | Grok 3 Fast · $11.00/M |
| Top-tier input / output | $2.00 / $12.00 | $1.25 / $2.50 |
| Largest context window | 2,000,000 | 1,000,000 |
| Models with public benchmarks | 12 of 18 | 5 of 7 |
| Founded | 2023 | 2023 |
| Headquarters | Mountain View, USA | Palo Alto, USA |
Counts cover text-generation models in our curated catalogue, excluding retired SKUs, embeddings and non-text products. Blended rates weight input at 70 per cent and output at 30 per cent; how that is calculated.
About each provider
Gemini family from Google DeepMind. Native multimodal across text, image, audio, video — and the largest production context windows.
Top of the line: Gemini 3.1 Pro at $2.00 input / $12.00 output per million tokens, 1,000,000 context.
Frequently asked questions
Is Google or xAI cheaper?
It depends which tier you need. Google has the lower entry price, but both run a range from budget to frontier models, so the fair comparison is tier against tier rather than vendor against vendor. Price the specific models you would actually call; the table above shows each side’s floor and ceiling.
Should I use Google or xAI?
Neither wins outright. Shortlist by the capability tier your workload needs, then compare the specific models on price, context window and benchmark evidence. Multi-vendor setups are common precisely because the cheapest adequate model for one task is rarely the same vendor as for another.
Where do these Google and xAI prices come from?
Each provider’s published rates, as tracked in our pricing index. Blended figures weight input at 70 per cent and output at 30 per cent and are calculated comparison metrics rather than published prices. Counts cover text-generation models only, excluding retired SKUs, embeddings and non-text products.
Go deeper
Other provider matchups
Figures are recomputed on every deploy from the curated catalogue. Prices checked 12 August 2026.