Context usage percentage not updating from 0%

Resolved 💬 3 comments Opened May 20, 2026 by Reina-0128 Closed May 23, 2026

Description

The context usage percentage display remains at 0% even when significant amounts of tokens are being consumed.

Steps to Reproduce

  1. Start a new Claude Code session
  2. Execute commands that generate large amounts of context/tokens (e.g., bash commands that output thousands of lines)
  3. Observe that the context percentage in the CLI status bar remains at "Context: 0%"

Expected Behavior

The context usage percentage should update to reflect actual token consumption (e.g., should show ~23% when ~45,000 tokens out of 200,000 are used).

Actual Behavior

The display shows "Context: 0%" throughout the session, regardless of actual token usage.

Environment

  • OS: macOS (Darwin 25.3.0)
  • Claude Code version: Latest
  • Date observed: 2026-05-20

Additional Context

Claude's internal token tracking shows correct usage (e.g., "Token usage: 45537/200000"), but this is not reflected in the user-facing CLI interface.

View original on GitHub ↗

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