Gemini 3.1 Pro Preview Custom Tools
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.
google/gemini-3.1-pro-preview-customtools
- Context
- 1M tokens
- Completion cap
- 65,536
- Tools
- Yes
- JSON
- Yes
- Released
- 2026-02-25
Call it from Geek Hub
Same OpenAI SDK. Change the base URL and the model id.
curl https://api.geekhub.mx/v1/chat/completions \
-H "Authorization: Bearer $GEEKHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-3.1-pro-preview-customtools",
"messages": [{"role": "user", "content": "Hola"}]
}'Get an API keyFrequently asked questions
- What is Gemini 3.1 Pro Preview Custom Tools?
- 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. Gemini 3.1 Pro Preview Custom Tools runs on the Geek Hub API (OpenAI-compatible). Model id: google/gemini-3.1-pro-preview-customtools.
- Is Gemini 3.1 Pro Preview Custom Tools free?
- No. $2.1801 per minute on Geek Hub.
- What is the context length of Gemini 3.1 Pro Preview Custom Tools?
- Gemini 3.1 Pro Preview Custom Tools has a 1M tokens context window. It supports up to 65,536 completion tokens.
- When was Gemini 3.1 Pro Preview Custom Tools released?
- Gemini 3.1 Pro Preview Custom Tools was released on 2026-02-25.
More models from Google
Gemini 2.5 FlashFlash with hybrid reasoning. Price went up in the July refresh ($0.15/$0.60 → $0.30/$2.50) reflecting the provider change.
Gemini 2.5 Flash ImageReplaces Imagen 4. Excellent with text embedded in the image (much better than Flux/DALL·E) at the catalog's lowest price.
Gemini 2.5 Flash-LiteCheapest in the catalog with 1M context. Output at $0.40 / 1M. Alternative when you want to minimize cost.
Gemini 2.5 Pro2M context, multimodal, reasoning. Google updated output pricing ($5 → $10) in the July refresh.
Gemini 3.1 Flash-Lite3.1 Flash-Lite. Cheap and fast for classification, extraction, and light chat.
Gemini 3.1 Pro (preview)Preview of the 3.1 Pro flagship. 2M context. Price for ≤200k tokens tier; scales ~2x above that.