Gemini 3.1 Pro Preview Custom Tools

google/gemini-3.1-pro-preview-customtools
VisionAudioToolsJSONReasoning
by Google · 2026-02-25

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

ctx1.05M tokens
Max output65.5K
Inputtext + audio + image + video + file
Outputtext
p50 TTFT5.31 s
INPUT$4.00/ 1M tokens
OUTPUT$18.00/ 1M tokens
p50 TTFT5.31 s7d
p95 TTFT10.00 s7d
TRAFFIC1.8Mtokens / 7d

Google Gemini 3.1 Pro Preview Custom Tools is a preview‑stage large language model developed by Google. It is designed for tasks that require long‑form reasoning, large context windows, and…

What is Google Gemini 3.1 Pro Preview Custom Tools?

Who is this model intended for?

Key features at a glance

Code samples

Call from any SDK

OpenAI-compatible — keep the SDK you already use

  • OpenAI SDKhttps://api.orcarouter.ai/v1
  • Gemini SDKhttps://api.orcarouter.ai
from openai import OpenAI

client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key="$ORCAROUTER_API_KEY",
)

response = client.chat.completions.create(
    model="google/gemini-3.1-pro-preview-customtools",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Supported parameters

  • include_reasoning
  • max_tokens
  • reasoning
  • response_format
  • seed
  • stop
  • structured_outputs
  • temperature
  • tool_choice
  • tools
  • top_p

Pricing

Input / 1M tokens$4.00
Output / 1M tokens$18.00
Cache read / 1M$0.400
CurrencyUSD

Cost calculator

Tokens / month10MM
Input share70%%
Estimated / month $82.00 · With prompt caching $69.40

Estimate based on list price

Token & cost estimator

Input tokens: 20Cost per request: $0.009080

Estimate only — actual token counts depend on the provider's tokenizer.

Performance

p50 TTFT
5.31 s
Output speed
739 tok/s
p95 TTFT
10.00 s
Error rate
0%

Public benchmarks

55.5
AA Coding
Better than 75% of models compared
#25 of 106
57.2
AA Intelligence
Better than 80% of models compared
#21 of 110
GPQA Diamond
94.1
Humanity's Last Exam
44.7
IFBench
77.1
Long-Context Recall
72.7
SciCode
58.9
TerminalBench Hard
53.8
τ²-Bench
95.6
Source: artificialanalysis.ai

How it compares

Gemini 3.1 Pro Preview Custom ToolsGemini 3.1 Pro PreviewGemini 3 Flash PreviewGemini 3.5 Flash
Input $/M$4.00$2.00$0.50$1.50
Output $/M$18.00$12.00$3.00$9.00
Context1.0M1.0M1.0M1.0M
Quality10/1010/109/109/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

What is the cost to use Google Gemini 3.1 Pro Preview Custom Tools?
Pricing is $4.00 per 1 million input tokens and $18.00 per 1 million output tokens. These are billed at the provider rate with zero markup when accessed through OrcaRouter.
What is the context window size?
The context window is 1,048,576 tokens (approximately 1 million tokens). Maximum output is 65,536 tokens per request.
What are the model's main strengths?
It excels at tasks requiring tool use (scored 95.6 on τ²-Bench), has a very large context window, and accepts multimodal input (text, audio, image, video, file).
How does it compare to Gemini 1.5 Pro?
This preview model has a higher τ²-Bench score and is optimised for custom tool use. It is more expensive than Gemini 1.5 Pro, which may be suitable if you do not need the latest tool‑use performance.
How can I call this model via an OpenAI‑compatible API?
Set base URL to https://api.orcarouter.ai/v1, model ID to google/gemini-3.1-pro-preview-customtools, and use your OrcaRouter API key. The API follows OpenAI's chat completions format.
What input modalities does it support?
It supports text, audio, image, video, and file inputs. These can be combined in a single request for multimodal reasoning.
How does data handling work?
The available facts do not specify data retention or privacy policies. You should consult OrcaRouter's terms of service and Google's data usage policies for details on how your data is handled.
Is there any caching or prompt caching available?
No information about caching is provided in the available facts. Check OrcaRouter's documentation for any caching features that may reduce costs for repeated inputs.
What is the expected latency?
Exact latency figures are not provided. In general, models with large context windows may have higher latency due to processing time. Test with your own workloads to determine performance.
Can I use this model for production?
It is a preview model, so it may have lower reliability or uptime guarantees compared to stable releases. Use it for prototyping and evaluation; consider stable models for production systems.

Embed this badge

Google: Gemini 3.1 Pro Preview Custom Tools$4.00/M in5312ms p50via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/google/gemini-3.1-pro-preview-customtools" target="_blank"> <img src="https://www.orcarouter.ai/embed/google/gemini-3.1-pro-preview-customtools.svg" alt="Google: Gemini 3.1 Pro Preview Custom Tools on OrcaRouter" /> </a>
Markdown [![Google: Gemini 3.1 Pro Preview Custom Tools](https://www.orcarouter.ai/embed/google/gemini-3.1-pro-preview-customtools.svg)](https://www.orcarouter.ai/models/google/gemini-3.1-pro-preview-customtools)

Model card as data

GET /api/public/models/google/gemini-3.1-pro-preview-customtoolsOpen
Machine-readable:/llms.txt/llms-full.txt