Context, compaction and starting fresh

Your coder re-reads the whole conversation on every step. See how full it is, and when to compact, start fresh or open a new session.

What context is

Context is everything your coder holds for this session: its own instructions and tools, your messages, its replies and thinking, and every file it read and every tool output it got. A turn is made of many steps, and every step re-reads all of it. You pay for what it reads, so the same request costs more deep into a long session than in a fresh one. Sizes on this page are counted in tokens, the small pieces of text a model reads and writes: 400k is 400,000 tokens.

There are two ways to make it lighter. Compact replaces the old conversation with a summary. Start fresh lets your coder begin again from your files, NOTES.md and your last few messages. Your files and NOTES.md stay through both.

If you don’t see the ring or a command from this page, your session does not offer it, and the workbench does not show it. Typed anyway, such a command goes to your coder as a normal message, a turn like any other: the note under the box says so before you send.

The ring, the card and the panel

The ring next to Send

The small ring right of Send shows how full the conversation is, as a share of its size. It turns amber at 60% of the way to the point where your coder compacts on its own (or of the size, where there is no such point), and red past 85%. A dot on it means your next message starts fresh.

Until the first measurement it shows no number, and the card and panel say: “Measured after your next message: your coder reports how much of its window the conversation fills.” Measuring costs nothing and makes no model call. Click the ring to open the context panel.

The Context card

The same numbers sit on a card titled “Context”. On a wide screen it stays open beside the chat. On a narrower screen or a phone, tap the one-line Context bar under the chat head.

It shows how much is used, a coloured bar, and rows such as Messages, System tools, System prompt and Free space, each with its tokens and share. A row marked ≈ is an estimate: “≈ estimated: counted from the conversation by VibeModder, not by your coder.” A line such as “Auto-compact at 400k” names your session’s point, with Change next to it where you can change the size. On Claude the number after the slash is this session’s window, 33k above that point (433k at the 400k point); the model itself can hold 1M.

The card refreshes when a turn ends. While a turn runs it says “Updating while your coder works”. Compact & size opens the panel.

The context panel

Open it from the ring, from Compact & size, or type /context (“What your coder is carrying right now”). On a phone it opens as a sheet from the bottom. It holds the bar and what fills it, a few plain fact lines (where your coder compacts and, where it applies, where your next message would start fresh), the size slider, the box “What should the summary keep? (optional)”, Compact session and Start fresh instead (free).

What the size means for each coder

The size slider is in Elden Ring sessions. If it is switched off for a while, the panel says “Choosing the context size is paused right now.”

Claude coders

Claude Opus 5.5 and Claude Fable 5.2 compact on their own, inside a turn, when the conversation reaches the auto-compact point. You don’t press anything. In Elden Ring sessions the default point is 400k.

The slider is called “Auto-compact at”. Its points are 150k, 200k, 300k, 400k, 500k, 750k and Max (the full 1M window, which compacts near 967k). If some are not open yet, the panel says “More sizes later.” The fact line reads like “It compacts on its own near 400k”.

Gemini coders

On Gemini the slider is called “Context size”: 200k, 300k, 500k, 750k (the default) and 1M. Gemini compacts on its own too. What the size means depends on whether the panel names a point:

  • When it names one (it can for Gemini 4 Carbon and Gemini 4 in Elden Ring sessions), the size is a ceiling. At the 750k default the panel says “It compacts on its own at or before 717k.” then “Each step is billed at what it sent.” That is the most it reaches; it usually compacts well before. The card says “Compacts at or before 717k” and the bar’s mark says “compacts ≤ 717k”.
  • When it names none (Gemini 3.8 Flash, for one), the size is no cap: “On a Gemini model your coder can send more than the size you set until it compacts on its own; each step is billed at what it sent.”

GPT coders

GPT-6 Astra and GPT-6.1 Sol get “Context size” with 128k, 200k and Max (the model’s own window, and the default). They compact on their own near the point the panel names, for example near 167k at 200k. They never start fresh just because a session got long.

Gemini 4 Neon

Gemini 4 Neon runs on the same coder program as the GPT coders, with one size only: 128k. A long session keeps its most recent part and compacts the rest on its own, the same way.

Free models

A free model has one fixed size and no slider. The panel says so in a line that ends “this coder’s size is fixed.” Compact is free on it.

Changing the size

Move the slider, or type /autocompact with a size, such as /autocompact 200k or /autocompact max. On Claude the number you type is the auto-compact point. On Gemini and GPT it is the size.

The slider saves a moment after you let go, without asking. Its price note changes as you move it, so read it first. It gives a live price per step of a long session at that size, on your model:

  • Bigger: “Bigger context: your coder remembers more before it summarizes (compacts), but every step re-reads the whole conversation, and you pay for what it reads.”
  • Smaller: “Smaller context: your coder summarizes (compacts) or starts from notes sooner, so each step of a long session reads less”.

