Status bar: token count numbers are inaccurate despite percentage being correct

Resolved 💬 3 comments Opened Jan 27, 2026 by agusalvarez6 Closed Jan 31, 2026

Description

The bottom status bar in Claude Code displays context window usage as both a percentage and raw token numbers (e.g., [progress bar] 0% (59k/200k)). The percentage indicator is accurate, but the raw token count numbers do not reflect actual usage correctly.

Steps to Reproduce

  1. Start a Claude Code session
  2. Observe the bottom status bar showing format: [progress bar] X% (Nk/Mk)
  3. Compare the percentage with the token numbers

Expected Behavior

The token count numbers (e.g., 59k/200k) should be consistent with the displayed percentage. If the bar shows 0%, the consumed token count should be near zero relative to the total.

Actual Behavior

The percentage is accurate, but the token numbers shown alongside it are inconsistent with that percentage. For example, the bar may show 0% while simultaneously displaying 59k/200k, which would imply roughly 30% usage, not 0%.

Environment

  • Platform: macOS (Darwin 24.6.0)
  • Model: claude-opus-4-5-20251101

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