gemini-3.1-pro-previewGemini 3.1 Pro Preview 支持文字、图片、音视频与 PDF 理解,适合复杂推理、软件工程和多步骤工具协作。
比較同一模型在不同供應商的價格與服務表現。
| 供應商 | Discount | 輸入/M | 輸出/M | 緩存讀取/M | ||
|---|---|---|---|---|---|---|
Google AI Studio 谷歌官方接口 | 省50% | $1 | $4 | $0.1 | ||
Google Vertex 谷歌官方接口 | 省30% | $1.4 | $5.6 | $0.14 | ||
Gemini Cli Gemini cli 号池,适合 vibe coding学习等场景 | 省90% | $0.2 | $0.8 | $0.02 |
左右滑動表格,查看完整價格與效能。
標準化評測得分。百分比越高越好,並展示排名百分位。
指標來源:Artificial Analysis 2026-09-30·Gemini 3.1 Pro Preview
目前基準快照不包含此模型。
缺少模型或測量值不代表零分。
基準圖表保留來源中的模型選擇和推理設定。缺少模型或測量值不代表零分,基準成本或速度也不是本站的服務承諾。
Gemini 3.1 Pro Preview 适合同时涉及复杂推理与多种输入的工作。你可以把 PDF 方案、演示视频、会议录音和代码说明一起提供,让它分析同一项目中的需求、操作过程与实现约束。它输出文字,适合形成技术报告、代码、摘要或结构化记录。
在软件工程中,它可参与代码理解、故障分析和实现计划,也适合需要多次工具调用的智能体任务。比如先读接口文档,再检查代码,最后根据测试结果修订方案。调用端提供工具后,模型可以选择何时查询、计算或调用业务函数;每一步的结果都应作为后续分析的依据。
音视频理解让它能回答文字资料之外的问题:从产品演示中整理操作步骤、从培训录音中提取讨论结论,或将视频里的界面变化与需求文档对照。请求中注明关注的时间段、人物或页面,会更容易得到针对性结果。它不是语音或视频生成模型,也不通过 Live API 提供实时对话。
长上下文适合阅读大型资料包,结构化输出方便将内容转换为系统字段。接入搜索 grounding、URL 上下文或代码执行工具后,还可以补充时效信息、阅读指定网页和核算数据;需要在请求中实际启用对应能力。对于图片中的表格和 PDF 扫描件,要求保留页码与原文摘录有助于复核。
能分析整段演示视频吗? 可以提交支持的视频输入,并说明要检查的行为,要求用时间位置标记发现。
适合长期固定流程吗? Preview 版本适合验证能力与构建应用,上线前应使用代表性样本检查格式、工具调用和任务完成率,并关注版本更新。
为材料命名,并指定最终需要解决的问题。
材料 A 是产品操作视频,材料 B 是功能需求 PDF。
检查视频中的登录、筛选和导出流程是否符合需求。
按功能列出:需求页码、视频时间点、实际表现、差异与复现步骤。
最后生成验收清单;视频看不到的功能标为“未展示”,不要判断为已完成。
代码与工具任务写清可调用工具、完成标准和错误处理方式。分析音频时可以要求区分原话、摘要和推断;使用搜索工具时指定日期范围和证据要求,让结论与引用的材料保持对应。
/v1beta/models/gemini-3.1-pro-preview:generateContent| 參數 | 類型 | 預設值 / 範圍 | 說明資訊 |
|---|---|---|---|
temperature | number | = 10 ~ 2 | 採樣溫度;越低越穩定 |
top_p | number | = 10 ~ 1 | 核採樣累積概率 |
max_tokens | integer | >= 1 | 回應中最大 token 數 |
frequency_penalty | number | = 0-2 ~ 2 | 懲罰高頻 token 的重複出現 |
presence_penalty | number | = 0-2 ~ 2 | 鼓勵引入新話題 |
stop | array | — | 最多 4 個停止生成的字串 |
seed | integer | — | 盡量保證可復現的採樣種子 |
n | integer | = 1>= 1 | 生成的候選條數 |
stream | boolean | = false | 透過 SSE 串流返回 token |
response_format | object | — | 強制輸出 JSON 物件或符合 Schema 的結果 |
tools | array | — | 模型可呼叫的工具 / 函數聲明 |
tool_choice | string | autononerequired | 工具選擇策略或具體工具名 |
logprobs | boolean | = false | 返回每個 token 的對數概率 |
top_logprobs | integer | 0 ~ 20 | 每個 token 返回的 top 概率數量 |
logit_bias | object | — | 按 token 的 logit 偏置映射 |
user | string | — | 用於風險審計的終端用戶標識 |
替換 <YOUR_API_KEY> 替換為 API 金鑰頁面中的金鑰。
所有請求必須攜帶 Authorization: Bearer <TOKEN> 請求頭。Anthropic 格式的端點也接受 x-api-key 請求頭。
在「令牌」頁面生成 API Key,可以按模型、分組、IP、速率等維度精細化授權。
| 參數 | 類型 | 預設值 / 範圍 | 說明資訊 |
|---|---|---|---|
temperature | number | = 10 ~ 2 | 採樣溫度;越低越穩定 |
top_p | number | = 10 ~ 1 | 核採樣累積概率 |
max_tokens | integer | >= 1 | 回應中最大 token 數 |
frequency_penalty | number | = 0-2 ~ 2 | 懲罰高頻 token 的重複出現 |
presence_penalty | number | = 0-2 ~ 2 | 鼓勵引入新話題 |
stop | array | — | 最多 4 個停止生成的字串 |
seed | integer | — | 盡量保證可復現的採樣種子 |
n | integer | = 1>= 1 | 生成的候選條數 |
stream | boolean | = false | 透過 SSE 串流返回 token |
response_format | object | — | 強制輸出 JSON 物件或符合 Schema 的結果 |
tools | array | — | 模型可呼叫的工具 / 函數聲明 |
tool_choice | string | autononerequired | 工具選擇策略或具體工具名 |
logprobs | boolean | = false | 返回每個 token 的對數概率 |
top_logprobs | integer | 0 ~ 20 | 每個 token 返回的 top 概率數量 |
logit_bias | object | — | 按 token 的 logit 偏置映射 |
user | string | — | 用於風險審計的終端用戶標識 |
| 供應商 | RPM | TPM | RPD |
|---|---|---|---|
| default | 無限制 | 無限制 | 無限制 |
| Gemini Cli | 無限制 | 無限制 | 無限制 |
| Google AI Studio | 無限制 | 無限制 | 無限制 |
| Google Vertex | 無限制 | 無限制 | 無限制 |
無限制
Gemini 3.1 Pro Preview 支持文字、图片、音视频与 PDF 理解,适合复杂推理、软件工程和多步骤工具协作。
Create an API key with access to gemini-3.1-pro-preview, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.
Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.
The model catalog lists a context window of 1048576 tokens. Check the selected endpoint for request limits.
The model catalog lists a maximum output of 65536 tokens. Your request settings may set a lower limit.
Start with the use cases and prompting guidance on this page, then evaluate the model with representative inputs from your project.
