Asked to use `openai` CLI commands instead of `codex`
What version of Codex is running?
0.1.2505172129
Which model were you using?
codex-mini-latest
What platform is your computer?
Ubuntu 24.04 (WSL 2)
What steps can reproduce the bug?
npm install -g @openai/codex@latestcodex --login
(No API Organization set up yet, mentioned to create it on next page but just got "You are logged in" and https://platform.openai.com/settings/organization/general just does a login loop)codex --free
(attempting to redeem credits...
Users with Plus or Pro subscriptions can redeem free API credits.
More info: https://help.openai.com/en/articles/11381614
The model "codex-mini-latest" does not appear in the list of models available to your account. Double-check the spelling (use
openai models list
to see the full list) or choose another model with the --model flag.)codex "print hello world"
What is the expected behavior?
It runs the agent and prints hello world
What do you see instead?
The model "codex-mini-latest" does not appear in the list of models available to your account. Double-check the spelling (use
openai models list
to see the full list) or choose another model with the --model flag.
Additional information
openai models list
openai: command not found
2 Comments
I have the same issue, used OpenAI chatbot at https://help.openai.com/en/. See attached response...
Essentially, after running through login flow (codex --login), I needed to change the model to o4-mini to overcome the error. However, this model usage is restricted unless I verify my organization (https://platform.openai.com/settings/organization/general) wait for 15 min, then I was able to use "codex --model o4-mini"..
openai_2025_05_20_215469070285748.txt
Thank you for the feedback. Please try again using the latest version of Codex CLI. If the issue persists, let us know.