OpenAI Codex CLI
OpenAI Codex CLI Integration
Run a terminal coding session with a custom model provider.
Install
npm install -g @openai/codexbrew install --cask codexQuick Start
Sign in to GPTProto, open Dashboard → API Keys and create a key for this client. Copy the value into its provider credentials.
Merge these settings into your Codex configuration. Place model and model_provider before the first TOML table, and select a model with a GPTProto Responses endpoint.
model_provider = "gptproto"
model = "YOUR_RESPONSES_MODEL"
[model_providers.gptproto]
name = "GPTProto"
base_url = "https://gptproto.com/v1"
env_key = "GPTPROTO_API_KEY"
wire_api = "responses"export GPTPROTO_API_KEY="YOUR_API_KEY"
codex$env:GPTPROTO_API_KEY = "YOUR_API_KEY"
codexCheck that the model supports the Responses API and that the shell running Codex can read the named environment variable.