Skip to main content
Anthropic

Claude Fable 5 API

Anthropic

Claude Fable 5 is part of the Claude model familyView all Claude models

Anthropic Mythos-class model for long-running reasoning, agents, and vision work, with a 1M-token context window.

anthropic/claude-fable-5

Documentation

Conversation

Start a conversation

Anthropic Mythos-class model for long-running reasoning, agents, and vision work, with a 1M-token context window.

Enter to send · Shift+Enter for a new line

UnificAlly doesn't store your LLM prompts and replies. We only keep token usage information for billing purposes.

Uses POST /v1/chat/completions with your UnificAlly API key. Supports system and user prompts, tools, streaming, and thinking when available.

Updated

What is the Claude Fable 5 API?

The Claude Fable 5 API is live on UnificAlly as anthropic/claude-fable-5, from $3/1M tokens of input. Claude Fable 5 is Anthropic's June 2026 model for long-running reasoning, coding, vision, and document work. It is the first model in the Claude 5 family and opens a new Mythos class that sits above the Opus line. It shares its core model with Claude Mythos 5, but adds stricter safeguards for sensitive cyber, biology, chemistry, and distillation requests; Mythos 5 stays limited to approved organizations. Anthropic restored access on July 1, 2026 after a short pause in June. On UnificAlly it runs as anthropic/claude-fable-5 with a 1M token context window, up to 128k output tokens, and text plus image input.

Claude Fable 5 API specs

Model IDanthropic/claude-fable-5
EndpointPOST https://direct-api.unifically.com/v1/chat/completions
Other request formatsResponses (POST /v1/responses) and Messages (POST /v1/messages)
ResponseIn the same call, or streamed with "stream": true
Input rate$3/1M tokens
Output rate$15/1M tokens
Cache read rate$0.30/1M tokens
Cache creation rate$3.75/1M tokens

Billing is per token, with no subscription. The Claude API pricing guide covers the rates for every Claude model.

How to use the Claude Fable 5 API

  1. Create an API key on the API keys page.
  2. Send a POST request to /v1/chat/completions on https://direct-api.unifically.com with the model ID and a messages array. It is the OpenAI-compatible endpoint shared by the language models on UnificAlly.
  3. Read the reply from choices[0].message.content in the same response.
curl -X POST https://direct-api.unifically.com/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "anthropic/claude-fable-5",
    "messages": [
      { "role": "user", "content": "Read this migration plan and list the risks in order of severity." }
    ]
  }'

The response comes back synchronously with the completion and the token counts:

{
  "id": "3f8e2a1c-7b4d-4e9a-9c2f-5d1e8b7a6c40",
  "object": "chat.completion",
  "created": 1710000000,
  "model": "anthropic/claude-fable-5",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "The risks, in order of severity..."
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 28,
    "completion_tokens": 64,
    "total_tokens": 92
  }
}

Set "stream": true to receive tokens as they generate. The stream is sent as server-sent events and ends with data: [DONE].

Claude Fable 5 API parameters

ParameterTypeDefaultWhat it does
modelstringrequiredModel identifier. Use anthropic/claude-fable-5
messagesarrayrequiredNon-empty array of message objects with role and content (a string or an array of content parts). Allowed roles: system, developer, user, assistant, tool, function
streambooleanfalseIf true, the response is streamed using server-sent events
stream_optionsobjectoptionalSet { "include_usage": true } to get a final chunk with token usage. Only used when stream is true
temperaturenumberoptionalSampling temperature between 0 and 2. Higher values produce more random output
max_tokensintegeroptionalMaximum number of tokens to generate in the completion
max_completion_tokensintegeroptionalAccepted as an alias for max_tokens
top_pnumberoptionalNucleus sampling parameter. An alternative to temperature
stopstring or arrayoptionalUp to four sequences where the model stops generating further tokens
toolsarrayoptionalList of tools the model may call. Each tool requires a type and a function definition
tool_choicestring or objectoptionalControls which tool, if any, is called: none, auto, required, or a specific tool
response_formatobjectoptionalSet { "type": "json_object" } to enable JSON mode when supported by the model

The Claude Fable 5 API documentation lists the supported endpoints, and the Chat Completions reference has the full request and response fields.

Messages request

The Claude Fable 5 API also accepts the Messages format on /v1/messages. On Chat Completions, Claude models return only the final answer; use the Messages endpoint with the thinking parameter to get the thinking text.

curl -X POST https://direct-api.unifically.com/v1/messages   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -H "anthropic-version: 2023-06-01"   -d '{
    "model": "anthropic/claude-fable-5",
    "max_tokens": 1024,
    "messages": [
      {"role": "user", "content": "Write a short fable about a curious fox."}
    ]
  }'

Key features of Claude Fable 5

