Feature Request: List available models when an invalid model is specified
Resolved 💬 2 comments Opened Dec 21, 2025 by zgqq Closed Feb 23, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
I would like to request a feature for the Codex CLI.
When a user specifies an invalid model via the --model flag, it would be very helpful if the CLI could list all available valid models, similar to how cursor-agent behaves.
Example of desired behavior:
❯ codex --model test
Cannot use this model: test. Available models: model-a, model-b, model-c...
This improves discoverability and user experience.
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
This feature request hasn't received enough upvotes, so I'm closing it.