APIMart
Back to all models

Claude Fable 5.2 API

AnthropicModel ID claude-fable-5.2Text modelReleased November 9, 2026

Use Fable 5.2 to trace why latency jumped after a release, check whether a paper’s statistics support its claim, or find the formula that breaks a financial model.

Max input
1,000,000 tokens
Max output
128,000 tokens
Input → output
Text, Image → Text
Knowledge cutoff
June 2026
  • Image input
  • Streaming
  • Cached input pricing
  • OpenAI SDK compatible

Claude Fable 5.2 API use cases

Each use case comes with an illustrative example: source material, a prompt and a hand-written sample answer, not actual model output. Copy the prompt, swap in your own material and try it on Claude Fable 5.2.

Try Claude Fable 5.2 with your own material

Cross-service incident investigation

Send the release notes, the relevant code and the monitoring data together, and have Claude Fable 5.2 find what changed performance or error rates and say which material supports each step. The conclusion should be checkable against the metrics; compare them again after the fix ships.

Example: Why did latency jump after this release?

Material

Release notes
v2.8 raises the order list page size from 20 to 100.
orders.ts
for (const order of orders) { order.customer = await db.customers.find(order.customerId); }
Monitoring
After v2.8, /orders p99 rose from 180 ms to 950 ms and database queries per request rose from 21 to 101.

PromptUsing the release notes, code and monitoring data, find why the /orders endpoint got slower, explain the evidence, and give the fix and how to verify it after deploy.

Sample answer · written by hand to show the reasoning

The loop looks up the customer once per order: at 100 orders per page that is 1 list query plus 100 customer queries, exactly the 101 in monitoring. Replace the per-order lookup with one batched query by ID list, which brings each request down to 2 queries, then confirm p99 is back under 200 ms after deploy.

About the Claude Fable 5.2 API

  • Anthropic’s most capable generally available model

    Anthropic released Claude Fable 5.2 on November 9, 2026 for the hardest open-ended technical work in coding, scientific research and finance. Anthropic describes it as a step above Opus 5.5 in almost all the capabilities it evaluated.

  • Start with Opus 5.5, move up when it falls short

    Anthropic recommends Claude Opus 5.5 for most coding and knowledge work. Use Claude Fable 5.2 when your evals on Opus 5.5 at higher effort still fall short, or when the task needs a very long chain of reasoning.

  • Cheaper and faster than Fable 5.1

    Official input and output prices are 20% lower than Fable 5.1, and output is up to 30% faster. Thinking is always on and can’t be turned off; the default effort in the official API is high.

  • Claude Fable 5.2 API key and access

    You don’t need a separate Claude Fable 5.2 API key: one APIMart key works for every model. Requests go through an OpenAI Chat Completions-compatible endpoint with the model ID claude-fable-5.2.

Claude Fable 5.2 official benchmark results

Selected results Anthropic published at launch.

  • FrontierCode 2.0 (Xhigh)

    49.1%

    Whether changes to real codebases meet maintainers’ bar for merging. Ahead of Opus 5.5 (45.5%) and GPT-6 Astra (42.8%); Fable 5.1 scores 32.4%.

  • FrontierSWE v2

    69.9%

    An agentic coding evaluation. Ahead of GPT-6 Astra (65.5%) and Opus 5.5 (62.3%), and 13.6 points above Fable 5.1 (56.3%).

  • Terminal-Bench-Science 0.1

    74.6%

    An agentic scientific research evaluation. Ahead of GPT-6 Astra (68.1%) and Opus 5.5 (58.7%); Fable 5.1 scores 52.6%.

  • Remote Labor Index (High)

    41.3%

    A knowledge work evaluation. About double Opus 5.5 (21.3%) and GPT-6 Astra (20.8%); Fable 5.1 scores 17.9%.

  • Humanity's Last Exam (with tools)

    74.2%

    Hard questions across many disciplines, with tools allowed. Ahead of Opus 5.5 (67.7%), Fable 5.1 (65.6%) and GPT-6 Astra (57.2%).

  • Chartography (no tools)

    73.4%

    Reading complex charts and answering questions about them. Ahead of Gemini 4 Carbon (72.5%), GPT-6 Astra (71.0%) and Opus 5.5 (64.4%).

How to call the Claude Fable 5.2 API

To call Claude Fable 5.2, you only need an APIMart API key and your existing OpenAI SDK, or send plain HTTP requests.

POST /v1/chat/completions
curl https://api.apimart.ai/v1/chat/completions \
  -H "Authorization: Bearer $APIMART_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-fable-5.2",
  "messages": [
    {
      "role": "user",
      "content": "Describe how to design a clear API in three sentences."
    }
  ],
  "stream": false
}'

