Anthropic · Messages

Claude Fable 5.1 API

Anthropic's top-tier model for the most demanding, long-running work. Served through RouterHub at $1.794 input / $8.969 output per million tokens (prices as of ).

Claude Fable 5.1 pricing

−82% vs the official API price of $10.00 input / $50.00 output per 1M tokens (source, checked 2026-10-13).

Input
$1.794
Cached input
$0.04484
Cache write
$2.242
Output
$8.969
Typical message
≈ 0.63¢

USD per 1 million tokens. A typical message is about 1,000 input and 500 output tokens. Cached input uses the cache-read rate when the provider reports a cache hit. Billed from your prepaid balance.

API compatibility and context

Exact model ID
claude-fable-5-1
Provider
Anthropic
Variant
Standard
Supported API
Anthropic-compatible Messages API (/v1/messages)
Availability
Preview
Context window
1,000,000 tokens
Maximum input
Not published
Maximum output
128,000 tokens

Use Claude Fable 5.1 through the API

Create a RouterHub account, add prepaid credits and create an API key. Set ROUTERHUB_API_KEY locally, then send a first request with the exact model ID.

cURL
curl --connect-timeout 30 --max-time 600 https://routerhub.si/v1/messages \
  -H "x-api-key: $ROUTERHUB_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-fable-5-1","max_tokens":256,"messages":[{"role":"user","content":"Write a short noir scene set in a lighthouse."}]}'

Python: install anthropic with pip. The example requests 256 output tokens and disables automatic retries, so check Usage before resending a paid request.

Python
import os
from anthropic import Anthropic

client = Anthropic(
    api_key=os.environ["ROUTERHUB_API_KEY"],
    base_url="https://routerhub.si",
    timeout=600.0,
    max_retries=0,
)
response = client.messages.create(
    model="claude-fable-5-1",
    max_tokens=256,
    messages=[{"role": "user", "content": "Write a short noir scene set in a lighthouse."}],
)
print(response.content)

Coding tools that work with Claude Fable 5.1

Common questions

What is Claude Fable 5.1?

Claude Fable 5.1 is an Anthropic language model served through RouterHub using the Anthropic-compatible Messages API. Its exact API model ID is claude-fable-5-1.

How much does Claude Fable 5.1 cost?

RouterHub charges $1.794 input, $0.04484 cached input and $8.969 output per million tokens (prices as of 2026-11-08). A typical chat message of about 1,000 input and 500 output tokens costs about 0.63¢. Usage is billed against your prepaid balance.

What is the Claude Fable 5.1 context window?

Context window: 1,000,000 tokens. Maximum input: Not published. Maximum output: 128,000 tokens.

Which API does Claude Fable 5.1 support?

Use the Anthropic-compatible Messages API at https://routerhub.si/v1/messages with the exact model ID claude-fable-5-1 and your RouterHub API key (x-api-key header).

Which coding tools work with Claude Fable 5.1?

OpenCode, Claude Code, VS Code + Continue, VS Code + Cline, Claude Desktop. Each setup guide lists only compatible model IDs.

Can I try Claude Fable 5.1 for free?

Claude Fable 5.1 needs a free RouterHub account with prepaid credits. New accounts get $5 free on their first top-up of $20 or more.

Related models and guides