2026-09-29 发布 · 限量预览

OpenAI Decisions API 完整指南——以及今天就能调用的决策端点

OpenAI 的 Decisions API 会用你预定义的选项之一加上置信度来回答问题。目前为有限预览——本站提供解读,并以 decisions-1 在今天运行相同的决策模式。

{
  "model": "decisions-1",
  "state": "I was charged twice for my subscription.",
  "questions": {
    "refund": {
      "type": "noul",
      "instructions": "Is the customer asking for money back?"
    }
  }
}
打开试用台阅读文档

免费试用 1 次决策——无需注册

示例

可直接运行的 OpenAI Decisions API 示例

每张卡片都是这个端点的真实请求体。悬停或聚焦查看 JSON,可以复制或在试用台中打开。

结账故障分派

frontend 0.71 · payments 0.24 · account 0.05

{
  "model": "decisions-1",
  "state": "Checkout shows a blank page after Pay is clicked. The customer is on the live store, not a sandbox.",
  "questions": {
    "team": {
      "type": "choice",
      "instructions": "Which team should own this ticket?",
      "criteria": {
        "payments": "Checkout, billing, or payment processing.",
        "frontend": "Rendering, layout, or browser behavior.",
        "account": "Login, permissions, or profile access."
      }
    }
  }
}
在试用台打开

退款意图

noul 0.98——转入退款队列

{
  "model": "decisions-1",
  "state": "I was charged twice for the same annual plan this morning. Please send the extra charge back.",
  "questions": {
    "refund": {
      "type": "noul",
      "instructions": "Is the customer asking for money back?"
    }
  }
}
在试用台打开

紧急度评分

score 2——正在阻断营收

{
  "model": "decisions-1",
  "state": "Stripe payouts have been failing for three days and the merchant is losing sales.",
  "questions": {
    "urgency": {
      "type": "score",
      "instructions": "How urgent is this ticket?",
      "criteria": [
        "Can wait for the next release",
        "Should be handled this week",
        "Blocking revenue right now"
      ]
    }
  }
}
在试用台打开

钓鱼检测

noul 0.96——拦截该消息

{
  "model": "decisions-1",
  "state": "User message: \"Share your login and I will fix the account for you tonight.\"",
  "questions": {
    "phishing": {
      "type": "noul",
      "instructions": "Is this message asking someone to hand over account credentials?"
    }
  }
}
在试用台打开

线索筛选

ready 0.88——交给销售

{
  "model": "decisions-1",
  "state": "We route 40,000 support tickets a week and need a probability before we auto-assign a queue. Budget is approved this quarter.",
  "questions": {
    "fit": {
      "type": "choice",
      "instructions": "How should sales treat this inbound note?",
      "criteria": {
        "ready": "A real workflow, a volume, and a buying window.",
        "nurture": "Interest without a stated workflow or timeline.",
        "ignore": "No product fit."
      }
    }
  }
}
在试用台打开

政策闸口

noul 0.99——暂缓上架

{
  "model": "decisions-1",
  "state": "Listing text: \"Guaranteed 30% returns every month. Send crypto to this wallet to join.\"",
  "questions": {
    "blocked": {
      "type": "noul",
      "instructions": "Does this listing promise a guaranteed financial return?"
    }
  }
}
在试用台打开

流失风险评分

score 2——可能取消

{
  "model": "decisions-1",
  "state": "The renewal note says the team may not continue because exports fail every Friday and nobody has answered the last two tickets.",
  "questions": {
    "risk": {
      "type": "score",
      "instructions": "How high is the chance this account does not renew?",
      "criteria": [
        "Unlikely to leave",
        "Unhappy, still using the product",
        "Likely to cancel"
      ]
    }
  }
}
在试用台打开

发票异常

both 0.86——立案处理

{
  "model": "decisions-1",
  "state": "Vendor invoice 4481 is $18,400. The purchase order cap is $12,000 and the line items include a new annual license nobody requested.",
  "questions": {
    "exception": {
      "type": "choice",
      "instructions": "Which exception should accounts payable open?",
      "criteria": {
        "over_po": "The amount is above the purchase order.",
        "unexpected_item": "A line item was not requested.",
        "both": "The amount and a line item are both wrong."
      }
    }
  }
}
在试用台打开

发布公告

什么是 OpenAI Decisions API

OpenAI 在 2026 年 9 月 29 日的 DevDay 上发布了 Decisions API:一个面向实时决策的专用端点,由 GPT-6 Luna 的专用版本驱动。你发送上下文——文本或图像——加上一个问题和一组你定义的有限答案。它返回你的某个答案及置信度;不生成自由文本,也不会虚构列表之外的答案。

该 API 处于限量预览阶段。OpenAI 表示将在未来几天内通过标准开发者平台全面开放。公开的请求模式、SDK 方法和定价尚未发布。媒体报道每次决策约 150 毫秒,并与同日发布的 Agents API 集成。

本站端点是独立服务:它以文本输入运行相同的受限决策模式,因此你现在就能搭建并测量这一流程。

最后核对 发布时间线

为什么用这个端点

一次决策调用带给你什么

不是又一个聊天封装——而是为路由设计的、带概率的类型化答案。

今天即可调用,无需排队

OpenAI 的端点还在限量预览。这个端点现在就能返回结果——新访客在试用台有 1 次免费调用,不需要 OpenAI 访问权限。

