Skip to content

Proxy Mode Model Mapping Has No Effect - Claude Code

Quick fix

Retry after upgrading to cc-switch 4.0. The maintainer says the refactor fixed the old model-mapping issue, but this thread has no user verification.

Error output
开启代理模式后,完全无效模型映射,并且也没有提示,即便乱配置也不会报错
English translation

After enabling proxy mode, model mapping has no effect at all, and no warning appears. Even invalid configuration does not produce an error.

In proxy mode on cc-switch v3.13.0, after the user configured model mapping for Claude Code, actual requests still used the default model. Arbitrary mapping changes also had no effect on requests. The maintainer said the 4.0 refactor fixed several old issues, including model mapping.

The issue was closed after more than 60 days of inactivity, not because a fix was reproduced and confirmed in the thread. The maintainer recommended upgrading and retrying. If it still does not work, provide the version, protocol type, and reproduction steps, then reopen the issue.

  1. Upgrade cc-switch to 4.0, then retest Claude Code model mapping in proxy mode.

  2. If mapping still does not work after upgrading, record the cc-switch version, protocol type, and complete reproduction steps, then reopen the issue.

ToolClaude Code
Versioncc-switch v3.13.0(报告受影响);4.0 被维护者称已解决,但该线程未验证
PlatformsmacOS

(No FAQ yet)

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.