Integrations
OpenAI Codex
Point OpenAI Codex at Token Harbor manually — Base URL, API key, and exact steps. One key, every model, no CLI required.
OpenAI Codex + Token Harbor
OpenAI's terminal coding agent. Route it through Token Harbor to use every model with a single key.
Get a thk_… key from /dashboard/api-keys (a free account works), then:
Codex reads ~/.codex/config.toml. Add a Token Harbor provider and select it:
model = "gpt-5.5"
model_provider = "tokenharbor"
[model_providers.tokenharbor]
name = "Token Harbor"
base_url = "https://tokenharbor.ai/v1"
wire_api = "responses"
env_key = "OPENAI_API_KEY"
Set your key in the environment: export OPENAI_API_KEY=YOUR_thk_KEY, then run
codex. (The Codex VS Code extension shares this same file.)
Prefer one command? The tokenharbor CLI configures OpenAI Codex
automatically (and can undo it).