Contents4
config.toml
Location: ~/.codex/config.toml, on Windows %USERPROFILE%\.codex\config.toml.
model = "gpt-6.1-sol"
model_provider = "klinch"
[model_providers.klinch]
name = "Klinch"
base_url = "https://api.klinch.cloud/v1"
env_key = "KLINCH_API_KEY"
wire_api = "responses"Key and launch
export KLINCH_API_KEY="kl_live_…"
codexPowerShell: $env:KLINCH_API_KEY="kl_live_…", then codex. To keep it, use setx and open a new terminal.
Models
| Model | When | Our price per 1M, in / out |
|---|---|---|
gpt-6.1-sol | default, native to Codex | $0.2 / $1 |
gpt-6.1-terra | lighter, half the price | $0.1 / $0.5 |
claude-sonnet-5-5 | if you prefer Claude | $0.2 / $1 |
Common issues
- Codex asks you to sign in with ChatGPT. It does not see
model_provider = "klinch"; check the file location. - 401. The variable was set in another terminal window.
- 404.
base_urlneeds exactly one/v1and no trailing slash.

