Integrations
OpenClaw
Point OpenClaw at Token Harbor manually — Base URL, API key, and exact steps. One key, every model, no CLI required.
OpenClaw + Token Harbor
The open-source 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:
OpenClaw reads ~/.openclaw/openclaw.json. Register a provider and allow the
model (both steps — the provider alone leaves nothing selectable):
{
"models": {
"providers": {
"tokenharbor": {
"baseUrl": "https://tokenharbor.ai/v1",
"apiKey": { "source": "env", "provider": "default", "id": "TOKENHARBOR_API_KEY" },
"api": "openai-completions",
"models": [{
"id": "th-orchestra", "name": "TH Orchestra",
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
"contextWindow": 200000, "maxTokens": 8192
}]
}
}
},
"agents": { "defaults": { "models": {
"tokenharbor/th-orchestra": { "alias": "TH Orchestra" }
} } }
}
Set TOKENHARBOR_API_KEY=YOUR_thk_KEY, then run openclaw config validate.
The Connect CLI writes this schema and keeps the secret out of the JSON file.
Then pick tokenharbor/th-orchestra inside OpenClaw.
Prefer one command? The tokenharbor CLI configures OpenClaw
automatically (and can undo it).
Official reference: OpenClaw custom providers.