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 3n 2B (free) | Free | Free |
| Gemma 3n 4B (free) | Free | Free |
| Gemma 3 4B (free) | Free | Free |
| Gemma 3 12B (free) | Free | Free |
| Gemma 3 27B (free) | Free | Free |
| Gemma 3n 4B | $0.020 | $0.040 |
| Gemma 3 4B | $0.040 | $0.080 |
| Gemma 2 9B | $0.030 | $0.090 |
| Gemma 3 27B | $0.030 | $0.110 |
| Gemma 3 12B | $0.040 | $0.130 |
| Gemini 2.0 Flash Lite | $0.075 | $0.300 |
| 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 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 |
| Gemini 3 Pro Preview | $2.00 | $12.00 |
| Imagen 3 | Free | $40000.00 |
| Veo 2 | Free | $350000.00 |
| Model | Input $/1M | Output $/1M |
|---|---|---|
| Gemma 3n 2B (free) | Free | Free |
| Gemma 3n 4B (free) | Free | Free |
| Gemma 3 4B (free) | Free | Free |
| Gemma 3 12B (free) | Free | Free |
| Gemma 3 27B (free) | Free | Free |
| Model | Input $/1M | Output $/1M |
|---|---|---|
| Gemma 3n 4B | $0.020 | $0.040 |
| Gemma 3 4B | $0.040 | $0.080 |
| Gemma 2 9B | $0.030 | $0.090 |
| Gemma 3 27B | $0.030 | $0.110 |
| Gemma 3 12B | $0.040 | $0.130 |
| Gemini 2.0 Flash Lite | $0.075 | $0.300 |
| 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 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 |
| Gemini 3 Pro 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 3n 2B (free) | Free | Free |
| Gemma 3n 4B (free) | Free | Free |
| Gemma 3 4B (free) | Free | Free |
| Gemma 3 12B (free) | Free | Free |
| Gemma 3 27B (free) | Free | Free |
| Gemma 3n 4B | $0.020 | $0.040 |
| Gemma 3 4B | $0.040 | $0.080 |
| Gemma 2 9B | $0.030 | $0.090 |
| 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.190 |
| 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 |
Estimated daily and monthly costs for common usage patterns. Assumes an average of ~1,000 input tokens and ~500 output tokens per request.
| Model | $/1M In | $/1M Out |
|---|---|---|
| Gemma 3n 4B | $0.020 | $0.040 |
| Gemini 2.5 Flash Lite Preview 09-2025 | $0.100 | $0.400 |
| Gemini 2.5 Flash | $0.300 | $2.50 |
| Gemini 3.1 Pro Preview Custom Tools | $2.00 | $12.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 charges per token, not per request. A token is roughly 3/4 of a word. The sentence "Hello, how are you?" is about 6 tokens. Prices are quoted per million tokens. Input tokens (your prompts) are cheaper than output tokens (the model's response) because output generation requires more computation.
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 5 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 3n 4B at $0.020/1M input and $0.040/1M output tokens. It offers 33K context window and supports and streaming.
Google and OpenAI have competitive pricing structures. Google's average output price is $16253.88/1M tokens across 24 paid models. OpenAI offers 62 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 usage. Tokens are the basic units of text -- roughly 3/4 of a word. Pricing is split into input tokens (your prompts and context) and output tokens (the model's response). Output tokens are typically more expensive because they require more computation. Prices are quoted per million tokens.
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.