/model does not list GPT-5.6 models that are available via -m
What version of Codex CLI is running?
Codex CLI: v0.143.0
What subscription do you have?
Plus
Which model were you using?
gpt-5.6
What platform is your computer?
macOS
What terminal emulator and version are you using (if applicable)?
iTerm2
Codex doctor report
What issue are you seeing?
Description
The Codex CLI can successfully start GPT-5.6 models when they are specified with the -m flag, but the interactive /model picker does not display them.
This makes it appear that GPT-5.6 models are unavailable, even though they are fully usable.
Environment
- Codex CLI: v0.143.0
- macOS
- ChatGPT Plus account
- Logged in with ChatGPT account (not API key)
What steps can reproduce the bug?
Steps to reproduce
- Start Codex with any GPT-5.6 model:
codex -m gpt-5.6-sol
or
codex -m gpt-5.6-terra
or
codex -m gpt-5.6-luna
- Verify that the session starts successfully and the header displays, for example:
model: gpt-5.6-sol medium
- Run:
/model
Actual behavior
The model picker only shows:
- gpt-5.5
- gpt-5.4
- gpt-5.4-mini
GPT-5.6 models are missing, even though the current session is already running on GPT-5.6.
What is the expected behavior?
Expected behavior
The /model picker should list every model available to the authenticated user, including:
- gpt-5.6-sol
- gpt-5.6-terra
- gpt-5.6-luna
or at minimum display the currently active model.
Additional information
The same ChatGPT account has access to GPT-5.6 models in the Codex App.
The CLI can also successfully start GPT-5.6 models when they are explicitly specified using the -m option.
This appears to be a UI/model picker issue rather than an authorization or model availability problem.
5 Comments
I also have this bug on fedora cli.
Trying to run any commands results in this error:
Blocking
ab.chatgpt.comand removingleveldbcan be temporary solution, as it relates to filter policies obtained online.On Windows you can add
127.0.0.1 ab.chatgpt.comtoC:\Windows\System32\drivers\etc\hostsand delete~\AppData\Local\Packages\OpenAI.Codex_<some hash>\LocalCache\Roaming\Codex\web\Codex\Default\Local Storage\leveldbThe comment is sent by an agent, behalf of @Menci.
The
ab.chatgpt.comblock workaround upthread works but disables every Statsig gate (Browser Use, Computer Use, plugin catalog, etc.). Here's a more targeted patch that only defeats the picker whitelist.Filter location (Codex/ChatGPT.app
26.707.31428,com.openai.codex):webview/assets/app-initial~app-main~onboarding-page~...~k0ede4gb-C17KDkOa.js:$v(e)— zod-parsesuse_hidden_models,available_models,default_modeloff the Statsig dynamic-config payloaday()— readseee('107580212').valueJv({authMethod:e, availableModels:t, models:a, useHiddenModels:o})— the picker filter:``
js
``let l = o && e !== 'amazonBedrock';
a.forEach(n => { if (l ? t.has(n.model) : !n.hidden) { /* keep */ } });
Verify live (paste into DevTools console once you have one on the app):
For any non-ChatGPT-authed session (API-key, Azure, custom OpenAI-compatible) the whitelist branch runs and every
hidden:falsemodel thatapp-server model/listreturned —gpt-5.6-{sol,terra,luna}included — gets stripped, even though the CLI running from the same bundle can invoke them fine.One-byte shim (per-install; gets wiped by Sparkle):
Renames the string literal inside
$v()sosafeParse(e.use_hidden_models)misses and the field defaults tofalse. Length-preserving (asar header untouched), idempotent, reversible. Works becauseEnableEmbeddedAsarIntegrityValidationfuse is OFF on shipped builds.Fix at the source — any one of these:
Jv/ive: skip the whitelist branch whenauthMethod !== 'chatgpt'. Custom API-key providers shouldn't be gated by a ChatGPT-account-scoped rollout list.Jv/ive: unionavailableModelswithmodels.filter(m => !m.hidden)before thet.has()check, so provider-returned visible models can never be dropped.107580212targeting.Happy to help verify a fix if useful.
Possibly a separate cause, but I reproduced the same symptom on Linux with CLI
0.144.1.~/.codex/models_cache.jsonshowedclient_version: 0.141.0and no GPT-5.6 entries because older Codex/app-server processes were still running and overwriting the shared cache.After stopping the stale processes and rebuilding the cache:
it regenerated as
0.144.1with Sol, Terra, and Luna markedvisibility: list, and/modelworked.Affected users may want to compare
codex --versionwith the cache’sclient_versionand check for old processes using:This may be because you have a stale (older) app server running locally, and the newly launched TUI is connecting to it. Make sure to terminate any local app server instances, then run the latest version of the CLI.