[BUG] Stats screen shows inaccurate usage numbers
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 usage/stats overview screen (accessed via the app's stats/overview panel — shows "Sessions", "Messages", "Total tokens", "Active days", "Current streak", "Longest streak", "Peak hour", "Favorite model", plus a contribution-style heatmap grid) is displaying numbers that don't match my actual usage.
Screen showed:
Sessions: 369
Messages: 76,410
Total tokens: 63.6M
Active days: 54
Current streak: 9d
Longest streak: 32d
Peak hour: 8 AM
Favorite model: Opus 5
Footer note: "You've used ~260x more tokens than Dune."
<img width="588" height="365" alt="Image" src="https://github.com/user-attachments/assets/1d9af49c-8c8b-434c-a796-f7f712a106c1" />
<img width="668" height="425" alt="Image" src="https://github.com/user-attachments/assets/3ee42691-35c1-4f03-b228-9ff3437120f4" />
<img width="588" height="365" alt="Image" src="https://github.com/user-attachments/assets/7d490517-fe84-4735-b450-223fbd987d39" />
What Should Happen?
I've been using claude code for month 90 days.
<img width="668" height="425" alt="Image" src="https://github.com/user-attachments/assets/870c8ca0-d3e5-4e94-9bda-82d8a5feba57" />
Error Messages/Logs
Steps to Reproduce
I'm not sure. Just look at your own tokens.
Claude Model
Not sure / Multiple models
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.251 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
The days - blue/orange - boxes are off on both. The tokens may be off only on the desktop