Gemini API pricing in 2026: every model, current rates

Prices verified August 21, 2026 · USD per 1M tokens

Google prices the Gemini API per million tokens with a wide spread of tiers — from Flash-Lite models under a dollar to the flagship Gemini 3.1 Pro. All current models ship a 1M-token context window, which makes Gemini the budget option for long-document work.

ModelInputCached inputOutputContext
Gemini 3.1 Pro$2.00$0.20$12.001M
Gemini 3.6 Flash$1.50$0.15$7.501M
Gemini 3.5 Flash$1.50$0.15$9.001M
Gemini 3.5 Flash-Lite$0.30$0.03$2.501M
Gemini 3 Flash$0.50$0.05$3.001M
Gemini 2.5 Pro$1.25$0.125$10.001M
Gemini 2.5 Flash-Lite$0.10$0.01$0.401M

Pro-tier models charge elevated rates above 200K input tokens (Gemini 3.1 Pro rises to $4/$18). Cached input bills at ~10% of the input rate.

Where Gemini wins on price

Long context is the headline: every current Gemini model offers a 1M-token window at no premium tier, and even the $0.10 Flash-Lite reads entire codebases or book-length documents. For document-heavy RAG, that often beats paying a bigger model to work around a smaller window. Gemini 3 Flash at $0.50/$3 is the sweet spot for general workloads; 2.5 Flash-Lite at $0.10/$0.40 is among the cheapest capable APIs anywhere.

Watch the long-context surcharge

Pro models bill roughly double above 200K input tokens per request ($4/$18 on 3.1 Pro). If your prompts routinely exceed that, model the surcharge — or split documents across requests. Flash tiers keep flat pricing. Compare against Claude and GPT for your exact mix in the calculator or read the cheapest APIs ranking.

→ What would YOUR workload cost?
Enter your token mix once — compare all 28 models side by side, with caching and batch discounts.
Advertisement

Frequently asked questions

How much does the Gemini API cost in 2026?
Gemini 3.1 Pro costs $2 input / $12 output per million tokens; Gemini 3 Flash $0.50/$3; Gemini 3.5 Flash-Lite $0.30/$2.50; Gemini 2.5 Flash-Lite just $0.10/$0.40 (August 2026).
Is the Gemini API free?
Google AI Studio offers a free tier with rate limits for development and testing. Production usage through the paid API is billed per million tokens at the rates above.
What is the cheapest Gemini model?
Gemini 2.5 Flash-Lite at $0.10 input / $0.40 output per million tokens — with a full 1M-token context window.
Does Gemini charge more for long context?
Pro-tier models roughly double their rates above 200K input tokens per request (Gemini 3.1 Pro: $4/$18). Flash and Flash-Lite tiers keep flat pricing at any length.
Does Gemini support prompt caching?
Yes — context caching bills repeated input at about 10% of the standard rate, and Flash models also support implicit caching on repeated prefixes.