Google

Gemini 3.1 Pro Preview Custom Tools API pricing

Made by Google

3 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is Google AI Studio at $2,100.00 a month.

Input from
$2.00
Output from
$12.00
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$2.00$12.00$0.20$0.375$1.00 / $6.001.05M$2,100.00
Google Vertex AILiteLLM$2.00$12.00$0.20—$1.00 / $6.001.05M$2,100.00
AihubmixLiteLLM$2.00$12.00$0.20——1.05M$2,100.00

Other Gemini models