Model Issue

Resolved 💬 11 comments Opened Apr 17, 2026 by Probro-2009 Closed May 4, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

codex-cli 0.121.0

What subscription do you have?

Chatgpt Plus

Which model were you using?

gpt-5.1-codex-mini medium

What platform is your computer?

Windows 11

What terminal emulator and version are you using (if applicable)?

Terminal (CMD)

What issue are you seeing?

{"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-5.1-codex-mini' model is not supported when using Codex with a ChatGPT account."}}

What steps can reproduce the bug?

Uploaded thread: 019d99ae-3b9c-7523-9b55-771178316012
When we select the model gpt-5.1-codex-mini medium and send prompt it produces the error.

What is the expected behavior?

It must be removed from model selector when Codex detects that it is being used using Chatgpt Account to avoid confusion further. Because if model-selector shows a model then it must work irrespective of account type. So if the gpt 5.1-codex-mini is not available for users using Codex with Chatgpt account then please disable it prior.

Additional information

_No response_

View original on GitHub ↗

11 Comments

github-actions[bot] contributor · 3 months ago

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

  • #18194
  • #17642

Powered by Codex Action

InternetPseudonym · 3 months ago

i can confirm this - it also happens for spark ... same exact error message, OS : linux, various IDE extensions (tested: "kilo code" and "roo code") .
Someone should update the codex status on status.openai.com - codex via chatgpt is partially inoperable right now

InternetPseudonym · 3 months ago

<img width="833" height="60" alt="Image" src="https://github.com/user-attachments/assets/02934fe7-56bb-4bef-9deb-567e53e56121" />
also confirmed for codex vs code extension and codex 5.1-max

Marve10s · 3 months ago

Confirming this is still reproducible in Codex CLI v0.122.0 with a ChatGPT account.

What I observed:

  • Start codex normally
  • Switch models via /model to gpt-5.1-codex-mini high
  • Send any prompt
  • The turn fails with:
{"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-5.1-codex-mini' model is not supported when using Codex with a ChatGPT account."}}\n```\n\nSo the CLI accepts the model selection, but the model is not actually usable for ChatGPT-authenticated sessions.\n\nI also verified the lower-level app-server behavior:\n- `account/read` reports a ChatGPT-authenticated account\n- `model/list` includes `gpt-5.1-codex-mini`\n- `thread/start` / `turn/start` can begin\n- the turn later completes with `status: failed` and the same `invalid_request_error`\n\nThis looks like a model availability / discovery mismatch rather than only a UI issue. If the model is unsupported for ChatGPT-authenticated users, it should not be exposed as selectable, or it should be rejected up front before the turn starts.
HenkPoley · 2 months ago

It should switch to gpt-5.4-mini instead.

InternetPseudonym · 2 months ago
It should switch to gpt-5.4-mini instead.

hell no - 5.4 is just about 2x as expensive, i had to switch my entire agent line to "low" effort so that the product line remains usable

HenkPoley · 2 months ago

Ah okay, I should have written:

Since gpt-5.1-codex-mini seems to be unavailable, it should switch to the next available gpt-*-mini model, which seems to be gpt-5.4-mini at the moment.

InternetPseudonym · 2 months ago
Ah okay, I should have written: Since gpt-5.1-codex-mini seems to be unavailable, it should switch to the next available gpt-*-mini model, which seems to be gpt-5.4-mini at the moment.

like i said : 5.4 is about 2x as expensive - that would kill my entire development process and basically force me to switch to much more affordable products outside of the OAI space. Its gonna be a solid "no" for me. OpenAI devs : please dont do this. You will lose a lot of customers. Fix 5.1, instead.

InternetPseudonym · 2 months ago

<img width="649" height="160" alt="Image" src="https://github.com/user-attachments/assets/260ad92b-d1a7-430e-9344-08051d7a74e6" />
5.1-codex-mini is not 5.1-codex-mini, apparently

InternetPseudonym · 2 months ago

<img width="639" height="150" alt="Image" src="https://github.com/user-attachments/assets/d5ec3280-d195-4703-ad14-57ef0c4a40c4" />
entire 5.1 is defunct

Mahkhmood9 · 2 months ago

```{"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-5.5' model is not supported when using Codex with a ChatGPT account."}}



simular issue here


.... im happy with gpt 5.4 better anyways, and no mini version