API pricing per million tokens
- Input
- $0.3
- per 1M, list
- Output
- $2.5
- per 1M tokens
- Cached input
- $0.03
- batch $0.15 / $1.25
- Context
- 1M
- 66K max output
Where to buy it (8)
Google Gemini APIflex-50%$0.15 / $1.25cached $0.015
Google Vertex AIdefault region$0.3 / $2.5cached $0.03
Google Vertex AIeu$0.3 / $2.5cached $0.03
Google Vertex AIglobal$0.3 / $2.5cached $0.03
Google Gemini API (list)the lab's own API$0.3 / $2.5cached $0.03
OCI Generative AIdefault region, $0.30 / $2.50 per 1,000,000 tokens$0.3 / $2.5$0.85 blended
Google Vertex AIglobal-priority+80%$0.54 / $4.5cached $0.054
Google Gemini APIpriority+80%$0.54 / $4.5cached $0.054
Through a gateway
Your own numbers100M input and 20M output tokens a month: $80.00 direct.
Helicone$80.00+0%
Kong AI Gateway$80.00+0%
LiteLLM$80.00+0%
Vercel AI Gateway$80.00+0%
AWS Bedrock$80.00+0%
Azure AI Foundry$80.00+0%
Google Vertex AI$80.00+0%
Databricks Mosaic AI$80.00+0%
Hugging Face Inference$80.00+0%
Cloudflare AI Gateway$84.00+5%
Requesty$84.00+5%
Eden AI$84.40+5.5%
OpenRouter$84.40+5.5%
Snowflake Cortex AI$96.00+20%
Martian Gatewayn/a
Portkeyn/a
TrueFoundry AI Gatewayn/a
IBM watsonx.ain/a
OCI Generative AIn/a
BigQuery MLn/a
Cloudflare Workers AIn/a
NVIDIA NIMn/a
Related models
Gemini 3.8 FlashGoogle Gemini API · 1M$0.75 / $3.75in / out per 1M$0.75$3.75$0.0751MSep 2, 2026
Gemini 3.7 FlashGoogle Gemini API · 1M$0.75 / $3.75in / out per 1M$0.75$3.75$0.0751MAug 13, 2026
Gemini 3.5 Flash LiteGoogle Gemini API · 1M$0.3 / $2.5in / out per 1M$0.3$2.5$0.031MJul 21, 2026
Gemini 3.6 FlashGoogle Gemini API · 1M$0.75 / $3.75in / out per 1M$0.75$3.75$0.0751MJul 21, 2026
GLM 5.3Z.ai · via DeepInfra (fp4) · 1.31M$0.563 / $2.5in / out per 1M$0.563$2.5$0.1251.31MAug 18, 2026
GLM 4.6Z.ai · via Venice (fp4) · 205K$0.43 / $1.75in / out per 1M$0.43$1.75$0.08205KSep 30, 2025
Kimi K2.5Moonshot AI · via SiliconFlow (int4) · 262K$0.45 / $2.25in / out per 1M$0.45$2.25$0.07262KJan 27, 2026
Command A+Cohere · 192K$0.3 / $1.5in / out per 1M$0.3$1.5$0.15192KSep 22, 2026
About Gemini 2.5 Flash
Gemini 2.5 Flash is Google's state-of-the-art workhorse model, specifically designed for advanced reasoning, coding, mathematics, and scientific tasks.
Takes files, image, text, audio, video in and returns text. First listed Jun 17, 2025. Blended price $0.85 per 1M tokens at 3 input to 1 output.
Questions
How much does Gemini 2.5 Flash cost?
$0.3 per million input tokens and $2.5 per million output tokens, with cached input at $0.03, or $0.15 and $1.25 through the Batch API.
What is the context window of Gemini 2.5 Flash?
1M tokens, with up to 66K tokens of output.
Where is Gemini 2.5 Flash cheapest?
Of 8 routes tracked, Google Gemini API is cheapest at $0.15 input and $1.25 output per million tokens.
List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.