Answer: Set Codex's `model` to the gateway's model name and configure the gateway to route that name to the approved upstream model. For a built-in model name, set `model` in `config.toml` to that exact name; for a custom alias such as `company-coding-model`, supply a remote or local catalog containing the alias and the corresponding model's metadata. Status: Confirmed Entry: tool/codex/models/choose-model-names-routes Revision: 2 Digest: sha256:1101be4eb2322fc2 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:50:22Z Last changed: 2026-11-18T13:32:26Z (routing setting: — → base_url) Last verified: 2026-11-20T13:38:31Z Next check: 2026-11-21T13:38:31Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of built-in model configuration | Set `model` in `config.toml` to this exact name. | [1] | 2026-11-20 custom alias example | company-coding-model | [1] | 2026-11-20 custom alias configuration | Supply a remote or local catalog containing the alias and the corresponding model's metadata. | [1] | 2026-11-20 remote catalog setting | model_providers..model_catalog_url | [1] | 2026-11-20 local catalog setting | model_catalog_json | [1] | 2026-11-20 routing setting | base_url | [1] | 2026-11-20 Sources: [1] OpenAI. "Roll out a gateway". https://learn.chatgpt.com/docs/enterprise/roll-out-a-gateway.md Role: primary. Accessed: 2026-11-20T13:38:31Z Quote: "Set `model` in `config.toml` to this exact name." (Supports: built-in model configuration) Quote: "A custom alias, such as `company-coding-model`" (Supports: custom alias example) Quote: "Supply a remote or local catalog containing the alias and the corresponding model's metadata." (Supports: custom alias configuration) Quote: "Host a remote catalog with `model_providers..model_catalog_url` to update model metadata centrally" (Supports: remote catalog setting) Quote: "or distribute a local file with `model_catalog_json`." (Supports: local catalog setting) Quote: "Set `base_url` separately to route inference through the gateway." (Supports: routing setting) Snapshot SHA-256: e617790efed4d075d854f8a6a519b2e1b1f4ec464f55a923d95a411a9c6f9248 (captured 2026-11-17T14:02:40Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-17T14:02:41Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:38:31Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:38:31Z Last attempt: 2026-11-20T13:38:31Z Notes and limitations: Extracted automatically from a single official source (section "Choose model names and routes"). Related: https://latestn.com/tool/codex/models/choose-model-reasoning-effort How do I choose a model and reasoning effort for a Codex Security bulk scan? https://latestn.com/tool/codex/models/custom-model-providers How do I set up a custom model provider like Amazon Bedrock or Google Cloud Vertex AI in Codex? https://latestn.com/tool/codex/models/daybreak-model-ci How do I use an approved Daybreak model with Codex Security in CI? https://latestn.com/tool/codex/models/choose-astra-or-sol-in-codex How do I choose between GPT-6.2 Astra and GPT-6.2 Sol in Codex? https://latestn.com/tool/codex/models/choose-model-and-reasoning-effort How do I choose a model and adjust reasoning effort in Codex or ChatGPT Work? https://latestn.com/tool/codex/models/choose-model-for-complex-work Which GPT model should I use in Codex for complex, long-running work? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:32:26Z | changed | routing setting: — → base_url | [1] 2026-11-18T13:32:26Z | changed | local catalog setting: — → model_catalog_json | [1] 2026-11-18T13:32:26Z | changed | remote catalog setting: — → model_providers..model_catalog_url | [1] 2026-11-18T13:32:26Z | changed | custom alias configuration: — → Supply a remote or local catalog containing the alias and the corresponding model's metadata. | [1] 2026-11-18T13:32:26Z | changed | custom alias example: — → company-coding-model | [1] 2026-11-18T13:32:26Z | changed | built-in model configuration: — → Set `model` in `config.toml` to this exact name. | [1] 2026-11-18T13:32:26Z | changed | Local catalog setting: model_catalog_json → — | [1] 2026-11-18T13:32:26Z | changed | Remote catalog setting: model_providers..model_catalog_url → — | [1] 2026-11-18T13:32:26Z | changed | Custom alias requirement: Supply a remote or local catalog containing the alias and the corresponding model's metadata. → — | [1] 2026-11-18T13:32:26Z | changed | Custom alias example: company-coding-model → — | [1] 2026-11-18T13:32:26Z | changed | Built-in model name: Set `model` in `config.toml` to this exact name. → — | [1] 2026-11-18T13:32:26Z | changed | Routing instruction: Configure the gateway to route that name to the approved upstream model. → — | [1] 2026-11-18T13:32:26Z | changed | Core instruction: Set Codex's `model` to the gateway's model name. → — | [1] 2026-11-13T03:50:22Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/models/choose-model-names-routes/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/models/choose-model-names-routes POST: https://latestn.com/dispute/tool/codex/models/choose-model-names-routes with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/models/choose-model-names-routes?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I choose model names and routes for a Codex gateway? Revision 2, last verified 2026-11-20T13:38:31Z. https://latestn.com/tool/codex/models/choose-model-names-routes (accessed 2026-11-21T10:01:28Z). @misc{LatestN_tool_codex_models_choose_model_names_routes_r2, title = {How do I choose model names and routes for a Codex gateway?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/models/choose-model-names-routes}}, note = {Revision 2; digest sha256:1101be4eb2322fc2; last verified 2026-11-20T13:38:31Z; accessed 2026-11-21T10:01:28Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/models/choose-model-names-routes