AiCostCompare

Gemini 3.1 Pro Preview Custom Tools

by Google · google/gemini-3.1-pro-preview-customtools · #277 cheapest of 325 paid models

Prices updated Jul 22, 2026, 2:49 AM UTC · refreshed hourly

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...

Compare vs:Claude Sonnet 5Claude Opus 4.6Claude Haiku 4.5GPT-5.6 Sol

Pricing

Input

$2.00

per 1M tokens

Output

$12.00

per 1M tokens

Blended (3:1)

$4.50

3 input : 1 output

Cache read

$0.20

per 1M cached tokens

Cache write

$0.375

per 1M tokens

Cache & batch economics

Effective prices for Gemini 3.1 Pro Preview Custom Tools with prompt caching.

Cache hit rateEffective blended $/1MExample request*vs no cache
0%$4.50$0.216
50%$3.83$0.126−42%
90%$3.29$0.054−75%

*Example: 100K sticky context + 2K new input + 1K output. Batch discount is an approximate 50% off list rates for this provider’s batch API. Confirm on the vendor’s pricing page.

What a request costs

WorkloadInput tokensOutput tokensCost / requestCost / 1K requests
Short chat message500300$0.0046$4.60
Document summary8,0001,000$0.028$28.00
Codebase question (RAG)30,0002,000$0.084$84.00
Long-context analysis150,0005,000$0.36$360.00

Specs

Context window

1.05M

tokens

Max output

66K

tokens

Input modalities

text, audio, image, video, file

Tokenizer

Gemini