Back to OmniaKey

Codex CLI

en-guides-codex-cli.md

latest835 B
Original Source

Codex uses OpenAI-compatible Responses traffic. Add OmniaKey as a custom provider and set your API key in the shell that launches Codex.

Configuration

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

Models

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.

Cursor API KeyOpenAI SDK

⌘I