google / text-generation API-only released 2026-02-25

Gemini 3.1 Pro Preview Custom Tools

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

Input / 1M
$2.00
Output / 1M
$12.00
Context
1M
AA Intelligence
—
Closed weights — available only as a hosted API text + audio + image + video + file → text View on OpenRouter ↗

Pricing

via OpenRouter · USD per 1M tokens · synced 2026-10-24
$2.00
input / 1M
$12.00
output / 1M
$0.20
cached input / 1M
$14.00
1M in + 1M out
Price tiers
  • Above 200K prompt tokens: input $4.00/M, output $18.00/M (2× base)
Context window
1,048,576 tokens
Max output
65,536 tokens
Providers
1
Cheapest provider
Google AI Studio · $2.00 / $12.00
Best throughput
—
AA Intelligence / Coding / Agentic
— / — / —
✓ Tool calling ✓ Reasoning ✓ Structured outputs ✓ Image input ✓ File input ✓ Audio input ✓ Prompt caching

Price history

tracking started — chart appears after 7 days of snapshots (6 recorded)
Current: $2.00 input · $12.00 output per 1M tokens

Providers

1 provider · per 1M tokens · last 30 min metrics
ProviderQuantContextInputOutputUptimeTok/s
Google AI Studio unknown 1M $2.00 $12.00 — —
Provider data from OpenRouter's endpoint listing, refreshed daily.

Specifications

Organisation
google
Released on OpenRouter
2026-02-25
Context window
1,048,576 tokens
Max output
65,536 tokens
Input
text, audio, image, video, file
Output
text
Tokenizer
Gemini
Moderated by provider
No
OpenRouter id
google/gemini-3.1-pro-preview-customtools
Compare with
Prices, context and providers from the public OpenRouter API, snapshotted daily; benchmark indices from Artificial Analysis. See /methodology.