Claude Fable 5

Claude Fable 5 is Anthropic's most capable widely released model, aimed at the most demanding reasoning and long-horizon agentic work. Thinking is always on — there is no way to disable it — and the raw chain of thought is never returned, only a summary. Single requests on hard tasks can run for many minutes, so plan for streaming and asynchronous check-ins rather than blocking calls.

View API reference
Input / output price
From $10 / $50 per 1M
Context
1M tokens
Max output
128K tokens
index.ts
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.onefoldhq.com/v1",
  apiKey: process.env.ONEFOLD_API_KEY,
});

const result = await client.chat.completions.create({
  model: "anthropic/claude-fable-5",
  messages: [{ role: "user", content: "Why is the sky blue?" }],
});

console.log(result.choices[0].message.content);
Read docs

Playground

Try out Claude Fable 5 by Anthropic. Usage is billed to your team at API rates.

Claude Fable 5

Claude Fable 5

Providers

Route to any available provider. One request shape for all of them, and the router picks on price, health and latency.

ProviderContextMax outputLatencyThroughputInputOutputCache
AnthropicLegal: Terms · Privacy1M128K0.9 s47 tps$10/M$50/MRead$1/MWrite$12.50/M
BedrockLegal: Terms · Privacy1M8K1.4 s62 tps$10/M+3 more$50/M+3 moreRead$1/MWrite$12.50/M
Google Vertex AILegal: Terms · Privacy1M8K1.0 s44 tps$10/M+3 more$50/M+3 moreRead$1/MWrite$12.50/M

Uptime 24 hours

Direct request success rate on Onefold and per-provider. Visit the docs for more info.

Sep 10, 8:45 PMSep 11, 8:30 PM
Uptime
SeriesLowTypicalHigh
Onefold100.00%100.00%100.00%
Anthropic99.64%99.96%99.99%
Bedrock99.38%99.94%99.99%
Google Vertex AI85.45%99.60%99.97%
  1. 1Onefold100.00%
  2. 2Anthropic99.96%
  3. 3Bedrock99.94%
  4. 4Google Vertex AI99.60%

Status 24 hours

Reliability of providers. Visit the docs for more info.

  • Onefold100.00%
  • Anthropic99.96%
  • Bedrock99.94%
  • Google Vertex AI99.60%
Sep 10, 8:45 PMSep 11, 8:30 PM
Status of Onefold and its providers over the last 24 hours
ProviderUptimeOperational windowsDegraded windowsOutage windows
Onefold100.00%9600
Anthropic99.96%9600
Bedrock99.94%9510
Google Vertex AI99.60%9222

Throughput 24 hours

P50 throughput on live gateway traffic, in tokens per second (TPS). Visit the docs for more info.

Sep 10, 8:45 PMSep 11, 8:30 PM
Throughput
SeriesLowTypicalHigh
Anthropic43.44 tps48.74 tps51.93 tps
Bedrock58.86 tps61.07 tps64.27 tps
Google Vertex AI54.87 tps56.66 tps62.33 tps
  1. 1Bedrock61.07 tps
  2. 2Google Vertex AI56.66 tps
  3. 3Anthropic48.74 tps

Latency 24 hours

P50 time to first token (TTFT) on live gateway traffic, in seconds. View the docs for more info.

Sep 10, 8:45 PMSep 11, 8:30 PM
Latency
SeriesLowTypicalHigh
Anthropic0.77 s0.82 s0.94 s
Bedrock1.04 s1.13 s1.18 s
Google Vertex AI1.52 s1.56 s1.63 s
  1. 1Anthropic0.82 s
  2. 2Bedrock1.13 s
  3. 3Google Vertex AI1.56 s

Pricing with caching

What input tokens cost as more of your prefix is reused. Cached input bills at $1 per million instead of $10.

Chart requires JavaScript. The figures are in the table below.

  • Blended input rate
  • List price
View as table
Blended input price for Claude Fable 5 by cache hit ratio
Cache hit ratio0%25%50%75%90%
Blended input rate$10$7.75$5.50$3.25$1.90
List price$10$10$10$10$10
Cache hit ratioBlended inputSaving1M in + 1M out
0%$10/M$60
25%$7.75/M22%$57.75
50%$5.50/M45%$55.50
75%$3.25/M68%$53.25
90%$1.90/M81%$51.90

Getting started

Call Claude Fable 5 through Onefold with any OpenAI-compatible client by changing the base URL. Onefold authenticates the request and routes it to an available provider.

index.ts
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.onefoldhq.com/v1",
  apiKey: process.env.ONEFOLD_API_KEY,
});

const result = await client.chat.completions.create({
  model: "anthropic/claude-fable-5",
  messages: [{ role: "user", content: "Why is the sky blue?" }],
});

console.log(result.choices[0].message.content);

Streaming

Stream tokens as they are produced. The gateway never buffers the upstream response.

stream.ts
const stream = await client.chat.completions.create({
  model: "anthropic/claude-fable-5",
  messages: [{ role: "user", content: "Summarise this document." }],
  stream: true,
});

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content ?? "");
}

Image input

Send images alongside text as message parts. Images count as input tokens.

