Gemini 3.1 Pro Preview Custom Tools API Pricing

Google · released Feb 19, 2026 · 1.05M context · API model ID gemini-3.1-pro-preview-customtools

Gemini 3.1 Pro Preview Custom Tools by Google API pricing: $2.00 per 1M input tokens and $12.00 per 1M output tokens (verified against the official pricing page, Oct 9, 2026).

Prices

Gemini 3.1 Pro Preview Custom Tools prices, USD per 1M tokens
PriceUSD per 1M tokens
Input$2.00
Output$12.00
Cache read$0.20
Cache writeNot published
Batch input$1.00
Batch output$6.00

Verified against the provider's official pricing page on Oct 9, 2026. Official pricing page

Estimated monthly cost

$2,400

per month

per day
$80.00
per request
$0.008

Cost = input tokens × input price + output tokens × output price, 30 days a month. Cached input uses the cache read price. Cache write fees are not included.

Compare this workload across models

Long-context prices

Prompts longer than the threshold are billed at a higher rate.

Prompts overInputOutputCache readCache write
200,000 tokens$4.00$18.00$0.40Not published

Monthly cost by workload

WorkloadPer month
Chatbot1,000 in / 500 out tokens, 10,000 requests a day$2,400/mo
RAG8,000 in / 500 out tokens, 5,000 requests a day$3,300/mo
Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input$1,560/mo

Context and capabilities

Context
1,048,576 tokens
Max output
65,536 tokens
Input
text, image, video, audio, pdf
Output
text
Knowledge cutoff
January 2025
Open weights
No
Tool calling
Yes
Reasoning
Yes
Structured outputs
Yes

Capabilities and limits as listed by models.dev.

Similarly priced models

Price history

No price changes since we started tracking on Oct 8, 2026.

Questions

How much does Gemini 3.1 Pro Preview Custom Tools cost per month?
For a chatbot handling 10,000 requests a day with 1,000 input and 500 output tokens each, Gemini 3.1 Pro Preview Custom Tools costs about $2,400 per month at the provider's official prices (verified) ($2.00 per 1M input tokens, $12.00 per 1M output tokens).
Does Gemini 3.1 Pro Preview Custom Tools support prompt caching?
Yes. Cached input costs $0.20 per 1M tokens, compared with $2.00 for regular input.
How long is Gemini 3.1 Pro Preview Custom Tools's context window?
Gemini 3.1 Pro Preview Custom Tools accepts up to 1,048,576 tokens (1.05M) of context and returns up to 65,536 tokens per response.
Does Gemini 3.1 Pro Preview Custom Tools have a batch price?
Yes. Asynchronous batch requests cost $1.00 per 1M input tokens and $6.00 per 1M output tokens.