Cursor
HARNESSES / CUSTOM API KEY

Cursor

Use a dheeX model in the Cursor IDE.

  1. Open Cursor Settings → Models → API Keys.
  2. Paste your dheeX key under OpenAI API Key, save it, and enable Use OpenAI API Key.
  3. Enable Override OpenAI Base URL and enter https://api.dheex.com/v1.
  4. Add the exact model ID enabled for your key, such as deepseek-ai/DeepSeek-V4.1-Flash-1017.
  5. Restart Cursor, open a new chat, and select that model. Send a short message and check your dheeX usage.

Cursor’s custom-key integration supports chat models. Use dheeX’s Chat Completions compatibility path here; a Responses setting for this setup has not been verified. Tab completion continues to use Cursor’s models.

Turn off Use OpenAI API Key when switching back to Cursor-managed models; the base URL override can also affect those requests.

Cursor API key guide · Custom endpoint setup · Switching providers