Top rank on Arena Text

Claude Fable 5 ranks #1 on Arena's Text board with a 1509±9 score, ahead of Claude Opus 4.6 Thinking and Claude Opus 4.7 Thinking. That makes it a strong pick for open-ended reasoning, coding, writing, and analysis.

Top rank on Arena Vision

It also ranks #1 on Arena's Vision board at 1311±14. Use it when screenshots, charts, diagrams, and visual evidence are part of the task, not an afterthought.

1M token context, 128k output

The working window holds a large repo, a long document set, or a full agent transcript at once, and a single response can run up to 128k tokens.

Always-on adaptive thinking

Adaptive thinking is the only thinking mode. The model decides how much to reason per request; raw chain of thought is not returned, only a readable summary when thinking blocks appear.

Built for long-horizon agent work

Fable 5 is tuned for tasks that run across many steps: planning, tool calls, memory, and progress checks without losing state mid-run.

What Claude Fable 5 is best for

  • Large codebase migrations

    Repo-wide changes and multi-step code review where the model must hold the whole picture.

  • Long document analysis

    PDFs, charts, tables, and reports read together and returned as one structured brief.

  • Agent workflows

    Planning, tools, memory, and progress checks across runs that would restart a smaller model.

  • Vision-heavy reasoning

    Screenshots, diagrams, and scientific figures as first-class input next to the prompt.

  • Deep research briefs

    Synthesis across many sources held in view at once inside the 1M window.

  • High-stakes enterprise work

    Tasks where the model must check its own output before it lands.

Claude Fable 5 use cases

Build a coding agent that inspects a repo, plans a migration, edits files, writes tests, and reviews its own work in one session. Use it as the reading layer in a document intelligence product that takes long filings, contracts, spreadsheets, and charts and returns a structured brief. It also fits research copilots that keep a large body of source material in view while drafting. For product teams, Fable 5 works well behind bug triage, PR review, technical planning, and multi-step operations where a smaller model loses track.

Claude Fable 5 limitations

Fable 5 carries safeguards that can decline or redirect sensitive requests in cybersecurity, biology, chemistry, and distillation. They are tuned conservatively, so some harmless requests in those areas can get caught.

It also requires 30-day data retention for safety monitoring and is not available under zero data retention. For workloads with strict retention rules, that matters more than raw model quality.

Claude Fable 5 vs Claude Opus 4.8

Both list a 1M context window and 128k max output, but Fable 5 ranks higher on Arena's Text, Vision, Document, and Search boards. On Text, Fable 5 sits at #1 with 1509±9 while Claude Opus 4.8 ranks #13 at 1477±6. On Vision, Fable 5 is #1 at 1311±14 against #13 at 1280±9 for Opus 4.8. Use Fable 5 when quality matters more than speed; Opus 4.8 remains the faster, cheaper option for day-to-day work.

When to use Claude Fable 5

Use Claude Fable 5 for the hard work you would otherwise split into many smaller prompts. It is at its best when the model must read a lot, reason across many steps, call tools, inspect visual input, and return a finished result with fewer restarts. For simple chat, extraction, and short drafts, a smaller model is usually enough.

FAQs

People also ask about Claude Fable 5

anthropic/claude-fable-5, called through the OpenAI-compatible POST /v1/chat/completions endpoint with your UnificAlly API key.

A key from the API keys page authenticates each call as Authorization: Bearer <key>. Point requests at https://direct-api.unifically.com/v1/chat/completions with anthropic/claude-fable-5; the Messages format on /v1/messages also takes the anthropic-version: 2023-06-01 header.

Pass "model": "anthropic/claude-fable-5" and your messages to /v1/chat/completions, then read the final answer from choices[0].message.content, or set "stream": true to get it as it is written. Chat Completions returns only the final answer, so use /v1/messages with the thinking parameter when you want the thinking text.

A 1M token context window, with up to 128k output tokens per response. That covers a large repo, a long filing pack, or a full agent session in one call.

Yes. It takes text and image input in the same request, so screenshots, charts, diagrams, and scanned documents can sit next to the prompt. Output is text.

It is strong at both. It ranks #1 on Arena's Text board and #1 on Vision, and sits at #5 on the Document board, so long code work and long document work are both in range.

They share the same underlying model. Fable 5 is the generally available version and includes safety classifiers for sensitive domains; Mythos 5 is limited to approved organizations.

No. Adaptive thinking is the only thinking mode, and thinking blocks come back as a readable summary or are omitted. Raw chain of thought is not returned.

Two things. Safeguards in cyber, biology, chemistry, and distillation areas can decline or redirect requests, and the model requires 30-day data retention, so it is not available under zero-data-retention terms.

Claude Fable 5 guides and comparisons

Review pricing, limits, and tested outputs before running this model.