[BUG] Wrong context usage and tokens shown
Open 💬 0 comments Opened Jul 3, 2026 by 1mshy
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
The context usage/token count shown at the bottom right is wrong. When running /clear, /resume into any session and then /clear again, it still shows the context usage of the session that was resumed into.
What Should Happen?
It should show 0, or the normal headroom amount with all the system prompts and mcp servers.
Error Messages/Logs
Steps to Reproduce
Ask claude code to program something.
On that same terminal run:
/clear
/resume (any session)
/clear
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.200
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_