Claude Fable 5.2 access details

Model IDclaude-fable-5.2
Base URLhttps://api.apimart.ai/v1
Endpoint/chat/completions

Common parameters

model
Required
messages
Required
stream
Optional
max_tokens
Optional
temperature
Optional
All request parameters, response fields and error codes

Claude Fable 5.2 API request parameters

Claude Fable 5.2 uses the general chat endpoint, POST /v1/chat/completions, with a JSON body. model and messages are required; every other parameter is optional.

ParameterTypeRequiredDescription
modelstringYesModel ID. Use claude-fable-5.2 for this model.
messagesarrayYesConversation messages. Each message has a role (system, user, or assistant) and content. Include earlier messages for multi-turn conversations.
streambooleanNoWhether to stream the output. true returns chunks over SSE, false returns the full response at once. Default: true.
temperaturenumberNoOutput randomness, 0–2. Default: 1.0. Lower values give more deterministic output.
top_pnumberNoNucleus sampling, 0–1. Default: 1.0. Adjust this or temperature, not both.
max_tokensintegerNoMaximum number of tokens to generate for the reply.
frequency_penaltynumberNoFrequency penalty, -2.0 to 2.0. Default: 0. Positive values reduce repeated wording.
presence_penaltynumberNoPresence penalty, -2.0 to 2.0. Default: 0. Positive values encourage new topics.
stopstring | arrayNoUp to 4 stop sequences. Generation stops when any of them appears.
nintegerNoNumber of replies to generate. Default: 1.

Response fields

The response contains the fields below. Token usage is returned in usage, which you can use to check costs.

FieldTypeDescription
idstringUnique identifier for the request.
modelstringThe model that handled the request.
choicesarrayList of replies. Each item contains message (role and content) and finish_reason.
usageobjectToken usage: prompt_tokens, completion_tokens, and total_tokens.

Error codes

Failed requests return an error object with code, message, and type.

StatusTypeMeaning
400invalid_request_errorInvalid request parameters.
401authentication_errorThe API key is invalid or missing.
402payment_requiredInsufficient account balance.
403permission_errorNo permission to access this resource.
429rate_limit_errorToo many requests. Retry later.
500server_errorInternal server error.
502bad_gatewayGateway error. The service is temporarily unavailable.

Claude Fable 5.2 API pricing

The Claude Fable 5.2 API is billed by token usage, and prices depend on your membership tier. Prices below are per million tokens; 1 US dollar = 10 credits.

ItemGoldCurrent pricePlatinumDiamondOfficial priceYou save
Input64Credits~$6.460.8Credits~$6.0857.6Credits~$5.7680Credits~$820%
Cached input1.6Credits~$0.161.52Credits~$0.1521.44Credits~$0.1442Credits~$0.220%
Output320Credits~$32304Credits~$30.4288Credits~$28.8400Credits~$4020%

Prices are for reference only. View full pricing

Why call Claude Fable 5.2 API through APIMart

  • 20% below official pricing

    Claude Fable 5.2 API pricing is billed by token usage. Gold to Diamond member prices are 20%–28% below Anthropic's official prices, and cached input costs just $0.16 per 1M tokens.

    See membership prices
  • One API key for 500+ models

    Claude Fable 5.2, the rest of its family and 500+ models from GPT, Claude, Gemini and more share one API key and one account balance. Switching models is just a change to the model parameter.

  • Change two lines of existing code

    If you already use the OpenAI SDK, point base_url at https://api.apimart.ai/v1 and swap in your APIMart API key. Requests and responses keep the same format.

  • Try it online before you code

    Try Claude Fable 5.2 with your own material in the Playground, no code or setup needed, and integrate once you like the results.

    Open Playground

Which Anthropic model should you choose?

Base prices per 1M tokens (USD). Your Claude Fable 5.2 API key works for every model in the table; just change the model parameter.

