Google

Gemini 3.8 Flash API pricing

Made by Google

11 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is Google AI Studio at $348.75 a month; the dearest costs $2,430.72, 7.0× as much.

Input from
$0.375
Output from
$1.88
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 AI StudioOpenRouter$0.375$1.88$0.0375$0.0208—1.05M$348.75
Google Vertex AIOpenRouter$0.375$1.88$0.0375$0.0208$0.375 / $1.881.05M$348.75
DatabricksLiteLLM$0.75$3.75$0.075$0.75—1.05M$697.48
Google AI StudioOpenRouter$0.75$3.75$0.075$0.0417$0.375 / $1.881.05M$697.50
Google Vertex AIOpenRouter$0.75$3.75$0.075$0.0417$0.375 / $1.881.05M$697.50
PerplexityLiteLLM$0.75$3.75$0.075———$697.50
Perplexity OrchestratorLiteLLM$0.75$3.75$0.075——1.05M$697.50
GMI CloudLiteLLM$0.75$3.75$0.075——1.05M$697.50
Google AI StudioOpenRouter$1.35$6.75$0.135$0.075—1.05M$1,255.50
Google Vertex AIOpenRouter$1.35$6.75$0.135$0.075—1.05M$1,255.50
KymaLiteLLM$2.03$10.13———1.05M$2,430.72

Other Gemini models