Codex shows no model list and will not switch models
Quick fix
Turn on keeping the official login when switching to a third party in cc-switch, and make sure you signed in to official ChatGPT in Codex once.
Symptom
Section titled “Symptom”在codex中打开不显示使用的模型列表,切换不了模型Opening Codex shows no list of models in use and I cannot switch models
This is a limitation in the Codex desktop app itself (the upstream client): its 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 falls back to the official default model and the list comes up empty. That check lives inside Codex and cc-switch cannot rewrite it. Separately, some users report a regression on CC Switch v3.20.0 with Codex 0.148.0 where the model has to be typed in by hand and the generated catalogue loses the Fast tier.
Sign in to an official ChatGPT account once in the Codex desktop app, so official login credentials exist in ~/.codex/auth.json.
Open cc-switch settings and turn on 切换第三方时保留官方登录 (keep the official login when switching to a third party).
Confirm the third-party provider you use has local routing or route takeover enabled.
Quit the Codex desktop app completely, restart it, and open the model picker again.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 6 real issues
- Why do third-party models disappear again after a while?
- Usually the preserved official login state expired. Sign in to official ChatGPT once more in the Codex desktop app to restore it.
- An external API has no account — why do I need to log in?
- That is a gate in the Codex desktop app itself: it only shows custom models with an official login state present. The actual requests are still forwarded to the third party by cc-switch, so the two do not conflict.
- After upgrading to v3.20.0 I have to type the model in by hand and the Fast tier is gone. What now?
- That is a known regression in v3.20.0. For now, type the specific model name in for stable operation; the missing tier awaits a later fix.
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.