Claude Fable 5.2 API Pricing
Claude Fable 5.2 API for hard reasoning and long-running agents: Anthropic's most capable widely available model, with a 1M-token context, always-on thinking and both Messages and OpenAI-compatible endpoints.
API access
- Endpoint
- POST /v1/chat/completions
- POST /v1/messages
- Base URL
- https://api.apiko.app/v1
Speaks OpenAI Chat Completions / Anthropic Messages; one APIKO key reaches every listed model.
Input price
60% off$8.00
$3.20
/ 1M tokens
Output price
60% off$40.00
$16.00
/ 1M tokens
Context
1M
Context window
Max output
32K
Per response on APIKO · official 128K
Start testing Claude Fable 5.2
Ask a question — the answer streams in, followed by token usage, latency and an estimated cost.
Claude Fable 5.2 API quickstart
Call Claude Fable 5.2 in the OpenAI Chat Completions / Anthropic Messages format. Copy-ready cURL, Python and Node.js samples below.
Code sample
Endpoint:/v1/messages
curl https://api.apiko.app/v1/messages \
-H "x-api-key: $APIKO_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"}]
}'Tip: set APIKO_API_KEY to a key created on the API keys page.
Works with the official SDKs — swap in the base URL, API key and model ID.
Full Claude Fable 5.2 API docsManage API keysOne APIKO key works across every listed model.
Claude Fable 5.2 API pricing
Billed on the input, output and cached tokens reported in usage; every price is per 1M tokens.
- Input tokens60% off
- $8.00$3.20/ 1M tokens
The prompt and context you send to the model
- Output tokens60% off
- $40.00$16.00/ 1M tokens
What the model generates, reasoning tokens included
- Cached input
$0.200$0.080/ 1M tokens
Claude Fable 5.2 API specs
Specs follow APIKO's public request contract first; anything it does not publish is taken from the model vendor's official docs, and shows as not disclosed only when neither publishes it.
- Streaming
- Supported
- Tool calling
- Supported
- Structured JSON
- Supported
- Reasoning mode
- Supported
- Input modality
- text · image · pdf
- Output modality
- text
- Reasoning levels
- low · medium · high · xhigh · max
- Max output
- 32K per response (16K on the free trial); official 128K
About Claude Fable 5.2
Claude Fable 5.2 API for hard reasoning and long-running agents: Anthropic's most capable widely available model, with a 1M-token context, always-on thinking and both Messages and OpenAI-compatible endpoints.
APIKO serves this model at /v1/chat/completions / /v1/messages. Try prompts and parameters in the playground on this page first, then connect your server with the same APIKO API key.
- Provider
- Anthropic
- Endpoint
- /v1/chat/completions/v1/messages
- Context window
- 1M
- Model ID
- claude-fable-5-2
How to use Claude Fable 5.2
The playground and the API share one model ID — three steps take you from trying a prompt to production calls.
Step 1
Try it online
Test the system prompt, output length and sampling settings in the playground.
Step 2
Manage API keys
Sign in to see your keys or create one; one key works across every listed model.
Step 3
Connect your server
Send requests to /v1/chat/completions and record cost from the usage field.
Compare Claude Fable 5.2 with other Anthropic models
Live APIKO prices per 1M tokens. Every model here works with the same API key — switch by changing the model ID.
| Model | Context window | Input | Output |
|---|---|---|---|
| Claude Fable 5claude-fable-5 | 1M | $2.25 | $11.25 |
| Claude Fable 5.1claude-fable-5-1 | 1M | $2.25 | $11.25 |
| Claude Fable 5.2This pageclaude-fable-5-2 | 1M | $3.20 | $16.00 |
| Claude Haiku 4.5claude-haiku-4-5 | 200K | $0.397 | $1.98 |
| Claude Haiku 5.5claude-haiku-5-5 | 1M | $0.022 | $0.110 |
| Claude Opus 4.6claude-opus-4-6 | 1M | $1.12 | $5.62 |
| Claude Opus 4.7claude-opus-4-7 | 1M | $1.12 | $5.62 |
| Claude Opus 4.8claude-opus-4-8 | 1M | $1.12 | $5.62 |
| Claude Opus 5claude-opus-5 | 1M | $1.12 | $5.62 |
| Claude Opus 5.5claude-opus-5-5 | 1M | $0.900 | $4.50 |
| Claude Sonnet 4.6claude-sonnet-4-6 | 1M | $0.675 | $3.37 |
| Claude Sonnet 5claude-sonnet-5 | 1M | $0.450 | $2.25 |
| Claude Sonnet 5.5claude-sonnet-5-5 | 1M | $0.854 | $4.27 |
Comparing models and price tiers?
See live prices for every modelClaude Fable 5.2 API FAQ
How much does the Claude Fable 5.2 API cost?
Claude Fable 5.2 API pricing on APIKO is $3.20 per 1M input tokens and $16 per 1M output tokens. Anthropic lists $8 input and $40 output, so every rate, prompt caching included, is 60% lower. Billing follows the tokens reported in usage, and thinking tokens count as output.
What is the Claude Fable 5.2 model ID?
The model ID is claude-fable-5-2. Send it as the model field to https://api.apiko.app/v1/messages (Anthropic Messages format) or https://api.apiko.app/v1/chat/completions (OpenAI format). It is the same ID Anthropic uses on its own API.
When was Claude Fable 5.2 released?
Anthropic released Claude Fable 5.2 on 9 November 2026, together with Claude Mythos 5.2, and APIKO added it on 10 November 2026. Anthropic has committed not to retire it before 9 November 2027.
Is there a free Claude Fable 5.2 API?
There is no permanent free tier. A new APIKO account gets $0.20 of trial credit that works on every model, claude-fable-5-2 included, billed at the same Claude Fable 5.2 API pricing. During the trial one response is capped at 16K output tokens.
How is prompt caching billed on the Claude Fable 5.2 API?
Under Claude Fable 5.2 API pricing on APIKO, cache reads cost $0.08 per 1M tokens and 5-minute cache writes $4, against Anthropic's $0.20 and $10. A cache read costs 2.5% of the input price, so a long system prompt or document that repeats across requests becomes much cheaper. Mark the reusable prefix with cache_control in the Messages format; hits appear as cache_read_input_tokens in usage. APIKO has not yet measured cache hit rates on this model.
What are the Claude Fable 5.2 context window and max output?
Anthropic gives Claude Fable 5.2 a 1M-token context window and up to 128K output tokens per response. Through APIKO one response is capped at 32K output tokens (16K during the trial); APIKO does not cap input.
Can I turn off thinking in Claude Fable 5.2?
No. Adaptive thinking is always on, and Anthropic's API rejects thinking set to disabled or a budget_tokens value. Control depth with output_config.effort: low, medium, high (the default), xhigh or max; lower effort answers sooner and bills fewer output tokens. Anthropic's API also rejects forced tool_choice (any or tool) on this model, so use auto.
How do I call the Claude Fable 5.2 API with the Anthropic or OpenAI SDK?
Use your APIKO key and change the base URL: https://api.apiko.app for the Anthropic SDK, https://api.apiko.app/v1 for the OpenAI SDK, with model claude-fable-5-2. Both formats passed APIKO's launch test. Anthropic's own API rejects temperature, top_p and top_k on this model; APIKO accepted them in that test, but leaving them out keeps your code portable.
Claude Fable 5.2 vs Claude Fable 5.1: what changed?
Anthropic cut the list price by 20% (Fable 5.1 lists $10 / $50 per 1M tokens) and says 5.2 generates up to 30% faster. Its published scores rise on FrontierCode 2.0 (49.1% vs 32.4%) and Humanity's Last Exam with tools (74.2% vs 65.6%). Four API changes can break 5.1 code: edited history now invalidates thinking blocks on every account, only 5.2 and Mythos 5.2 read 5.2 thinking blocks, computer_20251124 is rejected, and the advisor tool needs a 5.2 advisor. On APIKO, Fable 5.1 costs $2.25 / $11.25 per 1M tokens, below Claude Fable 5.2 API pricing.
Claude Fable 5.2 vs Claude Opus 5.5: which should I use?
Anthropic suggests starting with Opus 5.5 and moving to Fable 5.2 for demanding reasoning and long-horizon agent work where Opus 5.5 at higher effort still falls short. On Anthropic's FrontierSWE v2 agentic coding test Fable 5.2 scores 69.9% and Opus 5.5 62.3%; these are Anthropic's numbers, not APIKO tests. Opus 5.5 costs $0.90 / $4.50 per 1M tokens on APIKO, about 28% of Claude Fable 5.2 API pricing, and both run under the same key.
Is Claude Mythos 5.2 available alongside Claude Fable 5.2 on APIKO?
No. Mythos 5.2 is the same model with lighter cyber and biology safeguards, and Anthropic offers it only to organizations in its verification programs. Claude Fable 5.2 is the version open to everyone, and it is the one APIKO serves.
How do I get an API key?
Sign up, then create an API key in your console. One API key can call every model on the gateway.
Can I stream responses?
Yes. Set stream: true; for Chat Completions, also send stream_options.include_usage = true to receive usage in the final event.
What if a request fails?
You are not billed for failed or errored calls. Retry, and if it keeps failing, contact us via the live chat at the bottom right of the page.