[BUG] Session rate limit reset doesn't clear conversation context — immediately re-consumes budget

Resolved 💬 3 comments Opened Mar 26, 2026 by jakubBab Closed Mar 30, 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?

I hit the session rate limit (100% used) and the session restarted. On my very first prompt after the reset, usage immediately showed 33% consumed — before I'd done anything new.

Environment:

  • Claude Code CLI on Linux (Ubuntu, kernel 6.8.0-106-generic)
  • Model: Opus 4.6 (1M context)
  • Plan: Pro (no extra usage enabled)

What Should Happen?

After a session rate limit reset, usage should start at 0%. The previous conversation context should not count against the new session's budget.

Error Messages/Logs

Steps to Reproduce

....

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.84

Platform

Other

Operating System

Ubuntu/Debian Linux

Terminal/Shell

IntelliJ IDEA terminal

Additional Information

<img width="705" height="451" alt="Image" src="https://github.com/user-attachments/assets/b81b55f6-acba-4756-957b-1b23ac85e28a" />

View original on GitHub ↗

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