2026年11月11日
|
介绍 Gemini Decisions API,由我们全新的 Gemini Decision 1 模型驱动。在文本、图像、音频、视频和 PDF 上快速进行一次传递,评估多达 1,000 个是/否、选择和量规评分问题。
Min Choi
Google DeepMind 产品经理
Felix Yu
Google DeepMind 首席科学家
您的浏览器不支持音频元素。
收听文章
[[duration]] 分钟
此内容由 Google AI 生成。生成式 AI 处于实验阶段
今天,我们推出了 Gemini Decisions API,这是一个用于快速封闭式决策的新端点,由我们全新的 Gemini Decision 1 模型(gemini-decision-1)提供支持,可通过 Gemini API 在 Google AI Studio 中使用。
Decisions API 为您提供专为有限选择设计的原语,例如工具选择、策略检查、模型路由和上下文分级。您可以将单个多模态输入(涵盖文本、图像、音频、视频和 PDF,最多 256K 令牌)与多达 1,000 个独立问题一起传递。Gemini Decision 1 不再逐个令牌地生成交答文本,而是在单次前向传递中对候选选项进行评分,并在 150-250 毫秒的端到端延迟内返回概率和置信度分数,每 1M 输入令牌的收费为 $0.10,且不计费输出令牌。

强大的性能和校准
在涵盖代理路由、推理、排序和多模态理解的基准测试中,Gemini Decision 1 在整个套件中表现领先,且具有最低的校准误差。

Gemini Decision 1 在不进行逐令牌解码的情况下对选项进行评分,保持中位延迟为模型计算的 50-100 毫秒(端到端 150-250 毫秒),适用于多模态输入和高达 16K 令牌的上下文,并且在每次请求从 1 到 100 个问题之间几乎保持不变。由于不计费输出令牌,Gemini Decision 1 配合 Decisions API 在与 Interactions API 配合使用的 Gemini 3.5 Flash-Lite 相比,在共享基准测试套件中便宜了近 5 倍。
在一次传递中跨三种决策类型原生支持多模态评估
基于 Gemini 的原生多模态架构,Gemini Decision 1 可以直接在一次前向传递中处理文本、图像、音频、视频和 PDF。您可以在一个共享输入中组合多种模态,例如将通话录音与账户元数据配对,或将扫描的 PDF 索赔文件与损坏照片配对,并调整图像和视频输入的分辨率以控制视觉细节和令牌成本。
您可以在单个请求中针对该共享输入评估多个问题,混合使用是/否检查、多项选择和量规评分。每个答案都包含一个置信度分数(从 0 到 1),以便您的代码可以将模糊案例路由到备用方案或人工审核员:
- noul(是/否): 估算是/否条件成立的概率,并提供可选的真假描述标准。
- choice(多项选择): 从 2 到 255 个选项中选择一个,返回获胜者以及每个候选者的归一化概率。
- score(有序量规): 根据有序量规(从 0 开始)对输入进行评分,返回连续的加权分数和各级别的概率。
input 字段使用与 Interactions API 相同的 Content 块格式。以下是如何在单个请求中针对所有三种问题类型检查休息区台面的照片以及附带的文本说明:
from google import genai
client = genai.Client(http_options={"api_version": "v1beta"})
result = client.decisions.create(
model="gemini-decision-1",
input=[{
"type": "image",
"uri": "https://storage.googleapis.com/generativeai-downloads/images/spill.jpg",
"mime_type": "image/jpeg",
},
{
"type": "text",
"text": "上午 9 点客户会议前的休息区台面检查。",
},
],
questions={
"has_spill": {
"type": "noul",
"instructions": "台面上是否有未清理的液体泼洒?",
},
"next_action": {
"type": "choice",
"instructions": "哪种清洁行动适合当前场景?",
"criteria": {
"wipe_with_cloth": "小范围台面泼洒,附近已有布或毛巾。",
"dispatch_janitorial": "大面积地面隐患、碎玻璃或正在发生的泄漏。",
"ready_for_meeting": "台面已清洁完毕,准备就绪。",
},
},
"severity": {
"type": "score",
"instructions": "评定台面脏污的严重程度。",
"criteria": [
"清洁且准备就绪。",
"轻微局部泼洒。",
"严重泼洒或安全隐患。",
],
},
},
)

