Gemini 2.5 Flash API pricing

The 2025 Flash default; huge installed base.

VisionTool callingReasoningPrompt cachingWeb searchPDF input

Input

$0.30

per 1M tokens

Cached input

$0.03

per 1M tokens

Output

$2.50

per 1M tokens

Context window

1M

max output 66K

Prices last synced Aug 20, 2026 from the LiteLLM community price catalog — the same catalog Marginal prices real usage events against, refreshed daily. Hand-checked against the provider's official pricing page on Aug 20, 2026. Spot an error? Tell us.

What would Gemini 2.5 Flash cost you?

Enter your workload — add other models to compare the same traffic across providers.

Your monthly workload

Cache hit rate = share of input tokens served from the provider's prompt cache, billed at the model's cached-input price. Estimates use standard per-token rates — batch discounts, service tiers, and long-context surcharges are not applied.

Gemini 2.5 Flash
ModelInputCached inputOutputPer requestMonthly
Gemini 2.5 Flash$180$12.00$625$0.00163$817
Rates used: Gemini 2.5 Flash $0.30 in / $2.50 out

More from Google (Gemini API)

Tracking Gemini 2.5 Flash in production?

Marginal prices every call your app actually makes — cached tokens, dated snapshots, model switches included — and slices spend by customer or feature. One track() call to integrate.