Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

compaction-on-demand changedbuild-with-claude/compaction-on-demand

Nearest release: v2.1.309, published 3 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+2added
Lines−2removed
From line 23 where the diff opens
First seen 21 Sep 2026 this site's first read of the page
Recorded edits14to this page, all time

The whole hunk

from line 23, old and new numbered
/
lines
from line 23
2323 supportedPlatforms:
2424 Claude API: beta
2525 Claude Platform on AWS: beta
26 Google Cloud: beta
26 Claude Models on Google Cloud (Google managed): beta
2727 Microsoft Foundry: beta
2828---
2929 
from line 36
3636From then on the block takes the place of the messages it summarizes. It goes first in `messages`, the summarized messages are removed, and your next turn follows it. Claude receives the summary where those messages were.
3737 
3838<Frame>
39 ![On-demand compaction: a request with four messages returns one compaction block, which replaces them in the next request](https://platform.claude.com/docs/images/compaction-on-demand-swap.svg)
39 ![A compaction request with four messages returns one compaction block, no reply; the next request opens with it in their place](https://platform.claude.com/docs/images/compaction-on-demand-swap.svg)
4040</Frame>
4141 
4242## Request a summary
Feedback