Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Gemini 3.1 Pro Preview Custom Tools

15% 折扣google/gemini-3.1-pro-preview-customtools

Gemini 3.1 Pro Preview Custom Tools is a separate endpoint of Google's Gemini 3.1 Pro Preview, the Pro-tier reasoning model of the Gemini 3 series, tuned for agentic workflows that mix bash with custom tools. Google says it is better at prioritizing user-defined functions, such as file viewing or code search tools, over a general bash tool. Pick it for coding agents built on custom tools; Google notes quality may fluctuate in use cases that do not benefit from such tools, where the standard 3.1 Pro Preview fits better.

閱讀更多
輸入價格
$1.70$2.00美元/100 萬 token
輸出價格
$10.20$12.00美元/100 萬 token
快取讀取
$0.17$0.20美元/100 萬 token
上下文視窗
1M
最大輸出
65.5K

規格

功能聊天視覺推理結構化輸出函式呼叫音訊輸入
輸入
文字, 圖片, 音訊
輸出
文字
可用

關於這個模型

Gemini 3.1 Pro Preview Custom Tools is a separate endpoint of Google's Gemini 3.1 Pro Preview, the Pro-tier reasoning model of the Gemini 3 series, tuned for agentic workflows that mix bash with custom tools. Google says it is better at prioritizing user-defined functions, such as file viewing or code search tools, over a general bash tool. Pick it for coding agents built on custom tools; Google notes quality may fluctuate in use cases that do not benefit from such tools, where the standard 3.1 Pro Preview fits better.

問題

常見問題

我要如何透過 SandBase 呼叫 Google Gemini 3.1 Pro Preview Custom Tools?

先建立一組 SandBase API 金鑰,接著使用模型 ID「google/gemini-3.1-pro-preview-customtools」向 https://api.sandbase.ai 的 Chat Completions API (/v1/chat/completions) 或 Gemini generateContent API (/v1beta/models/google/gemini-3.1-pro-preview-customtools:generateContent) 發送請求。此頁的請求範例會顯示完整的 payload。

Google Gemini 3.1 Pro Preview Custom Tools 的費用是多少?

每 100 萬個輸入 token $1.70、每 100 萬個輸出 token $10.20,並套用目前 15% 折扣(定價為 $2/$12),費用會依每次請求從您的 SandBase 餘額中扣除。

Google Gemini 3.1 Pro Preview Custom Tools 的 context window 是多少?

1M 個 context token,每次回應最多可輸出 65.5K 個 output token。

Google Gemini 3.1 Pro Preview Custom Tools 支援哪些功能?

Google Gemini 3.1 Pro Preview Custom Tools 支援 視覺辨識(圖片輸入), 推理, 函式呼叫, 結構化輸出。完整清單請參閱上方的 Specifications。

我需要另外申請 Google 帳號嗎?

不需要。一組 SandBase API 金鑰與餘額即可讓您存取 Google Gemini 3.1 Pro Preview Custom Tools 以及目錄中的其他模型;您不需要另外註冊 Google。