[BUG]
Resolved 💬 1 comment Opened May 23, 2026 by integrateai2026 Closed May 23, 2026
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?
i have not hit my usage limit but claude code is saying so.
API Error: Usage credits required for 1M context · turn on usage credits at claude.ai/settings/usage, or use --model to switch to standard context
What Should Happen?
I should not encounter this considering that this is a new session and my usage only shows 50%
Error Messages/Logs
API Error: Usage credits required for 1M context · turn on usage credits at claude.ai/settings/usage, or use --model to switch to standard context
Steps to Reproduce
n/a
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
can't find
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
<img width="1269" height="437" alt="Image" src="https://github.com/user-attachments/assets/83d5d458-5b10-426e-9293-329053ece727" />
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