Context Budget
The context budget shows what goes into each reply's prompt and how much of the model's context window it takes: the character, the mode, your instructions, lore, memories, summaries and the recent messages. Use it when replies get refused for length, when a story starts forgetting, or to see why a turn costs what it does.
Every figure is approximate (about 3.5 characters to a token).
Where to find it
- Chat site: the ring on the writing chip, at the right end of the bar under the message box. Press the chip to open the writing panel; its Context section has the figures.
- Writing app: open the Settings panel on the left (the sliders button, Open engine panel) → Context Budget.

Step by step
Check how full the context is (chat site)
Look at the ring on the writing chip. It shows how full the model's context will be for your next reply, your draft included, so it grows as you type.
Ring Means Green Under 70% full Amber 70–89% Red 90% and up Empty, no colour The model's context size isn't known, so no share is shown Press the writing chip. The Context section reads, for example, About 62% of the context, and Room for the reply: up to N tokens.
Open What fills it — estimated to see each part of the prompt, your draft, and a Template and safety margin, adding up to the ring's figure.

On the chat site the list can also show Platform text (the platform's own rules for every story), Trackers (the story state sent with each turn) and Summary timelines (how the trackers moved over each summarized chapter).
What the section may also say:
- From 90%: The next reply may be refused — what the story looks up each turn (lore, memories, safety notes) varies and can tip it over.
- From 100%: The next reply will likely be refused, with how many tokens the story needs and how many the model holds. Shorten the context, turn on Dynamic Context, or pick a model with more room.
- With Dynamic Context on, the share is of your budget (N% of the Dynamic Context budget); past it, Older messages are left out to fit.
- Replies are cut to about N tokens to fit — there's less room for the reply than it normally gets.
- In a Hybrid story the figures are for the fuller of the two calls, with the Director and Writer each listed.
Read the bar (writing app)
- Open the Settings panel → Context Budget.
- The bar is split into coloured parts, with a total such as "~42,000 tokens / 128k context (33%)" when the model's size is known.
- The legend under the bar names each part with its token count.
The parts that can appear (only the ones with something in them show):
| Part | What it is |
|---|---|
| Character | The character's setup: personality, description, instructions |
| Scenario | The opening scenario |
| Mode | The mode's prompt |
| Custom instructions | Your standing rules for this story |
| Author's note | Your current note, while it's running |
| Scene direction | A direction waiting for the next reply |
| Dice | A roll waiting for the next reply |
| Response pacing | The pacing or target-length line |
| Persona | Your persona |
| Lorebook | Entries always included |
| Lorebook dynamic (max N) | Room for entries found by search, up to your max entries; (ceiling) when you set a token budget |
| Summaries (N) | Compressed older messages |
| Journal (N) | The journal's always-on entries |
| Cast | In a package story, the full cards of the supporting characters on stage |
| Cast mentioned | The cast profile of each supporting character on stage or named in the recent messages. A character with no cast profile is described by their public description once it's released to you |
| Cast roster | Every supporting character's name and role in this story |
| Memories (N) | Memories recall can draw on; (ceiling) with a token budget |
| History (N msgs) | The recent messages, up to Max Context Messages |
Turning a feature off (Journal, Summaries, Memories, Lorebook) in Active Features → Feature settings removes its part right away.
Estimated vs. measured
A part drawn slightly faded with a ~ is an estimate.
Bring the cost down (own API key)
When your story runs on your own API key, a Want to optimize costs? box with a Tips button sits under the Context Budget section. It opens Reduce Your Costs:
- Use a cheaper model for summarization — Pick summary preset (or Already configured if summaries have their own).
- Summarization frequency — Summary Window Size (recommended 8–10) and Summary Count (recommended 3). Higher values mean fewer summary calls.
- Context size — Max Context Messages (recommended 15–20). Fewer messages make every prompt smaller.
- Max response length — Max Tokens.
- Click Save Changes. Only what you changed is saved; closing without saving drops your edits.
On built-in models the box doesn't appear; the Echo estimate under the message box shows what the next turn should cost. See Echoes. The same box and dialog are in the chat site's writing panel.
When the context is nearly full
- Lower Max Context Messages in Context settings.
- Trim always-included lorebook entries, or a very long character or persona.
- Switch to a model with a larger context window. See Models, Presets and Model Profiles.
- Turn on Dynamic Context, so the oldest messages give way instead of the turn being refused.
- Let summaries do their job: they compress old messages and free room. See Summaries.
Context settings may also show a context-fit hint with suggested values and Apply to this chat.