Use Cursor with Toknix

Connect Cursor AI IDE to Toknix OpenAI-compatible endpoints to use GPT-6, Claude Opus, and DeepSeek with one API key.

Cursor allows developers to override the default OpenAI Base URL to route inline completions, chat, and Composer through custom infrastructure.

Cursor Settings Setup

  1. Open Cursor and press Cmd + , (or Ctrl + ,) to open Settings.
  2. Navigate to Cursor Settings → Models.
  3. Under OpenAI API Key, click to enable custom configuration:
    • OpenAI API Key: Enter your Toknix key (tk_live_...).
    • Override OpenAI Base URL: Enter https://api.toknix.in/v1

Adding Custom Model IDs

In Cursor's Model list, click + Add Model and input any model ID from the Toknix catalog:

  • gpt-6-astra
  • claude-opus-5-5
  • deepseek-v4.1-flash
  • kimi-k3

Verification

Open Cursor Chat (Cmd + L) and ask a test question. Check GET /v1/usage in your terminal to verify that Cursor requests are successfully logging against your Toknix balance.