Atlas / Models / Google / Google: Gemini 3.1 Pro Preview Custom Tools

Google: Gemini 3.1 Pro Preview Custom Tools✓ Catalog verified

google/gemini-3.1-pro-preview-customtools

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. This specialized preview endpoint significantly increases function calling reliability and ensures the model selects the most appropriate tool in coding agents and complex, multi-tool workflows. It retains the core strengths of Gemini 3.1 Pro, including multimodal reasoning across text, image, video, audio, and code, a 1M-token context window, and strong software engineering performance.

Input price
$2.00 /1M
Output price
$12.00 /1M
Context
1.0M
Modalities
textaudioimagevideo
Released
Feb 25, 2026
Tool calling
✓ Yes
Atlas signal
92/100
01

Overview

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. This specialized preview endpoint significantly increases function calling reliability and ensures the model selects the most appropriate tool in coding agents and complex, multi-tool workflows. It retains the core strengths of Gemini 3.1 Pro, including multimodal reasoning across text, image, video, audio, and code, a 1M-token context window, and strong software engineering performance.

Access: available through the official Google API. Context window: 1.0M.

Pricing and metadata from the ModelsAtlas catalog.Last refreshed Aug 5, 2026
02

Specifications

API identifiergoogle/gemini-3.1-pro-preview-customtools
ProviderGoogle
Model typeMultimodal LLM
Context window1.0M catalog
Input modalitiestext · audio · image · video · file
Output modalitiestext
ReleasedFeb 25, 2026
TokenizerGemini
ModeratedNo
Architecture modalitytext+image+file+audio+video->text
Supported parameters
include_reasoningmax_tokensreasoningresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_p
Source: provider documentation + catalog feedMethodology →

API defaults

Default parameters
{
  "top_p": null,
  "temperature": null,
  "frequency_penalty": null
}
03

Pricing

Live pricing components for google/gemini-3.1-pro-preview-customtools as published in the catalog.

$2.00
Input /1M
$12.00
Output /1M
Per request
$0.000002
Per image
Pricing componentRaw unit priceNormalizedUnit
Prompt tokens$0.000002$2.00 / 1MPer input token
Completion tokens$0.000012$12.00 / 1MPer output token
Request feeN/AN/APer request
Image fee$0.000002$0.000002Per image unit
Web search feeN/AN/APer search request
Source: catalog pricing feedCompare all pricing →Cheapest models →
04

Cost calculator

Estimate monthly spend from your own token volumes.

Scale / Volume

Estimated Total Cost

$3.4Calculated from current list pricing in the ModelsAtlas catalog.
05

Capabilities

CapabilityStatusWhat it means
Visual Understanding✓ SupportedImage and document analysis support
Audio Processing✓ SupportedSpeech and voice aligned flows
Tool Calling✓ SupportedSupports tools / function calling
Self-HostingNot advertisedDeploy outside managed APIs
Derived from catalog capability tags and supported parameters
06

Capability signals

Directional signals derived from model metadata and capability tags — not official benchmark submissions.

Google: Gemini 3.1 Pro Preview Custom Tools
MMLU Signal (Reasoning)
97signal
Coding Signal (HumanEval proxy)
97signal
Math Signal (GSM8K proxy)
87signal
Science Signal (GPQA proxy)
87signal
Estimated from metadata — not an official benchmark runAll benchmarks →Methodology →
07

Quick start

Call Google: Gemini 3.1 Pro Preview Custom Tools through an OpenAI-compatible client.

from openai import OpenAI

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="google/gemini-3.1-pro-preview-customtools",
    messages=[{"role": "user", "content": "Explain quantum physics."}]
)

print(response.choices[0].message.content)
08

Alternatives

Closest models by context window from a different provider.

09

Sources & attribution

Pricing and metadata are maintained in the ModelsAtlas catalog.

Capability bars use metadata tags — directional estimates onlyHow we source and verify data →
10

Frequently asked questions

How much does Google: Gemini 3.1 Pro Preview Custom Tools cost?

$2.00 per 1M input tokens and $12.00 per 1M output tokens on the official Google API.

What is the context window of Google: Gemini 3.1 Pro Preview Custom Tools?

Google: Gemini 3.1 Pro Preview Custom Tools supports up to 1.0M tokens of context.

Does Google: Gemini 3.1 Pro Preview Custom Tools support tool / function calling?

Yes, Google: Gemini 3.1 Pro Preview Custom Tools supports tool / function calling — you can register tools and the model will emit structured tool calls.

How do I access Google: Gemini 3.1 Pro Preview Custom Tools?

Use the official Google API with the model id `google/gemini-3.1-pro-preview-customtools`. See the Quick start section above for code examples.