Aplomb 1 API

回答yes/no、选择、评分和工具题,内容包括文本、JSON、图片、视频和音频,最多可达100万个标记,并能判断输入中是否缺少答案。

EmpirioLabs 决策模型 1M 上下文 发布日期 2026年9月29日 原生推理 新

关于 Aplomb 1

回答yes/no、选择、评分和工具题,内容包括文本、JSON、图片、视频和音频,最多可达100万个标记,并能判断输入中是否缺少答案。

将状态和输入问题发送至 POST /v1/decisions.答案是带有置信值的概率;不生成文本。仅按输入令牌计费。

也称为 EmpirioLabs Aplomb 1

classification calibrated probabilities tool selection abstain long 上下文 vision video audio in multimodal

Aplomb 1 规格

模型 ID
aplomb-1
开发方
EmpirioLabs
类别
决策模型
发布日期
2026年9月29日
上下文窗口
1M 个 token
输入
文本图像视频音频
输出
决策
端点
POST/v1/decisionsPOST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/aplomb-1:generateContent
备用模型 ID
aplombempiriolabs/aplomb-1empiriolabs/aplomb

Aplomb 1 API 价格

来自 EmpirioLabs 目录的实时按量计费价格。只为实际用量付费,没有月度最低消费。

类型
规格
价格
输入
每100万个提示词标记
$0.02
输出
每100万个生成代币
免费
在完整价格页比较

如何调用 Aplomb 1 API

Aplomb 1 通过 POST /v1/decisions 回答关于你的内容的问题。将内容放入 state,将问题放入 questions,连同模型 ID aplomb-1 一起发送。每个答案返回概率和置信度,而不是生成的文本。 在EmpirioLabs 控制台获取 API 密钥。

cURL
curl https://api.empiriolabs.ai/v1/decisions \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "aplomb-1",
    "state": "I was charged twice for my subscription this month. Please refund the duplicate charge today.",
    "questions": {
      "is_urgent": {"type": "noul", "instructions": "Does the customer need a resolution today?"},
      "department": {
        "type": "choice",
        "instructions": "Which team should handle this message?",
        "criteria": {"billing": null, "technical": null, "sales": null}
      }
    }
  }'
Python
import requests

response = requests.post(
    "https://api.empiriolabs.ai/v1/decisions",
    headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    json={
        "model": "aplomb-1",
        "state": "I was charged twice for my subscription this month. Please refund the duplicate charge today.",
        "questions": {
            "is_urgent": {"type": "noul", "instructions": "Does the customer need a resolution today?"},
            "department": {
                "type": "choice",
                "instructions": "Which team should handle this message?",
                "criteria": {"billing": None, "technical": None, "sales": None},
            },
        },
    },
)
answers = response.json()["answers"]
print(answers["is_urgent"]["noul"], answers["department"]["choice"])
Aplomb 1 API 完整参考

Aplomb 1 API 参数

EmpirioLabs 上 Aplomb 1 API 支持的请求参数。省略字段时使用默认值。

参数类型默认值范围 / 值描述
long_contextenumfastfast, full读取超过131,072个令牌的状态:快速(默认)回答需几秒,完整读取每个令牌。较短状态总是完整读取。

须知

请求

发送内容state(字符串、JSON 对象或数组)和 1 到 128 个问题,按 questions 到 POST /v1/decisions 发送。每个问题单独回答,带有概率和置信值。不生成任何文本。决策 API 指南记录了每个问题选项,其 聊天格式部分涵盖了通过 /v1/chat/completions、/v1/responses、/v1/messages 和 Gemini generateContent 的请求。

题型

  • noul:是或否,答案概率是。
  • choice:2到255个选项之一,回答所选选项和全额分配。
  • score:2到10个有序层次,回答预期水平和分布。
  • tool:调用1到254个函数工具中的哪一个,包含其枚举和布尔参数的分布。

不该state

在noul、choice或score问题上加上"abstain": true,使模型表示该状态不包含该答案。答案随后包含abstain,即该结果的概率,其余部分假设该状态包含该答案。

界限

  • 状态加上最长的问题:最多1,000,000个代币。
  • 每个请求最多可评估512个问题。工具问题对每个枚举或布尔论证计为1加1。
  • 媒体:最多16张图片(每张20 MB)、8个音频片段(每段25 MB,每段10分钟)和4段视频(每段100 MB,每段10分钟),作为公开的 HTTPS URL 或内联 base64。

基准测试

基准测试结果见启动帖子。

账单

仅输入代币:每个请求一次状态,每个问题的文本,以及每个媒体项目的代币。输出始终为零。

Aplomb 1 API:常见问题

Aplomb 1 API 收费多少?

在 EmpirioLabs,Aplomb 1 按量计费。本页的实时价格表始终与 API 的实际计费一致。

Aplomb 1 的上下文窗口有多大?

Aplomb 1 支持 1M token 的上下文窗口。

Aplomb 1 API 兼容 OpenAI 吗?

兼容。Aplomb 1 提供 OpenAI 兼容的 Chat Completions API,现有 OpenAI SDK 只需把 base_url 指向 https://api.empiriolabs.ai/v1 并把模型 ID 设为 aplomb-1 即可使用。

集成之前可以在浏览器里试用 Aplomb 1 吗?

可以。EmpirioLabs Playground在浏览器中以与 API 相同的参数运行 Aplomb 1,你可以在写代码之前先测试提示词。

如何获取 Aplomb 1 API 密钥?

创建 EmpirioLabs 账户,然后在控制台的 API Keys生成密钥。计费使用按量付费的额度,只为实际发出的请求付费。

准备好使用更好的终端了吗?

查看我们的定价,或者如果你想将自己的模型部署到我们的堆栈中,请联系我们。