Listed rates are the highest rates across available channels. Your request is billed at the selected channel’s rate, locked when the request starts, and may cost less.
Claude Fable 5.2
claude-fable-5-2AnthropictextAnthropic’s most capable generally available model for the hardest reasoning and long-running agentic work, at $8/$40 per MTok. 1M context, 128k output.
Input / Output per 1M tokens
$8.00 / $40.00
Context window
1M
Provider routes
1
Capabilities
StreamingToolsVision
Providers
Choose a route to view its rates and API example.
API example
Connect with your existing OpenAI-compatible SDK.
chat.ts
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://router.202ai.xyz/v1',
apiKey: process.env.MACAW_API_KEY!,
});
const res = await client.chat.completions.create({
model: 'claude-fable-5-2',
messages: [
{ role: 'user', content: 'Write me a haiku about gateways.' },
],
});
console.log(res.choices[0].message.content);