Bridge by Wekoya / Docs / Coding agents

Codex

Updated

OpenAI's Codex CLI runs on Bridge with Claude, GPT, Gemini, DeepSeek or any model with tool calling, paid from your naira balance. Codex only speaks OpenAI's Responses API, which Bridge answers at POST /v1/responses, so you add Bridge as a provider in Codex's config file and start it as usual.

1. Install Codex if you have not: npm install -g @openai/codex, or brew install --cask codex.

2. Add Bridge to Codex's own config file, ~/.codex/config.toml (on Windows, %USERPROFILE%\.codex\config.toml). Codex ignores providers in a project's own .codex/config.toml, so it has to be this one.

# ~/.codex/config.toml
model = "claude-sonnet-5-5"
model_provider = "bridge"

[model_providers.bridge]
name = "Bridge by Wekoya"
base_url = "https://wekoya-api.wekoya.tech/v1"
env_key = "WEKOYA_API_KEY"
wire_api = "responses"

3. Put your key where the config says, then run Codex. Unlike Claude Code, Codex wants the address with /v1 on the end.

export WEKOYA_API_KEY=wk_live_...
codex

Windows (PowerShell).

$env:WEKOYA_API_KEY = "wk_live_..."
codex

Choosing the model

What works, and what does not

If something goes wrong

More: Codex CLI with Bridge, the ways to pay for Codex in Nigeria and Claude Code vs Codex.