团队如何使用 Decisions API 构建
Google 内部的各个团队已经开始将 Decisions API 用作低延迟的控制平面,通过定义选项而非训练自定义分类器或等待生成式调用来简单地交付功能:
- Gemini Notebook 中的动态模型路由: Gemini Notebook 使用 Decisions API 作为实时路由器,即时将传入查询引导至每个请求的最佳模型层级和思考级别。Decisions API 在毫秒级内对意图进行分类,从而以低至 40% 的延迟服务日常查询,同时为复杂任务保留深度推理模型。
- Stitch 中的快速设计迭代: Stitch 中的新 快速画布实验 使用 Decisions API 在几秒钟内生成可玩的产品流程线框图,并几乎即时应用通过语音或点击进行的编辑。当流程感觉合适时,只需单击一下即可将屏幕移交至完整的 Stitch 体验以进行更深入的设计打磨。
- CC 中的表情符号选择: Google Labs 的 CC 使用 Decisions API 在不到一秒的时间内从超过 200 个选项的调色板中选择正确的表情符号反应,使反应能够即时出现而不会增加延迟。
- Search 中 MCP 工具的安全层: Google Search 使用 Decision API 在延迟范围内高效检测对抗性行为和对抗性评估内容。
Stitch Rapid 使用 Decisions API 在几秒钟内设计整个产品流程(1x 速度)。
立即开始构建
Gemini Decision 1 的价格为每 1M 输入令牌 $0.10,输出令牌免费,并且有一个无成本的 API 套餐,您可以在 Google AI Studio 中用于原型开发。无论您评估多少问题,您的共享 input 在每个请求中只计费一次(每个问题仅添加其自身的指令和标准令牌)。没有输出令牌费用、可变思考令牌账单或单独音频转录和 OCR 成本。
您可以通过在 Google AI Studio 获取 API 密钥,尝试我们的 Doorstep Parcels、Speed Sketch 和 Find the Zoo Keeper 演示应用,并遵循 Decisions API 文档 中的 Python、JavaScript 和 REST 指南来立即开始构建。
生态系统集成正在 OpenRouter、LangChain、Vercel、LiteLLM、Pydantic AI、Pipecat、LiveKit 和 OpenCode 上与 google-genai SDK 一起推出,并将在 不久的将来 支持 Google Cloud 中的 Gemini。
在您的收件箱中获取来自 Google 的最新新闻
订阅我们的通讯,获取产品更新、活动信息、特别优惠等。
您的信息将按照 Google 的隐私政策 使用。您可以随时选择退出。
查看原文
Nov 11, 2026
|
Introducing the Gemini Decisions API, powered by our new Gemini Decision 1 model. Evaluate up to 1,000 yes/no, choice, and rubric-scoring questions in a fast, single pass across text, images, audio, video, and PDFs.
Min Choi
Product Manager, Google DeepMind
Felix Yu
Principal Scientist, Google DeepMind
Your browser does not support the audio element.
Listen to article
[[duration]] minutes
This content is generated by Google AI. Generative AI is experimental
Today, we’re introducing the Gemini Decisions API, a new endpoint for fast, closed-set decisions powered by our new Gemini Decision 1 model (gemini-decision-1), available through the Gemini API in Google AI Studio.
The Decisions API gives you purpose-built primitives for bounded choices like tool selection, policy checks, model routing, and context grading. You can pass one multimodal input across text, images, audio, video, and PDFs (up to 256K tokens) along with up to 1,000 independent questions. Rather than generating answer text token by token, Gemini Decision 1 scores your candidate options in a single forward pass, returning probabilities and confidence scores in 150-250 ms end-to-end latency at $0.10 per 1M input tokens with zero output tokens billed.

Strong performance and calibration
On benchmarks spanning agent routing, reasoning, ranking, and multimodal understanding, Gemini Decision 1 leads across the suite, with the lowest calibration error.

