Anthropic logo
Anthropic

Claude Fable 5

Anthropic's most capable widely released model — the first Mythos-class tier above Opus, built for the most demanding reasoning and long-horizon agentic work

Category Text Model ID claude-fable-5
Context Length1M tokens
Model TypeLarge Language Model (LLM)
MultimodalText, Image Input

Pricing & Specs

💰 Pricing

Input$10 / M tokens
Output$50 / M tokens
Cache Write5m: $12.50 / MTok; 1h: $20 / MTok
Cache Hit$1 / MTok

⚙️ Specs

Context Length1M tokens
Model TypeLarge Language Model (LLM)
MultimodalText, Image Input
Adaptive ThinkingAlways on (cannot be disabled)
Max Output128K tokens
Release DateJune 9, 2026
Knowledge CutoffJanuary 2026
API CompatibilityClaude API, Claude Code, OpenAI API

API Examples

Python

import anthropic

client = anthropic.Anthropic(
    api_key="your-api-key"
)

message = client.messages.create(
    model="claude-fable-5",
    max_tokens=1024,
    messages=[
        {"role": "user", "content": "Hello, Claude!"}
    ]
)

print(message.content[0].text)

cURL

curl https://api.xairouter.com/v1/messages
  -H "Content-Type: application/json"
  -H "x-api-key: YOUR_API_KEY"
  -H "anthropic-version: 2023-06-01"
  -d '{
    "model": "claude-fable-5",
    "max_tokens": 1024,
    "messages": [
      {"role": "user", "content": "Hello, Claude!"}
    ]
  }'

Developer Assist

# Set environment variables in terminal
export ANTHROPIC_AUTH_TOKEN=sk-Xvs...  # Your API Key
export ANTHROPIC_BASE_URL=https://api.xairouter.com

# Start Claude Code
claude

# Now you can use claude-fable-5 model directly for development