Shipping an AI app or agent? Security review in 1 working day: $149 / ₹13,900. Request a review →
AI Review Ready
Home / Error fixes / Model not supported (ChatGPT account)
Fix · Codex CLI · Codex desktop

Codex: model is not supported when using Codex with a ChatGPT account

Fix: your ChatGPT account can't use the model Codex asked for, so pick one it can. Run /model in the CLI (in the app, use the model control under the composer) and choose from the list, then look for a leftover model = line in config.toml or a -m flag in a script. On an old CLI, update it: in one report, CLI 0.164 rejected every model passed with -m while 0.172 ran the same model on the same account (#65558).

At a glance
ErrorThe 'gpt-6.2-sol' model is not supported when using Codex with a ChatGPT account. (the model name varies)
Full responsestatus 400, invalid_request_error, code model_not_found, subreason model_not_in_accessible_catalog
In Codex's sourceMapped to ModelNotFound, which Codex never retries, so waiting doesn't help
Usual causesModel not in your plan; Enterprise or Edu admin hasn't enabled it; a stale model in config.toml or a script; an old CLI
Fix/model, fix the model setting, update the CLI, or ask your workspace admin
Reports7 people on GitHub, 25 Nov to 5 Dec 2026 (#64241, #64405, #64412, #64713, #65058, #65266, #65558). No OpenAI reply on these issues
Checked5 Dec 2026, against the sources listed below

Fix it

  1. Pick a model your account has. In the CLI, run /model and choose one from the list; in the desktop app, use the model and reasoning control beneath the composer. OpenAI's docs: "In an interactive CLI session, use /model to switch models or adjust reasoning effort." In #64241, a user reports that choosing an available model for a single turn unblocked an old conversation that kept failing.
  2. Find where the old model name comes from. The desktop app, CLI and IDE extension share one config.toml (%USERPROFILE%\.codex\config.toml on Windows, ~/.codex/config.toml on macOS and Linux). Look for a model = "..." line, and for -m or --model in scripts and codex exec commands. In #64405, a stale model = "gpt-6-sol" on a Go plan caused this error, and "nothing pointed to the config key that set it".
  3. Replace retired models. OpenAI's models page lists: GPT-5.5 retired from Codex for ChatGPT sign-in on 14 Oct 2026; gpt-5.2 and gpt-5.3-codex are deprecated with ChatGPT sign-in; GPT-5.6 Sol and Terra left the model picker for most users on 2 Dec 2026, and from 23 Dec Codex switches those threads to GPT-6.2 Sol and GPT-6.1 Terra.
  4. Update an old CLI. In #65558, codex-cli 0.164.0-alpha.9 rejected gpt-6.2-sol, gpt-5.3-codex, gpt-5.2-codex, gpt-5.1-codex-max and o3 with this error, while 0.172.0 and 0.173.0 ran codex exec -m gpt-6.2-sol on the same machine and the same Pro account. OpenAI's docs also say GPT-6.1 Terra needs Codex CLI 0.159.0 or later. Check yours with codex --version.
  5. On Enterprise or Edu, ask your admin. GPT-6.2 Astra and GPT-6.2 Sol are off by default in Enterprise and Edu workspaces, and an administrator must enable them in the workspace model settings. OpenAI: "Choosing a model in local configuration doesn't grant access." In #65058 (Enterprise), GPT-6.2 Astra showed in /model but every prompt failed with this error, signing in again didn't help, and GPT-6.2 Sol worked.

Which plans get which models

OpenAI's pricing page: "GPT-6.2 Astra and GPT-6.2 Sol are available on Plus, Pro, Business, Enterprise, and Edu" in ChatGPT Work, the Codex app and the CLI. For Free and Go plans, the retirement notes point to GPT-6 Luna in the desktop app. So on Free and Go, a 6.2 model named in your config isn't one your plan includes.

Signed in with an API key instead of ChatGPT? Then, per OpenAI, model availability follows your API organization and project, not your ChatGPT plan.

What the error means

Codex sends the model name with your request, and OpenAI's server answers 400 model_not_found with the subreason model_not_in_accessible_catalog. In Codex's source (codex-rs/codex-api/src/error.rs, lines 196 to 207) that becomes a ModelNotFound error carrying the server's message, and codex-rs/protocol/src/error.rs lists ModelNotFound among the errors Codex never retries. The reporter of #65558 points out that the text blames the account even when the old client was the problem.

Other places it shows up

  • Only in the logs, while your turn works: startup websocket prewarm setup failed: ... is not supported when using Codex with a ChatGPT account. In #64412 the app warmed up a connection for the previous thread's model; the turn itself ran on the selected model and succeeded.
  • During compaction of an existing thread: a user reports remote compaction failing with the same 400 on gpt-6.2-sol and gpt-6.2-astra (#64241).
  • Mixed with "Selected model is at capacity": two reporters saw both errors in the same days (#64713, #65266). Capacity is a different, server-side problem: see Selected model is at capacity.

Running Claude Code, Codex or Cursor on real repos, or shipping an AI agent? A Quick Review ($149 / ₹13,900, 1 working day) checks one repo, config or setup for leaked keys, risky agent permissions and MCP servers. Request a Quick Review

FAQ

What does 'not supported when using Codex with a ChatGPT account' mean?

OpenAI's server rejected the model name for your signed-in ChatGPT account (code model_not_found, subreason model_not_in_accessible_catalog). Your plan or workspace doesn't include that model, or the client asked for a model it shouldn't.

How do I fix it?

Run /model and pick a model from the list, remove an old model = line from config.toml or -m from scripts, update an old Codex CLI, and on Enterprise or Edu ask an admin to enable the model.

Why does GPT-6.2 Astra show in /model but fail?

In one Enterprise report, Astra appeared in the picker but every prompt failed while Sol worked. OpenAI says Astra and Sol are off by default in Enterprise and Edu until an admin enables them, and choosing a model locally doesn't grant access.

Does retrying help?

No. Codex's source puts ModelNotFound in the never-retry list. Change the model instead.

Which models can Free and Go plans use in Codex?

OpenAI lists GPT-6.2 Astra and Sol for Plus, Pro, Business, Enterprise and Edu. Its retirement notes point Free and Go users to GPT-6 Luna in the desktop app.

Related errors

Sources

Read 5 Dec 2026. These tools change often: if a step no longer matches, the linked page wins.

Related free tools