Prepare
Install Codex CLI, choose a model with theresponses protocol, and copy the region’s full /v1 Base URL. These examples are instructions to copy; they do not edit your machine.
User-level configuration
Merge this snippet into user-level~/.codex/config.toml without overwriting existing settings. Replace the model ID and regional URL.
~/.codex/config.toml
Check capabilities
Client tools, multimodal input, and reasoning require model and channel support. Theresponses protocol alone does not guarantee hosted tools or WebSockets. Check the URL, credentials, and model permissions, then see Troubleshooting.
Configuration fields follow the official Codex configuration reference.