← sources

/clear vs /compact

source: reddit (reddit:ClaudeCode)published 2026-09-20 02:09ingested 2026-09-21 02:38

retained text

I had a fable chat from yesterday, and I saw that the context was 950k/1m.  I did /compact rather than /clear, with the intention of then doing /autocompact 400000

14% of the 5 hour limit was gone just for the compact itself....it shows cost of $59.73, so lucky I'm not on API?  Maybe a /clear would have been better.

document fetched 2026-09-21 00:36 · canonical https://reddit.com/r/ClaudeCode/comments/1wl4c13/clear_vs_compact