“获取模型列表失败” Claude Code
Quick fix
Update to 4.0 or the latest version and retry. If it still fails, provide the version, system, full reproduction steps, and logs or screenshots.
Symptom
Section titled “Symptom”获取模型列表失败Failed to retrieve model list
On macOS, cc-switch 3.16.3 may fail to retrieve the model list for Claude Code, while manually entering a model name still works. The same configuration retrieves the list correctly on other computers, so the problem may be specific to the local environment. A commenter suspected that proxy software had not exited properly, but provided no verification, so this cannot be confirmed as the root cause.
The issue was closed after timing out without new reproduction details, not because a fix was confirmed. The maintainer said that 4.0 substantially refactored the related functionality and recommended updating and retrying. Another user reported a variant where the list showed only 7 models and the specific models could not be identified, but the thread provided no clear cause or verified solution.
Update cc-switch to 4.0 or the latest version, then click to retrieve the model list again.
If it still fails, check whether the proxy software exited properly. This was a user’s hypothesis and was not confirmed in the thread.
Test again after updating. If the problem persists, reopen the issue with the CC Switch version, system, complete reproduction steps, and relevant logs or screenshots.
While the model list is unavailable, manually enter the model name. The original report confirmed that this works.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
- Why are only 7 shown, with no way to see which models they are?
- This is a variant reported in the same thread, but the available information does not identify the 7 models or explain why the list is incomplete. Update to 4.0 or the latest version and retry. If it persists, provide the version, system, reproduction steps, and logs or screenshots.
- Can I still use a manually entered model name?
- Yes. The original report states that manually entering a model name still works when the full model list cannot be retrieved.
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.