Cursor
Configure Cursor to route AI requests through TokAPI's OpenAI-compatible API.
Cursor talks to TokAPI through its OpenAI-compatible surface.
Steps
Open model settings
Go to Cursor → Settings → Models and enable OpenAI API Key / Override OpenAI Base URL (add a custom OpenAI-compatible model).
Enter TokAPI values
| Field | Value |
|---|---|
| Override OpenAI Base URL | https://api.tokapi.ai/v1 |
| API Key | sk-lazytech-... |
| Model | gpt-5.5 (or claude-sonnet-4-6) |
Verify and save
Click Verify / Save. Cursor routes chat through
https://api.tokapi.ai/v1/chat/completions.
Claude model ids also work through the OpenAI-compatible surface — see the Models page.