Claude Fable 5.2 API
Anthropic's newest Fable model, for demanding reasoning and long-horizon agentic work.
claude-fable-5-2获取 API 密钥价格 美元 / 每百万 token
| Token | 每 100 万 token |
|---|---|
| 输入 | $4.48 |
| 缓存输入 | $0.112 |
| 缓存写入(5 分钟) | $5.60 |
| 缓存写入(1 小时) | $8.96 |
| 输出 | $22.40 |
推理 token 按输出计费。每个回答的 usage 中都带有 cost_usd,即从你的余额中扣除的金额;没有得到回答的请求费用为 $0.00。
请求
curl https://api.revana.si/v1/chat/completions \
-H "Authorization: Bearer $REVANA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"claude-fable-5-2","messages":[{"role":"user","content":"Write a haiku about routing."}]}'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.revana.si/v1", api_key=os.environ["REVANA_API_KEY"])
reply = client.chat.completions.create(
model="claude-fable-5-2",
messages=[{"role": "user", "content": "Write a haiku about routing."}],
)
print(reply.choices[0].message.content)任意 OpenAI SDK 都可使用:把 base URL 设为 https://api.revana.si/v1。流式输出、工具调用等内容见 chat completions 文档。
详情
claude-fable-5-2POST /v1/chat/completions2 条线路
每个请求都从最便宜的线路开始。线路繁忙或失败时,会在发送任何回答之前交给下一条。
About the Claude Fable 5.2 API
How much does the Claude Fable 5.2 API cost?
Claude Fable 5.2 costs $4.48 per million input tokens, $0.112 per million cached input tokens and $22.40 per million output tokens on Revana. You pay from prepaid credit for the tokens each request used, with no subscription or minimum.
Is Claude Fable 5.2 cheaper on Revana than on Anthropic?
Yes, 44% or more below the list price. Anthropic lists Claude Fable 5.2 at $8.00 per million input tokens and $40.00 per million output tokens (https://platform.claude.com/docs/en/about-claude/pricing, checked 2026-11-16); Revana charges $4.48 and $22.40 for the same model.
How do I call Claude Fable 5.2 from code?
Use any OpenAI SDK with base URL https://api.revana.si/v1 and your Revana API key, and set model to "claude-fable-5-2". POST /v1/chat/completions takes the OpenAI request body, streamed or not.
请求失败了会怎样?
Revana has 2 routes for Claude Fable 5.2 and moves a request to the next one when a route is busy or down. A request that gets no answer costs nothing.
Is Claude Fable 5.2 on Revana the same model?
是的。Revana 会把你的请求原样传给 Anthropic 的模型,并以 OpenAI 格式返回它的回答,以及它报告的用量和该请求的费用。
Anthropic 的更多模型
Every Claude model and its price
- Claude Fable 5 $5.60 in / $28.00 out per 1M tokens
- Claude Fable 5.1 $5.60 in / $28.00 out per 1M tokens
- Claude Haiku 4.5 $1.44 in / $7.20 out per 1M tokens
- Claude Haiku 4.5 (thinking) $1.44 in / $7.20 out per 1M tokens
- Claude Haiku 5.5 $0.056 in / $0.28 out per 1M tokens
- Claude Opus 4.5 $7.20 in / $36.00 out per 1M tokens
- Claude Opus 4.5 (thinking) $7.20 in / $36.00 out per 1M tokens
- Claude Opus 4.6 $7.20 in / $14.40 out per 1M tokens