Skip to content

[FEATURE] Allow hiding/blocklisting models from the model dropdown #13736

Closed as not planned

Description

@PaulRBerg

What feature would you like to see?

It would be great to have a way to hide or blocklist certain models from appearing in the model dropdown in the Codex desktop app. Not every model is relevant for every user, and the dropdown gets cluttered with models you'd never pick (e.g., GPT-5.1-Codex-Mini).

Image

A simple configuration option — either in settings or a config file — where you can specify a list of models to exclude from the dropdown would go a long way toward keeping the UI clean and reducing selection friction.

Something like:

{
  "hiddenModels": ["GPT-5.1-Codex-Mini", "..."]
}

Or alternatively, an allowlist approach where you can pin only the models you actually use.

Additional information

  • Codex CLI version: codex-cli 0.106.0
  • Platform: macOS v26.3.1

Activity

  1. added
    enhancement
    app
    on Mar 6, 2026
  2. miraclebakelaser commented on Mar 9, 2026

    @miraclebakelaser
    Contributor

    I'd prefer an allowlist. You can kind of already do this by making a custom models.json and pointing to it in config.toml.

    model_catalog_json = "path/to/custom/models.json"
    

    I'm doing that right now and the changes propagate to both app and cli.

    Image Image

    The only downside to this is that gpt-5.3-codex-spark is not currently present in models.json, so you have to add it manually. @aibrahim-oai @etraut-openai can you folks add gpt-5.3-codex-spark to it?

    @PaulRBerg if you want to use the same models as me here's the file I point my config to: models.json.

  3. PaulRBerg commented on Mar 9, 2026

    @PaulRBerg
    Author

    Thanks for the tip @miraclebakelaser.

  4. hlemonnier commented on Mar 9, 2026

    @hlemonnier

    +1 upvote

  5. etraut-openai commented on May 2, 2026

    @etraut-openai
    Contributor

    This feature request hasn't received enough upvotes, so I'm closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureUser Requestappenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions