google logo
google

Google: 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 or user-defined functions are available. $2 per million input tokens, $12 per million output tokens. 1,048,576 token context window, maximum output of 65,536 tokens.

Overview

Model specifications

Context
1,048,576 tokens
Maximum output
65,536 tokens
Architecture
text+image+file+audio+video->text
Tokenizer
Gemini
Knowledge cutoff
Not provided
Moderated
No
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$2
/M tokens
  • ≤200K$2
  • >200K$4
Output
$12
/M tokens
  • ≤200K$12
  • >200K$18
Cache read
$0.2
/M tokens
  • ≤200K$0.2
  • >200K$0.4
Cache write
$0.375
/M tokens
Image Input
$2
/M tokens
Input Audio
$2
/M tokens
  • ≤200K$2
  • >200K$4
Input Audio Cache
$0.2
/M tokens
  • ≤200K$0.2
  • >200K$0.4
API

Model configuration

Reasoning

Moderated
Yes
Default parameters
medium
Capabilities
high, medium, low
API

Quick start

Call this exact model ID through OpenRouter’s OpenAI-compatible API.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"google/gemini-3.1-pro-preview-customtools","messages":[{"role":"user","content":"Hello!"}]}'
Capabilities

InputOutput

Input
textaudioimagevideofile
Output
text
Reasoning

No · high · medium · low

API

Supported API parameters

include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p
Available providers

1 Provider

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

Google AI Studio

unknown
Context
1.0M
Maximum output
66K
Input
$2.00
Output
$12.00
Cache read
$0.200
Cache write
$0.375
google

models

All models
google logogoogle

Google: Gemini 3.7 Flash

Gemini 3.7 Flash is a multimodal model from Google for fast agentic workflows, coding, and complex multi-step reasoning. It is designed for tasks that require responsive performance and reliable multi-step...

Context
1.0M
Input
text · image · video · file · audio
Output
text
Input: $0.750Output: $3.75per 1M tokens
View model details
google logogoogle

Google: Gemini 3.7 Flash (batch)

Gemini 3.7 Flash is a multimodal model from Google for fast agentic workflows, coding, and complex multi-step reasoning. It is designed for tasks that require responsive performance and reliable multi-step...

Context
1.0M
Input
text · image · video · file · audio
Output
text
Input: $0.188Output: $0.938per 1M tokens
View model details
google logogoogle

Google: Gemini 3.6 Flash

Gemini 3.6 Flash is a high-efficiency model from Google for coding, agentic workflows, and web and app development. It is designed to produce polished outputs with fewer unnecessary edits and...

Context
1.0M
Input
text · image · video · file · audio
Output
text
Input: $0.750Output: $3.75per 1M tokens
View model details
google logogoogle

Google: Gemini 3.6 Flash (batch)

Gemini 3.6 Flash is a high-efficiency model from Google for coding, agentic workflows, and web and app development. It is designed to produce polished outputs with fewer unnecessary edits and...

Context
1.0M
Input
text · image · video · file · audio
Output
text
Input: $0.375Output: $1.88per 1M tokens
View model details