Context and auto-compact
The context is the AI's working memory for one conversation; when a long chat fills it, compacting summarises the older parts so the chat can go on and each reply costs less. This page covers: how the context meter fills up and how compacting keeps long chats going for less.
Context meter and compacting
A long chat fills the AI's memory for the conversation (its context). Compacting summarises older parts so the chat can go on and each reply costs less.
How to use it
- Watch the Context chip in the message box: the chip itself fills from the left as the conversation grows, behind its number. Point at it for the details (last reply, project, branch, model).
- Type
/compactto compact now. - Or let auto-compact do it: when the context passes your limit, the app compacts between messages by itself.
Where Settings›General›Speed & cost›Context auto-compact sets the limit for all projects. Project settings›Project›Context auto-compact overrides it for one project (blank means use the general setting).