[BUG] The maximum tokens you requested exceeds the model limit of
Resolved 💬 5 comments Opened Jan 16, 2026 by Ricard-Kollcaku Closed Jan 16, 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?
after updating today claude code via brew upgrade claude-code from 2.1.7 to 2.1.9 whatever i write in claude it goes out of context
<img width="567" height="164" alt="Image" src="https://github.com/user-attachments/assets/94058649-6a71-4bfd-afdd-ee54db43baaf" />
What Should Happen?
should not go out of context
Error Messages/Logs
Steps to Reproduce
update claude via brew upgrade claude-code.
open terminal
run claude code wherever, project or empty folder.
u will get error regarding context
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.7
Claude Code Version
2.1.9
Platform
AWS Bedrock
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