Gemini 3.1 Pro Preview API Pricing & Cost Architecture
Verified Gemini 3.1 Pro Preview API token pricing ($2.00/$12.00), context caching rates ($0.20/M), batch discounts, and cost estimation guide.
Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens for standard API calls. Utilizing prompt or context caching reduces cached input costs down to $0.20 per million tokens (a 90% discount). Batch API processing yields an additional 50% cost reduction. Gemini 3.1 Pro Preview is Google's massive-context preview model ($2.00/1M input, $12.00/1M output), featuring a 2-million token context window capable of ingesting entire codebases or hours of audio.
Estimate Gemini 3.1 Pro Preview Monthly Spend
| Pricing Dimension | Rate (USD) | Billing Unit | Notes |
|---|---|---|---|
| Standard Input | $2.00 | Per 1,000,000 tokens | Standard real-time prompt requests |
| Standard Output | $12.00 | Per 1,000,000 tokens | Generated text, reasoning tokens & tool calls |
| Prompt / Context Caching Read | $0.20 | Per 1,000,000 tokens | Applies when prompt matches active cache breakpoint |
| Batch Processing Discount | -50% | Off standard rate | For async workloads with 24h completion window |
Gemini 3.1 Pro Preview Rate Card & Caching Mechanics
Gemini 3.1 Pro Preview Production Workload Cost Analysis
Architectural Best Practices for Gemini 3.1 Pro Preview
Frequently Asked Questions
What are the standard input and output token rates for Gemini 3.1 Pro Preview?
Gemini 3.1 Pro Preview is priced at $2.00 per million input tokens and $12.00 per million output tokens on standard API endpoints.
How does context caching discount work with Gemini 3.1 Pro Preview?
Context caching bills repeated prompt tokens at $0.20 per million tokens, representing a 90% reduction compared to raw input token pricing.
What is the context window limit for Gemini 3.1 Pro?
Gemini 3.1 Pro Preview supports prompts up to 2,000,000 tokens on standard AI Studio endpoints.
Does the batch discount stack with context caching on Gemini 3.1 Pro?
No, Google AI Studio lists batch caching at the standard rate rather than stacking discounts.
Verified Documentation Sources
Every token rate, credit limit, and technical mechanism cited is traced to official vendor sources:
- Google Official Pricing Documentation ·Verified 2026-11-13
Want an audit of your Gemini 3.1 Pro Preview spend?
We review prompt structure, context cache breakpoints, and model tier routing. Actionable savings delivered in 24 hours.
Want an audit of your Gemini 3.1 Pro Preview spend?
Direct engineer response in 24h