[BUG] Session usage counter shows 38% used with no user activity after login

Resolved 💬 4 comments Opened May 11, 2026 by romanatorPN Closed Jun 10, 2026

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?

After hitting the "out of extra usage" limit, I ran /login to start a new session. The Claude Code terminal showed no activity (idle > prompt). However, when checking claude.ai/settings/usage, the "Current session" counter showed 38% used approximately 50 minutes after login, despite zero user-initiated requests.

Steps to reproduce:

  1. Run Claude Code with --channels (Telegram channel listener active)
  2. Hit the "extra usage" limit (terminal shows: "You're out of extra usage")
  3. Run /login
  4. Leave the session idle for ~50 minutesExpected: Current session = 0% (or near 0%) with no activity

Actual: Current session = 38% used

Additional context:

  • Weekly "All models" limit also increased ~8% (80% → 88%) during the same idle period
  • Terminal showed no activity whatsoever - no tool calls, no responses, no channel messages received
  • Claude Code v2.1.81, Sonnet 4.6
  • OS: Windows 11

Hypothesis: Either the session counter is not properly reset after /login, or the --channels listener consumes tokens passively even when no messages arrive.

  1. Check claude.ai/settings/usage

What Should Happen?

Expected: Current session = 0% (or near 0%) with no activity

Actual: Current session = 38% used

Additional context:

  • Weekly "All models" limit also increased ~8% (80% → 88%) during the same idle period
  • Terminal showed no activity whatsoever - no tool calls, no responses, no channel messages received
  • Claude Code v2.1.81, Sonnet 4.6
  • OS: Windows 11

Hypothesis: Either the session counter is not properly reset after /login, or the --channels listener consumes tokens passively even when no messages arrive.

Error Messages/Logs

Steps to Reproduce

  1. Run Claude Code with --channels (Telegram channel listener active)
  2. Hit the "extra usage" limit (terminal shows: "You're out of extra usage")
  3. Run /login
  4. Leave the session idle for ~50 minutes
  5. Check claude.ai/settings/usage

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

4.6

Claude Code Version

v2.1.81

Platform

Other

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

<img width="1915" height="1078" alt="Image" src="https://github.com/user-attachments/assets/81f17986-0e96-4042-aa8a-bccf767e86b4" />
<img width="1835" height="1078" alt="Image" src="https://github.com/user-attachments/assets/871bcaba-f8d0-4711-8fcf-0eab8fc80550" />
<img width="1920" height="1080" alt="Image" src="https://github.com/user-attachments/assets/ebe22ccf-5070-445b-ac6b-37ad74b0e22c" />

View original on GitHub ↗

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