Skip to content

[BUG] API Error: Rate limit reached despite Claude Max subscription and only 16% usage #29579

@CaptainDaredevil

Description

@CaptainDaredevil

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Every request immediately returns "API Error: Rate limit reached" despite Claude Max subscription being active and only 16% usage shown in /status.

What Should Happen?

Requests should succeed within Claude Max plan limits (only 16% used).

Error Messages/Logs

API Error: Rate limit reached

Steps to Reproduce

  1. Run claude logout, then claude login
  2. Open Claude Code — shows "Claude Max" in header
  3. Run /status — Login method: Claude Max Account, 16% session usage
  4. Type any message (e.g. "hi")
  5. Immediately get "API Error: Rate limit reached"

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

v2.1.63

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

Prior to this, credentials.json showed subscriptionType: null and rateLimitTier: null.
API credits were added as a workaround — they were consumed instantly (within seconds),
leaving the account in debt. After fresh login subscription is recognized
(subscriptionType: "max", rateLimitTier: "default_claude_max_5x") but rate limit
error persists despite only 16% usage. Session resets at 3pm Europe/Budapest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:apiarea:authbugSomething isn't workinghas reproHas detailed reproduction stepsplatform:vscodeIssue specifically occurs in VS Codeplatform:windowsIssue specifically occurs on Windows

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions