Anthropic/Claude Fable 5.2

-65%vs official

Anthropic Claude Fable 5.2 is Anthropic's most capable model for technical work, ahead of Fable 5.1 in coding, finance and science; it reads detailed images and PDFs and can lead over a thousand subagents. Text and image input, 1M-token context, 128K output, always-on thinking.

24-hour availability —CodeInput $2.80/1MOutput $14.00/1MData privacy
View docs

Input

Output

Send a message on the left. The reply appears here.

Availability 24 hours

Hourly success rate of all completed requests to this site.

Loading…

Pricing

This model is priced by the usage dimensions listed here. Compare all pricing.

Prices are shown in USD. Charges depend on the model and your actual usage.

Billing itemOur priceCurrent pricefal.aiOfficial priceSavings
Input$2.8/1M tokens$8/1M tokens$8/1M tokens65% cheaper than official65% cheaper than fal.ai
Cache read$0.07/1M tokens$0.2/1M tokens$0.2/1M tokens65% cheaper than official65% cheaper than fal.ai
Cache write$3.5/1M tokens$10/1M tokens$10/1M tokens65% cheaper than official65% cheaper than fal.ai
Cache write (1h)$5.6/1M tokens$16/1M tokens$16/1M tokens65% cheaper than official65% cheaper than fal.ai
Output$14/1M tokens$40/1M tokens$40/1M tokens65% cheaper than official65% cheaper than fal.ai

Reference prices checked on 2026-12-02: fal.ai · Official pricing

README

Claude Fable 5.2

Claude Fable 5.2 (claude-fable-5-2) is built for the hardest reasoning and long-horizon agentic work, from multi-repository problems to engineering tasks that run for days. Text, image and PDF input, 1M-token context, 128K output; thinking cannot be turned off. Served via an Anthropic-compatible messages API.

Why Choose This?

Explore an open problem
Fable 5.2 is intended for demanding reasoning where the approach is still open. Ask for the main candidate routes, the assumptions each needs, and a test that would distinguish them before choosing one to develop.
Keep evidence in view
Anthropic lists a one-million-token context window and up to 128,000 output tokens. Use an index for related technical material so the discussion can carry both references and checkable intermediate results as the project advances.
Produce evidence at each phase
Break the work into hypotheses, validation, and synthesis. Describe the artifact you want at each step, such as an assumptions table or a test record, so the team can discuss evidence before committing to the next stage.

Parameters

ParameterRequiredDescription
modelstringRequiredModel ID to call. Use claude-fable-5-2.
max_tokensintegerRequiredMaximum number of tokens to generate. Default: 4096.
messagesarrayRequiredConversation history as a list of role and content messages.
messages[].rolestringOptionalWho wrote the message, such as user or assistant.
messages[].contentarrayOptionalMessage text, or a list of content parts.
systemstringOptionalInstructions that set the assistant behavior.
streambooleanOptionalStream the reply as server-sent events. Default: false.
thinking.budget_tokensintegerOptional
thinking.typestringOptional
toolsarrayOptionalTools
temperaturenumberOptionalSampling temperature. Lower is more focused, higher is more varied.
top_pnumberOptionalNucleus sampling threshold.
top_kintegerOptionalTop K
tool_choiceobjectOptionalTool Choice

How to Use

  1. Try it here first — Sign in and run the model in the playground above to check the output before you write code.
  2. Create an API key — Open Console → API Keys and create a key. The same key works for every model.
  3. Write your messages — Put the task and its context in the messages array; add a system prompt to set the assistant behavior.
  4. Set optional parameters — Adjust the optional parameters listed above to control the output.
  5. Send the request — Call POST /v1/messages with the model ID claude-fable-5-2.
  6. Read the reply — The reply and its token usage come back in the response and are logged in the console.

Writing Effective Prompts

Clear instructions get better answers. Tell the model who it is, what you need and how the answer should look.

