Skip to content

Opus Always Shows opus4.8: Claude Code Local Routing

Quick fix

Upgrade to cc-switch 4.0; the maintainer said this version changed how configuration is written but did not confirm that it fixed the issue.

Error output
但是在claude cli里还是显示opus4.8
English translation

But it still shows opus4.8 in the Claude CLI.

On macOS with cc-switch 3.20.0, a user reported that enabling local routing overwrote Claude Code’s `default_opus_model`. Even though the custom configuration and model mapping both specified opus5, Claude CLI still showed opus4.8. After local routing was disabled, the display immediately returned to normal. Another user reported the same behavior when connecting cc-switch through ccgui.

The maintainer closed the issue because v4.0 had been released, explaining that its interface and configuration writing method had changed significantly. They recommended upgrading and, if the issue persisted, reopening the issue with the version and reproduction steps. The maintainer did not confirm that v4.0 fixed the issue.

  1. The maintainer recommended upgrading to cc-switch 4.0. If the issue persists after upgrading, provide the version and reproduction steps, then reopen the issue.

ToolClaude Code
Version3.20.0(报告使用的 cc-switch 版本;问题关闭时维护者提及 v4.0,但未确认修复)
PlatformsmacOS
Does the model display return to normal after local routing is disabled?
The reporter said Claude CLI displayed the model correctly immediately after local routing was disabled.

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.