[Bug] Anthropic API Error: Rate limit reached at 12% weekly usage
Bug Description
Issue Summary:
API returning "Rate limit reached" error despite usage being only at 12% for the current week.
Expected Behavior:
API calls should succeed when usage is at 12% of weekly quota.
Actual Behavior:
All API calls are failing with "API Error: Rate limit reached" message.
Usage Details:
Current session: 0% used
Current week (all models): 12% used
Reset date: March 29, 12am (Europe/London)
Extra usage: Not enabled
Error Message:
API Error: Rate limit reached
Impact:
Unable to make any API calls despite having 88% of weekly quota remaining.
Steps to Reproduce:
Make API call to Claude (tested with simple "hello" prompt)
Receive rate limit error immediately
Check /usage dashboard showing only 12% usage
Additional Context:
The rate limit error appears to be triggering incorrectly - the usage dashboard clearly shows significant quota remaining, but all requests are being blocked as if limits were exceeded.
Environment Info
- Platform: win32
- Terminal: vscode
- Version: 2.1.81
- Feedback ID: 5d0d15ea-b849-47ad-bbbf-a2c9acf6dfef
Errors
[{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011CZLXBnjyjWVGWUjjW8pGu\"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:226:286312)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:265:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-23T18:55:47.866Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011CZLZggXTozkXupap7Y2xT\"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:226:286312)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:265:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-23T19:28:33.134Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