tokrouterdocs
Tool integrations

Cursor

Use Cursor's Override OpenAI Base URL to point at TokRouter.

.mdOpen in Claude

Cursor speaks the OpenAI protocol. Configure a custom model address:

  1. Open Settings → Models
  2. Enter the API key: your sk- token
  3. Enable Override OpenAI Base URL and set https://api.tokrouter.dev/v1
  4. Add a custom model id (e.g. claude-opus-5-5) and enable it

OpenAI protocol only

Cursor's override covers the OpenAI-compatible path only. To use Claude models, do not enter the Anthropic address — put the Claude model id in the OpenAI-compatible model list. The gateway routes it to Anthropic with the same key.

Troubleshooting

SymptomCheck
Model list will not loadDoes the base URL end with /v1?
401Put only sk-… in the field — no Bearer prefix
Model unavailableIs the id identical to the Models page? Dots and hyphens matter

On this page