[BUG] Sonnet 4.6 incorrectly requires 1M context credits on Pro plan (Desktop)
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?
Selecting Sonnet 4.6 in Claude Code (Desktop entrypoint) on a Pro plan returns:
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
I am on the Pro plan and have not opted into pay-as-you-go usage credits. Sonnet 4.6 should use the standard 200K context window that Pro covers, not the 1M variant.
Repro:
- Open Claude Code (Desktop, version 2.1.150)
/model claude-sonnet-4-6- Send any prompt (e.g. "hello")
- Error appears immediately.
Confirmed:
- Opus 4.7 works fine on the same machine, same session.
- Sonnet 4.6 works fine on a second computer signed into the same account.
- Plan usage: 15% of 5-hour limit, 14% of weekly — nowhere near any cap.
autoCompactWindowin settings.json is 150000 (below 200K).- No CLAUDE_CONTEXT_* / 1M-related env variables are set.
- Already tried: updating from 2.1.34 → 2.1.150, /logout + /login.
- Workaround: Sonnet 4.5 works.
Environment:
- Claude Code: 2.1.150
- Entrypoint: claude-desktop
- OS: Windows 11
- Plan: Pro
What Should Happen?
Sonnet 4.6 should respond normally using the standard 200K context window covered by the Pro plan, the same way it does on my other computer signed into the same account, and the same way Opus 4.7 works on this machine.
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
- Open Claude Code in Claude Desktop (version 2.1.150 on Windows 11, Pro plan).
- Run
/model claude-sonnet-4-6to select Sonnet 4.6. - Send any prompt, e.g.
hello. - Observe the error: "Usage limit reached — API Error: Usage credits required for 1M context..."
Expected: Sonnet 4.6 responds using standard 200K context covered by Pro.
Actual: Error demanding usage credits for 1M context.
Note: switching to /model claude-opus-4-7 in the same session works fine, and Sonnet 4.6 works on a different computer signed into the same account.
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.150 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
Configuration (~/.claude/settings.json):
{
"autoCompactWindow": 150000,
"autoUpdatesChannel": "latest",
"theme": "dark",
"autoCompactEnabled": true,
"enabledPlugins": {
"frontend-design@claude-plugins-official": true
}
}
<img width="496" height="197" alt="Image" src="https://github.com/user-attachments/assets/8ad0d72f-3761-4dab-abd4-ef7dde05cd38" />
<img width="928" height="1133" alt="Image" src="https://github.com/user-attachments/assets/2f5adaa0-f114-4689-854c-f91e626cc505" />
<img width="1910" height="1163" alt="Image" src="https://github.com/user-attachments/assets/83a55db0-d3f7-40be-8a42-1c778bbcd977" />
<img width="1919" height="1102" alt="Image" src="https://github.com/user-attachments/assets/2be7c494-0bd3-45aa-abbe-05c429ed81ef" />
<img width="1919" height="1199" alt="Image" src="https://github.com/user-attachments/assets/e00b8f04-1dec-432f-8302-ecc69feb8ae7" />This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