Claude Fable 5.2 API
用一个 TokenMilo API Key 即可调用 Claude Fable 5.2。Claude 最高档模型,适合最难的推理、研究和长时间的 Agent 任务。按 token 计费,比 Anthropic 官方便宜 78%。
| 模型 ID | claude-fable-5-2 |
| 厂商 | Anthropic |
| 系列 | Claude Fable |
| 折扣 | 官方 2.2 折 |
Claude Fable 5.2 价格
单位:美元 / 百万 tokens。价格更新于 2026-11-13。
| TokenMilo | Anthropic 官方 | |
|---|---|---|
| 输入 | $1.79 | $8 |
| 输出 | $8.95 | $40 |
| 缓存读取 | $0.045 | — |
| 缓存写入(5 分钟) | $2.23 | — |
| 缓存写入(1 小时) | $2.23 | — |
1 小时缓存写入与 5 分钟缓存写入同价。
实际花费举例
| 用量 | TokenMilo | 官方 | 节省 |
|---|---|---|---|
| 1,000 次请求 × 每次输入 2,000 / 输出 500 tokens | $8.05 | $36.00 | $27.95 |
| 1,000 次请求 × 每次输入 50,000 / 输出 2,000 tokens | $107 | $480 | $373 |
Claude Fable 5.2 适合做什么
- 高难度多步推理与研究
- 长时间自主运行的 Agent
- 大型代码库的大规模重构
- 对质量要求最高的写作与分析
支持的接口
| Anthropic Messages · 推荐 | POST https://api.tokenmilo.com/v1/messages |
| OpenAI Chat Completions | POST https://api.tokenmilo.com/v1/chat/completions |
所有接口格式使用同一个 Base URL 和 API Key。 接口指南 →
调用示例
curl
curl https://api.tokenmilo.com/v1/messages \
-H "x-api-key: $TOKENMILO_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{
"model": "claude-fable-5-2",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello, Claude Fable 5.2!"}]
}'Python
# pip install anthropic
import os, anthropic
client = anthropic.Anthropic(
base_url="https://api.tokenmilo.com",
api_key=os.environ["TOKENMILO_API_KEY"],
)
msg = client.messages.create(
model="claude-fable-5-2",
max_tokens=1024,
messages=[{"role": "user", "content": "Explain prompt caching in one paragraph."}],
)
print(msg.content[0].text)在常用工具里使用 Claude Fable 5.2
- Claude Code 中转配置教程 — 在 macOS、Linux、Windows 上用 TokenMilo 的 Key 跑 Claude Code。
- Cursor 接入教程 — 用自己的 Key 在 Cursor 里添加 Claude 和 GPT 模型。
- Cline 接入教程(VS Code) — 在 Cline 编程 Agent 里通过 TokenMilo 使用 Claude。
- Cherry Studio 接入教程 — 在 Cherry Studio 桌面客户端里和 Claude、GPT 对话。
同系列 Claude Fable 模型
- Claude Fable 5.1 — $2.23 / $11.18 · −78%
- Claude Fable 5 — $2.23 / $11.18 · −78%
更多 Anthropic 模型
- Claude Opus 5.5 — $0.855 / $4.26
- Claude Opus 5 — $1.06 / $5.33
- Claude Opus 4.8 — $1.06 / $5.33
- Claude Opus 4.7 — $1.06 / $5.33
- Claude Opus 4.6 — $1.06 / $5.33
- Claude Sonnet 5.5 — $0.423 / $2.13
常见问题
这里的 Claude Fable 5.2 是满血原版吗?
是。模型 ID 为 claude-fable-5-2 的请求由 Anthropic 原版模型处理,不掺水、不偷换、不降智,效果与直接调用官方一致。
Claude Fable 5.2 在 TokenMilo 多少钱?
输入 $1.79 / 百万 tokens,输出 $8.95 / 百万 tokens;官方价格为 $8 / $40,相当于官方 2.2 折。没有订阅,没有最低消费。
Claude Fable 5.2 应该用哪种接口格式?
推荐使用 Anthropic 原生 Messages 接口(https://api.tokenmilo.com/v1/messages),支持提示词缓存、工具调用、扩展思考等全部 Claude 功能。简单对话也可以用 OpenAI 兼容的 Chat Completions 接口。
Claude Fable 5.2 支持提示词缓存吗?
支持。缓存读取按 $0.045 / 百万 tokens 计费,长系统提示词和编程 Agent 会话能省下很多钱。
国内能直接调用 Claude Fable 5.2 吗?
可以。不需要海外信用卡和海外手机号,注册充值后把 Base URL 换成 https://api.tokenmilo.com 即可。