{"detail":"The '' model is not supported when using Codex with a ChatGPT account."}

Resolved 💬 8 comments Opened Dec 17, 2025 by nos1609 Closed Mar 10, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the VS Code extension are you using?

v0.4.51

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Windows 11 25h2 ARM64

What issue are you seeing?

Just the second answer in a new chat gives me "{"detail":"The '' model is not supported when using Codex with a ChatGPT account."}".

<img width="777" height="1077" alt="Image" src="https://github.com/user-attachments/assets/c9e82fa2-fecc-4339-8d6c-8cf608f24d89" />

What steps can reproduce the bug?

Start a new conversation in agent (full access) mode, once You get the first reply, try a new prompt, suggesting Agentic actions.

What is the expected behavior?

Some text-based answer.

Additional information

Thread ID 019b2c41-c771-7631-abf4-a90ac049bec6

View original on GitHub ↗

8 Comments

github-actions[bot] contributor · 7 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #6924
  • #6603
  • #6582

Powered by Codex Action

nos1609 · 7 months ago

Looks like really some VS Code extension related issue, as the model is selected and not selected at the same time

<img width="983" height="838" alt="Image" src="https://github.com/user-attachments/assets/d7da5353-d217-4316-bf22-6091055ded9b" />

<img width="618" height="459" alt="Image" src="https://github.com/user-attachments/assets/2a30168b-d0c8-4612-ad0a-0c871d3d0b4e" />

nos1609 · 7 months ago

Manual model selection in drop down menu resumes the chat for me. But still an issue in the extension.

nos1609 · 7 months ago

Some additional info:
There was a chat transition from codex extension to a tabbed version via VS Code's Recent Sessions drop-down menu, looks like something is getting lost if multiple GUI _instances_ of Codex are being opened simultaneously in a single VS Code window.

shijie-oai contributor · 7 months ago

Thanks for filing! Can you also check in your ~/.codex/config.toml file and see if there is a model entry (i.e. model = "gpt-5.1-codex").

shijie-oai contributor · 7 months ago
Some additional info: There was a chat transition from codex extension to a tabbed version via VS Code's Recent Sessions drop-down menu

Can you also elaborate more on this? I am having a hard time find this in vscode. Or did you mean opening a different task from the recent tasks dropdown in the extension.

bijalsanghavi · 2 months ago

For me updating the codex cli allowed me to change the model to 4.0 models and then it worked with the older models.

diOnysosdk · 1 month ago

open the settings in codex, open configuration and open the config.toml and change model to 5.4 and restart vs code.