[BUG] Usage dashboard: overall credits total fluctuates between billions and millions; usage graph history before ~June missing

Status Open
Reported on v2.1.222
Maintainer reply None cached
Activity 0 comments · opened Aug 5, 2026

Description

Two related problems on the usage dashboard / stats view, appearing over the last few days:

  1. Overall credits total is unstable. The lifetime/overall credits figure sometimes displays a value in the billions, then on a later refresh a value in the millions. The real value obviously doesn't change by three orders of magnitude between views, so one (or both) of the numbers is wrong — possibly a unit mix-up (tokens vs. credits) or a partial aggregation being displayed as a total.
  1. Usage graph history is truncated. The usage-over-time graph previously showed my full history, but now cuts off sometime in June 2026. Roughly half of my actual Claude Code usage period no longer appears in the graph, even though it was displayed correctly before.

Steps to reproduce

  1. Open the usage dashboard / stats view.
  2. Note the overall credits figure.
  3. Reload/reopen it — the figure sometimes changes between a billions-range and a millions-range value.
  4. Look at the usage graph: data before ~June 2026 is missing.

Expected behavior

  • The overall credits total is stable and correct across refreshes.
  • The usage graph shows the full usage history, not just data from ~June onward.

Environment

  • Claude Code version: 2.1.222
  • Platform: macOS (Darwin 25.2.0 / macOS 26.2)

Notes

Started within the last few days; both symptoms appeared around the same time, so they may share a cause (e.g. an aggregation backfill dropping older data).

View original on GitHub ↗