CC Switch v4.0.16

This release turns the tray into a quick panel and fixes a batch of Codex and routing issues. Clicking the tray icon now opens a panel that shows each app's in-use provider, mode, quota and usage, and lets you search and switch providers directly; if you prefer the old menu, switch back under "Settings → General → Tray style". In Codex Aggregation mode, a session that moves between the default provider and other members no longer gets stuck on the previous one with compaction failing over and over; with Codex routed, having to sign in to ChatGPT again after every restart of CC Switch is also fixed. When Codex reaches a Chat upstream through routing, parallel tool results are no longer split by a notice inserted in the middle and rejected with a 400; a GPT context window you fill in yourself now also applies to official models of the same name, and the 272K cap added in 4.0.13 now only limits windows borrowed from the vendor's data. When the upstream is a 5.5 model, Claude Code routing and Claude Desktop route mode now use the 5.5 model IDs. It also fixes Zhipu pay-as-you-go accounts showing "Quota unavailable", quota on newly created Volcengine plan cards erroring right away, Node tools managed by fnm not being recognized on Windows, idle cards that couldn't be deleted, the "Get API Key" link disappearing when editing a provider, and other issues; the macOS icon background is also now a soft light grey. OpenCode cards can now be set as OpenCode's default model. For everything new in 4.0, see the v4.0 release notes.


New

The tray is now a quick panel (#8432). On macOS and Windows, clicking the tray icon now opens a quick panel: the "Configuration" tab lists each app's in-use provider, current mode (Direct, Routing and Aggregation in the same colors as the main window) and quota, and lets you search and switch providers; the trend chart on the "Usage" tab follows the currency and chart style chosen in the main window. On macOS it uses the system frosted glass and stays readable over dark windows; on Windows it uses opaque cards. To get the old menu back, choose "Menu" for "Tray style" under "Settings → General → Window and terminal"; it takes effect immediately, no restart needed. Linux keeps the native menu, with a new "Open quick panel" item at the top.

OpenCode cards can be set as the default model (#8509). At startup, OpenCode reads opencode.json and picks the model in its top-level model; CC Switch had no way to set it before, so you had to edit the file by hand. Added OpenCode cards now have "Set as default": just pick a model. Only the top-level model is changed; comments and small_model are left as they are.

Improvements

The official MiniMax presets default to MiniMax-M3.1-Flash (#8518). Claude Code, Claude Desktop, Codex, Hermes, OpenCode, OpenClaw and Pi are all updated; MiniMax-M3 can still be selected.

The "Get API Key" link is light blue again, without an underline.

The sidebar "Today" line has its "Today" prefix back, reverting the 4.0.15 change.

Price updates: Kimi K3 gets its cache write price (3 USD per million tokens; it was recorded as 0); the Step 5 Preview cache read price is changed to 0.70 CNY per million tokens following StepFun's October 14 price change; prices are added for qwen3.7-flash, qwen3.6-27b and qwen3.8-omni-flash. The two price changes are applied automatically to existing price tables, except for prices you edited by hand.

The invite code is removed from Zhipu's "Get API Key" links.

Turkish: 17 UI strings are reworded (#8481).

Presets: Added AllTokens SI.

Fixes

Upgrade Notes

The database schema is unchanged, still at 20.


Thanks

Thanks to @Owlbay (tray quick panel), @funkpopo (tray quick panel, GPT context windows), @parkavenue9639 (WebSearch through Codex OAuth), @waynesguan (5.5 model IDs for Claude Code), @A0150315 (split tool results), @SaladDay (MiniMax-M3.1-Flash, Hermes MiniMax presets) and @alkank (Turkish) for their contributions.

Thanks to @ht6231997Byte, @mybolide, @xiaohe622516, @Jokyuzx, @XiaoXiangGuRen, @BlueMain, @guaifinition, @fengzhcai, @Alicexs, @samuelhe52, @futurelyf, @actforjason, @yyhhkya and @107295472 for reporting issues, providing reproduction details and suggesting fixes.

For the full technical details, see the CHANGELOG.