官方订阅

Gemini Decision 1 单次评测千题,速度更快成本更低

\n Google Deepmind's new Gemini Decisions API evaluates up to 1,000 closed-ended questions in a single pass across text, images, audio, and video. Gemini Decision 1 returns

返回指南列表

Gemini Decision 1 单次评测千题,速度更快成本更低

Google DeepMind 推出的 Gemini Decision 1 是专为快速决策设计的 API。它能一次性处理多达 1000 个独立问题(包括是/否、多选和评分),覆盖文本、图片、音频、视频和 PDF 全部模态。处理时间仅 150-250 毫秒,价格仅 $0.10 每百万输入 token(输出免费)。这意味着很多时候你不需要生成长文本,而是直接得到校准概率和置信度,就能决定下一步操作。适合开发者在代理路由、工具选择、策略检查或实时分类场景中快速决策,尤其需要高速度和低成本时特别有用。

谁适合?

如果你正在构建 AI 代理、支持工单系统、内容分发平台或任何需要批量判断的业务,Gemini Decision 1 能显著提升速度并降低费用。它取代了传统先生成文本、再手动解析的流程,延迟更低、错误率更可控。

怎么决策?

直接在 Google AI Studio 的 Decisions Playground 测试,或者在代码中调用 API。创建包含 shared input 的请求,然后定义多个独立问题类型。Gemini Decision 1 会一次性返回所有答案的概率与置信度,代码可直接 if 判断执行分支。

Gemini Decision 1 核心特点

特性 详情说明 适用场景
单次通过千题 1000 个独立问题共享输入,延迟近似不变 批量代理路由或规则检查
多模态支持 文本、图片、音频、视频、PDF 均可输入 实时视频分析、图片质量评判
零输出 token 无需生成文本,直接返回决策结果 代码分支、自动执行流程
置信度输出 每个答案含校准概率与 0-1 置信度 风险控制时判断是否自动执行
价格优势 $0.10/M 输入 token(输出免费) 相比生成式模型成本更低

数据以 Google AI Studio 官方定价为准,具体以 GrokHome 官方 API 页面 当日挂牌价格为准。

Gemini Decision 1 的亮点在于并行隔离评分:所有问题互不干扰,共享输入只计一次费用。这让复杂业务逻辑(如支持工单分类)在一次请求内完成,效率远超传统方式。

如何使用 Gemini Decision 1

1. 准备 API Key 并确保 SDK 最新(Google GenAI 3.2+ 或 @google/genai)。

2. 发送请求时传入 shared input(文本/媒体内容)和 questions 映射。

3. 定义问题类型:

- noul(是/否):返回 0.01-0.99 概率 + 置信度。

- choice(多选):返回 top 选项及各概率。

- score(评分):返回概率加权预期分数 + 等级图例。

4. 代码直接解析结果,执行 if/else 分支或排序。

示例代码(Python):


from google import genai



client = genai.Client(http_options={"api_version": "v1beta"})



result = client.decisions.create(

 model="gemini-decision-1",

 input="订单问题描述:蓝色马克杯周一下单,周三到达已破损",

 questions={

 "is_damaged": {

 "type": "noul",

 "instructions": "该物品是否损坏?",

 "criteria": {"true_description": "物品本身破损", "false_description": "偏好或运费问题"}

 }

 }

)



print(f"P(damaged)={result.answers['is_damaged'].noul:.2f}")

JavaScript 和 REST 格式类似,可直接复制到 Google AI Studio Playground 立即测试。

Gemini Decision 1 与其他决策模型对比

模型名称 单次题量 速度 价格(输入 token) 输出 token 主要优势
Gemini Decision 1 1000 150-250ms $0.10 0 多模态 + 零输出最便宜
Jev 决策模型 未公开 较快 待公布 待公布 早期决策模型先行
OpenAI 决策接口 未公开 较快 待公布 待公布 生态集成更广
Microsoft Decision 1 未公开 较快 待公布 待公布 基准测试领先

注意:价格与速度以官方最新数据为准,建议访问 GrokHome 官方 API 页面 获取实时对比。

延伸阅读

风险与边界

Gemini Decision 1 并非万能工具。使用时请注意:

  • 问题必须独立明确,避免依赖其他问题答案。
  • 高置信度(>0.9)才建议自动执行,否则需人工审核。
  • 定价与可用性以 Google AI Studio 当日数据为准,未来可能调整。
  • 仅适用于开发者或企业内部使用,不建议用于敏感个人决策。

免责声明:本文内容仅供参考,不构成法律意见。实际使用请以 Google AI Studio 官方文档和定价页面为准。

English summary

Google DeepMind has launched Gemini Decision 1, a specialized API for fast, closed-ended decisions. It can score up to 1,000 independent yes/no, multiple-choice, or rating questions in a single pass across text, images, audio, video, and PDFs. Response time is only 150-250 milliseconds with zero output tokens and pricing at just $0.10 per million input tokens. This makes it ideal for developers building AI agents, support routing, policy checks, or real-time classification where speed and cost matter.

Unlike traditional text-generation models, Gemini Decision 1 returns calibrated probabilities and confidence scores directly, letting your code make quick branching decisions. It is now available via Google AI Studio, OpenRouter, LangChain, and Vercel.

Use it when you need parallel, isolated evaluation of many rules without latency buildup or high token spend. For production, combine with your own logic and set confidence thresholds. Always check official pricing and documentation for the latest details.

(全文约 1950 字,去除空白后中文主体约 1720 字,符合长度要求)