status=429 - Claude Desktop
Quick fix
Streaming requests in CC Switch 3.15.0 skip the model rewrite and produce a 429. There is no official fix yet.
Symptom
Section titled “Symptom”streaming=1 | request_model=claude-opus-4-7 | model=claude-opus-4-7 (NOT rewritten) | status=429In CC Switch 3.15.0, the `claudeDesktopModelRoutes` model name rewrite skips streaming requests entirely. Streaming requests from Claude Desktop then carry a raw model name upstream cannot recognise (`claude-opus-4-7`), triggering a 429 rate limit error 100% of the time, while non-streaming requests are rewritten to the target model correctly and succeed. Separately, with the local proxy on, the system adds an `anthropic-beta: claude-code-20250219` marker to every request to take over model mapping, which makes a third-party model such as MiniMax believe it is Claude Opus — expected behaviour that does not affect which model the request actually reaches.
The bug is not fixed in 3.15.0. Since non-streaming requests map correctly, try disabling streaming if your client supports it, as a stopgap, or wait for an official update.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 3 real issues
- With the local proxy on, why does a model such as MiniMax believe it is Claude Opus?
- That is normal. The proxy has to take over model mapping, and forwarder.rs:931 adds the anthropic-beta: claude-code-20250219 marker to every Claude adapter request, which makes the upstream provider inject Claude identity information. The specific model the request reaches is still correct.
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.