Google vs xAI Pricing Comparison
Full API pricing breakdown, model lineups, and category coverage.
Decision Guide: Which Provider Should You Choose?
If your priority is pure token cost, Google has the lower average combined input + output rate in this comparison at about $6.104167/1M.
Choose Google when...
- you want lower average token pricing.
- you want Google's lowest-cost model (Gemini 2.0 Flash-Lite) for budget-sensitive traffic.
- your workload fits Google's stronger coverage in flagship, balanced, efficient.
Tradeoff: xAI has premium models that may offer broader capabilities.
Choose xAI when...
- you want model flexibility over lowest average price.
- you want xAI's lowest-cost model (Grok 4.1 Fast) for budget-sensitive traffic.
- your workload fits xAI's stronger coverage in reasoning.
Tradeoff: xAI is pricier on average than Google.
Coverage snapshot: Google supports 4/4 major categories and xAI supports 3/4.
Category Breakdown
| Provider | flagship | reasoning | balanced | efficient |
|---|---|---|---|---|
| 7 | 1 | 2 | 7 | |
| xAI | 4 | 3 | 0 | 2 |
All Models & Pricing
| Model | Category | Input | Output | Context |
|---|---|---|---|---|
| Gemini 2.0 Flash-Lite | efficient | $0.075/1M | $0.30/1M | 1,000,000 |
| Gemini Embedding 2 | embedding | $0.20/1M | $0.20/1M | 8,192 |
| Gemini 2.0 Flash | efficient | $0.10/1M | $0.40/1M | 1,000,000 |
| Gemini 2.5 Flash-Lite | efficient | $0.10/1M | $0.40/1M | 1,000,000 |
| Gemini 3.1 Flash-Lite Preview | efficient | $0.25/1M | $1.50/1M | 1,000,000 |
| Gemini 3.5 Flash-Lite | efficient | $0.30/1M | $2.50/1M | 1,000,000 |
| Gemini 2.5 Flash | efficient | $0.30/1M | $2.50/1M | 1,000,000 |
| Gemini 3 Flash | efficient | $0.50/1M | $3.00/1M | 1,000,000 |
| Gemini 3.8 Flash | flagship | $0.75/1M | $3.75/1M | 1,048,576 |
| Gemini 3.7 Flash | flagship | $0.75/1M | $3.75/1M | 1,000,000 |
| Gemini 3.8 Live | balanced | $0.75/1M | $4.50/1M | 131,072 |
| Gemini 3.8 Live Extended Thinking | reasoning | $0.75/1M | $4.50/1M | 131,072 |
| Gemini 3.6 Flash | balanced | $1.50/1M | $7.50/1M | 1,000,000 |
| Gemini 3.5 Flash | flagship | $1.50/1M | $9.00/1M | 1,000,000 |
| Gemini 2.5 Pro | flagship | $1.25/1M | $10.00/1M | 2,000,000 |
| Gemini 3.1 Pro | flagship | $2.00/1M | $12.00/1M | 1,000,000 |
| Gemini 3 Pro | flagship | $2.00/1M | $12.00/1M | 2,000,000 |
| Gemini Omni 1.1 Flash | flagship | $1.50/1M | $17.50/1M | 1,048,576 |
| Model | Category | Input | Output | Context |
|---|---|---|---|---|
| Grok 4.1 Fast | efficient | $0.20/1M | $0.50/1M | 2,000,000 |
| Grok 3 Mini | efficient | $0.30/1M | $0.50/1M | 128,000 |
| Grok Code Fast 1 | standard | $0.20/1M | $1.50/1M | 256,000 |
| Grok 4.3 | reasoning | $1.25/1M | $2.50/1M | 1,000,000 |
| Grok 4.20 | reasoning | $1.25/1M | $2.50/1M | 2,000,000 |
| Grok 4.7 | flagship | $2.00/1M | $6.00/1M | 500,000 |
| Grok 4.6 | flagship | $2.00/1M | $6.00/1M | 500,000 |
| Grok 4.5 | flagship | $2.00/1M | $6.00/1M | 500,000 |
| Grok 4 | reasoning | $3.00/1M | $15.00/1M | 256,000 |
| Grok 3 | flagship | $3.00/1M | $15.00/1M | 131,072 |
Cross-Provider Model Matchups
Browse all model comparisons →Google vs xAI
Gemini 3.8 Live vs Grok 4.7
balanced · flagship
Google vs xAI
Gemini 3.8 Live vs Grok 4.6
balanced · flagship
Google vs xAI
Gemini 3.8 Live vs Grok 4.5
balanced · flagship
Google vs xAI
Gemini 3.8 Live vs Grok 4.3
balanced · reasoning
Google vs xAI
Gemini 3.8 Live vs Grok 4.20
balanced · reasoning
Google vs xAI
Gemini 3.8 Live vs Grok 4
balanced · reasoning
Google vs xAI
Gemini 3.8 Live vs Grok 4.1 Fast
balanced · efficient
Google vs xAI
Gemini 3.8 Live vs Grok Code Fast 1
balanced · standard
Google vs xAI
Gemini 3.8 Live vs Grok 3
balanced · flagship
Google vs xAI
Gemini 3.8 Live vs Grok 3 Mini
balanced · efficient
Google vs xAI
Gemini 3.8 Live Extended Thinking vs Grok 4.7
reasoning · flagship
Google vs xAI
Gemini 3.8 Live Extended Thinking vs Grok 4.6
reasoning · flagship
Showing 12 of 180 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?▼
Gemini Omni 1.1 Flash (Google) is the highest-cost model in this comparison at $1.50 input and $17.50 output per million tokens.
Which provider has more models available?▼
Google offers more models in this dataset.