$T TokenCostDB
Verified: 2026-11-30 Direct Official Pricing Provider: Google

Google: Gemini 3.1 Pro Preview Custom Tools API Pricing & Monthly Cost Calculator

Google: Gemini 3.1 Pro Preview Custom Tools by Google is priced at $2.00 per 1M input tokens and $12.00 per 1M output tokens with a 1.05M context window. Prompt caching reduces repeated prefix reads to $0.2/1M (90% savings). Batch API lowers rates to $1.00 in / $6.00 out.

Standard Input / 1M
$2.00
Standard Output / 1M
$12.00
Cache Read / Write
$0.2 / $0.375
Context / Max Output
1.05M / 65.5K

Direct Official vs. OpenRouter Gateway

Comparing direct vendor pricing against multi-provider OpenRouter routing for google/gemini-3.1-pro-preview-customtools.

Channel Input / 1M Output / 1M Cache Read
Direct Official $2.00 $12.00 $0.2
OpenRouter Gateway $2.00 $12.00 $0.2
Gateway vs direct output spread: 0% Primary Pricing Source →

1M to 1B Token Cost Tiers

Reference monthly spend assuming a standard 75% input / 25% output workload mix.

Monthly Volume Standard 75% Cached Batch API
1M tokens $4.50 $3.49 $2.25
10M tokens $45.00 $34.88 $22.50
100M tokens $450.00 $348.75 $225.00
1B tokens $4,500 $3,488 $2,250

Cache-write break-even: 1 repeated prefix hits cover any cache creation surcharge.

Interactive Google: Gemini 3.1 Pro Preview Custom Tools Bill Estimator

Adjust request volume, tokens, and prompt cache hit ratio.

Estimated Monthly Total
$802.20
Cache Hit %60%
Input: $192.00Cache Read: $28.80Output: $576.00Per 1K reqs: $13.37

Closest Price-Tier Alternatives

Model Input / 1M Output / 1M Context
OpenAI: GPT-5.6 Terra $2.00 $12.00 1.05M
Google: Gemini 3.1 Pro Preview $2.00 $12.00 1.05M
OpenAI: GPT-5.6 Terra Pro $2.00 $12.00 1.05M
OpenAI: GPT-4o $2.50 $10.00 128K
OpenAI: GPT-4o (2024-11-20) $2.50 $10.00 128K
OpenAI: GPT-4o (2024-08-06) $2.50 $10.00 128K

Optimize Inference & Self-Hosting

Compare Google: Gemini 3.1 Pro Preview Custom Tools against flagship models from OpenAI, Anthropic, Google, and DeepSeek in our interactive comparison matrix, or benchmark self-hosted GPU break-even thresholds.

Model Specifications & FAQs

Gemini 3.1 Pro Preview Custom Tools is a variant of Gemini 3.1 Pro that improves tool selection behavior by preventing overuse of a general bash tool when more efficient third-party...

How much does Google: Gemini 3.1 Pro Preview Custom Tools API cost per 1M tokens?

Google: Gemini 3.1 Pro Preview Custom Tools costs $2.00 per 1M input tokens and $12.00 per 1M output tokens (official direct provider rate), verified on 2026-11-30.

Does Google: Gemini 3.1 Pro Preview Custom Tools support prompt caching or batch discounts?

Yes, cached input reads cost $0.2 per 1M tokens (90% off standard input). Batch API reduces rates to $1.00 input and $6.00 output per 1M tokens.

What is the context window and max output for Google: Gemini 3.1 Pro Preview Custom Tools?

Google: Gemini 3.1 Pro Preview Custom Tools supports a 1,048,576-token context window and up to 65,536 output tokens per completion.