AI API Prices › Google

Google API pricing

Gemini models with the largest context windows (up to 2M tokens) and the cheapest capable "Flash" tier.

Google models — price per 1M tokens

All prices in USD, last verified 2026-06-26. Cheapest reference cost first; click a column to re-sort.

Model Input /1M Output /1M Cost / call* Context Type
Gemini 1.5 Flash-8B
Cheapest capable model
$0.037 $0.150 $0.0002 1M Fast / cheap
Gemini 2.0 Flash $0.100 $0.400 $0.0005 1M Fast / cheap
Gemini 2.5 Flash $0.300 $2.50 $0.0028 1M Balanced
Gemini 2.5 Pro
1M context (≤200k tier)
$1.25 $10.00 $0.011 1M Flagship

*Reference cost of one call with 1,000 input + 1,000 output tokens — a neutral yardstick. Use the calculator for your real usage. Cheapest row highlighted.

Cheapest Google model: Gemini 1.5 Flash-8B at $0.037 in / $0.150 out per 1M tokens. Compare it against other providers on the full pricing table.

How Google API pricing works

Google bills per token: an input price for everything you send and a higher output price for what the model generates, both quoted per million tokens. To estimate a real bill, multiply by your monthly request volume — the cost calculator does this across every model at once.

Before committing to volume, always confirm the current numbers on the official Google pricing page — the list prices here are verified periodically but the market moves fast.

See also