rateLimitTier set to "default_claude_ai" instead of "default_claude_pro" on Pro subscription — rate limit error with zero usage
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?
Related to issue #39604
Subscription: Claude Pro
Platform: Windows / PowerShell
Claude Code version: (run claude --version and include the output)
Credentials after fresh claude auth login:
"subscriptionType": "pro", "rateLimitTier": "default_claude_ai"
Every request returns "API Error: Rate limit reached" despite zero usage. Fresh auth login restores correct scopes but rateLimitTier does not correct to default_claude_pro.
What Should Happen?
After authenticating with a valid Claude Pro subscription via claude auth login, the rateLimitTier field in .credentials.json should be set to "default_claude_pro". Requests to Claude Code should succeed within Pro plan quota limits. Instead, rateLimitTier is set to "default_claude_ai" (the free tier), causing every request to return "API Error: Rate limit reached" despite zero actual usage and a valid paid subscription.
Error Messages/Logs
Steps to Reproduce
- Have an active Claude Pro subscription on a Windows machine
- Install Claude Code VS Code extension
- Run claude auth login — browser OAuth completes successfully
- Check ~/.claude/.credentials.json — rateLimitTier is set to "default_claude_ai" instead of "default_claude_pro"
- Attempt any request in Claude Code (VS Code or CLI) — immediately returns "API Error: Rate limit reached"
- Verify on claude.ai that subscription is active and usage is at or near zero
- Run claude logout, delete .credentials.json, repeat claude auth login — same wrong tier assigned on every fresh login
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.87 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