Gemini Token Cost Calculator
Estimate Google Gemini API spend from input and output tokens. Presets for Gemini 2.5 and 3.x Flash/Pro list rates; edit $/1M to match your tier. Cost = tokens ÷ 1M × price. Estimates only; Google AI pricing prevails.
Math runs in your browser. Nothing is uploaded.
Custom $/1M rates (optional)
Estimated USD cost
—
Input cost
—
Output cost
—
Per 1k input tokens
—
Per 1k output tokens
—
Estimates only; official vendor pricing prevails (2026-10-30). Cost = tokens ÷ 1,000,000 × price per 1M.
OpenAI Token Cost Calculator · Claude Token Cost Calculator · Grok Token Cost Calculator · Gemini Grounding Cost Calculator · LLM API Cost Calculator
More in this group
- Gemini Batch API Savings Calculator Standard vs Batch vs Flex monthly cost and savings.
- DeepSeek Token Cost Calculator deepseek-flash / v4-pro cost, peak vs off-peak, cache hit/miss.
- OpenAI Token Cost Calculator GPT-5 / 4.1 / o-series token cost in USD.
- Claude Token Cost Calculator Fable / Haiku / Sonnet / Opus token cost in USD.
- Grok Token Cost Calculator Grok 4.7 / 4.6 / 4.3 token cost in USD.
- Gemini Grounding Cost Calculator Gemini Search grounding queries after free quota.
- LLM API Cost Calculator Generic token cost from any $/1M rates.
- RAG Cost Calculator Embed + retrieve + LLM token cost in USD.
How it works
- How is Gemini token cost calculated?
- USD cost = input tokens ÷ 1M × input $/1M + output tokens ÷ 1M × output $/1M. Flash at $0.75 / $3.75 with 100k in + 20k out ≈ $0.15.
- Which Gemini models are included?
- Gemini 4 Argon ($2 / $10 through 2026-11-30, then $4 / $20 from 2026-12-01), Gemini 3.8 Flash ($0.75 / $3.75 through 2026-12-31, then $1.50 / $7.50 from 2027-01-01), Gemini 3.1 Pro (≤200K band), Gemini 2.5 Flash, and Gemini 2.5 Pro. Tick “post-promo rates” to price the cliff. Edit $/1M for other tiers.
- What happens after the Flash intro rate ends?
- Published intro rates for Flash rise after 2026-12-31. Update the custom $/1M fields when Google’s list changes.
- Does Pro pricing change above 200K input?
- Yes. The preset uses the ≤200K band. Enter the higher band in custom fields for longer contexts.
- Can Google change these prices?
- Yes. Estimates only; Google AI pricing pages prevail.