Back to blog
Workflow
Vercel

When to use Anthropic's Fable instead of Opus or Sonnet?

Thắng Đoàn
Thắng Đoàn

Developers running unattended coding and orchestration tasks struggle with models that lose the thread, and classifier rejections can kill requests mid-run. Anthropic's Fable model on Vercel AI Gateway targets open-ended technical work and supports fallbacks so a declined request retries on another model.

What it is

Fable is an Anthropic model available on AI Gateway for coding, reasoning, and vision, able to run long ambiguous tasks unattended and act as an orchestrator or advisor. It is exposed as anthropic/claude-fable-5.2 through the AI SDK, Chat Completions, Responses, and Anthropic Messages APIs.

Applied case

A developer wiring a coding agent through AI Gateway adds a models array under providerOptions.gateway listing fallback models. When the cybersecurity safety classifier declines a request, AI Gateway tries each model in order instead of returning an error. Note that the model requires data retention, with prompts and completions kept for 30 days and not used for training, so teams with Zero Data Retention enabled get an error rather than a served request.

  • Add providerOptions.gateway.models so classifier declines fall back to other models instead of failing

When to use it

Use when you need unattended long-horizon coding, reasoning, or vision work and can accept 30-day retention. Skip when your team requires Zero Data Retention, since the model is incompatible with ZDR.

  • Model name: anthropic/claude-fable-5.2; effort runs low to max with high as API default
  • Works in Claude Code, Codex, Cursor after installing the latest Vercel CLI and running setup

Read more

Claude Fable on AI Gateway

Model fallbacks

Zero Data Retention

Share:

Recommended for you

Enjoyed this article?

Subscribe for new articles. No spam. Unsubscribe anytime.

By subscribing you agree to receive the newsletter. No spam, and you can unsubscribe anytime.