Google: Gemini 3.1 Pro Preview
Chatgoogle/gemini-3.1-pro-previewGemini 3.1 Pro is the next generation in the Gemini series of models, a suite of highly-capable, natively multimodal, reasoning models. Gemini 3 Pro is now Google’s most advanced model for complex tasks, and can comprehend vast datasets, challenging problems from different information sources, including text, audio, images, video, and entire code repositories
上下文窗口
1M
最大输出 Token
66K
发布日期
2026-02-19
能力
视觉函数调用推理提示缓存网络搜索音频输入视频输入PDF 输入
可用供应商
Vertex
支持的协议
openaigemini
供应商
Vertex
输入 Token
$2/M
输出 Token
$12/M
缓存读取
$0.2/M
缓存写入
$4.5/M
音频输入
$2/M
缓存音频
$0.2/M
网络搜索
$0.014/R
接入协议
openai
/v1/chat/completionsgemini
代码示例
from google import genaiclient = genai.Client(api_key="YOUR_OFOX_API_KEY",http_options={"api_version": "v1beta", "base_url": "https://api.ofox.io/gemini"},)response = client.models.generate_content(model="google/gemini-3.1-pro-preview",contents="Hello!",)print(response.text)
运行状态
第三方评测
LMArena ↗评测条目:gemini-3.1-pro-preview
Google: Gemini 3.1 Pro Preview 在 LMArena 文本榜单(风格控制) 综合类别中获得 1486 分,在 374 个模型中排名第 9,基于 79,682 次人类偏好投票(更新于 2026-07-12)。
| 类别 | Arena 分数 | 95% 置信区间 | 排名 | 投票数 |
|---|---|---|---|---|
| 综合 | 1486 | 1482–1489 | 第 9 / 374 名 | 79,682 |
| 困难任务 | 1506 | 1502–1511 | 第 9 / 374 名 | 50,878 |
| 编程 | 1521 | 1515–1527 | 第 18 / 369 名 | 21,775 |
| 数学 | 1491 | 1481–1501 | 第 12 / 362 名 | 4,320 |
| 创意写作 | 1478 | 1472–1485 | 第 8 / 372 名 | 13,330 |
| 指令遵循 | 1481 | 1476–1486 | 第 10 / 374 名 | 26,008 |
| 中文 | 1527 | 1517–1538 | 第 11 / 344 名 | 4,170 |
来源:LMArena · CC BY 4.0 · 更新于 2026-07-12 · 评测方法 ↗ · 排名为 LMArena 文本榜单(风格控制) 各类别内的比较,分数来自第三方人类偏好评测,并非 OFOX 官方评分。
相关模型
常见问题
Google: Gemini 3.1 Pro Preview 在 Ofox.ai 上的价格为输入 $2/M/百万 Token,输出 $12/M/百万 Token。按量计费,无月费。
Google: Gemini 3.1 Pro Preview 支持 1M Token 的上下文窗口,最大输出 66K Token,可处理大型文档并维持长对话。
只需将 base URL 设置为 https://api.ofox.io/v1,并使用你的 Ofox API Key。API 兼容 OpenAI 格式——只需更改 base URL 和 API Key 即可。
Google: Gemini 3.1 Pro Preview 支持以下能力:视觉, 函数调用, 推理, 提示缓存, 网络搜索, 音频输入, 视频输入, PDF 输入。通过 Ofox.ai 统一 API 访问所有功能。