Context
1M
Max output
66K
Serving providers
2
Cheapest input
$2.00 /1M
On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. 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
Standarddeepinfra/google/gemini-3.1-pro
ComponentUnitStandard
Text input/1M tok$2.00
Text output/1M tok$12.00
Databricks$2.50$15.001

Price history

listed seller prices, input and output per 1M tokens
Input Output
Input down 20% since first tracked
$0.00$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 from DeepInfra, and $12.00 per 1M output tokens from 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, audio input, prompt caching and structured output.

Other Google models

compare pricing across the Google lineup
Listed prices from LiteLLM, OpenRouter and Vercel · last checked Oct 14, 2026

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI