Skip to main content

Cursor

Overview​

Cursor is an AI-native code editor with deep LLM integration, supporting Chat, Cmd+K editing, and Agent mode. It lets you override the default OpenAI Base URL and use your own API Key, so TokenPlus's /v1 address can be used as the override for rich models in chat and editing.

Installation​

  1. Download and install the client for your platform from the Cursor website
  2. After launching, open any project
  3. Click the gear at the top right (or Ctrl/Cmd+,) to open Settings → Models

Configure TokenPlus​

On the Models page, fill in the OpenAI API Key, expand Override OpenAI Base URL and enter the TokenPlus /v1 address, then add the model name manually and enable it.

# Cursor model config
OpenAI API Key : sk-your-TokenPlus-key
Override OpenAI Base URL : https://tokenplus.net/v1
+ Add Model : enter the model name (e.g. gpt-4o, deepseek-chat) and enable
tip

The Base URL must be written up to /v1, do not add /chat/completions. After entering the Override address, press Enter to save. When using a third-party Key, it is recommended to turn off the official model switch to avoid mixing quotas.

Quick start (up and running in 5 minutes)​

  1. Cursor → Settings → Models
  2. Fill in the TokenPlus key, Override Base URL https://tokenplus.net/v1 and press Enter
  3. At the top of Models, + Add Model, add the model name and turn on the switch
  4. Press Ctrl/Cmd+L to bring up Chat, pick that model and send "Who are you" to verify

FAQ​

  • 404 / timeout? The Base URL is missing /v1 or has an extra /chat/completions; change it back to /v1
  • Model not found? The model name must match a TokenPlus-supported ID exactly (case-sensitive)
  • Auth failed? Check the Key is complete and the account balance is sufficient
Online Service