How to Structure Long Context Prompts for Claude Fable 5
A practical guide to feeding Fable 5’s 1-million-token window the right way — document order, XML tagging, memory files, and effort settings that actually change output quality.
By Oyekale Olawale
Quick Answer
For Claude Fable 5, put your long documents at the very top of the prompt wrapped in simple XML tags (like <contract>…</contract>), state your instructions and intent at the bottom, and don’t try to cram everything into one giant context window just because you can. Fable 5 has a 1M-token window and improves noticeably when it can also write to an external memory file rather than relying on you re-pasting the same context every session. Use the effort parameter (high by default, xhigh for hard work) to control how deeply it reasons over that context, and tell it explicitly to audit its own progress against tool results on long runs — this is the single biggest fix for fabricated status updates.
What Claude Fable 5 Actually Changed About Context
I’ve been running production content and SEO workflows on Claude models for a while now, and Fable 5 is the first one where I actually changed how I write prompts instead of just typing faster. Claude Fable 5 launched on June 9, 2026, as Anthropic’s first generally available Mythos-class model — a tier that sits above Opus 4.8 — and it ships with a 1-million-token context window, up to 128,000 output tokens per request, and pricing of $10 per million input tokens and $50 per million output tokens on the API. That’s double what Opus 4.8 costs, and the reason it’s worth paying attention to how you structure a prompt for it, not just whether you can fit more text in.
Here’s the part that surprised me most when I started testing it for a big client site audit last month: dumping everything into the window and hoping for the best actually made outputs worse, not better. Fable 5 is built to sustain attention over long, complex tasks, but a bloated, disorganized context still competes for the model’s focus the same way a messy desk competes for yours. The structure of what you feed it matters as much as the volume.
If you’re deciding whether Fable 5 is even the right model for your workload, I broke that down in my full Claude Fable 5 review, and if you’re weighing it against OpenAI’s flagship, I compared the two head-to-head in Claude Fable 5 vs ChatGPT 5.5.
Fable 5 Context Specs at a Glance
| Spec | Claude Fable 5 |
|---|---|
| Context window | 1,000,000 tokens |
| Max output per request | 128,000 tokens |
| Input pricing | $10 / million tokens |
| Output pricing | $50 / million tokens |
| Prompt cache hit rate | $1 / million tokens (90% off) |
| Long-context surcharge | None — flat rate at any context size |
| Thinking mode | Adaptive only (no manual thinking budget) |
| API model ID | claude-fable-5 |
One detail that trips people up: the 1M-token window is billed at a flat per-token rate whether your request is 9,000 tokens or 900,000. There’s no long-context surcharge. But that doesn’t mean filling the window is free — a full 1M-token request still costs roughly $10 in input alone before the model writes a single word back. The fix isn’t avoiding long context, it’s structuring it so every token in there is pulling its weight, and leaning hard on prompt caching for anything you’ll reuse across turns.
The Core Principles of Structuring Long Context for Fable 5
1. Documents at the top, instructions at the bottom
This is the single change that made the biggest difference when I started feeding Fable 5 full client site audits, competitor teardown data, and multi-thousand-word source documents. Put the bulk material — the manuscript, the codebase dump, the research file, the spreadsheet export — at the very beginning of the prompt. Put your actual ask, the specific instruction, at the end, right before you expect the response. Models process a prompt more reliably when the “what do you want me to do with this” part comes last, closest to where generation begins, instead of getting buried above a wall of reference text.
2. Wrap sections in simple XML tags
Fable 5 navigates a large context far more cleanly when it’s broken into labeled chunks instead of one continuous blob. I use tags like <source_article>, <style_guide>, <previous_draft>, and <instructions> around each distinct piece of material. You don’t need a formal schema — the tags just need to be consistent and descriptive enough that the model (and you, six months later) can tell at a glance what each block is for. This matters more as context grows, because a model working across hundreds of pages needs clear anchors to jump back to the right section instead of treating everything as one undifferentiated stream.
3. Give the reason, not just the request
Anthropic’s own guidance on this model is specific: Fable 5 performs better when it understands the intent behind a request, because that context lets it connect the task to the right material instead of guessing. Instead of “summarize this,” I now write something closer to: “I’m preparing this competitor teardown for a client pitch next week — they need to know where our gap actually is, not a feature-by-feature list. With that in mind, summarize the pricing section.” The extra sentence costs almost nothing and it consistently changes what the model prioritizes.
4. Don’t confuse context with memory
This is the mistake I see most often, and I made it myself the first few weeks. The context window is working attention for a single request — it’s not a hard drive. If you keep appending every prior turn, every tool result, and the entire project history to a long session, you’re not building up the model’s knowledge, you’re diluting the tokens that matter for the current step. Practitioners have started calling this “context rot”: as the transcript grows, stale material competes with the signal that’s actually relevant right now, and quality drifts even though you technically have room left in the window.
The fix is external memory. Fable 5 performs meaningfully better on long-horizon tasks when it can write notes to a file and read them back later instead of you re-pasting the same background every session. In one of Anthropic’s internal tests, giving the model persistent file-based memory while playing a long strategy game improved its performance roughly three times over versus no memory at all. For your own workflows, that translates to something simple: keep a running Markdown notes file, tell Fable 5 to store one lesson per entry with a short summary at the top, update existing notes instead of duplicating them, and delete anything that turns out to be wrong.
5. Set the effort level on purpose
Fable 5 exposes an effort parameter as the main lever between reasoning depth, latency, and cost. high is the sensible default for most real work, xhigh is for the genuinely hard, capability-sensitive tasks, and medium or low handle routine jobs perfectly well — often better than maxing out xhigh on an older model. If a task with a lot of context is coming back slower or more elaborate than you need, dropping the effort level is usually a better fix than trimming your prompt.
6. Ask for self-verification on long runs
On anything that runs long — a multi-step research task, a large content batch, a codebase migration — I now add an explicit instruction to check its own work against actual tool results at a set interval, rather than just asserting progress. Anthropic’s testing found this nearly eliminated fabricated status reports even on tasks specifically designed to provoke them. A version I use often: “Before reporting progress, audit each claim against something you actually retrieved this session. If something isn’t verified yet, say so.” It’s a small addition that saves you from finding out three steps later that “done” didn’t mean done.
Long Context: What It Gets You, and What It Costs You
✅ Worth the tokens
- Cross-document research and legal/financial review spanning hundreds of pages
- Large codebase migrations and repo-wide debugging
- Multi-hour agentic runs with tool use and subagents
- Holding a consistent voice across a long manuscript or content series
❌ Not worth it
- Short factual lookups or single-turn Q&A
- Re-sending an entire loaded corpus on every turn of a conversation
- Routine, low-stakes content where a cheaper model finishes just as well
- Using context size as a substitute for actually organizing your material
Step-by-Step: Building a Long Context Prompt for Fable 5
- Trim before you paste. Strip anything irrelevant to the task from your source material first. A tighter 100K-token prompt beats a lazy 1M-token dump on both quality and cost.
- Open with your reference material, tagged. Place documents, code, or data at the top, each wrapped in a descriptive XML tag.
- Add a memory or notes block if this spans multiple sessions. Point Fable 5 to a file it should read from and write to, and tell it how to update it (one lesson per entry, no duplicates).
- State the goal and success criteria, not a rigid checklist. Fable 5’s instruction-following is strong enough that a brief statement of intent usually beats a long list of micromanaged steps — over-specifying can actually drag output quality down.
- Set your effort level explicitly. Default to
high; reservexhighfor the hardest, most capability-sensitive work. - Add a self-verification instruction for anything long-running. Ask it to check claims against tool results at a defined interval.
- Close with the specific ask, last. This is the sentence the model reads right before it starts generating — make it count.
- Turn on prompt caching for anything reused. If you’re sending the same reference material across multiple turns, caching cuts that portion of the bill by roughly 90%.
A real example: turning a messy audit into a usable prompt
Here’s what this looked like in practice on a recent job. I had a Screaming Frog crawl export, a Search Console query report, three competitor page dumps, and a client brief — easily 400K tokens combined. My first pass pasted all of it in order with one instruction at the very end: “tell me what’s wrong.” The response was broad and hedged, touching every document a little without going deep on any of it.
On the second pass, I wrapped each source in its own tag — <crawl_data>, <search_console>, <competitor_1>, <competitor_2>, <competitor_3>, <client_brief> — and closed with a specific ask: “Using the crawl_data and search_console sections, identify the three pages losing the most Discover traffic and explain why, referencing specific technical issues by name.” The output stopped hedging. It cited exact status codes and specific indexing gaps instead of general observations, and it didn’t waste a sentence summarizing the competitor pages I hadn’t asked about. Same source material, same token count, radically different usefulness — because the structure told the model what mattered and what was reference-only.
Fable 5 vs Opus 4.8 vs Sonnet 5: Context and Cost
| Model | Context Window | Input / Output Price | Best fit |
|---|---|---|---|
| Claude Fable 5 | 1M tokens | $10 / $50 per MTok | Hardest, longest, most ambiguous work |
| Claude Opus 4.8 | 200K tokens | $5 / $25 per MTok | Strong reasoning at lower cost/context |
| Claude Sonnet 5 | 200K tokens | Lower than Opus tier | Fast, everyday tasks and volume work |
If you’re using Claude inside an IDE rather than the API directly, it’s worth pairing this with a look at which repos actually showcase strong agentic patterns — I keep a running list in Best Claude Code GitHub Repos. And if you’re benchmarking against Google’s coding assistant tier, Gemini Code Assist Standard vs Enterprise covers where that one lands on context and pricing.
Mistakes That Quietly Wreck Long Context Prompts
The first time I ran a full client SEO audit through Fable 5 — every crawl report, every backlink export, every competitor page, all pasted in as one long unbroken block — the output was technically accurate but weirdly unfocused, like it had skimmed instead of read. Once I broke the same material into tagged sections with the actual ask moved to the end, the difference in specificity was immediate. A few other patterns worth watching for:
- Re-sending the full corpus every turn. In a multi-turn session, resending a million-token document on each message multiplies your input cost fast. Cache it, or reference it by name and let the model pull from what’s already in context.
- Asking it to narrate its reasoning. Prompts that say “show your thinking” or “explain your reasoning step by step” as part of the visible response can trigger a specific refusal category on Fable 5 tied to reasoning-extraction safeguards, which routes the request to Opus 4.8 instead. If you need visibility into the model’s reasoning, read the structured thinking output the API returns rather than asking it to write that reasoning into the answer.
- Treating a longer prompt as a smarter prompt. More tokens isn’t more understanding. Padding a request with tangential material dilutes the signal the model needs for the actual task.
- Skipping the effort setting. Leaving effort unset on a simple task can produce more deliberation than the job needs; leaving it low on a genuinely hard task under-delivers.
FAQ
How big is Claude Fable 5’s context window?
1 million tokens, roughly five times larger than Opus 4.8’s 200K window, with no extra per-token charge for using the larger window.
Should I always fill the whole context window?
No. Trimmed, well-organized context at a fraction of the window size generally outperforms a full, unstructured dump, and it costs less per request.
Do XML tags actually help, or is that just superstition?
They help. Tagging distinct sections gives the model clear anchors to navigate back to, which becomes more valuable as the amount of material in the prompt grows.
What’s the difference between context and memory on Fable 5?
Context is working attention for the current request only. Memory is a file the model reads from and writes to across sessions. Fable 5 is specifically built to lean on external memory for long-horizon work rather than carrying everything in the window.
Is Claude Fable 5 available right now?
Yes, as of this writing. Fable 5 launched June 9, 2026, was briefly suspended for all customers on June 12, 2026, due to a U.S. export-control directive, and access was restored on July 1, 2026, after the directive was lifted. Check Anthropic’s status page before planning production usage, since access conditions can shift.
Does long context reduce hallucinations?
Not automatically — a large, disorganized context can still lead the model to fabricate or gloss over details. Structuring the prompt and asking for explicit self-verification against retrieved evidence does more for accuracy than context size alone. I go deeper on how Claude’s hallucination behavior compares to other models in Claude vs ChatGPT Hallucination Rate.
Bottom Line
Claude Fable 5’s 1-million-token window is a genuine capability shift, but it rewards discipline more than volume. Put your reference material at the top and tag it, keep your actual instruction at the bottom, give the model a reason along with the request, set your effort level on purpose, and build external memory instead of re-pasting the same context every session. Do that, and the model earns its premium price on the tasks that actually need it — long research, large migrations, and anything that used to mean splitting your context across multiple runs. Skip the structure, and you’re just paying $10 a million to confuse a very capable model.
For a broader look at what it’s like to work inside Fable 5’s ecosystem day to day, including whether it’s safe to hand off real work to it, see Is Claude Cowork Safe for You? If you’re deciding between subscription tiers across providers, Is ChatGPT Pro Worth It? covers the other side of that comparison. And if you’ve hit slowdowns during a long session, Claude Taking Longer Than Usual: The Fix walks through what’s usually going on.