Context
1M
Max output
66K
Serving providers
2
Cheapest input
$2.00 /1M
Prices are on-demand list rates. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.

Pricing detail

cost beyond the standard rate · source: models.dev
Long context (>200K)
$4.00 / $18.00
input / output · per 1M

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand

Input pricing runs from $2.00 to $2.50 per 1M tokens across 2 providers, so the dearest route costs 25% more than the cheapest for the same model.

Serving providerInput /1MOutput /1MEndpoints
DeepInfraCheapest$2.00$12.001
EndpointStd inStd outCached inBatch in / outModel ID
StandardCheapest$2.00$12.00deepinfra/google/gemini-3.1-pro
Databricks$2.50$15.001

Price history

input + output $/1M since we started tracking
Input Output
Input down 20% since first tracked
$0.000$5.00$10.00$15.00$20.00Aug 19Aug 26Aug 28$12.00$2.00

Cost calculator

estimate your monthly spend on this model
$1,360
estimated / month

Model IDs

copy the exact identifier for your platform
deepinfra/google/gemini-3.1-prodatabricks/databricks-gemini-3-1-pro

Frequently asked questions

Gemini 3.1 Pro pricing, context and availability

How much does Gemini 3.1 Pro cost?

Gemini 3.1 Pro costs $2.00 per 1M input tokens and $12.00 per 1M output tokens at its cheapest provider via DeepInfra. Across 2 serving providers, input prices range from $2.00 to $2.50 per 1M tokens.

What is the context window of Gemini 3.1 Pro?

Gemini 3.1 Pro accepts up to 1M tokens of context and can return up to 66K output tokens.

Which providers serve Gemini 3.1 Pro?

Gemini 3.1 Pro is available from 2 serving providers, each with its own pricing and model ID. DeepInfra is currently the cheapest.

What can Gemini 3.1 Pro do?

Gemini 3.1 Pro supports image input (vision), tool use, reasoning, prompt caching and structured output.

Other Google models

compare pricing across the Google lineup
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI