Skip to content

Bao Yu recommends earlier auto-compaction to manage Claude Code token usage

1 reports 1 reporting sources 6 hours agoNew

Understand the event

AI overview

Bao Yu recommended running `/autocompact 300k` in Claude Code to reduce the conversation history included in subsequent requests, saying 300K was sufficient in his own use compared with the quoted recommendation of `/autocompact 400k`. Quoting @lydiahallie, Bao Yu explained that auto-compaction replaces the conversation with a short summary and normally triggers at about 967K tokens on models with a 1M-token context window. His recommendation moves that compaction earlier. He also noted that cached reads are cheaper but still count toward usage.

Generated by AI from reports · Updated 5 hours ago

Read next

More changes in today’s briefingGoogle DeepMind announces Genie 4 for real-time world simulation with native audio

Report timeline

Follow the reports to explore different sides of the event.

10/29
  1. Bao Yu recommends /autocompact 300k to manage Claude Code token usage

    Bao Yu recommends running `/autocompact 300k` in Claude Code, saying 300K was sufficient in his own use compared with the quoted recommendation of `/autocompact 400k`. Quoting @lydiahallie, he explains that auto-compact replaces the conversation with a short summary and triggers at about 967K on 1M models. Earlier compaction reduces the history included in subsequent requests; cached reads are cheaper but still count toward usage.

Keep up with AI, one email a day

Model releases, price changes and compute developments, with original sources. Free, confirmed by email, and easy to unsubscribe. Read a past issue

Event heat trend

Current within comparable coverage
9
Peak within comparable coverage
1010/29 03:00 (UTC+8)
24-hour change
–

Trends compare the same continuously observed participants, which may cover fewer sources than current heat. Point or click to inspect hourly heat, or use left and right arrow keys.