/autocompact with a size moves the slider there and asks once. On Claude: “Auto-compact at 200k in this session? It applies to your next message.” with Use 200k and Keep 400k. On Gemini and GPT: “Use 200k for this session? It applies to your next message.”

Saving costs nothing (“no charge now”) and counts from your next message. If your conversation is already past where a smaller size summarizes, you get a heads-up: “This conversation is … now: your next message summarizes it first”. That summary is paid like a Compact. The slider has saved the smaller size by then: move it back before you send if you don’t want that summary.

Compact

“Summarizes the conversation so far. Files, NOTES.md and the Delivered list stay as they are.”

  • Write what the summary must keep in the box, or type it after /compact, for example “/compact keep the new weapon ids and the shop rows”. The box takes up to 1000 characters.
  • Compact session asks first (“Compact this conversation?”) and shows the price: one call over the whole conversation on the model this conversation is on, shown as “up to” an amount, and free on a free model. It usually takes 1-5 minutes, and Stop works.
  • The panel may show what you save: “After it, each step reads about … fewer tokens.”
  • A divider marks it in the chat: “Session compacted: … -> … tokens”, with what it cost.
  • On Gemini the panel reads “Summarizes into notes; your next message starts from the summary.” and the divider says “Session compacted into a summary.”

While a turn runs, the button can read “Compact after this turn”. Press it and it waits: “Compact queued” with Cancel. If you send a message before it runs, the composer says “Your Compact runs first (1-5 minutes).” and offers Skip the Compact and send. Where it cannot wait, the button is off and the panel says “Compact after the current turn.”

Start fresh and /clear

Both are free, make no model call, and ask first (“Start a fresh conversation?”). The chat stays on the page, and Rewind can still take you back to an earlier message.

  • Start fresh instead (free), in the panel: “Your next message starts from your files, NOTES.md and your last few messages. Nothing is charged now.” Words in the box go along as your note, and the divider shows “Your note: …”.
  • /clear: “Fresh conversation. Your files and NOTES.md stay.” No messages are kept: your coder starts from your files and NOTES.md only.

After either, the composer says “Next message starts fresh”, the ring gets its dot, and a divider marks the spot (“Fresh start here: …”). Your next message is a normal turn. Neither runs during a turn: the panel says “Start fresh after the current turn.” Press it once the turn has ended.

The long-session fresh start

VibeModder also starts fresh by itself when a turn finishes normally with the conversation past a set line. Under that turn’s answer you see:

“Your next message starts a fresh conversation because this one got long. Your files, NOTES.md and your recent messages carry over.”

The divider then ends with “(the conversation got long)”. Nothing went wrong: your coder is told to start from NOTES.md, the Delivered list, its work and your recent messages, and not to redo finished steps.

Where the line sits:

  • Claude: at the auto-compact point itself. Claude compacts there first, so this only happens when a turn ends above that point without having compacted.
  • Gemini: at 80% of the size you set (600k at the 750k default). The panel says “After a turn that ends above 600k, your next message starts from notes.”
  • GPT: never. GPT compacts on its own instead.

Where the line comes before the compact point, the panel can name it: “After a turn that ends above …, your next message starts fresh from NOTES.md, your files and your recent messages.” The divider can name other reasons too, such as “it got too large for the AI provider”.

NOTES.md and /remember

NOTES.md holds your coder’s notes on this session. Compact, Start fresh, /clear and the long-session fresh start all leave it as it is, so anything that must survive belongs there.

  • /remember, then your line: “Add a line to NOTES.md that every turn reads”. It writes a request into the box (“Add this line to NOTES.md under Preferences, as I wrote it, and change nothing else in this turn: …”). You read it and press Send. It is a paid turn, like any message.
  • /notes shows NOTES.md, and /init fills it from the files you uploaded. Both are paid turns.

Good lines to remember: your load order, your mod manager, the game version you play.

What it costs

What a long session means in money depends on the model and the work. The price note under the slider and the Compact price come from today’s prices for your coder, and the Coders page and the coder picker show them. More in What things cost.

When to compact, start fresh or open a new session

  • Same job, and your coder needs the thread of the talk: Compact, and tell the box what to keep.
  • Same job, and the state is in your files and NOTES.md: Start fresh (free), with a short note.
  • The last few messages went the wrong way: use Rewind to here on the message before it went wrong, and say it differently.
  • An unrelated job: open a new session with /new. A new one starts small. Use Fork from here to try two ideas side by side.
  • Before any of these: /remember anything your coder must not forget.

Every command is in the workbench reference, and the coders are compared in Which coder.