Setup wizard

Connect your AI tool.

Pick a tool, your operating system and a model. The steps and snippets below update to match.

1Tool
2Operating system
3Instructions

Connect Cursor

Cursor can send its chat requests to any OpenAI-compatible API through the base URL override in its model settings.

  1. Install Cursor from cursor.com/download and sign in to your Cursor account.
  2. Open Cursor Settings → Models and expand API Keys.
  3. Turn on OpenAI API Key and paste your CheapTokens key. Turn on Override OpenAI Base URL and enter the base URL.
    Cursor Settings → Models
    OpenAI API Key:             YOUR_API_KEY
    Override OpenAI Base URL:   https://cheaptokens.pw/v1
  4. Click + Add model, type claude-sonnet-5-5 and switch it on. Then click Verify.
  5. Pick claude-sonnet-5-5 in the model selector of the chat and send a message.
  • You need a paid Cursor plan to use your own API key.
  • Custom keys work for chat models only. Tab completion always uses Cursor's own models.
  • The override is global: while it is on, Cursor's built-in GPT models are also sent to CheapTokens. Switch it off to use them again.
  • Cursor sends requests through its own servers first, so it only works with the public CheapTokens address, not a local one.
  • Cursor's settings screen changes often. If the names differ in your version, look for the OpenAI key and base URL fields under Models.

Open the full Cursor guide →