Codex CLI
Run Codex against Webway through the Responses API.
1. Install
npm install -g @openai/codex
2. Add your key
export WEBWAY_API_KEY="sk-ww-…"
3. Configure Codex
Add this to ~/.codex/config.toml:
model = "openai/gpt-5.6-terra"
model_provider = "webway"
[model_providers.webway]
name = "Webway"
base_url = "https://api.webway.sh/v1"
env_key = "WEBWAY_API_KEY"
wire_api = "responses"
requires_openai_auth = false
4. Run
codex
Codex reads the key from WEBWAY_API_KEY and sends requests to
POST /v1/responses. Change model to any compatible
provider-qualified ID from the model table.