Claude Fable 5.1
AvailableClaude Fable 5.1 is the top tier of Anthropic’s Claude family, above Opus.
Good for Coding agents · Hard reasoning · Images and screenshots
Is it right for you?
Anthropic lists a 1M-token context and up to 128K tokens per reply; it reads text, images and files. Reasoning is always on, with effort from low to max. It is the most expensive Claude model, so it makes most sense for the parts of a coding task where getting it right the first time saves more than the extra tokens cost.
Best for
- Design work and large migrations where a wrong plan costs hours of agent time.
- The planning step of an agent run, with a cheaper model (Sonnet 5) carrying out the plan.
- Debugging that other models have already failed on.
Not ideal for
- Routine edits and long tool loops: at this price, Sonnet 5 or Opus 5.5 is usually the better spend.
- Anything latency-sensitive: reasoning is always on.
Next to the rest of the Anthropic line
| Model | Input | Output | Context | Per session |
|---|---|---|---|---|
| Claude Fable 5 | $13.2864 | $66.4318 | 195K | $4.2251 |
| Claude Fable 5.1 (this page) | $13.2864 | $66.4318 | 195K | $3.7468 |
| Claude Opus 4.6 | $6.2003 | $31.0015 | 195K | $1.9717 |
| Claude Opus 4.7 | $6.2003 | $31.0015 | 195K | $1.9717 |
| Claude Opus 4.8 | $6.2003 | $31.0015 | 195K | $1.9717 |
| Claude Opus 5 | $6.2003 | $31.0015 | 195K | $1.9717 |
What it costs
Prepaid, per token, no subscription. Set your traffic to see your bill.
30 days, at today's prices. You're billed on actual tokens.
- Per request
- $0.068292
- Coding session
- $3.75
- Per day
- $136.58
- Suggested key budget
- $4,715.00
- Alert at 80%
- $3,772.00
A coding session is 30 requests of 20,000 input tokens, 80% from cache, and 1,000 output tokens each: the same session as the "Per session" column above. Thinking tokens are billed as output, so reasoning raises the cost.
Cached input. When the provider serves part of a prompt from its cache, those tokens are billed at the cache-read price instead of the input price. Writing a prompt into the cache is billed at the cache-write price. Separately, an exact repeat of a recent request is answered from Yunshu’s own cache and not charged.
Capabilities
What Claude Fable 5.1 can do, as Anthropic lists it.
Get started
Create a key in the console, export it as YUNSHU_API_KEY, then use one of these.
curl https://api.yunshurouter.com/v1/chat/completions \
-H "Authorization: Bearer $YUNSHU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-fable-5-1",
"messages": [{"role": "user", "content": "Write a Python function that checks if a string is a palindrome."}]
}'curl https://api.yunshurouter.com/v1/messages \
-H "x-api-key: $YUNSHU_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-fable-5-1",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Write a Python function that checks if a string is a palindrome."}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.yunshurouter.com/v1", api_key="YOUR_YUNSHU_KEY")
resp = client.chat.completions.create(
model="claude-fable-5-1",
messages=[{"role": "user", "content": "Explain what this regex does: ^\\d{3}-\\d{4}$"}],
)
print(resp.choices[0].message.content)import anthropic
client = anthropic.Anthropic(base_url="https://api.yunshurouter.com", api_key="YOUR_YUNSHU_KEY")
msg = client.messages.create(
model="claude-fable-5-1",
max_tokens=1024,
messages=[{"role": "user", "content": "Explain what this regex does: ^\\d{3}-\\d{4}$"}],
)
print(msg.content[0].text)Full steps for each tool: integration guides →
Questions
What is Claude Fable 5.1?
Claude Fable 5.1 is the top tier of Anthropic’s Claude family, above Opus. See the Anthropic page for the rest of the family.
Does Claude Fable 5.1 support tool calling?
Yes. Send tools in OpenAI format to /v1/chat/completions or in Anthropic format to /v1/messages. Through the Responses API (used by Codex) only function tools are passed through.
Does Claude Fable 5.1 support reasoning?
Yes, and it can’t be turned off; you choose the effort. Effort levels: low, medium, high, xhigh, max (default medium per one listing).