Before you begin

  • Create an API key for the Codex-GPT group
  • Choose Use Key on the key row
  • Copy the generated Codex configuration
  • Select your operating system and authentication mode

Configuration files

Systemconfig.tomlauth.json
Windows%userprofile%\.codex\config.toml%userprofile%\.codex\auth.json
macOS / Linux~/.codex/config.toml~/.codex/auth.json

Authentication mode

Compatibility mode keeps the older Codex configuration. API Key Mode authorizes the client's image executor and requires the generated request header.

toml
model_provider = "OpenAI"
model = "gpt-5.5"
review_model = "gpt-5.5"
model_reasoning_effort = "xhigh"

[model_providers.OpenAI]
name = "OpenAI"
base_url = "https://milorouter.com"
wire_api = "responses"
requires_openai_auth = false
http_headers = { "x-openai-actor-authorization" = "local-image-extension" }

[features]
goals = true