Tools
Codex CLI
Configure Codex CLI with AnyRoute Responses access.
Use an OpenAI group for Codex CLI.
| Field | Value |
|---|---|
| Provider type | OpenAI Responses |
| Base URL | https://anyroute.io |
| Key file | ~/.codex/auth.json |
| Key name | OPENAI_API_KEY |
| Config file | ~/.codex/config.toml |
Use the Dashboard Use Key dialog to generate both files. A typical provider block looks like:
model_provider = "OpenAI"
model = "gpt-5.5"
review_model = "gpt-5.5"
model_reasoning_effort = "xhigh"
disable_response_storage = true
network_access = "enabled"
[model_providers.OpenAI]
name = "OpenAI"
base_url = "https://anyroute.io"
wire_api = "responses"
requires_openai_auth = trueauth.json stores the API key:
{
"OPENAI_API_KEY": "YOUR_ANYROUTE_API_KEY"
}For image generation, use an OpenAI group with image generation enabled and see Codex Image Generation.
AnyRoute Docs