Gemini Decision 1 scores options without token-by-token decoding, keeping median latency 50-100 ms of model compute (150-250 ms end-to-end), across multimodal inputs and contexts up to 16K tokens, remaining nearly flat from 1 to 100 questions per request. With zero output tokens billed, Gemini Decision 1 with the Decisions API is nearly 5x cheaper across the shared benchmark suite than Gemini 3.5 Flash-Lite with the Interactions API.
Native multimodal evaluation across three decision types in one pass
Built on Gemini’s native multimodal architecture, Gemini Decision 1 can process text, images, audio, video, and PDFs directly in a single forward pass. You can combine modalities in one shared input, such as pairing a call recording with account metadata or a scanned PDF claim with damage photos, and tune resolution on image and video inputs to control visual detail and token cost.
You can evaluate multiple questions against that shared input in a single request, mixing yes/no checks, multiple choice, and rubric scores. Every answer includes a confidence score (from 0 to 1) so your code can route ambiguous cases to a fallback or human reviewer:
- noul (Yes/No): Estimates the probability that a yes/no condition holds, with optional true and false description criteria.
- choice (Multiple Choice): Selects from 2 to 255 choices, returning the winner and normalized probabilities for every candidate.
- score (Ordered Rubric): Grades inputs across an ordered rubric (starting at 0), returning a continuous weighted score and per-level probabilities.
The input field uses the same Content block format as the Interactions API. Here is how to check a photo of a breakroom counter, together with a text note, against all three question types in one request:
from google import genai
client = genai.Client(http_options={"api_version": "v1beta"})
result = client.decisions.create(
model="gemini-decision-1",
input=[{
"type": "image",
"uri": "https://storage.googleapis.com/generativeai-downloads/images/spill.jpg",
"mime_type": "image/jpeg",
},
{
"type": "text",
"text": "Breakroom counter check before the 9 AM client meeting.",
},
],
questions={
"has_spill": {
"type": "noul",
"instructions": "Is there an uncleaned liquid spill on the counter?",
},
"next_action": {
"type": "choice",
"instructions": "Which cleanup action fits the scene?",
"criteria": {
"wipe_with_cloth": "Small counter spill with a cloth or towel already nearby.",
"dispatch_janitorial": "Large floor hazard, broken glass, or active leak.",
"ready_for_meeting": "Counter is clean and ready.",
},
},
"severity": {
"type": "score",
"instructions": "Rate the severity of the counter mess.",
"criteria": [
"Clean and ready.",
"Minor localized spill.",
"Major spill or safety hazard.",
],
},
},
)

How teams are building with the Decisions API
Teams across Google are already using the Decisions API as a low-latency control plane, shipping features simply by defining options rather than training custom classifiers or waiting on generative calls:
- Dynamic model routing in Gemini Notebook: Gemini Notebook uses the Decisions API as a real-time router to instantly direct incoming queries to the optimal model tier and thinking level for each request. The Decisions API classifies intent in milliseconds to serve everyday queries with up to 40% lower latency while reserving deep reasoning models for complex tasks.
- Rapid design iteration in Stitch: The new rapid canvas experiment in Stitch uses the Decisions API to generate playable wireframes of a product flow in seconds and to apply edits made by voice or tap almost instantly. When the flow feels right, one click hands the screens off to the full Stitch experience for deeper design polish.
- Emoji selection in CC: CC from Google Labs uses the Decisions API to pick the right emoji reaction from a palette of more than 200 options in a fraction of a second, so reactions appear instantly without adding latency.
- Safety layer for MCP tools in Search: Google Search uses the Decision API to detect adversarial behavior and content against adversarial evals with high efficacy within the latency envelope.
Stitch Rapid uses the Decisions API to design an entire product flow in seconds (1x speed).
Start building today
Gemini Decision 1 is priced at $0.10 per 1M input tokens and $0 for output tokens, with an API no-cost tier you can use in Google AI Studio for prototyping. Your shared input is billed once per request no matter how many questions you evaluate (each question adds only its own instruction and criteria tokens). There are no output-token charges, variable thinking-token bills, or separate audio transcription and OCR costs.
You can start building today by grabbing an API key in Google AI Studio, trying our Doorstep Parcels, Speed Sketch, and Find the Zoo Keeper demo apps, and following the Python, JavaScript, and REST guides in the Decisions API documentation.
Ecosystem integrations are rolling out across OpenRouter, LangChain, Vercel, LiteLLM, Pydantic AI, Pipecat, LiveKit, and OpenCode alongside the google-genai SDKs, with support coming soon to Gemini in Google Cloud.
Get the latest news from Google in your inbox
Sign up for our newsletters with product updates, event information, special offers, and more.
Your information will be used in accordance with Google's privacy policy. You may opt out at any time.
原文版权归 Google · AI 及原作者所有,本站转载仅供阅读。如需删除,请联系 support@aisa.one。