5-hour usage limit hits 100% instantly despite low context usage (11%)

Resolved 💬 6 comments Opened Apr 29, 2026 by scqformyself Closed Jun 2, 2026

Bug Description
Subject: 5-hour usage limit hits 100% instantly despite low context usage (11%) I've encountered a strange issue regarding the 5-hour usage limits. Here is what happened: I ran claude -c multiple times in the same directory. During these tasks, my 5-hour usage limit suddenly hit 100%. After the limit reset, I started a brand new session in the same directory to continue my work. The tasks I'm running involve spawning multiple workers. However, within just a few minutes, the 5-hour limit hit 100% instantly again. The confusing part is that my actual context usage is only at 11%. Here are the detailed parameters from my current session: Context Usage ⛁ ⛁ ⛁ ⛁ ⛀ ⛁ ⛀ ⛀ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ Opus 4.7 (1M context) ⛁ ⛁ ⛁ ⛁ ⛀ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ claude-opus-4-7[1m] ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ 109.4k/1m tokens (11%) ... (System prompt: 10.1k, System tools: 11.7k, Messages: 82.6k, Free space: 853.3k) It seems like the usage counter is bugged or not accurately reflecting the actual tokens processed in the new session. Has anyone else experienced this?

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.123
  • Feedback ID: ff8d6721-11a6-4cb5-93c0-693cb8a21c95

Errors

[{"error":"MaxFileReadTokenExceededError: File content (32848 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at Km7 (/$bunfs/root/src/entrypoints/cli.js:4852:12789)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T12:43:47.564Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaY6HesyNyveyrnpW85th\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T12:50:52.496Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaY6HgzUUrnYoT4Cj9SbS\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T12:50:53.034Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaY6Kid1Lst41wu36Fk8T\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T12:51:20.601Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaY6My3ygk66gjVM9RjVu\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T12:51:51.423Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaY6QErJE6ATUYEGoBXR5\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T12:52:22.900Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaY6SZTJ7U7GPP4qGXU1A\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T12:52:53.374Z"},{"error":"Error: 429 {\"type\":\"error\…

Note: Content was truncated.

View original on GitHub ↗

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