[BUG] Weekly + 5hr limits wiped from single small edit - area:cost

Open 💬 3 comments Opened Jun 18, 2026 by YeeZhiLi

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?

My weekly all-models limit (60% remaining) and 5-hour limit (22% remaining) were both completely wiped after a single small code tweak.

Steps:

  1. Weekly limit was at ~40% used (60% remaining)
  2. 5hr limit was at ~78% used (22% remaining)
  3. Made one small edit in Claude Code
  4. 5hr jumped to 91% then both limits showed fully exhausted when I reopened Claude

This is not proportional to actual usage. One small edit should not consume 60% of a weekly limit. Suspected token miscalculation during context re-processing.

Account: Pro plan
Favorite model: Opus 4.8
Platform: Windows

What Should Happen?

Usage limits should decrease proportionally to actual work done. A single small code edit should not consume 60% of a weekly limit and wipe both the 5hr and weekly limits simultaneously.

Error Messages/Logs

No error message shown. Claude Code simply showed limits as fully exhausted upon reopening after one small edit. No warning was given before the limits were consumed.

Steps to Reproduce

  1. Have a Claude Code Pro plan session active
  2. Weekly limit at ~40% used, 5hr limit at ~78% used
  3. Make one small code edit/tweak in Claude Code
  4. Reopen Claude Code
  5. Both 5hr AND weekly all-models limits show as fully exhausted

Note: No warning was given. Single edit consumed remaining 60% of weekly limit instantly.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Unknown - using Claude Desktop app

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Terminal.app (macOS)

Additional Information

Account username: YeeZhiLi (Pro plan)
This completely blocked my work on client projects.
Requesting limit review/adjustment for affected account.

View original on GitHub ↗

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