Codex CLI

Codex, every model.
One provider block.

Codex CLI speaks the Responses dialect. Sideren serves it natively. One block in config.toml — or npx sideren setup --tool codex — and the same key that runs Claude Code now runs Codex on GLM, MiniMax, Kimi, DeepSeek or GPT.

Setup[01/03]

A provider in config.toml.

base_url includes /v1. wire_api is responses. Empty replies on a reasoning model usually mean max_output_tokens is too low — thinking spends from it first.

ONE COMMAND
npx sideren setup --tool codex
~/.codex/config.toml
model = "sdn-deepseek-v4-flash"
model_provider = "sideren"

[model_providers.sideren]
name = "Sideren"
base_url = "https://api.sideren.io/v1"
experimental_bearer_token = "sdn_your_key"
requires_openai_auth = false
wire_api = "responses"
  1. 01

    Get a key

    Sign up at sideren.io and copy an sdn_ key from the dashboard.

  2. 02

    Add the Sideren provider

    Run npx sideren setup --tool codex, or add a provider block in ~/.codex/config.toml with base_url https://api.sideren.io/v1 and your key.

  3. 03

    Pick a model

    Set model to a catalog id such as sdn-deepseek-v4-flash or sdn-gpt-oss-120b.

  4. 04

    Run Codex

    Start the CLI. Raise max_output_tokens if a reasoning model returns an empty reply — thinking spends from that budget first.

Full Codex guide →
Frequently asked[02/03]
Can Codex CLI use models other than GPT?
Yes. Codex talks the Responses dialect. Sideren serves it natively, so the same CLI can run GLM, MiniMax, Kimi, DeepSeek, Qwen or GPT behind one key.
Do I need an OpenAI ChatGPT subscription?
No. A Sideren key replaces the OpenAI backend. You keep the Codex CLI; you change the provider block.
Is this a Codex coding plan?
It is a coding plan that Codex can use. Same idea as OpenCode Go or a lab coding plan — a monthly pool and a key — except the key also drives Claude Code, Cline, OpenCode and the rest.
Same key[03/03]

Claude Code in the morning. Codex at night.

The catalog does not change when the harness does. One sdn_ key, both dialects, the coding plan you already paid for.

See the coding plan →
Put your agent on inference built for the work

Your agent stays the same.
Its inference gets better.

$export ANTHROPIC_BASE_URL=https://api.sideren.io

Start free · no card · Paid plans from $5/mo