[Bug] Incorrect Model Detection Causing Anthropic API Rate Limit Error
Resolved 💬 3 comments Opened Oct 1, 2025 by mattbr0wn Closed Oct 5, 2025
Bug Description
No matter what model I select, even older models like claude-sonnet-4-20250514, it thinks I'm using OPUS and doesn't allow me to work because it thinks i've hit opus rate limits. Please help.
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.0.1
- Feedback ID: a2370a79-5819-4201-99f8-acab2626345c
Errors
[{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CTgNZH3NK5Bc6u2JnCYvq\"}\n at B4.generate (file:///Users/mbrown/.local/share/mise/installs/node/22.5.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:895:21164)\n at yP.makeStatusError (file:///Users/mbrown/.local/share/mise/installs/node/22.5.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1034:2131)\n at yP.makeRequest (file:///Users/mbrown/.local/share/mise/installs/node/22.5.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1034:5344)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async cG1.model (file:///Users/mbrown/.local/share/mise/installs/node/22.5.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1120:39804)\n at async cG1 (file:///Users/mbrown/.local/share/mise/installs/node/22.5.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1120:27733)\n at async q2B (file:///Users/mbrown/.local/share/mise/installs/node/22.5.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1120:39958)\n at async file:///Users/mbrown/.local/share/mise/installs/node/22.5.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1120:34180\n at async ZH0 (file:///Users/mbrown/.local/share/mise/installs/node/22.5.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1120:9568)\n at async r11 (file:///Users/mbrown/.local/share/mise/installs/node/22.5.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1120:34150)","timestamp":"2025-10-01T11:07:45.413Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