🤖
🤖 AI calculators

Gemini API Cost Calculator (Google models, context caching & batch)

Results update as you type.

Your numbers

How it works

Cost per request = (uncached input tokens × input price + cached input tokens × cached-input price + output tokens × output price) ÷ 1,000,000, with prices in US$ per 1 million tokens. The cost of requests using Batch Mode is multiplied by the provider’s discount factor (0.5). Day = request cost × requests per day; month = day × days per month; year = month × 12. “Saved” compares with the same traffic at the plain input and output price. Gemini Developer API, paid tier, text input, prompts up to 200K tokens. Output includes thinking tokens. Context caching also charges storage per hour. Taxes, tools (web search, code execution), image or audio tokens, long-context surcharges and cache-write fees are not included.

Google API prices (US$ per 1M tokens, checked 10 Nov 2026)

AI modelInput priceCached-input priceOutput priceBatch Mode input / output
Gemini 3.6 Flash1.50.157.50.75 / 3.75
Gemini 3.5 Flash1.50.1590.75 / 4.5
Gemini 3.5 Flash-Lite0.30.032.50.15 / 1.25
Gemini 3.1 Pro Preview (≤200K)20.2121 / 6
Gemini 3.1 Flash-Lite0.250.0251.50.125 / 0.75
Gemini 3 Flash Preview0.50.0530.25 / 1.5
Gemini 2.5 Pro (≤200K)1.250.125100.625 / 5
Gemini 2.5 Flash0.30.032.50.15 / 1.25
Gemini 2.5 Flash-Lite0.10.010.40.05 / 0.2

⚠ Estimates for information only — not financial advice.

FAQ

Are thinking tokens included in the output price?

Yes. Google lists Gemini output prices “including thinking tokens”, so a model that reasons before answering can bill far more output tokens than the visible reply. Enter the total output tokens you see in the usage data.

What about the free tier?

The Gemini Developer API has a free tier with lower rate limits for some models. This calculator uses paid-tier prices, which is what a company in production pays.

Checked 10 Nov 2026. Google official API pricing page (https://ai.google.dev/gemini-api/docs/pricing), read on 10 Nov 2026. Batch Mode: 50% off input and output.

🤖 All AI calculators →🌍 Calculators by country →