Claude Fable 5.2 是 Anthropic 公开发布的最强模型,也是 Claude Fable 5.1 的继任者,专为最严苛的推理任务和长周期智能体工作而打造,价格低于前代。它拥有 100 万 token 的上下文窗口(上限即默认值),单次响应最多可生成 128K 输出 token。思考始终开启——模型会在每次请求时进行自适应推理,你可通过从 low 到 max 的 effort 级别控制推理深度——但原始思维链永不返回(你会得到一份摘要,或一个空的 thinking 字段)。它接受文本、图像和文档并返回文本,支持原生工具使用/函数调用以及结构化(JSON)输出。困难任务在单轮对话中可持续运行数分钟,适合多步智能体、深度代码工作和长周期规划。通过兼容 OpenAI 的 API 和原生 Anthropic Messages API 提供服务。
兼容 OpenAI——沿用你现有的 SDK
https://api.orcarouter.ai/v1https://api.orcarouter.aiimport os
from openai import OpenAI
client = OpenAI(
base_url="https://api.orcarouter.ai/v1",
api_key=os.environ["ORCAROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="anthropic/claude-fable-5.2",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)include_reasoningmax_completion_tokensmax_tokensreasoningreasoning_effortresponse_formatstopstructured_outputstoolsverbosity| 输入 / 1M tokens | $8.00 |
|---|---|
| 输出 / 1M tokens | $40.00 |
| 缓存读取 / 1M | $0.200 |
| 缓存写入 / 1M | $10.00 |
| 货币 | USD |
基于标价的估算
仅为估算——实际 Token 数取决于提供商的分词器。
本周开发者的讨论
@misc{orcarouter_claude_fable_5_2,
title = {Claude Fable 5.2 API},
author = {Anthropic},
year = {2026},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/anthropic/claude-fable-5.2}
}Anthropic. (2026). Claude Fable 5.2 API. OrcaRouter. https://www.orcarouter.ai/models/anthropic/claude-fable-5.2