Skip to content

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

Closed

Description

@nos1609

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."}".

Image

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

Activity

  1. added
    bugSomething isn't working
    windows-osIssues related to Codex on Windows systems
    on Dec 17, 2025
  2. nos1609 commented on Dec 17, 2025

    @nos1609
    Author

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

    Image Image
  3. nos1609 commented on Dec 17, 2025

    @nos1609
    Author

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

  4. nos1609 commented on Dec 17, 2025

    @nos1609
    Author

    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.

  5. shijie-oai commented on Dec 17, 2025

    @shijie-oai
    Contributor

    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").

  6. shijie-oai commented on Dec 18, 2025

    @shijie-oai
    Contributor

    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.

  7. bijalsanghavi commented on May 10, 2026

    @bijalsanghavi

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

  8. diOnysosdk commented on Jun 6, 2026

    @diOnysosdk

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extensionwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions