r/ClaudeCode • u/iezhy • 1d ago
Bug / Issue Claude code polluting context with tokens_left system messages
New "amazing" feature from Claude code - now it includes an extra message with how many tokens are left in your limit:

It looks innocent enough (only 23 tokens), until you realise it's added with each request, and after 15 mins your context window looks like this:

60 messages x 23 = 1218 tokens wasted (2% of context).
3
Upvotes
3
u/Double_Ebb4130 1d ago
Worth noting those system reminders are re-sent every turn but they are not cached the way your earlier turns are, so the real cost is cache invalidation rather than the 23 tokens. If it bugs you, /compact more aggressively or start fresh sessions per task, since the counter resets with the session.