Google Gemini API Pricing
Google publishes official API prices for 3 text models: Gemini 3.1 Pro Preview, Gemini 3 Flash Preview and Gemini 3.1 Flash-Lite. Input costs from $0.25 to $2 and output from $1.50 to $12 per 1M tokens. The lowest output price is Gemini 3.1 Flash-Lite at $1.50; the highest is Gemini 3.1 Pro Preview at $12.
Prices checked Oct 10, 2026
Models
3
Lowest output / 1M
$1.50
Gemini 3.1 Flash-Lite
Unit
Per 1M tokens
Prices checked
Oct 10, 2026
Gemini API prices by model
Official prices per 1 million tokens from Google's pricing page. Open a model for every provider and plan we track.
| Model | Input | Output | Cached input | Context window |
|---|---|---|---|---|
| Gemini 3.1 Pro Preview | $2 | $12 | $0.20 | — |
| Gemini 3 Flash Preview | $0.50 | $3 | $0.05 | — |
| Gemini 3.1 Flash-Lite | $0.25 | $1.50 | $0.025 | — |
Gemini API pricing FAQ
How much does the Gemini API cost?
Google's official API charges from $0.25 to $2 per 1M input tokens and from $1.50 to $12 per 1M output tokens across the 3 models listed here. Prices checked Oct 10, 2026.
What is the cheapest Gemini API model?
Gemini 3.1 Flash-Lite has the lowest output price: $0.25 per 1M input tokens and $1.50 per 1M output tokens.
Is cached input cheaper on the Gemini API?
Yes. 3 of the 3 models listed here have a lower cached-input price. For example, Gemini 3.1 Pro Preview charges $0.20 per 1M cached input tokens instead of $2.
Is the Gemini API included in Google AI Pro?
No. Google AI subscriptions such as Google AI Pro are billed separately from the Gemini API. Paid API usage is charged per token through Google AI Studio or Vertex AI.
Related pricing
BiWu.Ai lists public API prices from official pricing pages for reference and does not sell API access. Long-context, batch and priority rates can differ, and prices can change without notice. Check Google's pricing page before you build on it.