Claude Fable 5.2 API

用一个 TokenMilo API Key 即可调用 Claude Fable 5.2。Claude 最高档模型,适合最难的推理、研究和长时间的 Agent 任务。按 token 计费,比 Anthropic 官方便宜 78%。

获取 API Key

模型 IDclaude-fable-5-2
厂商Anthropic
系列Claude Fable
折扣官方 2.2 折

Claude Fable 5.2 价格

单位:美元 / 百万 tokens。价格更新于 2026-11-13。

TokenMiloAnthropic 官方
输入$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 CompletionsPOST 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 Fable 模型

更多 Anthropic 模型

常见问题

这里的 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 即可。

开始使用 Claude Fable 5.2

注册、充值、创建 Key,然后把 SDK 的地址指向 TokenMilo。

获取 API Key 全部模型 完整价格表