Refract › Models › Claude Fable 5.2
Claude Fable 5.2 API
Use Claude Fable 5.2 by Anthropic through Refract's OpenAI-compatible API for $3.33 per 1M input and $16.7 per 1M output tokens, 58% below the official $8 / $40. Pay per token, no subscription.
| Model ID | claude-fable-5-2 |
|---|---|
| Provider | Anthropic |
| Input, per 1M tokens | $3.33 (official $8) |
| Output, per 1M tokens | $16.7 (official $40) |
| Context window | 1,000,000 tokens |
About this model
Claude Fable 5.2 is the newest Claude Fable model on Refract, and the highest-priced of the 10 Anthropic models here. It replaces Claude Fable 5.1 as the latest Claude Fable model. It reads up to 1M tokens of context and writes up to 128K tokens per reply. Repeated prompt prefixes are read from cache at $0.083 per 1M tokens, 98% less than fresh input, which is what makes long agent sessions cheap.
How it compares
- Claude Fable 5.1: Claude Fable 5.1 costs 35% less; Claude Fable 5.2 is the newer release; cached input $0.083 vs $0.054.
- Claude Opus 4.6: Claude Opus 4.6 costs 68% less; cached input $0.083 vs $0.11.
- Claude Opus 4.7: Claude Opus 4.7 costs 68% less; cached input $0.083 vs $0.11.
What a request costs
A typical chat message (2,000 tokens in, 400 out) costs about $0.013. A coding-agent step (60,000 tokens in, 54,000 of them from cache, 800 out) costs about $0.038.
Chat with Claude Fable 5.2 · Get an API key
Use it from code
curl https://refracthub.com/v1/chat/completions \
-H "Authorization: Bearer $REFRACT_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "claude-fable-5-2", "messages": [{"role": "user", "content": "Hello"}]}'from openai import OpenAI
client = OpenAI(base_url="https://refracthub.com/v1", api_key="YOUR_REFRACT_KEY")
reply = client.chat.completions.create(model="claude-fable-5-2", messages=[{"role": "user", "content": "Hello"}])
print(reply.choices[0].message.content)
Questions
How much does Claude Fable 5.2 cost on Refract?
$3.33 per 1M input tokens and $16.7 per 1M output tokens, compared with $8 and $40 on Anthropic's official API. You pay only for the tokens you use, with no subscription.
Claude Fable 5.2 or Claude Fable 5.1: which should I use?
Claude Fable 5.1 is cheaper. Claude Fable 5.2 is the newer release. Both work with the same key and the same API, so you can try one and switch by changing the model name from "claude-fable-5-2" to "claude-fable-5-1".
Does it work with the OpenAI SDK?
Yes. Point the OpenAI SDK, or any OpenAI-compatible app, at https://refracthub.com/v1 with your Refract key and use the model name "claude-fable-5-2". The Anthropic Messages format works too.
Can I use Claude Fable 5.2 without writing code?
Yes. Chat with it on the web at https://refracthub.com/chat, or use the Refract desktop app for Windows.
Other Anthropic models
- Claude Fable 5.1: $2.15 / $10.8 per 1M tokens
- Claude Haiku 5.5: $0.022 / $0.11 per 1M tokens
- Claude Opus 4.6: $1.08 / $5.38 per 1M tokens
- Claude Opus 4.7: $1.08 / $5.38 per 1M tokens
- Claude Opus 4.8: $1.08 / $5.38 per 1M tokens
- Claude Opus 5: $1.08 / $5.38 per 1M tokens
- Claude Opus 5.5: $1.70 / $4.30 per 1M tokens
- Claude Sonnet 5: $0.50 / $2.50 per 1M tokens