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

Resolved 💬 4 comments Opened Mar 6, 2026 by PaulRBerg Closed May 2, 2026
💡 Likely answer: A maintainer (miraclebakelaser, contributor) responded on this thread — see the highlighted reply below.

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).

<img width="173" height="252" alt="Image" src="https://github.com/user-attachments/assets/7b05eb43-a43c-49eb-90c7-845ace09c51e" />

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

View original on GitHub ↗

4 Comments

miraclebakelaser contributor · 5 months ago

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.

<img width="793" height="149" alt="Image" src="https://github.com/user-attachments/assets/5558764f-71cc-4b4b-b9f5-889cd0720aa3" />

<img width="172" height="145" alt="Image" src="https://github.com/user-attachments/assets/6cf2f7d2-52e6-4871-8ae2-618b421b6756" />

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.

PaulRBerg · 5 months ago

Thanks for the tip @miraclebakelaser.

hlemonnier · 5 months ago

+1 upvote

etraut-openai contributor · 3 months ago

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