1. Set the role and goal

Open with who the model should act as and what the task is. Put rules that never change in the system prompt.

You are a senior Python reviewer. Review the function below for bugs and readability.

2. Give the context

Paste what the answer depends on: documents, code, data or earlier decisions. Separate each part with a heading or tag.

3. Specify the output

Name the format, length and tone: a table, JSON with given keys, five bullet points, a 200-word summary.

4. Show an example

One or two input and output examples fix the style faster than a long description.

5. Iterate

When an answer misses, add the missing constraint to the prompt instead of starting over.

Prompt
WeakWrite about our product.
StrongYou are a B2B copywriter. Write three 40-word LinkedIn posts announcing our invoicing API for small accounting firms. Tone: confident, plain English, no emojis. End each post with a question.

Pricing

Billing itemPriceOfficial price
Input$2.80 per 1M tokens$8.00 / 1M tokens
Cache read$0.07 per 1M tokens$0.20 / 1M tokens
Cache write$3.50 per 1M tokens$10.00 / 1M tokens
Cache write (1h)$5.60 per 1M tokens$16.00 / 1M tokens
Output$14.00 per 1M tokens$40.00 / 1M tokens

That is 65% below the official list price.

Example: a request with 10,000 input tokens and 1,000 output tokens costs about $0.04.

Prices are shown in USD. Charges depend on the model and your actual usage. Compare all pricing

Best Use Cases

  • Compare distinct technical routesSupply a set of constraints and incomplete preliminary results. Ask Fable to propose approaches that depend on different assumptions and order the follow-up experiments by how well they would separate those approaches.
  • Design a data migrationProvide legacy tables, consumers, and the processes that must remain available. Ask Fable to identify the hard parts and compare phased cutovers using write consistency, reconciliation checks, and rollback windows as common evaluation criteria.
  • Review a mathematical argumentSupply the problem statement, current proof, and intermediate conclusions. Ask which theorem and assumptions each major step depends on, then use a small computable example where practical before a researcher reviews the full argument.
  • Plan a reproductionSupply the published method, data dictionary, and equipment setup. Ask for minimum data requirements, key controls, and observed measures, with settings that the original authors did not specify recorded as assumptions for the team.

Pro Tips

  • Define how a claim could fail — For each suspected explanation, name an observation that would rule it out. Ask the model to compare alternatives against the same criteria and flag plausible routes that currently have the weakest evidence.
  • Verify on a small sample — Use the smallest workable input or executable example to test the proposed mechanism before scaling to the full project. Keep the configuration and finding for each run so changes in the outcome can be traced.
  • Separate evidence from assumptions — Distinguish measured results, statements from a source, and the model's inference in the deliverable. Turn a conclusion that remains unverified into a precise next question with the evidence or reviewer needed to resolve it.

FAQ

What is Claude Fable 5.2?

Claude Fable 5.2 (claude-fable-5-2) is built for the hardest reasoning and long-horizon agentic work, from multi-repository problems to engineering tasks that run for days. Text, image and PDF input, 1M-token context, 128K output; thinking cannot be turned off. Served via an Anthropic-compatible messages API.

How do I call the Claude Fable 5.2 API?

Send POST /v1/messages with the model ID claude-fable-5-2 and your API key. Ready-to-run samples are in the API section above.

How is billing calculated?

Charges are based on the selected model, its billing method, and your actual usage.

Where do I get an API key?

Create one in Console → API Keys. The same key works for every model on the gateway.

Can I use the output commercially?

Yes. You can use what you generate in commercial projects, subject to the model provider’s terms.

About Claude Fable 5.2 on DreamTo

Claude Fable 5.2 (claude-fable-5-2) is built for the hardest reasoning and long-horizon agentic work, from multi-repository problems to engineering tasks that run for days. Text, image and PDF input, 1M-token context, 128K output; thinking cannot be turned off. Served via an Anthropic-compatible messages API.