Skip to content

[Bug] Rate Limit Error persists after increasing plan limits and adding funds and Max plan only at 33% used #28760

Closed

Description

@Jcashiola

Bug Description
I have the max plan. Claude code used up $50 worth of overflow. My plans usage is a 1% session and 33% daily. I added funds and increased the limits in hopes of clearing the Rate limit Errod. but no help. WHat do I do?

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.58
  • Feedback ID: d558c6e4-d958-44ea-bcbb-2b8611f4e8e4

Errors

[{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011CYVYGFpSu4dLP39BBWbKh\"}\n    at W4.generate (file:///C:/Users/jcash/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:329:28354)\n    at qh.makeStatusError (file:///C:/Users/jcash/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:368:2195)\n    at qh.makeRequest (file:///C:/Users/jcash/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:368:5420)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)","timestamp":"2026-02-25T22:00:48.603Z"}]

Activity

  1. added
    questionIssue is asking a question about how Claude Code works, or similar
    platform:windowsIssue specifically occurs on Windows
    on Feb 25, 2026
  2. github-actions commented on Feb 25, 2026

    @github-actions

    Found 3 possible duplicate issues:

    1. [Bug] Anthropic API Error: Rate limit reached on claude-sonnet-4-6-1m with Claude Pro plan #27603
    2. [Bug] Rate limit error despite low API usage when using Opus 4.6 (1m) #27179
    3. [BUG] CLI-only "API Error: Rate limit reached" on every request despite 97% quota remaining (Max 20x plan) #28096

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  3. andrewleejenkins commented on Feb 26, 2026

    @andrewleejenkins

    Having the same issue. Unable to use this without extra usage and I'm coming back after a 10 hour break of no use on Max. Should have plenty of headway available. started about 12 hours ago.

  4. Jcashiola commented on Feb 26, 2026

    @Jcashiola
    Author

    I added $5 to the account. The rate limit error went away. Then monitored the usage. I still have the $5. I've been working ever since no issues. You could try $1. My guess is the $5 is gone.

  5. Apollo1113 commented on Feb 27, 2026

    @Apollo1113

    I am also having this issue on sonnet 4.6 claude desktop cowork latest version. does not work even if switching to opus 4.6

  6. Jcashiola commented on Feb 28, 2026

    @Jcashiola
    Author

    I spoke too soon. Watch out. I was at the end of a CC session. The rate limit error came back with a vengeance. It ate my $5. I put in another $5. Gone in a minute. Put $10 just to try to finish. Gone in a little over 2 minutes. Put in another $10. Same thing, Gone in a little over 2 minutes. A single agent was running. Turned it off. Right at $5 a minute. No response from support.

  7. zyqxd commented on Mar 1, 2026

    @zyqxd

    Same, switched from PAYG to Max 5x. Getting 429 with $60+ left over and no sessions used. MacOS

  8. kevanghobadi commented on Mar 2, 2026

    @kevanghobadi

    Same issue here on max plan with MacOS

  9. clementgineste commented on Mar 2, 2026

    @clementgineste

    Same issue, happened few times over last days. This is due to a potentially corrupt session. If you open a new one, another folder, you'll be able to query models again.
    If you succeed to /compact you'll gain back access. Usually not working when changing to Sonnet but always worked with Haiku.

    Exemple, right now:

    ❯ ls                                                                                                                                                                     
      ⎿  Async hook UserPromptSubmit completed                                                                                                                               
      ⎿  Async hook Stop completed                                                                                                                                           
      ⎿  API Error: Rate limit reached                                                                                                                                       
                                                                                                                                                                             
    ❯ /context                                                                                                                                                               
      ⎿  Context Usage                                                                                                                                                       
         ⛁ ⛀ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   claude-opus-4-6 · 76k/200k tokens (38%)                                                                                                       
         ⛀ ⛁ ⛁ ⛀ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁                                                                                                                                                 
         ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   Estimated usage by category                                                                                                                   
         ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   ⛁ System prompt: 3.4k tokens (1.7%)                                                                                
         ⛁ ⛁ ⛀ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶   ⛁ System tools: 17.1k tokens (8.6%)                                                                                                           
         ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶   ⛁ Memory files: 5k tokens (2.5%)                                                                                                              
         ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶   ⛁ Skills: 457 tokens (0.2%)                                                                                                                   
         ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶   ⛁ Messages: 57.4k tokens (28.7%)
         ⛶ ⛶ ⛶ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝   ⛶ Free space: 84k (41.8%)
         ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝   ⛝ Autocompact buffer: 33k tokens (16.5%)
    
         Memory files · /memory
         └ CLAUDE.md: 3.6k tokens
         └ ~/.claude/projects/-work-anon-career/memory/MEMORY.md: 1.4k tokens
    
         Skills · /skills
    
         Project
         └ analyze-offer: 16 tokens
         └ generate-cv: 16 tokens
         └ cover-letter: 16 tokens
    
         User
         └ peon-ping-config: 67 tokens
         └ peon-ping-use: 64 tokens
         └ peon-ping-toggle: 62 tokens
         └ peon-ping-log: 52 tokens
    
    ❯ ls                                                                                                                                                                     
      ⎿  Async hook UserPromptSubmit completed
      ⎿  Async hook Stop completed                                                                                                                                           
      ⎿  API Error: Rate limit reached
                                                                                                                                                                             
    ❯ /compact                                                                                                                                                               
      ⎿  Error: Error during compaction: Error: API Error: Rate limit reached          
    

    Changing to Sonnet:

    ❯ /model sonnet                                                                                                                                                          
      ⎿  Set model to sonnet (claude-sonnet-4-6)                                                                                                                             
                                                                                                                                                                             
    ❯ /compact                                                                                                                                                               
      ⎿  Error: Error during compaction: Error: API Error: Rate limit reached   
    

    And finally Haiku:

    ❯ /compact 
      ⎿  Compacted (ctrl+o to see full summary)
      ⎿  Read output/cv-alan-platform-engineer.md (96 lines)
      ⎿  Read output/cv-sopra-devops-telco.md (98 lines)
      ⎿  Read data/profile.yaml (47 lines)
      ⎿  Read data/projects.yaml (121 lines)
      ⎿  Read data/experiences.yaml (236 lines)
      ⎿  Plan file referenced (~/.claude/plans/glowing-yawning-canyon.md)
    
    ❯ ls                                                                                                                                                                     
      ⎿  Async hook UserPromptSubmit completed
      ⎿  Async hook Stop completed                                                                                                                                           
                                             
    ● Looking at the context, I see you've completed several tasks in the previous session:                                                                                  
       
      1. ✅ X hiring team message — Written and iterated to 3 short paragraphs (approved)                                                                         
      2. ✅ Analytics tracking for cv repo — GitHub issue #36 opened with GoatCounter recommendation
      3. ✅ Y Platform Engineer CV — Generated and saved to output/cv-alan-platform-engineer.md (37.4KB)                                                                  
                                                                
      All recent requests have been completed. What would you like to work on next?
    
    ❯ /context                                                                                                                                                               
      ⎿  Context Usage
         ⛁ ⛀ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   claude-haiku-4-5-20251001 · 42k/200k tokens (21%)                                                                                             
         ⛀ ⛁ ⛁ ⛀ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁                                                                 
         ⛁ ⛁ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶   Estimated usage by category                                                                                                                   
         ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶   ⛁ System prompt: 3.4k tokens (1.7%)                                                                                
         ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶   ⛁ System tools: 17.1k tokens (8.6%)                                                                                                           
         ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶   ⛁ Memory files: 5k tokens (2.5%)                                                                                                            
         ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶   ⛁ Skills: 457 tokens (0.2%)                                                                                                                   
         ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶ ⛶   ⛁ Messages: 16.9k tokens (8.5%)
         ⛶ ⛶ ⛶ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝   ⛶ Free space: 124k (62.0%)
         ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝ ⛝   ⛝ Autocompact buffer: 33k tokens (16.5%)
    
         Memory files · /memory
         └ CLAUDE.md: 3.6k tokens
         └ ~/.claude/projects/-work-anon-career/memory/MEMORY.md: 1.4k tokens
    
         Skills · /skills
    
         Project
         └ analyze-offer: 16 tokens
         └ generate-cv: 16 tokens
         └ cover-letter: 16 tokens
    
         User
         └ peon-ping-config: 67 tokens
         └ peon-ping-use: 64 tokens
         └ peon-ping-toggle: 62 tokens
         └ peon-ping-log: 52 tokens
    
    ❯ What model are you ?                                                                                                                                                   
      ⎿  Async hook UserPromptSubmit completed
      ⎿  Async hook Stop completed                                                                                                                                           
                                             
    ● I'm running on Claude Haiku 4.5 (claude-haiku-4-5-20251001).                                                                                                           
       
      You're at 21% context usage (42k/200k tokens), with about 124k tokens of free space remaining. You can easily continue working without hitting context limits.         
                                                                
    ❯ /model opus                                                                                                                                                            
      ⎿  Set model to opus (claude-opus-4-6)                                                                                                                                 
                                                                                                                                                                             
    ❯ What model are you ?                                                                                                                                                   
      ⎿  Async hook UserPromptSubmit completed                                                                                                                               
      ⎿  Async hook Stop completed                                                                                                                                           
                                                                                                                                                                             
    ● I'm running on Claude Opus 4.6 (claude-opus-4-6). You just switched from Haiku 4.5.   
    
  10. Jcashiola commented on Mar 3, 2026

    @Jcashiola
    Author
  11. oliverstreissi commented on Mar 3, 2026

    @oliverstreissi

    Had the same issue because of the 1M context window, although I never set that. Could only turn it off by setting CLAUDE_CODE_DISABLE_1M_CONTEXT=1. Now it's working again.

  12. clementgineste commented on Mar 3, 2026

    @clementgineste

    Had the same issue because of the 1M context window, although I never set that. Could only turn it off by setting CLAUDE_CODE_DISABLE_1M_CONTEXT=1. Now it's working again.

    Just worked for me. And directly it compacted our conversation (i was at 80%).

    edit: arf, came back after 1 question ...
    edit2: remove disable_1m and it came back to live ,wtf ?

  13. clementgineste commented on Mar 3, 2026

    @clementgineste

    Again and again, so annoying

  14. 1 remaining item

  15. clementgineste commented on Mar 3, 2026

    @clementgineste

    Deleted my ~/.claude/projects and it's working, pretty sure something is wrong with old .jsonl in i don't know with case and boom

  16. clementgineste commented on Mar 3, 2026

    @clementgineste

    Ok came back.

    you got hooks / plugins ?

    just peon-ping here

  17. aplathrop-qb commented on Mar 4, 2026

    @aplathrop-qb

    Same issue for me. As others have said I had hit a limit on 5X max for my session. Upgraded to 20 X and still hit the API rate limit error. Spun around on it for 24 hours logging in to the API version / logging out, etc. try lots of bugging in the leading files but none of that worked. I then switched to the non-1,000,000 context window and that just started working for me.

  18. Mobz22 commented on Mar 5, 2026

    @Mobz22

    Currently having this issues on 20x Plan, my weekly usage is 10%, by my extra usage went to 100%, now getting API Error: Rate limit reached. Also I have no issues using Claude Desktop code

  19. bottyBotz commented on Mar 5, 2026

    @bottyBotz

    Seeing this issue as well on my Team plan.
    Current Session - 0% used
    Weekly limits all models - 69% used.

    Issue only presents itself on Claude Cowork at this time.

  20. codenics commented on Mar 5, 2026

    @codenics
    Image

    1.Turned auto-reload on in Settings -> Usage.
    2.Relaunched Claude Code and it worked!

  21. jedijamez567 commented on Mar 5, 2026

    @jedijamez567

    This is how I fixed this:

    First, backup ~/.claude.json --> ~/.claude.json.bak

    Next, claude logout

    next, rm -f ~/.claude.json

    next, claude login

    Finally, restore original claude.json: mv ~/.claude.json.bak ~/.claude.json

    It should work after this.

  22. tonygaglio commented on Mar 5, 2026

    @tonygaglio

    Having the same problem, to fix, switch to another model that isn't the 1M context one.

  23. iRonin commented on Mar 10, 2026

    @iRonin

    tried many things but finally switching between Sonnet and Default worked for me

  24. dvmer commented on Mar 15, 2026

    @dvmer

    Same problem. I had to turn on the toggle for the extra usage for it to work.

  25. byteolu commented on Apr 14, 2026

    @byteolu

    If you’re using a new account, go into Claude console -> Organization setting -> Billing and make sure you have a credit balance.

  26. bcherny commented on Aug 17, 2026

    @bcherny
    Collaborator

    That 429 ("Extra usage is required for long context requests") isn't your normal usage limit — it fires when the selected model uses the 1M-token extended context window, which on Pro/Max is only included through usage credits (extra usage). It triggers even with plenty of session/weekly capacity left.

    Fixes: run /model and pick the variant without the [1m] suffix, or run /usage-credits to enable extra usage for the 1M model. On current versions Claude Code also compacts the conversation back under the standard limit automatically when this happens mid-session. Details: https://code.claude.com/docs/en/errors#usage-credits-required-for-1m-context

    Closing as answered.

    🤖 Generated with Claude Code

  27. github-actions commented on Oct 5, 2026

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  28. locked as resolved and limited conversation to collaborators on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:costplatform:windowsIssue specifically occurs on WindowsquestionIssue is asking a question about how Claude Code works, or similar

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions