Tools Web

Calculators

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

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.