Complete pricing breakdown for all 29 Google AI models. Compare input and output costs per million tokens for Gemini 2.5 Pro, Gemini 2.0 Flash, and every other model. Includes a cost calculator and side-by-side comparison with OpenAI and Anthropic.
| Model | Input $/1M | Output $/1M |
|---|---|---|
| Gemma 4 26B A4B (free) | Free | Free |
| Gemma 4 31B (free) | Free | Free |
| Lyria 3 Pro Preview | Free | Free |
| Lyria 3 Clip Preview | Free | Free |
| Gemma 3 4B | $0.040 | $0.080 |
| Gemma 3n 4B | $0.060 | $0.120 |
| Gemma 3 12B | $0.040 | $0.130 |
| Gemma 3 27B | $0.080 | $0.160 |
| Gemini 2.0 Flash Lite | $0.075 | $0.300 |
| Gemma 4 26B A4B | $0.060 | $0.330 |
| Gemma 4 31B | $0.130 | $0.380 |
| Gemini 2.5 Flash Lite Preview 09-2025 | $0.100 | $0.400 |
| Gemini 2.5 Flash Lite | $0.100 | $0.400 |
| Gemini 2.0 Flash | $0.100 | $0.400 |
| Gemma 2 27B | $0.650 | $0.650 |
| Gemini 3.1 Flash Lite | $0.250 | $1.50 |
| Gemini 3.1 Flash Lite Preview | $0.250 | $1.50 |
| Nano Banana (Gemini 2.5 Flash Image) | $0.300 | $2.50 |
| Gemini 2.5 Flash | $0.300 | $2.50 |
| Nano Banana 2 (Gemini 3.1 Flash Image Preview) | $0.500 | $3.00 |
| Gemini 3 Flash Preview | $0.500 | $3.00 |
| Gemini 2.5 Pro | $1.25 | $10.00 |
| Gemini 2.5 Pro Preview 06-05 | $1.25 | $10.00 |
| Gemini 2.5 Pro Preview 05-06 | $1.25 | $10.00 |
| Gemini 3.1 Pro Preview Custom Tools | $2.00 | $12.00 |
| Gemini 3.1 Pro Preview | $2.00 | $12.00 |
| Nano Banana Pro (Gemini 3 Pro Image Preview) | $2.00 | $12.00 |
| Imagen 3 | Free | $40000.00 |
| Veo 2 | Free | $350000.00 |
| Model | Input $/1M | Output $/1M |
|---|---|---|
| Gemma 4 26B A4B (free) | Free | Free |
| Gemma 4 31B (free) | Free | Free |
| Lyria 3 Pro Preview | Free | Free |
| Lyria 3 Clip Preview | Free | Free |
| Model | Input $/1M | Output $/1M |
|---|---|---|
| Gemma 3 4B | $0.040 | $0.080 |
| Gemma 3n 4B | $0.060 | $0.120 |
| Gemma 3 12B | $0.040 | $0.130 |
| Gemma 3 27B | $0.080 | $0.160 |
| Gemini 2.0 Flash Lite | $0.075 | $0.300 |
| Gemma 4 26B A4B | $0.060 | $0.330 |
| Gemma 4 31B | $0.130 | $0.380 |
| Gemini 2.5 Flash Lite Preview 09-2025 | $0.100 | $0.400 |
| Gemini 2.5 Flash Lite | $0.100 | $0.400 |
| Gemini 2.0 Flash | $0.100 | $0.400 |
| Gemma 2 27B | $0.650 | $0.650 |
| Model | Input $/1M | Output $/1M |
|---|---|---|
| Gemini 3.1 Flash Lite | $0.250 | $1.50 |
| Gemini 3.1 Flash Lite Preview | $0.250 | $1.50 |
| Nano Banana (Gemini 2.5 Flash Image) | $0.300 | $2.50 |
| Gemini 2.5 Flash | $0.300 | $2.50 |
| Nano Banana 2 (Gemini 3.1 Flash Image Preview) | $0.500 | $3.00 |
| Gemini 3 Flash Preview | $0.500 | $3.00 |
| Model | Input $/1M | Output $/1M |
|---|---|---|
| Gemini 2.5 Pro | $1.25 | $10.00 |
| Gemini 2.5 Pro Preview 06-05 | $1.25 | $10.00 |
| Gemini 2.5 Pro Preview 05-06 | $1.25 | $10.00 |
| Gemini 3.1 Pro Preview Custom Tools | $2.00 | $12.00 |
| Gemini 3.1 Pro Preview | $2.00 | $12.00 |
| Nano Banana Pro (Gemini 3 Pro Image Preview) | $2.00 | $12.00 |
See how Google AI pricing stacks up against OpenAI (GPT) and Anthropic (Claude) models. All prices in USD per million tokens.
| Model | In | Out |
|---|---|---|
| Gemma 4 26B A4B (free) | Free | Free |
| Gemma 4 31B (free) | Free | Free |
| Lyria 3 Pro Preview | Free | Free |
| Lyria 3 Clip Preview | Free | Free |
| Gemma 3 4B | $0.040 | $0.080 |
| Gemma 3n 4B | $0.060 | $0.120 |
| Gemma 3 12B | $0.040 | $0.130 |
| Gemma 3 27B | $0.080 | $0.160 |
| Model | In | Out |
|---|---|---|
| gpt-oss-120b (free) | Free | Free |
| gpt-oss-20b (free) | Free | Free |
| Sora | Free | Free |
| gpt-oss-20b | $0.030 | $0.140 |
| gpt-oss-120b | $0.039 | $0.180 |
| gpt-oss-safeguard-20b | $0.075 | $0.300 |
| GPT-5 Nano | $0.050 | $0.400 |
| GPT-4.1 Nano | $0.100 | $0.400 |
| Model | In | Out |
|---|---|---|
| Claude 3 Haiku | $0.250 | $1.25 |
| Claude 3.5 Haiku | $0.800 | $4.00 |
| Claude Haiku 4.5 | $1.00 | $5.00 |
| Claude Sonnet 4.6 | $3.00 | $15.00 |
| Claude Sonnet 4.5 | $3.00 | $15.00 |
| Claude Sonnet 4 | $3.00 | $15.00 |
| Claude 3.7 Sonnet | $3.00 | $15.00 |
| Claude 3.7 Sonnet (thinking) | $3.00 | $15.00 |
Gemini API cost estimates by usage volume. Assumes ~1,000 input tokens and ~500 output tokens per request. Note that Flash models with free tiers may cost nothing at lower usage levels.
| Model | $/1M In | $/1M Out |
|---|---|---|
| Gemma 3 4B | $0.040 | $0.080 |
| Gemma 4 31B | $0.130 | $0.380 |
| Gemini 3.1 Flash Lite Preview | $0.250 | $1.50 |
| Gemini 2.5 Pro Preview 06-05 | $1.25 | $10.00 |
| Veo 2 | Free | $350000.00 |
Note: Actual costs vary with prompt length, response length, and usage tier. Google offers free API access through AI Studio with rate limits. Vertex AI pricing may differ from direct API pricing. Try the interactive calculator for custom estimates.
Google bills Gemini API usage per token, with a character-based tokenizer that handles multilingual text efficiently. Gemini models include generous free tiers through AI Studio - Flash models offer 15 requests per minute at no cost. Paid usage is quoted per million tokens, with input tokens significantly cheaper than output tokens across all model tiers.
Gemini Pro is Google's most capable model for complex reasoning and coding tasks. Gemini Flash is designed for speed and cost efficiency, delivering strong results at a fraction of the cost. Flash models are ideal for high-volume production workloads where latency and cost matter more than peak capability.
Gemini models offer some of the largest context windows in the industry, with up to 1 million tokens on select models. This enables processing entire codebases, long documents, and extended conversations without truncation. Larger contexts do consume more input tokens, so consider the cost implications for very long prompts.
Use Gemini Flash for simple tasks and only upgrade to Gemini Pro when the task requires it. Google AI Studio provides free API access with generous rate limits for prototyping. Use context caching to reduce costs for repeated prefixes, and set appropriate max_tokens limits.
Browse pricing for coding, image generation, and more.
Compare with GPT-4o, o3, and all OpenAI model costs.
Compare with Claude Opus 4, Sonnet 4, and Haiku pricing.
Find the most affordable models across all providers.
Gemini 2.5 Pro pricing is $1.25/1M input tokens and $10.00/1M output tokens. Gemini 2.5 Pro is Google's most capable model, designed for complex reasoning, coding, and multimodal tasks.
Google offers 4 free models via their API. Google AI Studio provides generous free tiers for experimentation. The Gemini Flash models are extremely affordable for production use, making Google one of the most cost-effective providers for high-volume workloads.
The cheapest paid Google model is Gemma 3 4B at $0.040/1M input and $0.080/1M output tokens. It offers 131K context window and supports vision, and JSON mode.
Google and OpenAI have competitive pricing structures. Google's average output price is $15603.33/1M tokens across 25 paid models. OpenAI offers 67 models with varying price points. Gemini Flash models are generally cheaper than GPT-4o Mini for equivalent tasks. For the most accurate comparison, see our side-by-side pricing table above.
Google charges per token for Gemini API calls, with pricing that varies significantly by model tier. Flash models are priced for high-volume production use, while Pro models command a premium for complex reasoning. Google also offers free tiers through AI Studio with generous rate limits, and context caching reduces costs for applications that reuse large document prefixes.
Yes. Google AI Studio provides free API access for Gemini models with rate limits suitable for prototyping and low-volume use. The free tier includes access to Gemini Flash and Gemini Pro models. For production workloads requiring higher rate limits, you can use the paid Vertex AI platform or the paid tier of the Gemini API.