Commit

7fa9ec4

Just ran /compact on my 80% context in Claude (the $20/month subscription), right at the start of a fresh 5hrs session. And guess what? 37% of my session usage was gone instantly Expected behaviour or not?
Well, you sent in ~800k uncached input tokens, the model had to work with it for a while, cache it, and preserve something as a handoff. I'd say it's painful, but accurate, especially if you used medium or above on Opus 5.5. Always finish your work with compacting stuff before…
Well, the thing is, it has a $4/MTok input price, and a $8/MTok 1h cache write price (which is used for the main agent, $5/MTok for 5min cache write is used for subagents). And then there's the $20/MTok output + $0.2/MTok cache read. This adds up to a $3.2 input, $6.4 cache write, a generous $1 output and negligible cache read. This adds up to around $10.6 from that single prompt, which is technically half of what you paid for the subscription, but only got 37% of it "charged". Kinda sucks, but the numbers add up.

commit 7fa9ec4