Google

Gemini 3.1 Pro Preview API pricing

Made by Google

9 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is Google Vertex AI at $1,050.00 a month; the dearest costs $3,780.00, 3.6× as much.

Input from
$1.00
Output from
$6.00
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$1.00$6.00$0.10$0.188$1.00 / $6.001.05M$1,050.00
Google AI StudioOpenRouter$1.00$6.00$0.10$0.188—1.05M$1,050.00
Google Vertex AIOpenRouter$2.00$12.00$0.20$0.375$1.00 / $6.001.05M$2,100.00
Google AI StudioOpenRouter$2.00$12.00$0.20$0.375$1.00 / $6.001.05M$2,100.00
PerplexityLiteLLM$2.00$12.00$0.20———$2,100.00
AihubmixLiteLLM$2.00$12.00$0.20——1.05M$2,100.00
GMI CloudLiteLLM$2.00$12.00———1.05M$2,640.00
Google Vertex AIOpenRouter$3.60$21.60$0.36$0.675—1.05M$3,780.00
Google AI StudioOpenRouter$3.60$21.60$0.36$0.675—1.05M$3,780.00

Other Gemini models