image-input.ts
const result = await client.chat.completions.create({
  model: "anthropic/claude-fable-5",
  messages: [
    {
      role: "user",
      content: [
        { type: "text", text: "Describe this image." },
        { type: "image_url", image_url: { url: "https://example.com/photo.jpg" } },
      ],
    },
  ],
});

Top-level parameters

The same Claude Fable 5 request in every API format Onefold supports.

ParameterTypeRequiredDescription
modelstringYesModel id in the form creator/model, here anthropic/claude-fable-5. Onefold routes the request to an available provider.
messagesMessage[]YesThe conversation so far. System, user, assistant and tool roles are all accepted and translated into the provider dialect.
max_tokensnumberNoHard cap on generated tokens. Claude Fable 5 supports up to 128,000. Thinking tokens count toward this limit.
streambooleanNoStream the response as server-sent events. The gateway streams byte by byte rather than buffering the upstream response.
toolsTool[]NoTool definitions in OpenAI shape. Translated into the provider native format, including parallel tool calls.

Input limits

InputFormatsSourcesLimits
TextPrompt and response share the 1M-token context window
Imagepng, jpeg, webp, gifURL, base64Sent as image parts in messages; counts as input tokens
PDFpdfURL, base64Sent as file parts in messages; counts as input tokens

Capabilities

  • Streaming
  • Tool use
  • Vision
  • High-res vision
  • PDF input
  • Citations
  • Structured outputs
  • Adaptive thinking
  • Effort control
  • Task budgets
  • Prompt caching
  • Compaction
  • Batch API
  • 1M context

Accepted parameters

  • max_tokens
  • stream
  • stop_sequences
  • system
  • tools
  • tool_choice
  • thinking
  • effort
  • output_config.format

Specification

Model id
anthropic/claude-fable-5
Upstream id
claude-fable-5
Modalities
Text, Image in · Text out
Context window
1,000,000 tokens
Max output
128,000 tokens
API dialect
anthropic, translated for you
Knowledge cutoff
Jan 2026
Min cacheable prefix
512 tokens
Available on
Anthropic, Bedrock, Google Vertex AI

Similar models

Switch between any of them by changing the model string.

ModelContextInputOutput
anthropic/claude-opus-51M$5/M$25/M
anthropic/claude-opus-4-81M$5/M$25/M
anthropic/claude-opus-4-71M$5/M$25/M

About Claude Fable 5

Claude Fable 5 is Anthropic's most capable widely released model, aimed at the most demanding reasoning and long-horizon agentic work. Thinking is always on — there is no way to disable it — and the raw chain of thought is never returned, only a summary. Single requests on hard tasks can run for many minutes, so plan for streaming and asynchronous check-ins rather than blocking calls.

It speaks the anthropic dialect and reaches 3 platforms through Onefold. Its knowledge is most reliable through Jan 2026. Anthropic released it on 9 Jun 2026.

What to consider when choosing a provider

  • Output ceiling: platforms cap output independently of the model. Anthropic allows 128K. Bedrock allows 8K. Google Vertex AI allows 8K.
  • Authentication: Onefold authenticates requests with one key. You do not manage provider credentials directly.
  • Dialect: this model speaks anthropic. You never write it — the gateway accepts OpenAI-shaped requests and translates at the edge.

When to use Claude Fable 5

Best for

  • Overnight agent runs, first-shot implementations of well-specified systems, and problems nothing else has cracked.
  • Variable reasoning depth: tune effort per request rather than per model
  • Long-context work: 1M tokens in one window
  • Agentic tool use: parallel tool calls, translated to the native format

Consider alternatives when

  • Cost is the constraint: Claude Opus 5 runs at $5/M input
  • Cost is the constraint: Claude Opus 4.8 runs at $5/M input
  • Latency dominates: a lighter model in the same family answers sooner
  • The task is narrow: a smaller model hits the same bar for less on well-scoped work

Frequently asked questions

What does Claude Fable 5 cost?

$10 per million input tokens and $50 per million output tokens, which is Anthropic's published list price. Onefold adds a flat 5% routing fee on top, billed from prepaid credits. Cached input is far cheaper at $1 per million tokens.

What is the context window for Claude Fable 5?

1,000,000 tokens of context, with up to 128,000 tokens in a single response. Its knowledge is most reliable through Jan 2026.

How do I call Claude Fable 5?

Point any OpenAI-compatible client at https://api.onefoldhq.com/v1 and pass "anthropic/claude-fable-5" as the model string. There is no SDK to install, we translate the request into Anthropic's anthropic dialect on the way out and the response stream back on the way in.

How is prompt caching billed?

Reading from cache costs $1 per million tokens, one tenth of the list input price. Writing to a five-minute cache costs $12.50 (1.25× list), and a one-hour cache costs $20 (2× list). Prefixes shorter than 512 tokens will not cache at all.

Which API dialect does Claude Fable 5 speak?

The anthropic dialect. You never write it: the gateway accepts OpenAI-shaped requests and translates them at the edge, streaming byte by byte rather than buffering. Switching to a model on a different dialect means changing the model string and nothing else.

Is Claude Fable 5 being retired?

No retirement date has been announced. Anthropic publishes deprecations ahead of time, and this page tracks that field, so a date will appear here if one is set.