[BUG] Usage doesn't work in a long Claude Code session
Resolved 💬 3 comments Opened Apr 4, 2026 by oferze Closed May 14, 2026
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?
When Claude Code has been open for a very long time (can't tell exactly, in the order of hours), Usage stops showing data.
https://github.com/user-attachments/assets/181062b7-a95e-4883-97d8-8d77e13b1426
Even after exiting Status and typing /status or /usage again, it doesn't show usage.
One has to quit Claude Code completely and re-open:
https://github.com/user-attachments/assets/98f62649-846a-4d0f-90ff-f4703b7c2606
What Should Happen?
Usage should be shown regardless of session length.
Error Messages/Logs
Steps to Reproduce
- Open Claude Code
- Observe
/usage(not sure this is a necessary step, Schrödinger's cat. - Wait many hours (sorry, can't tell how many, try 10)
- Observe
/usage
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.92 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