BetaSep 14, 2026

Your app can now decide when a conversation gets summarized

Send the top-level compaction parameter and the API returns a signed compaction block that summarizes the messages you sent.

Department
Engineering
Related links
Share

Your application can now decide when a conversation gets summarized, instead of waiting until it hits a limit. Send the top-level compaction parameter and the API returns a signed compaction block that summarizes the messages you sent. On later requests, send that block first, in place of those messages.

The request can run in the background, and you can keep recent turns word for word after the summary. On-demand compaction is in beta on select models on the Claude API, with the compact-2026-09-04 header.

Earlier updates

Sep 14, 2026
Sep 11, 2026
Sep 10, 2026
Sep 9, 2026
Sep 8, 2026
Sep 4, 2026
Sep 3, 2026
All updates