
Important: Replace sk-xxxbelow with your actual API key generated from Crazyrouter!
Important: Replacesk-xxxbelow with your actual API key generated from Crazyrouter!
Important: Replacesk-xxxbelow with your actual API key generated from Crazyrouter!
.codex folder in your user directory, e.g., C:\Users\testuser\.codex.
.codex folder doesn't exist, manually create it, then create two files inside: config.toml and auth.json.
sk-xxx with your actual SK).auth.json:{"OPENAI_API_KEY": "sk-xxx"}config.toml (just paste the content below):model_reasoning_effort options are high, medium, low, representing the model's thinking effort level.model_provider = "api111"
model = "gpt-5-codex"
model_reasoning_effort = "high"
disable_response_storage = true
preferred_auth_method = "apikey"
[model_providers.api111]
name = "api111"
base_url = "https://api.crazyrouter.com/v1"
wire_api = "responses"
codex in the VSCode Extension Marketplace.

sudo):
Important: Replace sk-xxxbelow with your actual API key generated from Crazyrouter!
Important: Replacesk-xxxbelow with your actual API key generated from Crazyrouter!
Important: Replacesk-xxxbelow with your actual API key generated from Crazyrouter!
auth.json file:i to enter insert mode, paste the following content (replace sk-xxx with your key), then press ESC, type :wq and press Enter to save and exit.{"OPENAI_API_KEY": "sk-xxx"}config.toml file:i to enter insert mode, paste the following content, then press ESC, type :wq and press Enter to save and exit.model_provider = "api111"
model = "gpt-5-codex"
model_reasoning_effort = "high"
disable_response_storage = true
preferred_auth_method = "apikey"
[model_providers.api111]
name = "api111"
base_url = "https://api.crazyrouter.com/v1"
wire_api = "responses"codex in the VSCode Extension Marketplace.Important: Replace sk-xxxbelow with your actual API key generated from Crazyrouter!
Important: Replacesk-xxxbelow with your actual API key generated from Crazyrouter!
Important: Replacesk-xxxbelow with your actual API key generated from Crazyrouter!
auth.json file:i to enter insert mode, paste the following content (replace sk-xxx with your key), then press ESC, type :wq and press Enter to save and exit.{"OPENAI_API_KEY": "sk-xxx"}config.toml file:i to enter insert mode, paste the following content, then press ESC, type :wq and press Enter to save and exit.model_provider = "api111"
model = "gpt-5-codex"
model_reasoning_effort = "high"
disable_response_storage = true
preferred_auth_method = "apikey"
[model_providers.api111]
name = "api111"
base_url = "https://api.crazyrouter.com/v1"
wire_api = "responses"
codex in the VSCode Extension Marketplace.

Last verified/modified: 2026-09-28 (API base URL unified to https://api.crazyrouter.com, 3 occurrence(s); account/console stays https://crazyrouter.com)