
Pairs DeepSeek R1 chain-of-thought 推理与Anthropic Claude在统一,数据控制的界面背后的创意和代码生成.
Pairs DeepSeek R1 chain-of-thought 推理与Anthropic Claude在统一,数据控制的界面背后的创意和代码生成.
也称为 WinFunc DeepReasoning
deepreasoning/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/deepreasoning:generateContent来自 EmpirioLabs 目录的实时按量计费价格。只为实际用量付费,没有月度最低消费。
DeepReasoning 提供 OpenAI 兼容的 Chat Completions API。用你的 EmpirioLabs API 密钥把任意 OpenAI SDK 指向 https://api.empiriolabs.ai/v1,并使用模型 ID deepreasoning。 在EmpirioLabs 控制台获取 API 密钥。
curl https://api.empiriolabs.ai/v1/chat/completions \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepreasoning",
"messages": [
{"role": "user", "content": "Write a haiku about the ocean."}
]
}'from openai import OpenAI
client = OpenAI(
base_url="https://api.empiriolabs.ai/v1",
api_key="YOUR_EMPIRIOLABS_API_KEY",
)
response = client.chat.completions.create(
model="deepreasoning",
messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)EmpirioLabs 上 DeepReasoning API 支持的请求参数。省略字段时使用默认值。
| 参数 | 类型 | 默认值 | 范围 / 值 | 描述 |
|---|---|---|---|---|
| temperature | number | 0.7 | 0 到 2 | 采样温度。适用于R1推理阶段和Claude综合阶段。 |
| top_p | number | 0.9 | 0 到 1 | 核采样。适用于R1推理阶段和Claude综合阶段。 |
| max_tokens | number | 8192 | 1 到 65536 | Claude合成阶段的最大输出令牌数。 |
| anthropic_model | enum | claude-sonnet-4-5-20250929 | claude-sonnet-4-5-20250929, claude-haiku-4-5-20251001, claude... | 选择Claude型号与DeepSeek R1 0528推理配合。R1型号生产chain-of-thought;克劳德模型综合了最终答案。 |
| response_format | enum | - | - | 返回输出为有效的 JSON 对象(JSON 模式)。描述你在提示词中想要的字段。 |
| web_search_linkup | boolean | false | - | 可选的网页搜索由Linkup提供。启用后,最近的网页源会通过最新的用户消息作为查询检索,并作为额外上下文提供给模型。每次调用时,在模型正常的令牌成本基础上额外增加$0.013。默认为禁用。 |
| disable_formatting | boolean | false | - | 启用后,网关不会在使用Linkup网页搜索的助理响应中附加“来源”脚部。当模型输出被传输到另一个不需要装饰的系统时,这很有用。 |
R1-0528 reasoning paired with one of: Claude Sonnet 4.5 (default), Haiku 4.5, Opus 4.5, Sonnet 4, Opus 4.1, Opus 4, Sonnet 3.7, Haiku 3.5, Opus 3.
EmpirioLabs hosts the project's open-source API/orchestration logic from its GitHub repo on our own infrastructure, that's the "native" part. The underlying models (R1-0528 reasoning + the Claude completion model you pick) are still dialed via their respective official APIs. We don't host the model weights themselves.
在 EmpirioLabs,DeepReasoning 按量计费。本页的实时价格表始终与 API 的实际计费一致。
兼容。DeepReasoning 提供 OpenAI 兼容的 Chat Completions API,现有 OpenAI SDK 只需把 base_url 指向 https://api.empiriolabs.ai/v1 并把模型 ID 设为 deepreasoning 即可使用。
可以。EmpirioLabs Playground在浏览器中以与 API 相同的参数运行 DeepReasoning,你可以在写代码之前先测试提示词。
创建 EmpirioLabs 账户,然后在控制台的 API Keys生成密钥。计费使用按量付费的额度,只为实际发出的请求付费。