Claude Fable 5.1
Anthropic Claude Fable 5.1 joins the catalog as one listing, routed through Anthropic BYOK and Cloudflare Workers AI, with OpenRouter BYOK as a fallback.
Claude Fable 5.1 is Anthropic's successor to Fable 5 for long-running agentic coding, knowledge work, and research. Call anthropic/claude-fable-5.1. The Claude API wire name is claude-fable-5-1; Cloudflare Workers AI serves the same model as partner-hosted anthropic/claude-fable-5.1. Those are one catalog row, not two.
List rates match Anthropic: $10 / $50 per million input / output tokens. Cache reads are $0.25 per million tokens. Context is 1M tokens, max output 128k. Text and image in, text out. BYOK hops stay $0. The Cloudflare hop is Unified Billing at that same Anthropic list (no markup).
- App code — Vercel AI SDK or OpenAI SDK.
- Coding agent —
anyr claude/anyr opencode/anyr codex(playbook). - No code — playground.
Try it in the Vercel AI SDK. createAnyRouter() reads ANYROUTER_API_KEY:
import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"
const anyrouter = createAnyRouter()
const { text } = await generateText({
model: anyrouter("anthropic/claude-fable-5.1"),
prompt: "Summarize this diff in three bullets.",
})
console.log(text)Already on the OpenAI SDK? OpenAI SDK playbook:
import OpenAI from "openai"
const client = new OpenAI({
baseURL: "https://anyrouter.dev/api/v1",
apiKey: process.env.ANYROUTER_API_KEY,
})
const res = await client.chat.completions.create({
model: "anthropic/claude-fable-5.1",
messages: [{ role: "user", content: "Hello" }],
})
console.log(res.choices[0]?.message.content)curl https://anyrouter.dev/api/v1/chat/completions \
-H "Authorization: Bearer $ANYROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"anthropic/claude-fable-5.1","messages":[{"role":"user","content":"Hello"}]}'Or launch a coding agent through the anyr CLI:
curl -fsSL https://anyrouter.dev/setup.sh | bash
anyr login
anyr claude --model "anthropic/claude-fable-5.1"curl -fsSL https://anyrouter.dev/setup.sh | bash
anyr login
anyr opencode --model "anthropic/claude-fable-5.1"curl -fsSL https://anyrouter.dev/setup.sh | bash
anyr login
anyr codex --model "anthropic/claude-fable-5.1"More: AI SDK · OpenAI SDK · coding agents.
No terminal? Open the playground and send a first message.
Try in playground