Google: Gemini 3.1 Pro Preview Custom Tools

google/gemini-3.1-pro-preview-customtools

Description

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.

How this model compares

Overall covers the full catalog. By plan covers only models available on that tier (same rules as available models in your list). Position on min–average–max. Prices use the higher of prompt or completion per token, shown per 1M tokens.

Price (per 1M tokens)

Min
Max
This model
336 models in this groupPrice (per 1M tokens)
Min
$0.04
Avg
$12.381012
Max
$750.00
This model: $12.00 / 1M tokens

Context length (tokens)

Min
Max
This model
336 models in this groupContext length (tokens)
Min
4,095 tokens
Avg
382,115.467 tokens
Max
10,000,000 tokens
This model: 1,048,756 tokens

Capabilities

text+image+file+audio+video->textContext: 1,048,576 tokens
Input:
VideoTextAudioImageFile
Output:
Text
    Google: Gemini 3.1 Pro Preview Custom Tools