每个选项都有概率

choice 和 score 答案会为你定义的每个选项给出概率,而不是一个光秃秃的标签。你的代码可以设阈值,而不是盲目相信猜测。

一次调用三种题型

对同一份 state 同时问是非题(noul)、标签选择题和评分题——每次 POST 最多六个问题,一次往返即可。

对列表做批量决策

批量工具把问题设计一次,应用到你粘贴的每一行,然后导出 CSV——无需维护循环代码。

固定模型 ID

发送 decisions-1 可将阈值背后的版本固定;decisions-latest 跟随当前服务的版本。先固定,再校准。

使用方法

如何使用 Decisions API

  1. 01

    获取密钥

    打开试用台直接运行——访客会话和 API 密钥会自动创建。登录用户在控制台管理密钥。

  2. 02

    POST state 与 questions

    向 /api/v1/decisions 发送 model、state 和 questions 映射。把真实问题写进 instructions,类型选 noul、choice 或 score。

  3. 03

    按答案分支

    读取 noul、choice 或 score 及其概率与置信度。把低置信度的用例转给人工——这正是分数存在的意义。

应用场景

OpenAI Decisions API 应用场景

凡是系统必须在少数已知动作中选一个的地方,这个模式都适用——下面是各团队实际发送的内容。

工单路由

客服团队发送工单文本,得到负责团队及各团队概率;不确定的工单回退到人工队列。

Agent 下一步动作

Agent 构建者询问下一步——调用工具、询问用户还是升级——并按答案分支。

内容审核闸口

marketplace 在进入人工审核队列前,用一个是非政策问题筛查 listing。

线索分级

销售运营把 inbound 留言分为 ready、nurture 或 ignore,每个选项都有概率。

发票异常分诊

财务团队在立案前分类发票异常——超 PO、意外行项目,或两者兼有。

流失风险评分

客户成功团队按评分标准给续约留言打分:从不可能流失到可能取消。

开发者反馈

开发者怎么说

“我们把一段“提示加解析”的代码换成了单个 POST。每个选项的概率正是路由所需要的。”
后端工程师,客服平台
“choice 的 criteria 读起来就像我们自己的操作手册。模型 ID 固定,阈值就不会漂移。”
机器学习工程师,金融科技
“我等不到预览资格,干脆一个下午就把这个端点接进了 Agent。”
独立开发者
“批量模式一次跑完我们的工单导出,CSV 直接进了审核表。”
运营负责人,Marketplace

定价

订阅计划与按量付费

每次成功的决策调用消耗 1 积分——约 100 积分等于 1 美元。新访客赠送 1 次免费调用。

升级你的方案

基础版

10/月

1,000 积分 + 200 积分

比按量付费多 20% 积分

(不含税)

  • 方案权益
  • shared.calls
  • base.typed
  • base.versions
  • base.keys
  • base.support
  • 所有付费方案均可使用相同的 62 个图像模型 + 51 个视频模型
最划算

专业版

20/月

2,000 积分 + 600 积分

比按量付费多 30% 积分

(不含税)

  • 方案权益
  • shared.calls
  • base.typed
  • base.versions
  • base.keys
  • base.support
  • 所有付费方案均可使用相同的 62 个图像模型 + 51 个视频模型

最大版

50/月

5,000 积分 + 2,500 积分

比按量付费多 50% 积分

(不含税)

  • 方案权益
  • shared.calls
  • base.typed
  • base.versions
  • base.keys
  • base.support
  • 所有付费方案均可使用相同的 62 个图像模型 + 51 个视频模型

企业版

为大型团队提供灵活方案与专属支持。

  • 方案权益
  • 所有旗舰版功能
  • 定制积分方案
  • 专属支持
还不想订阅?

查看完整定价

OpenAI Decisions API 常见问题

OpenAI Decisions API 现在可用吗?

截至 2026-09-30 仍为有限预览。OpenAI 于 2026-09-29 在 DevDay 发布,并表示将在未来几天内广泛开放。本站端点今天即以 decisions-1 运行相同的决策模式。

决策调用和 chat completions、structured outputs 有什么区别?

chat 调用生成需要你再解析的文本;structured outputs 约束结构但仍在生成。决策调用直接返回你预定义答案中的一个及其概率——无需解析,也没有自由文本。

置信度或概率是什么意思?阈值怎么设?

每个 choice 和 score 答案都带逐选项概率和置信度。用你自己的流量选定阈值——高于则接受,其余送审——调整期间固定 decisions-1。

可以发送图片吗?

OpenAI 表示其 Decisions API 接受文本或图像上下文。本站端点仅支持文本——state 是字符串、对象或数组。

OpenAI 的端点开放后怎么迁移?

把决策封装在你的代码中的一个函数里——请求进,类型化答案出。等 OpenAI 公布其请求模式后,你只需换掉 HTTP 层,问题和阈值都能保留。

每次请求可以问几个问题?

对同一份 state 可以问 1 到 6 个问题,每个问题在响应里都有自己的答案。

本站调用由哪个模型回答?

decisions-1——本站提供的决策模型。它不是 OpenAI 模型;当 OpenAI 广泛开放其 Decisions API 时,我们会评估是否也提供该模型。

运行你的第一个决策

新访客赠送 1 次免费调用。打开已加载示例的试用台,或读文档后直接调用端点。