Google model
Gemini 3.1 Pro Preview Custom Tools API cost calculator
Gemini 3.1 Pro Preview Custom Tools costs $2 per 1M input tokens and $12 per 1M output tokens on the Google API, with a 1.0M-token context window. A typical request (2K input, 500 output tokens) costs $0.01 — about $300/month at 1,000 requests per day. Use the calculator below to model your exact workload.
Find me a cheaper modelWhat real workloads cost on Gemini 3.1 Pro Preview Custom Tools
| Workload | Tokens (in / out) | Per request | Per 1K requests |
|---|---|---|---|
| Chatbot message | 500 / 300 | $0.0046 | $4.60 |
| RAG query with context | 4,000 / 500 | $0.01 | $14.00 |
| Document summarization | 20,000 / 1,000 | $0.05 | $52.00 |
| Agent coding session | 100,000 / 5,000 | $0.26 | $260 |
Gemini 3.1 Pro Preview Custom Tools vs other Google models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| Gemini 3.1 Pro Preview Custom Tools | $2 | $12 | 1.0M |
| Gemini 3.8 Flash | $0.75 | $3.75 | 1.0M |
| Gemini 3.7 Flash | $0.75 | $3.75 | 1.0M |
| Gemini 3.6 Flash | $0.75 | $3.75 | 1.0M |
| Gemini 3.5 Flash Lite | $0.30 | $2.50 |
Frequently asked questions
How much does Gemini 3.1 Pro Preview Custom Tools cost per 1M tokens?
According to current pricing data, Gemini 3.1 Pro Preview Custom Tools costs $2 per 1M input tokens and $12 per 1M output tokens. Processing 1M tokens each way costs $14.00.
What does a typical API request to Gemini 3.1 Pro Preview Custom Tools cost?
A typical request with 2,000 input tokens and 500 output tokens costs $0.01. At 1,000 requests per day that is $10.00 daily, or about $300 per month.
What is Gemini 3.1 Pro Preview Custom Tools's context window?
Gemini 3.1 Pro Preview Custom Tools supports a 1.0M-token context window (1,048,576 tokens).
Does Gemini 3.1 Pro Preview Custom Tools support prompt caching?
Yes. Cached input tokens cost $0.20 per 1M — a 90% discount versus the standard input rate, which matters for agents and chat apps that resend the same system prompt.
What is a cheaper alternative to Gemini 3.1 Pro Preview Custom Tools?
Granite 4.0 Micro from Ibm-granite is currently the cheapest comparable option at $0.02 per 1M input tokens versus $2 for Gemini 3.1 Pro Preview Custom Tools — roughly 118x cheaper on input.
Prices may differ from Google's official pricing page for batch, tiered, or fine-tuned usage. Compare all current prices on the live model pricing dashboard, see Gemini 3.1 Pro Preview Custom Tools vs Granite 4.0 Micro pricing, or run Gemini 3.1 Pro Preview Custom Tools head-to-head against other models in the side-by-side comparison playground.
Pricing data via the OpenRouter models API.