Claude Fable 5.2 API Guide (2026): $8 Input Pricing, the Prefix Check, and How to Migrate
Anthropic released Claude Fable 5.2 (claude-fable-5-2) on November 9, 2026. Input now costs $8 per million tokens and output costs $40 per million tokens, down from $10 and $50 on Claude Fable 5.1. The model has a 1M-token context window and up to 128k output tokens. The price cut is the easy part. The release notes also list four changes that can break code that ran fine on Fable 5.1, and one of them returns a 400 error when your code edits earlier turns and then sends back a thinking block. Here is what to check before you switch.
Key takeaways
- Claude Fable 5.2 (model ID
claude-fable-5-2) launched November 9, 2026, with a 1,000,000-token context window and 128,000 max output tokens. - Claude Fable 5.2 costs $8 per million input tokens and $40 per million output tokens. Claude Fable 5.1 costs $10 and $50 for the same units.
- Cache reads on Claude Fable 5.2 cost $0.20 per million tokens, which is 0.025 times the base input price.
- The prefix check now applies to every account. Editing the system prompt, tools, or an earlier message before sending back a thinking block returns a 400 error.
- Claude Mythos 5.2 (
claude-mythos-5-2) shares Fable 5.2 pricing and capabilities, but only organizations verified through Anthropic's verification programs can use it.
What the price change means for your bill
Fable 5.2 cuts the base input and output rates by $2 and $10 per million tokens. Cache writes and reads drop too. The 5-minute cache write costs $10 per million tokens, and the 1-hour write costs $16. Batch processing runs at $4 input and $20 output. Fast mode doubles the standard rate to $16 input and $80 output.
| Model | Input (per 1M) | 5-min cache write | 1-hour cache write | Cache read | Output (per 1M) |
|---|---|---|---|---|---|
| Claude Fable 5.2 | $8.00 | $10.00 | $16.00 | $0.20 | $40.00 |
| Claude Fable 5.1 | $10.00 | $12.50 | $20.00 | $0.25 | $50.00 |
| Claude Opus 5.5 | $4.00 | $5.00 | $8.00 | $0.20 | $20.00 |
Prices are USD per million tokens from Anthropic's pricing page as of November 11, 2026.
| Attribute | Claude Fable 5.2 | Claude Fable 5.1 | Claude Opus 5.5 |
|---|---|---|---|
| Best fit | Long-horizon reasoning and agent work that Opus misses in your evals | Existing Fable workloads not yet moved | Most workloads, per Anthropic's guidance to start here |
| Context window | 1,000,000 tokens | Not stated on the pricing page | 1,000,000 tokens |
| Input / output price | $8 / $40 | $10 / $50 | $4 / $20 |
| Key limitation | Requires 30-day data retention; thinking blocks readable only by Fable 5.2 and Mythos 5.2 | Returns the prefix-check error by default on accounts created on or after August 31, 2026 | Thinking cannot be disabled; no temperature, top_p, top_k, or prefill |
Cost math for a cached agent loop
Take an agent that sends a 50,000-token shared prefix (tool schemas, product docs, style rules) plus 2,000 new tokens per call. It makes 10,000 calls a day, and every call reads the prefix from cache.
- Without caching: 52,000 tokens × 10,000 calls = 520M input tokens × $8 per million = $4,160 per day.
- With caching: 500M cached tokens × $0.20 per million = $100, plus 20M fresh tokens × $8 per million = $160. Total: $260 per day.
- Worst case for writes: if the cache expires every five minutes all day, you pay 288 writes × 50,000 tokens × $10 per million = $144 more. Total: about $404 per day.
These numbers leave out output tokens, which cost $40 per million on Fable 5.2. For most agents, output is the next line item to watch.
Here is a minimal Python call that marks the shared prefix as cacheable and prints the cache fields so you can confirm hits:
import os
from anthropic import Anthropic
client = Anthropic(api_key=os.environ["ANTHROPIC_API_KEY"])
SHARED_PREFIX = open("prompts/agent_prefix_v4.txt").read() # keep this text byte-identical
resp = client.messages.create(
model="claude-fable-5-2",
max_tokens=2048,
system=[{
"type": "text",
"text": SHARED_PREFIX,
"cache_control": {"type": "ephemeral"}
}],
messages=[{"role": "user", "content": "Summarize open tickets older than 7 days."}]
)
u = resp.usage
print("cache_creation:", getattr(u, "cache_creation_input_tokens", 0))
print("cache_read:", getattr(u, "cache_read_input_tokens", 0))
print("fresh_input:", u.input_tokens, "output:", u.output_tokens)
The same request in curl, for a quick check from a terminal:
curl https://api.anthropic.com/v1/messages \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{
"model": "claude-fable-5-2",
"max_tokens": 1024,
"system": [{"type": "text", "text": "You are a release-notes analyst.", "cache_control": {"type": "ephemeral"}}],
"messages": [{"role": "user", "content": "List three risks in this changelog."}]
}'
The prefix check is the change most likely to break you
The prefix check now runs on every account. Fable 5.1 applied it by default only to accounts created on or after August 31, 2026. The rule is simple: the model compares the prefix of your request with the prefix that produced the thinking block you send back. If you changed the system prompt, the tool list, or an earlier message in between, the request fails with a 400.
Most agent frameworks do not edit history, but many do. Common culprits include trimming old turns to save context, rewriting tool results after the fact, and rebuilding the system prompt on each call with a timestamp. Keep the history append-only:
import anthropic
client = anthropic.Anthropic()
SYSTEM = [{"type": "text", "text": PROMPT_V4, "cache_control": {"type": "ephemeral"}}]
TOOLS = load_tools() # fixed for the whole session
history = [] # append-only
def ask(user_text):
history.append({"role": "user", "content": user_text})
resp = client.messages.create(
model="claude-fable-5-2",
max_tokens=2048,
system=SYSTEM,
tools=TOOLS,
messages=history,
)
# Store the full content list, thinking blocks included, exactly as returned.
history.append({"role": "assistant", "content": resp.content})
return resp
If you must compact a conversation, do it by starting a new session with a summary, not by rewriting old turns in place. A timestamp inside the system prompt also counts as an edit, so move it into the user message.
Other changes to fix before you switch
- Computer use: The earlier
computer_20251124tool returns an error on every platform except Amazon Bedrock. Switch tocomputer_toolset_20260801. - Advisor tool: A Fable 5.2 executor accepts only a Fable 5.2 or Mythos 5.2 advisor. Any other advisor returns a 400. Set the advisor model to one of those two.
- Model switches mid-conversation: Moving a conversation onto Fable 5.2 keeps reasoning from earlier Claude models. Moving it back to any other model drops the Fable 5.2 thinking blocks, and the request still succeeds. Your logs should show this so you do not mistake it for a bug.
- Data retention: Fable 5.2 and Mythos 5.2 require 30-day data retention. Check your data policy before you send regulated traffic to either model.
A migration checklist that holds up
- Find every edit to history. Diff each request builder for changes to
system,tools, or earlier messages. Fix them before you test. - Replace the old computer-use tool with
computer_toolset_20260801. - Run your eval set on two routes. Test Fable 5.2 against Opus 5.5 at higher effort. Anthropic's guidance is to start with Opus and move to Fable only when Opus misses your bar. I agree with that. Most teams should expect to stay on Opus.
- Watch cache fields for a week. Track
cache_read_input_tokensper endpoint. A drop to zero usually means a prefix change, not a model problem. - Keep the fallback path. If you run Claude through a gateway such as KissAPI, confirm the model list includes
claude-fable-5-2and run the same tests on that route before you change production config.
Frequently asked questions
What is the model ID for Claude Fable 5.2?
The model ID is claude-fable-5-2. Claude Mythos 5.2 uses claude-mythos-5-2 and is limited to verified organizations.
How much does Claude Fable 5.2 cost per million tokens?
Claude Fable 5.2 costs $8 for input and $40 for output per million tokens. Cache reads cost $0.20, the 5-minute cache write costs $10, and the 1-hour cache write costs $16. Batch processing is $4 input and $20 output.
Does Claude Fable 5.2 support prompt caching?
Yes. Cache reads cost 0.025 times the base input price. Caching only helps when the prefix stays byte-identical, and any edit to the system prompt, tools, or earlier turns triggers the prefix check.
Test Claude Fable 5.2 Before You Commit
Create a free account at api.kissapi.ai/register and run your eval set against Fable 5.2 and Opus 5.5 side by side.
Start Free