Skip to content
Trending storyDeveloping

Claude Code auto-compact replaces the whole conversation with a summary; /autocompact 400k lowers the trigger

1 article1 sourcesince Oct 9Last article 3h ago ·

Overview

AISummary of 1 article

Anthropic's Lydia Hallie says Claude Code's auto-compact does not keep the last 1M tokens of a conversation; instead it replaces the entire conversation with a short summary.

On 1M-context models, auto-compact triggers around 967K tokens, and each message before that point re-reads the full conversation, mostly from cache.

Users can run /autocompact 400k to make compaction trigger at 400K tokens instead, so the conversation never grows that large. This is Hallie's clarification, reported on X; the report does not describe any changes to default behavior.

Written by AI from the articles below · updated Oct 9, 2:39 PM ET

Check the sources:

Article timeline

The articles in this story. Times are ET.

Oct 9
  1. Lydia Hallie ✨X
    Claude Code auto-compact summarizes conversations, not the last 1M tokens

    AIAnthropic's Lydia Hallie clarifies that Claude Code's auto-compact replaces the whole conversation with a short summary. On 1M-context models it triggers around 967K tokens, and each message before that point re-reads the full conversation, mostly from cache. Running /autocompact 400k makes compaction trigger at 400K instead.

    Video from @lydiahallie's post

Heat trend

Not enough continuous observations to show a trend yet.