en-guides-codex-cli.md
Codex uses OpenAI-compatible Responses traffic. Add OmniaKey as a custom provider and set your API key in the shell that launches Codex.
In ~/.codex/config.toml:
model = "gpt-5.5"
model_provider = "omniakey"
[model_providers.omniakey]
name = "OmniaKey"
wire_api = "responses"
env_key = "OMNIAKEY_API_KEY"
base_url = "https://api.omniakey.com/v1"
Then run:
export OMNIAKEY_API_KEY="your-omniakey-api-key"
codex
Use gpt-5.5 or any supported OpenAI-compatible model from Models.
wire_api = "responses" is the current Codex CLI shape for custom providers. If you keep an older wire_api = "chat" provider block, update it before testing OmniaKey.
⌘I