Google Gemini API Pricing
Complete pricing breakdown for Gemini 2.5 Pro and Gemini 2.0 Flash — the best value in AI
Gemini API Pricing
Official pricing for all Google Gemini models, per 1M tokens.
| Model | Input (per 1M) | Output (per 1M) | Context | Tier |
|---|---|---|---|---|
| Gemini 2.5 Pro | $1.25 | $10.00 | 1M | Mid |
| Gemini 2.0 Flash | $0.10 | $0.40 | 1M | Budget |
Pricing verified May 2026. Both models include a generous free tier.
Why Gemini Stands Out
Three reasons Google's API is hard to beat.
1M Context Window
Gemini 2.5 Pro and Flash both support up to 1 million tokens of context — far beyond what OpenAI or Anthropic offer. Process entire codebases, long documents, or massive conversations in a single request.
Cheapest Premium Model
Gemini 2.5 Pro at $1.25/$10.00 per 1M tokens is significantly cheaper than GPT-4o ($2.50/$10.00) and Claude Sonnet 4 ($3.00/$15.00) while delivering comparable intelligence.
Free Tier Available
Google offers a generous free tier for both Gemini 2.5 Pro and Gemini 2.0 Flash, letting you experiment and prototype without spending a dime. Perfect for side projects and evaluation.
Which Gemini Model Should You Use?
Gemini Cost Calculator
Estimate your monthly spend with Google Gemini models.
Monthly Cost Estimate
Based on published API pricing. Actual costs may vary.
Google vs Competitors
How Gemini pricing stacks up against other major providers.
| Provider | Model | Input (per 1M) | Output (per 1M) | Context |
|---|---|---|---|---|
| Gemini 2.5 Pro | $1.25 | $10.00 | 1M | |
| OpenAI | GPT-4o | $2.50 | $10.00 | 128K |
| Anthropic | Claude Sonnet 4 | $3.00 | $15.00 | 200K |
| Mistral | Large | $2.00 | $6.00 | 128K |
| Gemini 2.0 Flash | $0.10 | $0.40 | 1M | |
| OpenAI | GPT-4o mini | $0.15 | $0.60 | 128K |
| Anthropic | Claude Haiku 4.5 | $0.80 | $4.00 | 200K |
| Mistral | Small | $0.10 | $0.30 | 32K |
See how Gemini models stack up against OpenAI, Anthropic, and more
Deep-Dive Comparisons
Read our head-to-head analyses of Gemini vs the competition.
Gemini 2.5 Pro vs GPT-4o
A detailed comparison of price, performance, and context windows between Google's flagship and OpenAI's most popular model.
OpenAI vs Google: Full Provider Comparison
We compare every model, every tier, and every use case across OpenAI and Google's AI lineups.
Claude vs Gemini: Which Is Better Value?
Anthropic's Claude models against Google's Gemini — pricing, context limits, and real-world performance.
Claude Haiku 4.5 vs Gemini 2.0 Flash
The budget model showdown: which gives you the most capability per dollar spent?
Calculate Your Google AI Costs
Use our full calculator to compare Gemini models against every other provider.