Gemini 3.1 Pro API Pricing & Cost Calculator
By TechCompare · Updated · How we check
Gemini 3.1 Pro provides deep reasoning with a 1M token context window, a 90% prompt caching discount, and tiered rates that increase above 200,000 tokens.
Calculator
Cost Comparison
Based on 100,000 input tokens (50% cached), 5,000 output tokens, and 100 requests.Prices come live from OpenRouter at each maker's own price where it's listed. Temporary deals are left out.
Gemini 3.1 Pro is Google's reasoning model in the Pro tier, offering a context window of about 1 million tokens.
Google: Gemini 3.1 Pro Preview
Google AI Studio's own price
- Input
- $2
- Output
- $12
- Cached
- $0.20
per 1M tokens
Price checked 2026-12-02
How this is calculated
For prompts up to 200,000 tokens, Gemini 3.1 Pro is priced at $2.00 per million input tokens and $12.00 per million output tokens. Cached input gets a 90% discount, and batch pricing is $1.00 per million input tokens and $6.00 per million output tokens. Above 200,000 tokens, standard pricing rises to $4.00/M input and $18.00/M output, with cached input at $0.40/M.
Verdict
For prompts up to 200,000 tokens, Gemini 3.1 Pro costs $2.00/M input and $12.00/M output, with cached input at $0.20/M and batch pricing at $1.00/$6.00. Above that, standard rates rise to $4.00/$18.00 and cached input is $0.40/M. The 1M token context window can hold large corpora, codebases, or document sets, while the 90% cached input discount cuts the cost of reusing a stable context block. Use the higher tier when estimating any prompt above 200,000 tokens.
More API Standalones scenarios
Related guides
Frequently asked questions
Does Gemini 3.1 Pro support prompt caching?
How much does Gemini 3.1 Pro cost per million output tokens?
How does Gemini 3.1 Pro's price compare with Claude Sonnet 4.6?
Related tools
LLM VRAM Calculator
Calculate the VRAM needed to run or fine-tune any LLM at any quantization.
Use toolPower Cost Estimator
Estimate annual electricity costs for your PC, Server, or TV.
Use toolData Transfer Calculator
Calculate file transfer time or the speed you need over USB, Wi-Fi or Ethernet, with latency.
Use toolJSON Formatter
Validate, format, and minify JSON. Browse it as a tree, run JSONPath queries, compare two documents, or validate against a JSON Schema.
Use tool