Codex setup
Register a Korvexor provider in ~/.codex/config.toml and export your API key.
Edit Codex config
Open or create ~/.codex/config.toml and add a korvexor model provider block.
Set base_url and env_key
base_url must include /v1; export KORVEXOR_API_KEY in your shell, then run codex.
Verify Responses calls
With wire_api = "responses", traffic uses the OpenAI Responses endpoint—run a simple task to confirm.
Example config (copy-ready):
# ~/.codex/config.toml
model = "auto"
model_provider = "korvexor"
[model_providers.korvexor]
name = "Korvexor"
base_url = "https://api.korvexor.com/v1"
env_key = "KORVEXOR_API_KEY"
wire_api = "responses"
# shell
export KORVEXOR_API_KEY=sk-your-api-key
codex
Notes
- • base_url must end with /v1—Codex follows the same OpenAI-compatible /v1 rule as Cursor and OpenCode.
- • Claude Code’s ANTHROPIC_BASE_URL must not include /v1—do not copy Claude settings into Codex.