google logo
google

Google: 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...

模型概览

模型规格

上下文
1,048,576 tokens
最大输出
65,536 tokens
架构
text+image+file+audio+video->text
分词器
Gemini
知识截止时间
暂未提供
内容审核
OPENROUTER

完整价格

同步自 OpenRouter。Token 价格均按每百万 Token 展示。

输入
$2
每百万 Token
  • ≤200K$2
  • >200K$4
输出
$12
每百万 Token
  • ≤200K$12
  • >200K$18
缓存读取
$0.2
每百万 Token
  • ≤200K$0.2
  • >200K$0.4
缓存写入
$0.375
每百万 Token
图片输入
$2
每百万 Token
音频输入
$2
每百万 Token
  • ≤200K$2
  • >200K$4
Input Audio Cache
$0.2
每百万 Token
  • ≤200K$0.2
  • >200K$0.4
API

模型配置

推理能力

是否必须推理
默认参数
medium
能力与模态
high, medium, low
API

快速调用

在本地设置 OPENROUTER_API_KEY。Python 需安装 requests;JavaScript 在 Node.js 中运行。密钥应保存在服务端。

API 文档

curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"google/gemini-3.1-pro-preview-customtools","messages":[{"role":"user","content":"Hello!"}]}'
能力与模态

输入输出

输入
textaudioimagevideofile
输出
text
推理能力

· high · medium · low

API

支持的 API 参数

include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p
可用提供方

1 提供方

核验日期: 2026年9月7日

在 OpenRouter 查看实时 Provider

Provider 可用性、延迟、吞吐量和路由会持续变化,请前往来源页面查看实时运行数据。

OpenRouter

Google AI Studio

暂未提供
上下文
1.0M
最大输出
66K
输入
$2
输出
$12
缓存读取
$0.2
缓存写入
$0.375
google

4 个模型

全部模型
google logogoogle

Google: Gemini 3.8 Flash

Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.

上下文
1.0M
输入
text · image · video · file · audio
输出
text
输入: $0.75输出: $3.75每百万 Token
查看模型详情
google logogoogle

Google: Gemini 3.8 Flash (batch)

Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.

上下文
1.0M
输入
text · image · video · file · audio
输出
text
输入: $0.375输出: $1.875每百万 Token
查看模型详情
google logogoogle

Google: Gemini 3.7 Flash

Gemini 3.7 Flash is a multimodal model from Google for fast agentic workflows, coding, and complex multi-step reasoning. It is designed for tasks that require responsive performance and reliable multi-step...

上下文
1.0M
输入
text · image · video · file · audio
输出
text
输入: $0.75输出: $3.75每百万 Token
查看模型详情
google logogoogle

Google: Gemini 3.7 Flash (batch)

Gemini 3.7 Flash is a multimodal model from Google for fast agentic workflows, coding, and complex multi-step reasoning. It is designed for tasks that require responsive performance and reliable multi-step...

上下文
1.0M
输入
text · image · video · file · audio
输出
text
输入: $0.375输出: $1.875每百万 Token
查看模型详情