Differences between Anthropic models
ComparisonClaude Fable 5.2 CurrentClaude Sonnet 4.5Claude Haiku 4.5Claude Opus 4.5Claude Opus 4.6Claude Sonnet 4.6Claude Opus 4.7Claude Opus 4.8Claude Fable 5Claude Sonnet 5Claude Opus 5Claude Haiku 5.5Claude Sonnet 5.5Claude Opus 5.5Claude Fable 5.1
Best forHard coding problems, Scientific research, Financial modelingCoding and agents, Computer use, 200K contextSmall model, Sub-agents and bulk tasks, 200K contextCoding and agents, Adjustable effort, 200K contextCoding and code review, Knowledge work, 1M contextCoding, Computer use, 1M contextHard coding tasks, High-resolution images, Long agentic runsLarge code migrations, Legal and knowledge work, Computer useLong-running agents, Software engineering, Knowledge work and scienceCoding, Research agents, Computer useCoding, Agents, Knowledge workClassification & routing, Data extraction, Sub-agent tasksEveryday coding, Agentic tasks, Data analysisAgentic coding, Large-scale refactoring, Knowledge workCode review, Long-running coding, Documents and spreadsheets
Max input1,000,000 tokens200,000 tokens200,000 tokens200,000 tokens1,000,000 tokens1,000,000 tokens1,000,000 tokens1,000,000 tokens1,000,000 tokens1,000,000 tokens1,000,000 tokens1,000,000 tokens1,000,000 tokens1,000,000 tokens1,000,000 tokens
Max output128,000 tokens64,000 tokens64,000 tokens64,000 tokens128,000 tokens128,000 tokens128,000 tokens128,000 tokens128,000 tokens128,000 tokens128,000 tokens128,000 tokens128,000 tokens128,000 tokens128,000 tokens
Knowledge cutoffJune 2026January 2025February 2025May 2025May 2025August 2025January 2026January 2026January 2026January 2026May 2026June 2026June 2026June 2026June 2026
Input price$6.4$2.4$0.8$4$4$2.4$4$4$8$1.6$4$0.08$1.6$3.2$8
Output price$32$12$4$20$20$12$20$20$40$8$20$0.4$8$16$40

Claude Fable 5.2 FAQ

Should I use Claude Fable 5.2 or Claude Opus 5.5?

Start with Claude Opus 5.5 for most coding and knowledge work; that is Anthropic’s own recommendation. Claude Fable 5.2 is more capable and costs more at official prices, and it suits the hardest open-ended technical tasks. Anthropic’s docs suggest moving to it when your evals on Opus 5.5 at higher effort still fall short. On APIMart both share one endpoint and API key, so you only change the model parameter.

How is Claude Fable 5.2 different from Fable 5.1?

Claude Fable 5.2 is the next generation after Fable 5.1. According to Anthropic, Claude Fable 5.2 pricing is 20% lower on input and output, output is up to 30% faster, and its safeguards produce about 55% fewer unnecessary blocks. On Anthropic’s FrontierCode 2.0 evaluation the score rises from 32.4% to 49.1%. To switch from Fable 5.1, set model to claude-fable-5.2 and rerun your own prompts to check the output.

How are Claude Fable 5.2 and Claude Mythos 5.2 related?

They are the same underlying model. According to Anthropic, Fable 5.2 carries cybersecurity and biology safeguards and is the generally available version, while Mythos 5.2 runs without some of those safeguards and has limited availability for approved organizations. As a result, Fable 5.2 may block penetration testing, exploit code and most research-biology requests; ordinary coding and analysis tasks are not affected. APIMart offers Claude Fable 5.2.

When was Claude Fable 5.2 released?

Anthropic released Claude Fable 5.2 on November 9, 2026, with a reliable knowledge cutoff of June 2026. It is available on APIMart under the model ID claude-fable-5.2.

Can I turn off thinking on Claude Fable 5.2?

No. According to Anthropic’s documentation, Claude Fable 5.2 uses adaptive thinking that is always on, and the model decides how much to think for each task. In Anthropic’s official API the effort parameter controls depth, with high as the default. For faster, cheaper replies, switch to Claude Opus 5.5 or Claude Sonnet 5.5.

How can I try this model online?

Click Start chatting or Open Playground to visit the existing APIMart Playground. Select Claude Fable 5.2 in the text category to start exploring.

Which model ID does the Claude Fable 5.2 API use?

Set model to claude-fable-5.2. Copy the exact ID from the page heading or the integration details panel.

Is it compatible with the OpenAI SDK?

You can keep the OpenAI SDK. Set base_url to https://api.apimart.ai/v1, provide your APIMart API key, and use the model ID on this page.

What is the context window of Claude Fable 5.2?

On APIMart, Claude Fable 5.2 accepts up to 1,000,000 input tokens per request. Your prompt, earlier messages, and file content all count toward it.

How many tokens can it output at once?

Claude Fable 5.2 can output up to 128,000 tokens in a single reply. Use the max_tokens parameter to set a lower limit.

How much does the Claude Fable 5.2 API cost?

The Claude Fable 5.2 API on APIMart is billed by token, and prices depend on your membership tier. Gold: $6.4 per million input tokens and $32 per million output tokens. Diamond: $5.76 per million input tokens and $28.8 per million output tokens. Prices may change; the pricing page has the current rates.

Does it support streaming?

Yes. The general chat endpoint streams over SSE by default. Set stream to false to receive the complete response at once.

How do I get an API key?

Sign in to APIMart and create a key on the API Keys page, then send it in the Authorization: Bearer header. The same key also works for other models on the platform.