Integrations
Cursor
Point Cursor at Token Harbor manually — Base URL, API key, and exact steps. One key, every model, no CLI required.
Cursor + Token Harbor
The AI code editor. 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:
In Cursor: Settings → Models → OpenAI API Key → Override base URL.
- Base URL:
https://tokenharbor.ai/v1 - API Key: your
thk_…key - Turn on the models you want (or add a custom model id).
Cursor keeps this in its own encrypted store, so it can't be scripted — paste the two values above. Its cloud features (Tab, background agents) still use Cursor's own backend; the chat / agent model is what routes through Token Harbor.
The tokenharbor CLI prints these values, but Cursor stores
them internally, so the CLI does not edit or undo them. Cursor documents BYOK
for standard chat models; specialized features may continue to use Cursor's
own models.