Claude Fable 5.2 Text generation API

anthropic / claude-fable-5-2

An Anthropic model for demanding reasoning, long-horizon agentic work, and text-and-image analysis with adaptive thinking.

Use anthropic/claude-fable-5-2 through the sjolt LLM API.

Model IDanthropic/claude-fable-5-2
Input
TextImage
Output
Text
Pricing

Token rates

Input
$3.2 / 1M tokens
Cache read
$0.08 / 1M tokens
Cache write (5 min)
$4 / 1M tokens
Cache write (1 hour)
$6.4 / 1M tokens
Output
$16 / 1M tokens
Claude Fable 5.2anthropic/claude-fable-5-2

Start a conversation

Write a message below to begin.

Model overview

Claude Fable 5.2 for demanding reasoning and long-horizon work

Carry complex technical work from investigation to a finished result with adaptive thinking through the native Anthropic Messages API.

Claude Fable 5.2 text generation model cover
01 · Text generation

Sustain long-running technical work

Provide the relevant code, constraints, tools, and acceptance criteria. Keep the conversation append-only and return complete native assistant blocks when continuing tool workflows.

  • Send one required user prompt with optional system instructions.
  • Review the exact non-streaming API request before running it.
  • Inspect assistant text, finish reason, response ID, and token usage together.
Claude Fable 5.2 long-context text generation model cover
02 · Input and output

Synthesize evidence across a large context

Use up to 1,000,000 context tokens for repositories, source documents, tool results, and conversation history. Label sources and request explicit support for conclusions.

Input
TextImage
Output
Text
Claude Fable 5.2: Analyze technical visuals alongside text
03 · API integration

Analyze technical visuals alongside text

Combine images with precise questions about diagrams, screenshots, charts, or physical systems. Responses are text; the illustrations on this page are conceptual artwork.

  • Compare enabled language models in one place.
  • Copy the request preview to keep application requests aligned with the Playground.
  • Handle assistant responses and provider availability states in the same workflow.

Model characteristics

Context, thinking, and native API workflow

01

Context and output

Up to 1,000,000 context tokens and 128,000 output tokens. max_tokens includes thinking and the final response.

02

Adaptive thinking

Thinking stays enabled. Select low, medium, high, xhigh, max through output_config.effort; the default is high.

03

Native Messages workflow

Send model, messages, and max_tokens to /v1/messages, with system instructions in the top-level system field. Use automatic tool selection and preserve signed thinking blocks in append-only tool conversations.

04

Prompt guidance

Describe the objective, evidence, constraints, available tools, and finish condition. Use lower effort for bounded tasks and raise it only when your own evaluations show a benefit.

FAQ

These are the first questions to answer when evaluating this model.

Which model ID and endpoint should I use?

Send model anthropic/claude-fable-5-2 to the Anthropic Messages endpoint /v1/messages with messages and max_tokens. Public API requests can use native streaming.

Can I turn thinking off?

No. Omit thinking or set thinking.type to adaptive, then choose low, medium, high, xhigh, max through output_config.effort. The default effort is high.

How much output can I request?

Set max_tokens to a positive integer up to 128,000. Thinking and final output share this allowance within the 1,000,000-token context window.

What inputs and outputs are supported?

Provide text and images through native Messages content blocks. The model returns text, and the Playground accepts image attachments for follow-up conversations.

How should I continue a tool conversation?

Keep system instructions and tool definitions stable, append new turns without editing earlier content, and return every assistant block exactly as received. Use automatic tool selection rather than forcing a specific tool.