Gemini vs Grok API pricing, compared model by model
On 10 November 2026 the cheapest Google model, Gemma 3 4B, costs $0.05 per million input tokens against $1.00 for the cheapest xAI model, Grok Build 0.1, and the typical Google model is the cheaper of the two.
| Gemini (Google) | Grok (xAI) | |
|---|---|---|
| Models listed | 30 | 7 |
| Cheapest model | Gemma 3 4B, $0.05 in, $0.10 out | Grok Build 0.1, $1.00 in, $2.00 out |
| Most expensive model | Nano Banana Pro (Gemini 3 Pro Image), $2.00 in, $12.00 out | Grok 4.7, $2.00 in, $6.00 out |
| Median input price | $0.575 | $1.25 |
| Median output price | $3.00 | $2.50 |
| Largest context | 1.05M, Gemini 4 Argon | 2M, Grok 4.20 Multi-Agent |
| Newest model | Gemini Omni 1.2 Flash, 2026-11-05 | Grok 4.7, 2026-09-21 |
| Models with a batch price | 9 | 3 |
Every model, with your monthly cost
| Model | Provider | Input | Output | Cached input | Batch in / out | Context | Your month | Listed |
|---|---|---|---|---|---|---|---|---|
| Gemini Omni 1.2 Flash | $1.50 | $9.00 | 131K | $225.00 | 2026-11-05 | |||
| Gemini Omni 1.1 Flash | $1.50 | $9.00 | 131K | $225.00 | 2026-11-04 | |||
| Gemini 4 Argon promotional price, regular $4.00 in and $20.00 out | $2.00 | $10.00 | $0.10 | $1.00 / $5.00 | 1.05M | $270.00 | 2026-10-13 | |
| Nano Banana 2.1 | $1.50 | $7.50 | 66K | $202.50 | 2026-10-06 | |||
| Grok 4.7 | xAI | $2.00 | $6.00 | $0.50 | $1.60 / $4.80 | 500K | $210.00 | 2026-09-21 |
| Gemini 3.8 Flash promotional price, regular $1.50 in and $7.50 out | $0.75 | $3.75 | $0.075 | $0.375 / $1.88 | 1.05M | $101.25 | 2026-09-02 | |
| Gemini 3.7 Flash promotional price, regular $1.50 in and $7.50 out | $0.75 | $3.75 | $0.075 | $0.375 / $1.88 | 1.05M | $101.25 | 2026-08-13 | |
| Grok 4.6 | xAI | $2.00 | $6.00 | $0.50 | $1.60 / $4.80 | 500K | $210.00 | 2026-08-12 |
| Gemini 3.6 Flash | $0.75 | $3.75 | $0.075 | $0.375 / $1.88 | 1.05M | $101.25 | 2026-07-21 | |
| Gemini 3.5 Flash Lite | $0.30 | $2.50 | $0.03 | $0.15 / $1.25 | 1.05M | $55.50 | 2026-07-21 | |
| Grok 4.5 | xAI | $2.00 | $6.00 | $0.30 | 500K | $210.00 | 2026-07-08 | |
| Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) | $0.25 | $1.50 | 66K | $37.50 | 2026-06-30 | |||
| Nano Banana 2 (Gemini 3.1 Flash Image) | $0.50 | $3.00 | 131K | $75.00 | 2026-06-18 | |||
| Nano Banana Pro (Gemini 3 Pro Image) | $2.00 | $12.00 | $0.20 | 131K | $300.00 | 2026-06-18 | ||
| Grok Build 0.1 | xAI | $1.00 | $2.00 | $0.20 | 256K | $90.00 | 2026-05-20 | |
| Gemini 3.5 Flash | $1.50 | $9.00 | $0.15 | $0.75 / $4.50 | 1.05M | $225.00 | 2026-05-19 | |
| Gemini 3.1 Flash Lite | $0.25 | $1.50 | $0.025 | $0.125 / $0.75 | 1.05M | $37.50 | 2026-05-07 | |
| Grok 4.3 | xAI | $1.25 | $2.50 | $0.20 | $1.00 / $2.00 | 1M | $112.50 | 2026-04-30 |
| Gemma 4 26B A4B free tier on OpenRouter | $0.15 | $0.60 | 262K | $18.00 | 2026-04-03 | |||
| Gemma 4 31B CoreWeave, cheapest of 16 hosts, free tier on OpenRouter | $0.10 | $0.34 | $0.10 | 262K | $11.10 | 2026-04-02 | ||
| Grok 4.20 Multi-Agent | xAI | $1.25 | $2.50 | $0.20 | 2M | $112.50 | 2026-03-31 | |
| Grok 4.20 | xAI | $1.25 | $2.50 | $0.20 | 2M | $112.50 | 2026-03-31 | |
| Gemini 3.1 Flash Lite Preview | $0.25 | $1.50 | $0.025 | 1.05M | $37.50 | 2026-03-03 | ||
| Nano Banana 2 (Gemini 3.1 Flash Image Preview) | $0.50 | $3.00 | 66K | $75.00 | 2026-02-26 | |||
| Gemini 3.1 Pro Preview Custom Tools | $2.00 | $12.00 | $0.20 | 1.05M | $300.00 | 2026-02-25 | ||
| Gemini 3.1 Pro Preview | $2.00 | $12.00 | $0.20 | $1.00 / $6.00 | 1.05M | $300.00 | 2026-02-19 | |
| Gemini 3 Flash Preview | $0.50 | $3.00 | $0.05 | $0.25 / $1.50 | 1.05M | $75.00 | 2025-12-17 | |
| Nano Banana Pro (Gemini 3 Pro Image Preview) | $2.00 | $12.00 | $0.20 | 66K | $300.00 | 2025-11-20 | ||
| Nano Banana (Gemini 2.5 Flash Image) | $0.30 | $2.50 | $0.03 | 33K | $55.50 | 2025-10-07 | ||
| Gemini 2.5 Flash Lite | $0.10 | $0.40 | $0.01 | 1.05M | $12.00 | 2025-07-22 | ||
| Gemini 2.5 Flash | $0.30 | $2.50 | $0.03 | 1.05M | $55.50 | 2025-06-17 | ||
| Gemini 2.5 Pro | $1.25 | $10.00 | $0.125 | 1.05M | $225.00 | 2025-06-17 | ||
| Gemini 2.5 Pro Preview 06-05 | $1.25 | $10.00 | $0.125 | 1.05M | $225.00 | 2025-06-05 | ||
| Gemma 3 4B DeepInfra, cheapest of 2 hosts | $0.05 | $0.10 | 131K | $4.50 | 2025-03-13 | |||
| Gemma 3 12B DeepInfra, cheapest of 2 hosts | $0.05 | $0.15 | 131K | $5.25 | 2025-03-13 | |||
| Gemma 3 27B DeepInfra, cheapest of 4 hosts | $0.08 | $0.16 | 131K | $7.20 | 2025-03-12 | |||
| Gemma 2 27B served by NextBit | $0.65 | $0.65 | 8K | $48.75 | 2024-07-13 |
All Gemini prices . All Grok prices . Every provider
Common questions
Is Gemini cheaper than Grok?
On 10 November 2026, the median Google model on this list costs $0.575 per million input tokens and $3.00 per million output tokens, against $1.25 and $2.50 for xAI. By that measure Google is cheaper, but compare the specific models you would use, since both providers sell models at very different price points.
What is the cheapest Gemini model compared with the cheapest Grok model?
The cheapest Google model on this list is Gemma 3 4B at $0.05 in and $0.10 out per million tokens. The cheapest xAI model is Grok Build 0.1 at $1.00 in and $2.00 out.
Which has the larger context window, Gemini or Grok?
The largest Gemini context on this list is 1.05M tokens (Gemini 4 Argon) and the largest Grok context is 2M tokens (Grok 4.20 Multi-Agent).
How should I choose between Gemini and Grok for a production agent?
Price per token is one input. Run both on a set of your own real cases, count how often each needs a retry or a human check, and compare the total cost of a correct answer rather than the cost of a token.
Choosing a model for a production agent
Price is one input. Quality on your own cases, latency and the cost of retries decide the rest. Tell me what you are building.