Gemini API Pricing

Google lists 8 Gemini models on its API. Prices below are per million tokens, in US dollars, for input (your prompt), output (the model's reply), cached input (prompt-cache reads) and the batch API.

Every price verified on or after from Google's pricing page.

Gemini API prices per million tokens

ModelInputOutputCached inputBatch inputBatch outputContext
Gemini 3.8 Flash$1.50$7.50$0.15$0.75$3.751.05M
Gemini 3.5 Flash-Lite$0.30$2.50$0.03$0.15$1.251.05M
Gemini 3.1 Flash (Image)$0.50$3.00—$0.25$1.5066K
Gemini 3.1 Pro$2.00$12.00$0.20$1.00$6.001.05M
Gemini 3 Flash$0.50$3.00$0.05$0.25$1.501.05M
Gemini 2.5 Flash Lite$0.10$0.40$0.01$0.05$0.201.05M
Gemini 2.5 Flash$0.30$2.50$0.03$0.15$1.251M
Gemini 2.5 Pro$1.25$10.00$0.125$0.625$5.002M

A dash means Google lists no such rate for that model. Batch rates apply the batch API discount to the standard rates. These are Google's direct API rates; cloud platforms can charge differently.

What the headline prices leave out

  • Gemini 3.8 Flash: Standard (post-promotion) rates shown. Promotional rates of $0.75 in / $0.075 cached / $3.75 out apply through December 31, 2026; the listed rates start January 1, 2027. Cache storage $1.00 per 1M tokens per hour ($0.50 during the promotion).
  • Gemini 3.5 Flash-Lite: Same input price for text, image, video and audio. Cache storage $1.00 per 1M tokens per hour.
  • Gemini 3.1 Flash (Image): Image-generation model. Output shown is the text-and-thinking rate; image output is $60 per 1M tokens (about $0.067 per 1K image). No context-caching price is listed.
  • Gemini 3.1 Pro: Priced as gemini-3.1-pro-preview. Prompts over 200K tokens: $4 in / $0.40 cached / $18 out. Cache storage $4.50 per 1M tokens per hour.
  • Gemini 3 Flash: Priced as gemini-3-flash-preview. Audio input is $1.00 (cached $0.10). Google now calls this its legacy Flash model and recommends gemini-3.6-flash.
  • Gemini 2.5 Flash Lite: Audio input is $0.30 (cached $0.03). Cache storage $1.00 per 1M tokens per hour.
  • Gemini 2.5 Flash: Audio input is $1.00 (cached $0.10). Cache storage $1.00 per 1M tokens per hour.
  • Gemini 2.5 Pro: Prompts over 200K tokens: $2.50 in / $0.25 cached / $15 out. Cache storage $4.50 per 1M tokens per hour.

Which Gemini model is cheapest for your workload

Monthly cost of 10 million tokens on each model, for five common usage patterns. The cheapest model for each pattern is marked. The cheapest model is not always good enough for the task, so compare quality on your own prompts before you switch. Cached workloads assume each cache entry is read 10 times; a model without a batch API pays its standard rate on the batch job.

ModelChat assistant7.5M input, 2.5M outputDocument Q&A9M input, 1M outputContent generation2.5M input, 7.5M outputRepeated long prompt7.5M input (75% cache hits), 2.5M outputOvernight batch job7.5M input, 2.5M output via the batch API
Gemini 3.8 Flash$30.00$21.00$60.00$22.41$15.00
Gemini 3.5 Flash-Lite$8.50$5.20$19.50$6.98$4.25
Gemini 3.1 Pro$45.00$30.00$95.00$34.88$22.50
Gemini 3 Flash$11.25$7.50$23.75$8.72$5.63
Gemini 2.5 Flash Lite$1.75Cheapest$1.30Cheapest$3.25Cheapest$1.24Cheapest$0.88Cheapest
Gemini 2.5 Flash$8.50$5.20$19.50$6.98$4.25
Gemini 2.5 Pro$34.38$21.25$78.13$28.05$17.19

Left out: Gemini 3.1 Flash (Image). Its output rate in the price table is the text rate; image output is billed at a different rate (see the note under that table), so it can't be compared on a text workload.

Gemini 2.5 Flash Lite is cheapest for every pattern because its input and output rates are both the lowest Google lists for text. Cheapest is not best: the registry has no capability tier, so check quality on your own prompts before you switch.

Price your own workload with Gemini 3.1 Pro

Cite this data

Vanta Calc, Gemini API Pricing, https://www.vantacalc.com/technology/llm-pricing/google/, last updated 30 September 2026

Last updated

Reuse licensing is awaiting owner confirmation. For licensing enquiries, use our contact form.

All LLM API prices · Compare models side by side