Google

Gemini 3.1 Pro API pricing

Made by Google

4 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is Databricks at $2,624.99 a month; the dearest costs $2,835.00, 1.1× as much.

Input from
$2.00
Output from
$12.00
Context up to
1.05M tokens
Batch rates
None listed

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
DatabricksLiteLLM$2.50$15.00$0.25$2.50—1.05M$2,624.99
DeepInfraLiteLLM$2.00$12.00———1M$2,640.00
ReplicateLiteLLM$2.00$12.00————$2,640.00
KymaLiteLLM$2.70$16.20$0.27——1.05M$2,835.00

Other Gemini models