⌘K

Claude Fable 5.2

claude-fable-5-2

Claude Fable 5.2 is a high-performance Claude model for demanding reasoning, long-horizon agent workflows, multistep research, and document, spreadsheet, and slide work. Supports text and image inputs through the OpenAI-compatible chat completions endpoint with a 1M-token context window, up to 128K output tokens, and always-on adaptive thinking.

Authentication

authorization string required

All APIs require authentication via Bearer Token.

Get API Key:

Visit API Key Management Page to get your API Key.

Usage:

Add to request header:

Authorization: Bearer YOUR_API_KEY

Parameters

model string required

Model ID to use for the request

Value: claude-fable-5-2


messages array required

Array of message objects representing the conversation history

role string required

Message role

Options: user, assistant, system, developer

content string | array required

Text string or multimodal array supporting text and image inputs


max_tokens integer

Maximum output token budget, including thinking tokens; reserve enough tokens for both thinking and the final answer

Range: 1 - 128000


stream boolean

Whether to stream response incrementally

Default: false