Token Efficiency Encyclopedia

Rolling Summarization

Replace dropped conversation turns with a condensed summary that is updated each time the window slides. This maintains a coarse history without paying full token cost for every old turn.

How It Works

As the conversation grows beyond the working window, older turns are summarized into a running state block. The prompt sent to the model consists of: system prompt + rolling summary + recent raw turns.

What to Include in the Summary

Trade-offs

See Also

Tools