Intelligence
Index v5.0
Custom pricing for production workloads
Claude Fable 5.2 is a chat model from Anthropic designed for complex reasoning and long-horizon agentic tasks.
Claude Fable 5.2 provides robust capabilities for agentic work that runs for hours. It features a large context window and adaptive thinking to support multistep research and analysis.
anthropic/claude-fable-5-2https://api.aimlapi.com/v1Developed by Anthropic, Claude Fable 5.2 is a chat model engineered for demanding reasoning tasks and long-horizon agentic workflows.
The model is built to handle extensive sessions, including multistep research and the creation of finished documents through adaptive thinking.
The model supports a 1M token context window for extensive data processing.
Always-on adaptive thinking allows for deeper reasoning during complex tasks.
Users can generate up to 128K output tokens for comprehensive document creation.
The model accepts both image and text inputs to produce text outputs.
Capabilities include reasoning, streaming, tool usage, vision, and web search.
Conducting complex multistep research projects.
Managing agent sessions that run for extended periods.
Analyzing data to produce finished documents.
Integrating web search and vision for comprehensive analysis.
See how Claude Fable 5.2 compares in intelligence and cost per task. Data retrieved Nov 9, 2026.
Index v5.0
USD / benchmark task
| Usage | Price | Unit |
|---|---|---|
| Input | $8 | 1M tokens |
| Output | $40 | 1M tokens |
| Cached input | $0.2 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 10, 2026.
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $8 | $40 | |
| $0.1 | $0.5 | |
| $2 | $10 | |
| $4 | $20 | |
| $10 | $50 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "anthropic/claude-fable-5-2",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "anthropic/claude-fable-5-2",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "anthropic/claude-fable-5-2",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Claude Fable 5.2 was developed by Anthropic.
The model supports up to 128K output tokens.
It supports image and text inputs with text outputs.
The model features a 1M token context window.
Claude Fable 5.2 costs $8 / 1M tokens for input and $40 / 1M tokens for output on AI/ML API. Cached input is billed at $0.2 / 1M tokens.
Use anthropic/claude-fable-5-2 as the model parameter. Requests go to the OpenAI-compatible endpoint with your AI/ML API key.