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 key,然后向 https://api.sandbase.ai 的 Chat Completions API (/v1/chat/completions) 或 Gemini generateContent API (/v1beta/models/google/gemini-3.1-pro-preview-customtools:generateContent) 发送请求,模型 ID 使用“google/gemini-3.1-pro-preview-customtools”。本页的请求示例展示了准确的请求负载。

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 的上下文窗口是多少?

上下文为 1M 个 token,每次响应最多输出 65.5K 个 token。

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

Google Gemini 3.1 Pro Preview Custom Tools 支持 视觉(图像输入), 推理, 函数调用, 结构化输出。完整列表请参见上方 Specifications。

我需要单独的 Google 账户吗?

不需要。一个 SandBase API key 和余额即可让您使用 Google Gemini 3.1 Pro Preview Custom Tools 以及目录中的其他模型;您无需单独注册 Google。