Feature Request: List available models when an invalid model is specified

Resolved 💬 2 comments Opened Dec 21, 2025 by zgqq Closed Feb 23, 2026

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.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