Skip to main content
VOID

ToolsCodex CLI

Codex CLI

Configure Void API as a custom Responses API provider.

developers.openai.com/codexOfficial setup docs

MODEL_ID is a placeholder. Choose a model from the catalog that supports this tool's endpoint and features.

  1. API key

    Store your key in an environment variable.

    export VOID_API_KEY='void_your_key'

    Run in Bash or Zsh. Sets the values for this terminal only. To keep them for future sessions, also add these commands to ~/.bashrc or ~/.zshrc.

  2. Configuration

    Add the provider to ~/.codex/config.toml.

    ~/.codex/config.toml
    model = "MODEL_ID"
    model_provider = "void-api"
    
    [model_providers.void-api]
    name = "Void API"
    base_url = "https://void-api.tech/v1"
    env_key = "VOID_API_KEY"
    wire_api = "responses"
  3. Run

    Start Codex with an available model.

    shell
    codex --model 'MODEL_ID'

Create a key in your account; model IDs are in the catalog.