Skip to content

Model switching does not take effect, Claude Code

Quick fix

Back up important information, then click reset in CC Switch. The maintainer recommends upgrading and trying again after the 4.0 configuration-writing…

Error output
使用sswitch切换模型,不会生效怎么办??如果直接编辑了claude的setting文件切换了模型,重启后配置就被清空了,有大佬解决一下吗?
English translation

What should I do if switching models with sswitch has no effect? If I edit Claude’s setting file directly to switch models, the configuration gets cleared after restarting. Has anyone found a solution?

The user reported that switching models through sswitch had no effect, and that manually editing Claude’s setting file caused the configuration to be cleared after a restart. One user reported that switching worked after clicking `reset` and advised backing up important information first. The maintainer said 4.0 rewrote how Claude Code writes configuration: when switching providers, it replaces only key fields such as the address, key, and model, instead of overwriting the entire `settings.json` with old data, and recommended trying again on the latest version.

  1. Back up important information, then click `reset` in CC Switch; one user reported that switching worked afterward.

  2. Upgrade to the latest version and try again. The maintainer said 4.0 improved how Claude Code writes configuration. If the issue still occurs, provide the CC Switch version, system, provider, and the before-and-after changes to `settings.json` with the key redacted.

ToolClaude Code
VersionCC Switch v3.14.1(报告版本;是否为受影响范围未说明)
PlatformsWindows

This page is distilled from 1 real issues

Will clicking `reset` clear important information?
The reporter advised backing up important information before clicking `reset`.

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.