> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omniakey.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Codex CLI

> Configure Codex CLI with OmniaKey as an OpenAI-compatible provider.

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`:

```toml theme={null}
model = "gpt-5.5"
model_provider = "omniakey"

[model_providers.omniakey]
name = "OmniaKey"
wire_api = "responses"
requires_openai_auth = true
base_url = "https://api.omniakey.com/v1"
```

Then run:

```bash theme={null}
export OPENAI_API_KEY="your-omniakey-api-key"
codex
```

## Models

Use `gpt-5.5` or any supported OpenAI-compatible model from
[Models](/en/models).

<Note>
  `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.
</Note>
