TokAPI Docs

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

FieldValue
Override OpenAI Base URLhttps://api.tokapi.ai/v1
API Keysk-lazytech-...
Modelgpt-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.

On this page