Tool integrations
Cursor
Use Cursor's Override OpenAI Base URL to point at TokRouter.
Cursor speaks the OpenAI protocol. Configure a custom model address:
- Open Settings → Models
- Enter the API key: your
sk-token - Enable Override OpenAI Base URL and set
https://api.tokrouter.dev/v1 - 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
| Symptom | Check |
|---|---|
| Model list will not load | Does the base URL end with /v1? |
| 401 | Put only sk-… in the field — no Bearer prefix |
| Model unavailable | Is the id identical to the Models page? Dots and hyphens matter |