Google

Gemini 3.5 Flash API pricing

Made by Google

13 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is Google Vertex AI at $787.50 a month; the dearest costs $2,835.00, 3.6× as much.

Input from
$0.75
Output from
$4.50
Context up to
1.05M tokens
Batch rates
3 routes

Every route, cheapest first

Prices per 1M tokens. Month is the sample workload: 300,000 requests, 2,000 tokens in and 400 out per request, half the input cached. Cache writes are not counted.

ProviderInputOutputCache readCache writeBatch in / outContextMonth
Google Vertex AIOpenRouter$0.75$4.50$0.075$0.0417$0.75 / $4.501.05M$787.50
Google AI StudioOpenRouter$0.75$4.50$0.075$0.0417—1.05M$787.50
Google Vertex AIOpenRouter$1.50$9.00$0.15$0.0833$0.75 / $4.501.05M$1,575.00
Google AI StudioOpenRouter$1.50$9.00$0.15$0.0833$0.75 / $4.501.05M$1,575.00
PerplexityLiteLLM$1.50$9.00$0.15———$1,575.00
Perplexity OrchestratorLiteLLM$1.50$9.00$0.15——1M$1,575.00
GMI CloudLiteLLM$1.50$9.00$0.15——1.05M$1,575.00
DatabricksLiteLLM$1.88$11.25$0.188$1.88—1.05M$1,968.77
DeepInfraLiteLLM$1.50$9.00———1M$1,980.00
ReplicateLiteLLM$1.50$9.00————$1,980.00
KymaLiteLLM$2.02$12.15$0.203——1.05M$2,126.25
Google Vertex AIOpenRouter$2.70$16.20$0.27$0.15—1.05M$2,835.00
Google AI StudioOpenRouter$2.70$16.20$0.27$0.15—1.05M$2,835.00

Other Gemini models