Most AI agents today are short-lived. They take a goal, run a handful of tool calls, and return. That works for simple automation, but it breaks the moment a task needs an agent to think for a long time, hold a lot of context, and coordinate work across many steps. Claude Fable 5 is Anthropic's most capable widely released model, and it is the first one we have built agents on that genuinely changes what "long-running" means. We design and ship autonomous agents for clients across the USA, UK, Canada, Europe and Australia, and Fable 5 has shifted how we architect them. Here is what changes, and the guardrails that come with it.
What makes Fable 5 a long-horizon model
The headline is endurance. Fable 5 sustains long autonomous runs — a single request on a hard task can run for many minutes, gathering context, building, and verifying its own work before it returns. That is a different shape of work from a chatbot turn, and it unlocks tasks that previous models could only attempt in fragments. It ships with a 1M-token context window and up to 128K output tokens, so the agent can keep an entire codebase, a long transcript, or a stack of documents in view at once. Thinking is always on — adaptive, with the depth controlled by an effort setting — so the model reasons between steps without you tuning a token budget by hand.
The flagship example is a long-horizon result: Stripe reportedly migrated a 50-million-line Ruby codebase in one day with Fable 5. That is not a benchmark; it is the kind of multi-hour, multi-step engineering job that a long-running agent makes feasible. If you want the foundations of how an agent loop works before going deeper, our guide on building AI agents with Claude covers the tool-use loop that Fable 5 sits inside.
Parallel sub-agents, kept in context
Long tasks rarely run on a single thread of thought. They fan out: read these twelve files, run those tests, check several candidate fixes. Fable 5 is strong at parallel sub-agent delegation, and — crucially — it keeps long-lived sub-agents in context rather than respawning them and re-establishing their state on every subtask. In practice that means an orchestrator agent can delegate independent work to sub-agents, keep working while they run, and stay in ongoing communication with them asynchronously.
This is a meaningful change. On earlier models we often suppressed delegation because it was unreliable. With Fable 5 the better pattern is the opposite: use sub-agents freely, give them clear scope, and let them communicate back as they go. Long-lived agents that hold their context cost less to run, because they read from cache instead of rebuilding state, and the orchestrator is not bottlenecked on the slowest sub-agent. If you are new to the architecture, our explainer on multi-agent AI systems walks through how these pieces fit together.
Task budgets and memory: pacing a long run
Two features make long runs practical to operate. The first is task budgets. You tell the agent how many tokens it has for a full loop — thinking, tool calls, and final output combined — and the model sees a running countdown. It then self-moderates: prioritising the important work and wrapping up gracefully as the budget is consumed. This is distinct from a hard per-response ceiling that the model never sees; the task budget is a signal the agent is aware of and paces itself against, which is exactly what you want for autonomous, unattended work.
The second is the memory tool. Fable 5 performs noticeably better when it can persist learnings somewhere it will read again — even a plain Markdown file. An agent that records corrections, confirmed approaches, and why they mattered carries that knowledge across sessions instead of relearning it every time. Combined with code execution, vision, programmatic tool calling, and context editing, you get an agent that can work, remember, and keep a long transcript lean — the building blocks of durable automation rather than one-shot answers.
What the benchmarks say
The published, third-party evidence backs the long-horizon framing. On SWE-bench Pro, Fable 5 posts the top score of 80.3% against Opus 4.8's 69.2%. On FrontierCode Diamond it reaches 29.3% versus 13.4%. On GDPval agentic-analysis it scores an Elo of 1932 against Opus 4.8's 1890. These are not numbers we generated — they are published results, and we read them as directional rather than gospel. What they suggest is consistent with our own experience: the gains show up most on hard, sustained agentic tasks, not on the routine work that lighter models already handle well. If you want a direct head-to-head, see our comparison of Claude Fable 5 versus Opus 4.8, and our primer on what Claude Fable 5 actually is.
The guardrails: async UX, cost routing, refusal fallbacks
Power comes with engineering obligations. The first is asynchronous UX. Because individual turns can run for many minutes, a blocking call that waits for the whole response will time out and frustrate users. Design for streaming, progress updates, and check-ins instead. Build the product so a person kicks off a run and checks back, rather than staring at a spinner. This is the single biggest architectural shift teams miss when they move an agent onto Fable 5.
The second is cost routing. Fable 5 is priced at $10 per million input tokens and $50 per million output tokens — above the Opus tier — so you do not want it doing routine work. Route cheaper models like Haiku, Sonnet, or Opus for the easy, repetitive steps and reserve Fable 5 for the genuinely hard ones. A 90% prompt-caching discount on stable context keeps long runs affordable, and task budgets help the agent pace its own spend. This model-routing discipline is how you keep cost proportional to difficulty across a fleet of agents serving clients in different regions.
The third is refusal fallbacks. Fable 5's safety classifiers can decline a request, and benign adjacent work — security tooling, life-sciences tasks — can occasionally trip a false positive. Build a fallback to Opus 4.8 so a declined request is retried rather than failing the whole run. By design, cyber, bio, and chem requests route to Opus 4.8. One more operational note: Fable 5 requires 30-day data retention, so it is not available under a zero-retention configuration — worth checking before you wire it into a regulated workflow.
How to prompt and scope a Fable 5 agent
One last shift is in how you brief the agent. Fable 5 does its best work when you state the full goal once, up front, rather than drip-feeding instructions across many turns. Prompts written for older models are often too prescriptive and actually reduce output quality — the model plans better when you give it the destination and the constraints and let it find the route. Give it the reason behind a request, not just the request, so it can connect the task to the right context. Then run it at a sensible effort level: high for most hard tasks, lower for routine steps, and reserve the highest settings for the cases where correctness matters more than cost. Done well, this is augmentation, not replacement — a long-horizon agent that does the heavy lifting while your team supervises the outcomes. That is the foundation of the AI agents we build, and where Fable 5 earns its place.
Frequently Asked Questions
Why use Claude Fable 5 for AI agents?
Claude Fable 5 is Anthropic's most capable widely released model, built for the most demanding reasoning and long-horizon agentic work. It sustains long autonomous runs — single requests can run many minutes — and is strong at parallel sub-agent delegation, with task budgets, a memory tool, code execution, and a 1M-token context window. That makes it well suited to agents that must work for a long time on hard, multi-step goals.
How is Fable 5 different when you build agents on it?
Because individual requests can run for many minutes, you design around asynchronous UX — streaming, progress updates, and check-ins — rather than blocking calls. Thinking is always on (adaptive, effort-controlled), it keeps long-lived sub-agents in context, and it does best when you state the full goal once rather than drip-feeding instructions. Pricing is $10 per million input tokens and $50 per million output tokens, with a 90% prompt-caching discount.
What are task budgets in Claude Fable 5?
A task budget tells the agent how many tokens it has for a full agentic loop. The model sees a running countdown and self-moderates — prioritising work and wrapping up gracefully as the budget is consumed. It is distinct from a hard per-response ceiling: the budget is a signal the model is aware of, helping it pace a long-horizon run.
How do you control cost when running agents on Fable 5?
Route cheaper models such as Haiku, Sonnet, or Opus for routine steps and reserve Fable 5 for the hard ones. Use the 90% prompt-caching discount on stable context, set task budgets so the agent paces itself, and tune the effort level down for routine work. This model-routing pattern keeps spend proportional to difficulty.
What guardrails does a Fable 5 agent need?
Design for minutes-long turns with async, streaming, and progress UX. Give clear up-front task specifications rather than incremental instructions. Add refusal fallbacks: safety classifiers can decline a request, so build a fallback to Opus 4.8 — and note that cyber, bio, and chem requests route to Opus 4.8 by design. Fable 5 also requires 30-day data retention.
How does Fable 5 compare to Opus 4.8 for agentic work?
On published third-party benchmarks Fable 5 leads: SWE-bench Pro 80.3% versus Opus 4.8's 69.2%, FrontierCode Diamond 29.3% versus 13.4%, and a GDPval agentic-analysis Elo of 1932 versus 1890. Stripe reportedly migrated a 50-million-line Ruby codebase in one day with Fable 5 — a flagship long-horizon result. Opus 4.8 remains an excellent, lower-cost choice for routine steps and as a refusal fallback.
Build a Claude-powered AI agent
We design and ship production AI agents that take real action in your systems. Book a free 30-minute strategy call.