Gemini 3.1 Pro API Pricing & Cost Calculator
Gemini 3.1 Pro provides flagship intelligence with a 1M token context window, 90% prompt caching discount, and tiered rates that increase above 200K tokens.
Gemini 3.1 Pro is Google's flagship reasoning engine, offering a context window of about 1 million tokens.
By TechCompare · Updated
Calculator
Cost Comparison
Based on 100,000 input tokens (50% cached), 5,000 output tokens, and 100 requests.Prices are fetched live from OpenRouter and may include temporary promotional discounts not accounted for in our article and comparison figures.
How this is calculated
For prompts up to 200K tokens, Gemini 3.1 Pro is priced at $2.00 per million input tokens and $12.00 per million output tokens. Cached input costs $0.20 per million, a 90% discount, and batch pricing is $1.00 per million input tokens and $6.00 per million output tokens. Above 200K, standard pricing rises to $4.00/M input and $18.00/M output, while cached input rises to $0.40/M.
Verdict
For prompts up to 200K, 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 200K, standard rates rise to $4.00/$18.00 and cached input rises to $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 200K.
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?
Is Gemini 3.1 Pro cheaper than Claude Sonnet 4.6?
Related tools
LLM VRAM Calculator
Calculate the VRAM needed to run or fine-tune any LLM at any quantization.
Use tool ➜Power Cost Estimator
Estimate annual electricity costs for your PC, Server, or TV.
Use tool ➜Data Transfer Calculator
Estimate transfer times for files over USB, WiFi, Ethernet, and more.
Use tool ➜JSON Formatter
Validate, format, and minify JSON data with readable output and error detection.
Use tool ➜