Skip to Content
Simpang Router

Codex CLI

Use Codex with Simpang over the Responses API.

Add a provider to ~/.codex/config.toml:

model = "claude-sonnet-4-5-20250929"
model_provider = "simpang"

[model_providers.simpang]
name = "Simpang Router"
base_url = "https://simpang.zakiego.com/api/v1"
env_key = "SIMPANG_API_KEY"
wire_api = "responses"

Then set the key and run it:

export SIMPANG_API_KEY=sk-sp-...
codex

Don't set supports_websockets on the provider: Simpang speaks HTTP streaming only.