Interactive TUI Installer for Multiple Custom Model Providers

Resolved 💬 2 comments Opened Apr 14, 2026 by varadfromeast Closed May 16, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

TUI

What feature would you like to see?

Problem statement:
Setting up Codex with multiple models/providers (e.g., OpenRouter) currently requires:

Manually editing ~/.codex/config.toml
Managing multiple environment variables in shell config (.zshrc, .bashrc)
Understanding internal concepts like model_provider, env_key, etc.

This creates significant friction, especially for:

New users
Multi-model workflows
Cost tracking setups, etc..

Proposed Feature:

Add an interactive installer/setup flow inside the Codex TUI to configure models and providers.

Where user will provide the model name, URL Link, api key written in a file(optional),
the installer will manually update the config.toml,
create aliases (ex:
alias codex-gpt='codex -c model="openai/gpt-5.4" -c model_provider="openrouter_gpt"'
alias codex-glm='codex -c model="z-ai/glm-5.1" -c model_provider="openrouter_glm"'
),
test connection.

Users will init different sessions as per their need.
---------------------------------------------------------------------------------------------
Codex already has powerful support for:

custom providers
multiple models
flexible config

But lacks a guided UX layer.

A TUI installer would make these capabilities easily accessible.

Additional information

I have already created a installer script for my local setup

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #16069

Powered by Codex Action

etraut-openai contributor · 3 months ago

This feature hasn't received enough upvotes, so closing.