Google API pricing

Gemini 3.1 Pro (preview) pricing

Input / 1M tokens
$2
Output / 1M tokens
$12

Prompts over 200,000 tokens cost $4 in and $18 out per million, for the whole request.

Source: Google pricing, checked 1 Nov 2026. API name: gemini-3.1-pro-preview.

Price your prompt on Gemini 3.1 Pro (preview)

What a prompt costs on Gemini 3.1 Pro (preview)

ExampleTokens in / outCost1,000 a day, per month
A short question and answer50 / 300$0.0037$111.00
A one-page document summarised700 / 400$0.0062$186.00
A 300-line code file reviewed4,000 / 1,200$0.022$672.00
A 50-page report summarised35,000 / 1,500$0.088$2,640

Token sizes are typical, not exact. Replies include any thinking the model does.

Other Gemini models

Gemini 4 ArgonGemini 3.8 FlashGemini 3.5 Flash-LiteGemini 2.5 ProGemini 2.5 Flash

FAQ

How much does Gemini 3.1 Pro (preview) cost?

$2 per million input tokens and $12 per million output tokens on Google's standard API tier. Checked 1 Nov 2026.

What does one prompt cost on Gemini 3.1 Pro (preview)?

A 1,000-token prompt with a typical medium-length reply costs about $0.012. Paste your own prompt into the calculator for an exact figure.