Models Model details

Google

Google: Gemini 3.1 Pro Preview Custom Tools

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
$2

/ 1M tokens

Output
$12

/ 1M tokens

Context window
1.05M

tokens

Limits

Context

1,048,576

tokens

Max output

65,536

6.3% of the context window

Model facts

Author

Google

Tokenizer

Gemini

Modality

Text + Image + File + Audio + Video -> Text

Created

Feb 25, 2026

Reasoning

RequiredDefault MediumHighMediumLow

Publication status

Hugging Face: not mappedLicense: not publishedParameter count: not published

Modalities

Input · TextInput · AudioInput · ImageInput · VideoInput · FileOutput · Text

Generation controls

Include reasoningMax tokensReasoningReasoning effortResponse formatSeedStructured outputsTemperatureTool choiceToolsTop p