-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Description
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?
My VS Code extension started failing with API Rate Limit errors. Examining .credentials.json my plan has been set to 'null' instead of 'pro'. Logging out of Claude Code and logging in again resets the error, but if you select the 1M token context limit it returns. Selecting the regular Opus option it fixes the problem.
What Should Happen?
Claude Code should properly handle my login and Pro usage limits when running under the 1M token Opus model.
Error Messages/Logs
Steps to Reproduce
Start a Claude Code session in VSCode.
Select Opus model with 1M token context.
Observe your get API Rate Limit errors and your .credentials.json file gets rewritten with a null plan type.
Select Opus model with regular context limit.
Observe your API rate limit errors disappear.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
2.1.63 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
No response