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.
定價資訊
快速開始
只需更改 base_url 即可透過 BazaarLink API 使用 Gemini 3.1 Pro Preview Customtools:
from openai import OpenAI
client = OpenAI(
base_url="https://bazaarlink.ai/api/v1",
api_key="sk-bl-YOUR_API_KEY",
)
response = client.chat.completions.create(
model="google/gemini-3.1-pro-preview-customtools",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://bazaarlink.ai/api/v1",
apiKey: "sk-bl-YOUR_API_KEY",
});
const response = await client.chat.completions.create({
model: "google/gemini-3.1-pro-preview-customtools",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);為什麼透過 BazaarLink 使用 Gemini 3.1 Pro Preview Customtools?
- ✓美元計費(台幣報價)+ 統一發票 — 台灣團隊無需海外刷卡
- ✓OpenAI 相容 API — 無需改寫程式碼
- ✓自動故障轉移 — 同模型多供應商備援
- ✓中文客服支援 — 在地團隊即時協助
Frequently Asked Questions
What is 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.
How much does the Gemini 3.1 Pro Preview Customtools API cost?
Gemini 3.1 Pro Preview Customtools costs $2.0000 per 1K input tokens and $12.0000 per 1K output tokens when accessed through BazaarLink.
How do I use Gemini 3.1 Pro Preview Customtools with the OpenAI SDK?
Set base_url to "https://bazaarlink.ai/api/v1" and use model ID "google/gemini-3.1-pro-preview-customtools". All OpenAI SDK methods (chat.completions, embeddings, streaming) work without code changes.
What is the context window for Gemini 3.1 Pro Preview Customtools?
Gemini 3.1 Pro Preview Customtools supports a context window of 1,048,576 tokens.
Is Gemini 3.1 Pro Preview Customtools available for free?
Gemini 3.1 Pro Preview Customtools is a paid model. BazaarLink offers free trial credits on registration so you can test it without a credit card.