easiapiaiLLM API prices

Home / Google

Gemini 3.1 Pro API price

Google · 1M token context · 4 sellers, checked 19 Oct, 19:54 UTC

Other versions: earlier: Gemini 2.5 Pro from $1.25 / $10.00. Compare versions

Input, per 1M tokens
$2.00
Output, per 1M tokens
$12.00

Cheapest at DeepInfra; 4 sellers compared below.

Cheaper Inference lists it for less, $1.53 input / $9.21 output per 1M, but we have not verified that seller (our read). The prices above are the cheapest seller we consider reliable.

Versions

VersionWhat it isSellersFrom, in / out per 1M
Gemini 3.1 Pro this pagegemini-3.1-proMain listing4$2.00 / $12.00
Gemini 2.5 Progoogle/gemini-2.5-proEarlier generation16$1.25 / $10.00

Why there are several: the undated name can move to a newer build when the developer updates it, while a dated snapshot is meant to stay fixed, which can suit pipelines that need repeatable behaviour; an experimental build tests new features. Sellers price each version separately and not every seller offers every version, so check a seller's own docs for the build it serves.

Cost calculator: where to buy, and what it costs you

Pick a use case, a volume and a provider. Monthly figures assume 30 days.

1,500 input and 400 output tokens per request, 30% of input cached.

Provider, with its monthly cost for this workload
Context window
1M1,048,576 tokens
Last checked
19 Oct, 19:54 UTC

Price history

Cheapest standard price per 1M tokens, recorded every 6 hours since 16 Oct 2026.

$0.00$6.72$13.4416 Oct19 Oct
OutputInput

Cheaper Inference: the price floats from one check to the next, so the moves are not listed as changes.

Every price change this month →

More from Google: Gemini 3.1 Pro Preview $2.00 · Gemini 3.5 Flash Lite $0.30 · Gemini 3.6 Flash $0.75