All Models

Gemini 3.1 Pro Preview Custom Tools

gemini-pro Reasoning Tool Calling Attachments Structured Output

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.

Providers 3
Released Feb 19, 2026
Input Modalities text, image, audio, video, pdf
Output Modalities text
Tarsk Use coding

Available Providers (3)

Provider Model ID Input Cost Output Cost Context Max Output Docs
OpenRouter google/gemini-3.1-pro-preview-customtools $2.00/MTok $12.00/MTok 1.0M 65.5K
Vertex gemini-3.1-pro-preview-customtools $2.00/MTok $12.00/MTok 1.0M 65.5K
Google gemini-3.1-pro-preview-customtools $2.00/MTok $12.00/MTok 1.0M 65.5K

Capabilities

Reasoning
Tool Calling
Attachments
Open Weights
Structured Output