[BUG] Status bar shows different token count than /context command (22k vs 24k)

Resolved 💬 4 comments Opened Jan 22, 2026 by ghost10101110 Closed Jan 23, 2026

Bug Description

The status bar displays a different token count and percentage than the /context command output, even though issue #6537 and fix in v2.1.14 were supposed to align these values.

Environment

  • Claude Code version: 2.1.16
  • OS: macOS (Darwin 25.2.0)
  • Node: v20.13.1
  • Model: claude-opus-4-5-20251101

Steps to Reproduce

  1. Start a Claude Code session
  2. Have a conversation to build up context
  3. Run /context command
  4. Compare with status bar display

Expected Behavior

Both /context command and status bar should show the same token count and percentage.

Actual Behavior

  • Status bar shows: 24k/200k tokens (12%)
  • /context shows: 22k/200k tokens (11%)

Difference is ~2k tokens (~1-2% discrepancy).

Additional Context

  • This occurs consistently, not just once
  • According to CHANGELOG, v2.1.14 should have fixed /context to show same values as status line

Related Issues

  • #6537 (context reporting bug)
  • #9964 (status bar baseline mismatch - closed as duplicate)

View original on GitHub ↗

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