Back to Models
Google: Gemini 3.1 Pro Preview Custom Tools
google/gemini-3.1-pro-preview-customtoolsFeb 25, 20261.0M context65.5K max output$2.00/M in · $12.00/M outReasoning
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.
Specifications
Provider
google
Context Length
1.0M
Max Output
65.5K
Modality
Intextaudioimagevideofile
Outtext
Pricing
| Type | ≤200K | >200K |
|---|---|---|
| Input | $2.00 | $4.00 |
| Output | $12.00 | $18.00 |
| Cache Read | $0.20 | $0.40 |
| Cache Write | $0.38 | $0.38 |
| Audio Input | $2.00 | $4.00 |
| Audio Cache | $0.20 | $0.40 |
| Reasoning | $12.00 |
| Image Input | $2.00 |
| Web Search | $0.01 / call |
Quick Start
curl https://api.ominigate.ai/v1/chat/completions \
-H "Authorization: Bearer sk-omg-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-3.1-pro-preview-customtools",
"messages": [{"role": "user", "content": "Hello!"}]
}'