Clients

Codex setup

OpenAI's official coding assistant for the terminal. The config applies to both the Codex CLI and the desktop app.

Groups
Any Codex / GPT group
Config file
~/.codex/config.toml (Windows: %USERPROFILE%\.codex\config.toml)
Endpoint
https://api.yuzuapi.com/v1
  1. Install

    npm install -g @openai/codex@latest

    If codex --version prints a version, it's installed.

  2. Write the config

    Open the config file above (create it if missing) and paste the following as is:

    model_provider = "yuzu"
    model = "gpt-6.2-sol"
    model_reasoning_effort = "high"
    
    [model_providers.yuzu]
    name = "Yuzu"
    base_url = "https://api.yuzuapi.com/v1"
    env_key = "YUZU_API_KEY"
    wire_api = "responses"
    What each setting meansWorks as is; read this to change models
    FieldExampleNotes
    modelgpt-6.2-solDefault model, e.g. gpt-6.2-astra (stronger). See Pricing
    model_reasoning_efforthighReasoning effort: low / medium / high
    base_urlhttps://api.yuzuapi.com/v1Yuzu endpoint
    env_keyYUZU_API_KEYEnvironment variable that holds your key (next step)
    wire_apiresponsesCodex only supports the Responses API; keep it
  3. Save your key

    Codex reads the key from the YUZU_API_KEY environment variable. Run this with your key in place of sk-your-key, then reopen the terminal:

    setx YUZU_API_KEY "sk-your-key"
    echo 'export YUZU_API_KEY="sk-your-key"' >> ~/.zshrc
    source ~/.zshrc
  4. Start

    cd your-project
    codex