🔥 Black Friday AI API deals are live· New drops every MondayEnds in--d --:--:--See deals →

Claude Fable 5.2: AI Large Language Models

Generate text with Claude Fable 5.2. Anthropic's flagship model for agentic coding and research, 1M context. Try free — pay per generation, no subscription.

Interactive model controls

Claude Fable 5.2 is Anthropic's flagship model and the successor to Claude Fable 5.1, with a 1M-token context window and support for long-horizon agentic coding, multistep research, and document/spreadsheet/slide analysis. Supports text and image inputs. Token-based pricing: $8.00/M input tokens, $40.00/M output tokens. Two endpoints: standard async (/claude-fable-5-2) and live streaming (/claude-fable-5-2/stream) via SSE.

📝

Overview

About this model

Claude Fable 5.2 is Anthropic's flagship model and the successor to Claude Fable 5.1, built for long-horizon agentic coding, multistep research, and document, spreadsheet, and slide work. It offers a 1 million token context window with up to 128K tokens of output and accepts both text and image inputs — charts, tables, PDFs, and screenshots — for multimodal analysis. Pricing is token-based at Anthropic's official rate: $8.00 per million input tokens and $40.00 per million output tokens.

1Agentic Coding: Plan and execute long-horizon coding tasks that span many files, tools, and steps without losing track of the goal.
2Multistep Research: Chain together searches, document reads, and analysis across a 1M-token context without re-summarizing earlier steps.
3Document & Spreadsheet Work: Read and reason over long PDFs, spreadsheets, and slide decks, including scanned pages and screenshots.
4Long-Context Analysis: Reason over entire codebases, contract sets, and research corpora in a single 1M-token request.
5Multimodal Analysis: Combine image and text inputs to extract insights from charts, tables, diagrams, and screenshots.
💰

Pricing & Value

Cost analysis

muapiapp$8.00/M input tokens, $40.00/M output tokens

Token-based billing at Anthropic's official published rate. Minimum $0.001 per call.

Fal.aiNot available

Claude Fable 5.2 is not available on Fal.ai.

ReplicateNot available

Claude Fable 5.2 is not available on Replicate.

** Competitor pricing is estimated based on similar model architectures and usage tiers.

⚙️

Technical Details

Configuration schema

Promptstring

The user message or instruction.

Default ValueExplain quantum entanglement in simple terms.
Image URLstring

Optional image URL for multimodal requests.

Default Valueundefined
System Promptstring

Optional system-level instruction to guide model behavior.

Default ValueYou are a concise and precise assistant.
📖

Implementation Guide

Developer documentation

Standard (Async)

POST /api/v1/claude-fable-5-2 — returns request_id, poll for the result via /api/v1/predictions/{id}/result.

curl -X POST https://api.muapi.ai/api/v1/claude-fable-5-2 \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Summarize the key risks in this quarterly report and list follow-up questions.",
    "image_url": "https://example.com/report-page-1.png",
    "system_prompt": "You are a meticulous financial analyst."
  }'

Streaming (SSE)

POST /api/v1/claude-fable-5-2/stream — returns a live Server-Sent Events stream (Content-Type: text/event-stream). Each chunk has the format data: {"choices":[{"delta":{"content":"text"}}]}, ending with data: [DONE].

See Streaming Documentation for full code examples.

❓

Common Questions

Frequently asked

What is Claude Fable 5.2?

Claude Fable 5.2 is Anthropic's flagship language model and the successor to Claude Fable 5.1, built for long-horizon agentic coding, multistep research, and document, spreadsheet, and slide analysis, with a 1M-token context window.

How is pricing calculated?

Pricing is token-based: $8.00 per million input tokens and $40.00 per million output tokens. The minimum charge per call is $0.001. Actual cost is deducted after each call based on token counts returned by the model.

What is the difference between /claude-fable-5-2 and /claude-fable-5-2/stream?

/claude-fable-5-2 is async — you receive a request_id and poll for the result. /claude-fable-5-2/stream returns a live SSE stream. Use streaming for chat UIs; use the async endpoint for workflows and automation.

Does Claude Fable 5.2 support images?

Yes. Pass an image_url in the request body to include an image — such as a chart, table, PDF page, or screenshot — as part of the user message for multimodal analysis.

How is Claude Fable 5.2 different from Claude Fable 5.1?

Claude Fable 5.2 is the newer flagship and is priced lower than Claude Fable 5.1 ($8.00/$40.00 vs $10.00/$50.00 per million input/output tokens). It uses the same prompt, image_url, and system_prompt fields, so you can switch by changing the endpoint to /claude-fable-5-2. See [Claude Fable 5.1](/playground/claude-fable-5-1) for the previous model.

How large is the context window?

Claude Fable 5.2 supports a 1M-token context window with up to 128K tokens of output, so you can pass in whole codebases, long reports, or large document sets in a single call.