Google

Gemini 3.1 Pro token cost calculator

Google’s stronger Gemini tier for multimodal understanding and agentic coding (≤200k prompt rates).

Published list rates

Input

$2.00

per 1M tokens

Output

$12.00

per 1M tokens

Cached input

$0.2

per 1M tokens

Context window

1,000,000

tokens

Pricing source: Google Gemini API pricing

Token cost calculator

List prices are stored in US dollars. Conversions use the units-per-dollar exchange-rate snapshot last checked 2026-07-31

Estimate from text

Calculate from a token total

Project monthly volume

Uses the input/output mix above and a 30-day month: requests per day × tokens per request × 30.

Estimated cost

Estimated tokens
Characters
Words
Input tokens
Output tokens
Input cost
Output cost
Total cost
Combined price per 1M tokens
Estimated monthly cost
Estimated daily cost

Cost by token volume

Compare input-only, output-only, and 70/30 mixed workloads from one token to 100 billion. Intermediate bands make smaller production steps easier to price.

Tokens Input only Output only 70/30 mix
1 $0.000002 $0.000012 $0.000005
10 $0.00002 $0.00012 $0.00005
100 $0.0002 $0.0012 $0.0005
200 $0.0004 $0.0024 $0.001
300 $0.0006 $0.0036 $0.0015
400 $0.0008 $0.0048 $0.002
500 $0.001 $0.006 $0.0025
1,000 $0.002 $0.012 $0.005
2,000 $0.004 $0.024 $0.01
5,000 $0.01 $0.06 $0.025
10,000 $0.02 $0.12 $0.05
25,000 $0.05 $0.3 $0.125
50,000 $0.1 $0.6 $0.25
100,000 $0.2 $1.20 $0.5
250,000 $0.5 $3.00 $1.25
500,000 $1.00 $6.00 $2.50
1,000,000 $2.00 $12.00 $5.00
5,000,000 $10.00 $60.00 $25.00
10,000,000 $20.00 $120.00 $50.00
50,000,000 $100.00 $600.00 $250.00
100,000,000 $200.00 $1,200.00 $500.00
500,000,000 $1,000.00 $6,000.00 $2,500.00
1,000,000,000 $2,000.00 $12,000.00 $5,000.00
10,000,000,000 $20,000.00 $120,000.00 $50,000.00
100,000,000,000 $200,000.00 $1,200,000.00 $500,000.00

Tokens available by budget

See how many tokens a fixed budget buys at the published rates. Display-currency values use the current exchange-rate snapshot shown on the page.

Budget Input tokens Output tokens Mixed tokens (70/30)
$0.01 5,000 833 2,000
$0.1 50,000 8,333 20,000
$0.5 250,000 41,667 100,000
$1.00 500,000 83,333 200,000
$5.00 2.5M 416,667 1M
$10.00 5M 833,333 2M
$20.00 10M 1.67M 4M
$25.00 12.5M 2.08M 5M
$30.00 15M 2.5M 6M
$50.00 25M 4.17M 10M
$100.00 50M 8.33M 20M
$250.00 125M 20.8M 50M
$500.00 250M 41.7M 100M
$1,000.00 500M 83.3M 200M
$5,000.00 2.5B 416.7M 1B
$10,000.00 5B 833.3M 2B

Cost profile

  • A workload with 70% input and 30% output costs $5.00 per 1 million total tokens and $500.00 per 100 million.
  • At the same token count, output costs 6 times the input rate. Response length therefore deserves its own budget limit.
  • Filling the 1,000,000-token context window with input alone would cost about $2.00, before any output.
  • Cached input is $0.2 per million, 90% below standard input when the workload meets the provider’s cache rules.

About Google

Gemini models on Google AI for speed, cost, and long context. The Gemini 3.1 Pro page covers this meter in detail; the Google hub gathers the rest of the lineup with a pricing table, list-rate ranges, and calculators side by side.

See all Google models and the pricing table

How the text estimate works

For rough planning, CostUse uses about four characters per token and about 0.75 words per token. Actual tokenization changes with language, model, formatting, and special tokens.

Prompts over 200k tokens use higher long-context rates ($4 input / $18 output per 1M).

These results use public list prices. Cache eligibility, batch or priority modes, long-context surcharges, discounts, and regional billing can change the final invoice.

Questions about this rate

How much is 1 million mixed tokens on Gemini 3.1 Pro?

About $5.00 at a 70% input / 30% output mix using list prices verified 2026-07-29.

How much are 100 million mixed tokens?

About $500.00 at the same 70/30 mix — useful for rough monthly volume planning.

What is the Gemini 3.1 Pro price per million input and output tokens?

Input $2.00 and output $12.00 per 1M tokens (USD list rates). Use the calculator above with your real token mix.

Is the text-to-token estimate exact?

No. The estimator approximates tokens from characters and words. Real bills depend on the provider tokenizer, special tokens, and discounts (cache, batch, priority).

What does cost per token mean, and why is output usually more expensive?

Providers charge for tokens processed. Output tokens (generated replies) often cost several times more than input tokens (your prompt), so completion length can dominate the bill.

Related models