codex - 💡(How to fix) Fix Model Issue [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#18293Fetched 2026-04-18 05:56:39
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
0
Timeline (top)
labeled ×4unlabeled ×2commented ×1

Error Message

{"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."}} When we select the model gpt-5.1-codex-mini medium and send prompt it produces the error.

Root Cause

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.

RAW_BUFFERClick to expand / collapse

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

extent analysis

TL;DR

The issue can be resolved by removing or disabling the gpt-5.1-codex-mini model from the model selector when using Codex with a ChatGPT account.

Guidance

  • Verify that the gpt-5.1-codex-mini model is not supported for ChatGPT accounts by checking the Codex documentation or support resources.
  • Check if there are any alternative models available for ChatGPT accounts that can be used instead of gpt-5.1-codex-mini.
  • Consider implementing a feature to dynamically update the model selector based on the user's account type to prevent similar issues in the future.
  • If the issue persists, try resetting the model selector to its default state or seeking assistance from Codex support.

Notes

The solution assumes that the gpt-5.1-codex-mini model is indeed not supported for ChatGPT accounts. If this is not the case, further investigation may be required to determine the root cause of the issue.

Recommendation

Apply workaround: Remove or disable the gpt-5.1-codex-mini model from the model selector when using Codex with a ChatGPT account, as it is not supported and causes confusion.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING