Claude Fable 5 API

anthropic/claude-fable-5
1,000,000 tokens · 2142.8 input / 10714 output credits / 1M tokens

Claude Fable 5 Text Generation turns long text and multimodal context into code, research synthesis, and thorough technical answers. Through the Claude Fable 5 API, a 1M-token context window keeps files and reasoning aligned over Claude Messages or Chat Completions.

Claude Fable 5

Anthropic · chat-completions

Chat with Claude Fable 5

Each model has its own conversation. Switching never sends another model's history, and switching back resumes where you left off. Requests are billed from actual token usage.

Ctrl / ⌘ + Enter to send0 / 32,000

Continue with

What is the Claude Fable 5 API?

Claude Fable 5 is Anthropic's flagship Fable-line language model engineered for demanding multi-step reasoning, extended research synthesis, and repository-scale software engineering across a 1,000,000-token context window. Call the Claude Fable 5 API over /v1/messages or /v1/chat/completions using anthropic/claude-fable-5 for full JSON or SSE streaming responses.

Why choose the Claude Fable 5 API?

The Claude Fable 5 API pairs deep multi-step reasoning with a 1M-token context window and dual Anthropic/OpenAI protocol compatibility.

  • Deep multi-step reasoningWorks through multi-constraint technical problems while keeping assumptions and evidence consistent.

  • Dual-protocol compatibilityCall the same anthropic/claude-fable-5 ID over Anthropic /v1/messages or OpenAI /v1/chat/completions.

  • 1M-token context windowIngest large codebases, specs, and long research documents inside a single conversation.

What parameters does the Claude Fable 5 API accept?

This API accepts standard Messages or Chat Completions payloads with model anthropic/claude-fable-5, messages, max_tokens, system, and stream.

ParameterRequirementDescription
modelRequired

Set to anthropic/claude-fable-5 for both /v1/messages and /v1/chat/completions.

messagesRequired

Ordered array of role and content conversation turns.

max_tokensRequired for Claude Messages

Positive integer setting the maximum output tokens (optional in Chat Completions).

systemOptional

System-level instructions (top-level system in /v1/messages or system role message in /v1/chat/completions).

streamOptional

false for a full JSON response or true for SSE streaming.

Defaultfalsetrue

How do you use the Claude Fable 5 API?

Choose /v1/messages or /v1/chat/completions, pass anthropic/claude-fable-5 with your messages, and enable SSE streaming if needed.

  1. Pick a protocolUse /v1/messages for Anthropic SDKs or /v1/chat/completions for OpenAI-compatible SDKs.

  2. Set the model IDPass anthropic/claude-fable-5 with your system prompt and messages array.

  3. Configure max_tokens and streamingSet max_tokens and optionally enable stream: true for real-time token delivery.

  4. Inspect usageRead generated content and token usage returned in the response payload.

How much does the Claude Fable 5 API cost?

The Claude Fable 5 API costs 2,142.8 credits ($10.714) per 1M input tokens and 10,714 credits ($53.57) per 1M output tokens. 200 credits = $1.

UsageRateDetails
Input$10.714 · 2142.8 credits / 1M tokensStandard input tokens sent in the request.
Output$53.57 · 10714 credits / 1M tokensTokens generated in the model response.

What is the Claude Fable 5 API best for?

This API fits repository-scale architecture refactoring, long-document synthesis, and autonomous multi-step tool agents.

  • Complex architecture & refactoringAnalyze cross-module dependencies and plan repository-wide engineering changes.

  • Long-document synthesisDistill dense technical papers, legal drafts, and multi-source reports.

  • Autonomous tool agentsDrive multi-step reasoning loops with structured outputs and tool calls.

Pro Tips

  • Supply explicit acceptance criteria and relevant source excerpts together in the opening context.
  • If you rely heavily on prompt caching across repeated turns, compare with Claude Fable 5.2 which adds 5-minute and 1-hour cache tiers.

Usage Notes

  • Supports both /v1/messages and /v1/chat/completions under model ID anthropic/claude-fable-5.
  • Input is billed at 2142.8 credits/1M tokens and output at 10714 credits/1M tokens.

Related Models

Claude Fable 5 API FAQ

What is the Claude Fable 5 API?

Claude Fable 5 Text Generation is an Anthropic language model built for deep reasoning, extended research, and complex software engineering. The Claude Fable 5 API turns long-context prompts into structured code, analyses, and technical writing via /v1/messages or /v1/chat/completions. Its 1M-token context window keeps evidence and constraints consistent across multi-step workflows. You can call it programmatically or try it from the playground above.

Which protocols does the Claude Fable 5 API support?

Both Anthropic Claude Messages (/v1/messages) and OpenAI-compatible Chat Completions (/v1/chat/completions) using anthropic/claude-fable-5.

How much does the Claude Fable 5 API cost per million tokens?

Input is 2,142.8 credits ($10.714) per 1M tokens and output is 10,714 credits ($53.57) per 1M tokens.

What is the context window of the Claude Fable 5 API?

Claude Fable 5 supports a 1,000,000-token context window and up to 128,000 output tokens.

Does Claude Fable 5 support SSE streaming?

Yes. Set stream: true on either /v1/messages or /v1/chat/completions to stream tokens incrementally.

How does Claude Fable 5 compare with Claude Fable 5.2?

Claude Fable 5.2 lowers base rates to 1280/6400 credits per 1M tokens and adds explicit prompt-cache read and 5m/1h cache-write billing tiers.

Can I use existing Anthropic SDKs with Claude Fable 5?

Yes. Configure your Anthropic SDK base URL to the Vidgo API endpoint shown in the API tab, pass your Vidgo API key, and set model to anthropic/claude-fable-5.