# 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.

- Date: 2026-09-02
- HTML: https://anyrouter.dev/blog/releases/2026-09-02

## Models

- `anthropic/claude-fable-5-1` (Claude Fable 5.1)

## Notes

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`](https://anyrouter.dev/model/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](https://anyrouter.dev/use-cases/ai-sdk) or [OpenAI SDK](https://anyrouter.dev/use-cases/openai-sdk).
- Coding agent: `anyr claude` / `anyr opencode` / `anyr codex` ([playbook](https://anyrouter.dev/use-cases/coding-agents)).
- No code: [playground](https://anyrouter.dev/playground?model=anthropic/claude-fable-5-1).

Try it in the [Vercel AI SDK](https://anyrouter.dev/use-cases/ai-sdk). `createAnyRouter()` reads `ANYROUTER_API_KEY`:

```ts
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)
```

_generateText with the catalog id._

Already on the OpenAI SDK? [OpenAI SDK playbook](https://anyrouter.dev/use-cases/openai-sdk):

### OpenAI SDK

```ts
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

```bash
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:

### Claude Code

```bash
curl -fsSL https://anyrouter.dev/cli.sh | bash
anyr login
anyr claude --model "anthropic/claude-fable-5-1"
```

### OpenCode

```bash
curl -fsSL https://anyrouter.dev/cli.sh | bash
anyr login
anyr opencode --model "anthropic/claude-fable-5-1"
```

### Codex

```bash
curl -fsSL https://anyrouter.dev/cli.sh | bash
anyr login
anyr codex --model "anthropic/claude-fable-5-1"
```

More: [AI SDK](https://anyrouter.dev/use-cases/ai-sdk) · [OpenAI SDK](https://anyrouter.dev/use-cases/openai-sdk) · [coding agents](https://anyrouter.dev/use-cases/coding-agents).

No terminal? Open the playground and send a first message.

[Try in playground](https://anyrouter.dev/playground?model=anthropic/claude-fable-5-1)
