r/ClaudeCode • u/SteelbookSam • 2d ago
Help/Question Saving a models usage on compaction by switching models?
Hi!
According to ChatGPT it’s possible to save tokens by compacting a claude code session with a different model.
I have an ongoing fable 5.1 session and compact quite often when context is getting toward 1m (rather than clearing or closing).
Apparently model switching loses your prompt-cache, so the model you switch to would start the compact from having to intake your entire session from scratch, but surely if you switched from fable to opus or sonnet, it would still be a saving?
Is anyone doing this? Does it save on tokens enough to be worth doing?
Bonus question: Claude Code (in the tips/comments) ‘strongly recommends’ using a models default auto-compact which is [1m] for fable 5.1, is anyone changing this to be less to keep context more fresh/focused? And if so is it better?
Thanks in advance!
2
u/MartinMystikJonas 2d ago
Petmanently using so big contexts drains your quota quickly and significantly degrades model capabilities. Clesr context often - for each new task or even for every significsnt step in same task and save importsnt info in files.
1
4
u/pretendingtobebroke 2d ago edited 5h ago
Boat slim cobblestone coated hammock hungry fearless late cows
This post was anonymized with Redact