Codex CLI

Configure Codex to use the gateway with the Responses API.

Environment variable

QUOBIT_API_KEY=<your-api-key>

config.toml

model = "<public-model-alias>"
model_provider = "quobit"

[model_providers.quobit]
name = "Quobit"
base_url = "https://api.quobit.ai/v1"
env_key = "QUOBIT_API_KEY"
wire_api = "responses"

Use a public model alias from the Models page. Do not store the plaintext key in configuration files.

Verify

After configuration, run Codex normally. With a correct configuration the reply is returned and the request appears under Dashboard → Usage.

Common errors

  • Missing key: check QUOBIT_API_KEY.
  • Invalid model: use a public model alias enabled for your account.
  • Invalid base URL or config: check that base_url points to the gateway and wire_api = "responses".