StackPricing
All AI models

Google · AI model API pricing

How much does Gemini 3.1 Pro cost?

Google's frontier tier (in preview) — the cheapest input price of any flagship-class model.

Rate card

Input tokens$2 / 1M
Cached input$0.20 / 1M
Output tokens$12 / 1M
Context window

What that means per month

WorkloadTokens / monthCost / month
Prototype 1M in · 0.3M out $5.60/mo
Small app 10M in · 3M out $56/mo
Production app 50M in · 15M out $280/mo
High volume 200M in · 60M out $1,120/mo
Heavy platform 1B in · 300M out $5,600/mo
Price it at your exact usage Official pricing page

Standard on-demand rates from Google's official pricing page, last checked 2026-07-16. Rates shown are for prompts ≤200k tokens; above 200k, input doubles to $4 and output rises to $18 per 1M. Batch runs at 50%. Monthly figures exclude caching and batch discounts. Confirm live pricing before committing.

Cheaper alternatives

At a reference workload of 10M input / 3M output tokens a month, these cost less than Gemini 3.1 Pro ($56/mo):

Gemini 3.1 Pro head-to-head