Google Gemini API pricing
Google Gemini API pricing: current per-token rates
Google Gemini's current API rates per 1M tokens, input / output / cached-read, verified 2026-07-23. Every rate links to its official source.
Current Google Gemini model prices
| Model | Input ($/1M) | Output ($/1M) | Cached in ($/1M) | Context |
|---|---|---|---|---|
| Gemini 2.5 Flash | $0.30 | $2.50 | $0.03 | 1M |
| Gemini 2.5 Flash Lite | $0.10 | $0.40 | $0.01 | 1M |
| Gemini 3.1 Flash Lite | $0.25 | $1.50 | $0.03 | 1M |
| Gemini 3.5 Flash | $1.50 | $9 | $0.15 | 1M |
Non-official data by OpenRouter (passthrough pricing — the provider’s own rate, no markup); verify against the provider's own page before relying on it.
Common questions
Can I use the Google Gemini API for free?
No — API access is metered per token at the rates above. Subscriptions (where offered) bundle usage into a flat monthly price; the API itself is pay-as-you-go.
Which model is cheapest?
The lowest input/output rate in the table above for light work; match the model to the task rather than defaulting to the cheapest — routing the hard steps up and the cheap steps down usually beats a single choice.
Prices change. Verified 2026-07-23 — re-check the source before relying on them. Corrections: hello@aiarch.dev.
Learn to cost-model agents like an architect.
What a Claude agent actually costs, or compare Professional Membership pricing.