Google

Gemini 4 Hydrogen API pricing

Made by Google

8 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is Google AI Studio at $686.25 a month; the dearest costs $2,470.50, 3.6× as much.

Input from
$0.75
Output from
$3.75
Context up to
1.05M tokens
Batch rates
2 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.75$3.75$0.0375$0.0417—1.05M$686.25
Google Vertex AIOpenRouter$1.50$7.50$0.075$0.0833$0.75 / $3.751.05M$1,372.50
Google AI StudioOpenRouter$1.50$7.50$0.075$0.0833$0.75 / $3.751.05M$1,372.50
PerplexityLiteLLM$1.50$7.50$0.075———$1,372.50
GMI CloudLiteLLM$1.50$7.50$0.075$1.88—1.05M$1,372.50
OpenrouterLiteLLM$1.50$7.50$0.075$0.0833—1.05M$1,372.50
Google Vertex AIOpenRouter$2.70$13.50$0.135$0.15—1.05M$2,470.50
Google AI StudioOpenRouter$2.70$13.50$0.135$0.15—1.05M$2,470.50

Other Gemini models