Use Cursor with the Bokyaa router
Bokyaa team ·
Cursor lets you bring your own OpenAI key and override the base URL it sends requests to. The Bokyaa router serves the OpenAI Chat Completions format, so you can point that override at it.
Before you start
- In the Bokyaa app, open Router and add at least one provider connection.
- Create a router key. Router keys need a plan that includes them; see the pricing page. The key is shown once, so copy it then.
Set the key and base URL
In Cursor, open Settings, then Models, then the OpenAI section:
Cursor Settings > Models > OpenAI
API Key: sk-bky-...
Base URL override: on
Base URL: https://api.bokyaa.com/v1
Cursor's documentation describes the API key field and the OpenAI base URL override. It does not describe how a custom model name is chosen, so check Cursor's settings for that step. The router accepts the model name auto, which lets it choose.
Custom API keys apply to Cursor's chat models only. Tab completion keeps using Cursor's own models.
Source
cursor.com/docs/release-notes/agents-window (the API key field and the base URL override switch) and cursor.com/help/models-and-usage/api-keys (chat models only, Tab unchanged), both read 2026-11-08. Tools change; if a step no longer matches, follow the tool's own page.