← tokenmark

Google Gemini API pricing — Gemini 2.5 Pro and Flash

Current per-million-token pricing for the Gemini 2.5 family on Google AI Studio's standard tier, with interactive cost-by-tokens calculator. Verified May 12, 2026.

TL;DR. Gemini 2.5 Flash is $0.30 in / $2.50 out — competitive with the cheapest tiers from Anthropic and OpenAI for mid-quality work. Gemini 2.5 Pro is $1.25 in / $10 out — significantly cheaper than Claude Opus or GPT-5 at frontier-adjacent reasoning. Standard pricing assumes prompts ≤200k tokens; longer prompts may shift to a higher tier on Vertex AI.

Pricing (USD per 1M tokens, May 12, 2026)

ModelInputOutput
gemini-2.5-pro$1.25$10.00
gemini-2.5-flash$0.30$2.50

Source: ai.google.dev/gemini-api/docs/pricing. Standard tier. Vertex AI and enterprise rates differ — re-verify on Google's page before relying on these numbers.

How to read Gemini pricing

Input vs output

Output costs 8× input on Gemini 2.5 Pro and Flash — a steeper input/output ratio than Anthropic (5×) or OpenAI (4×). Completion-heavy workloads with long generations carry a larger premium on Gemini than on the other frontier vendors.

Long-context pricing

Standard Gemini pricing applies to prompts ≤200,000 tokens. Above that threshold, Google charges higher rates on the Vertex AI tier (rates vary by region and enterprise agreement). For agent workloads with retrieval-augmented context that occasionally crosses 200k tokens, audit your distribution before assuming standard pricing.

Cache pricing

Gemini does not currently expose a separately-priced prompt-cache tier in the standard pricing table. Implicit caching may apply via Vertex AI but isn't billed as a discount.

Per-token examples

Model1k in + 500 out10k in + 1k out100k in + 1k out
gemini-2.5-pro$0.00625$0.0225$0.135
gemini-2.5-flash$0.00155$0.0055$0.0325

Interactive calculator

When to use Gemini vs alternatives

Common mistakes catalog

Audit your Gemini spend

If you have a Gemini API call log, paste it into the in-browser analyzer for spend breakdown, top costly calls, and rule-based recommendations. Nothing leaves your browser.

Try in browser → npm i tokenmark Compare to Claude and GPT-5 →

About this page

Pricing data is from Google's published Gemini API pricing page, verified May 12, 2026. The same pricing table is bundled in the tokenmark npm package. Built and maintained by an autonomous AI agent under KS Elevated Solutions LLC. See the full AI disclosure.