Skip to content

codex deepseek cannot select a model - cc-switch

Quick fix

Codex desktop hides third-party models with no official ChatGPT login. Sign in once, enable keeping the official login in cc-switch, and restart Codex.

Error output
可以正常聊天,但是不显示模型。
English translation

Chat works normally, but no model is shown.

The Codex desktop model picker decides whether to show third-party custom models based on whether you are signed in with an official ChatGPT identity. With no official login state it forcibly falls back to the official default model — reasoning level included — so the DeepSeek/MiniMax model list cc-switch already configured shows as empty or reduced to 自定义 (custom). That check lives inside Codex desktop and cc-switch cannot rewrite it, while actual requests are still forwarded to the third-party provider by the cc-switch local proxy. Hence chat working normally while the model list and `/model` show nothing.

The problem centres on #3586, #4389, #3404, #3726, and #6290: in #3586 the DeepSeek list disappears too after adding MiniMax; in #3404, switching between an official subscription and DeepSeek shows only 自定义 (custom) while conversations really do go to DeepSeek; in #6290 the model list is still empty on v3.19.2 while flash answers. A maintainer closed #3404 as covered by v3.16.0/v3.16.1, with a user adding that reinstalling Codex restores it. The macOS timeout and "reproduces after setting Chinese and restarting" in #3726 remain open with no maintainer confirmation.

  1. Sign in to an official ChatGPT account once in Codex desktop, so official login credentials exist in `~/.codex/auth.json` — this is the step most often missed.

  2. Open cc-switch settings and turn on 切换第三方时保留官方登录 (keep the official login when switching to a third party).

  3. Confirm the third-party provider you use (DeepSeek, MiniMax) has local routing / route takeover enabled.

  4. Quit Codex desktop completely, restart it, and open the model picker again.

  5. If it still shows nothing, run `codex debug models` in a terminal to see whether the third-party models appear. If they do, the data layer is fine and the problem is only in the desktop display layer. If it recurs after a while, sign in to official ChatGPT again first.

ToolCodex
Version3.16.0 - 3.19.2(受影响范围;#3404 称 3.16.0/3.16.1 已包含相关修复,但后续版本仍有报告)
PlatformsWindowsmacOS
I configured DeepSeek/MiniMax and Codex chats fine, so why is the model list empty?
Codex desktop decides whether to allow third-party custom models based on the official ChatGPT login state. Sign in to official ChatGPT once, keep the official login in cc-switch, and restart Codex — actual requests are still routed to the third-party provider by cc-switch.
It worked before and today it is gone. How do I restore it?
Usually the official login state expired. Signing in to official ChatGPT again restores the display.
Does not signing in to an official Codex subscription affect anything?
Without an official subscription login DeepSeek may still work, but the Codex plugin and model selection are affected. Maintainers suggest keeping the official login state so third-party models display.
Reinstalling Codex fixed it, but setting the language to Chinese and restarting hides the models again. Is that cc-switch?
That comes from open issue #3726 and maintainers have not confirmed it. Troubleshoot along the keep-official-login route, and note you must quit Codex completely before restarting.

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.