Codex setup (Grok 4.5)
Route OpenAI Codex CLI through the gateway withgrok-4.5.
Recommended settings
1. Set API key
2. Edit ~/.codex/config.toml
Windows:
Fallback: Chat Completions
3. Verify
Notes
base_urlmust include/v1- The env var named by
env_keymust be visible in the shell that launches Codex - Model ID must exist in the key’s group; check
GET /v1/models - If an official OpenAI provider is also configured, ensure
model_provider = "arona"