Prerequisites
- Cursor installed (download at cursor.com)
- BetterToken API Key (register here)
- Cursor Pro or higher subscription
Setup
Open the model settings
In Cursor, click Settings (gear icon, bottom left), then select the Models tab.
Configure the BetterToken API
Under API Keys:
- Check Override OpenAI Base URL
- Enter:
https://www.bettertoken.com/v1 - Enter your BetterToken API Key in the OpenAI API Key field
- Click the button on the right and select Enable OpenAI API Key to verify
Add models
Under Models:
- Click View All Models → Add Custom Model
- Enter a model name, for example:
- Claude:
claude-sonnet-4-5,claude-opus-4-5,claude-haiku-4-5 - GPT:
gpt-4o,gpt-4o-mini
- Claude:
- Click Add, then enable the model
Unlike Claude Code and Codex, Cursor requires you to explicitly specify which model to use.
Supported models
| Series | Model | Description |
|---|---|---|
| Claude | claude-sonnet-4-5 | Balanced — recommended for everyday coding |
| Claude | claude-opus-4-5 | Most capable — best for complex tasks |
| Claude | claude-haiku-4-5 | Fastest — best for simple completions |
| GPT | gpt-4o | OpenAI flagship |
| GPT | gpt-4o-mini | Lightweight, faster responses |
Troubleshooting
Model returns no content: Try changing Settings → Network to HTTP/1.0. Authentication error: Check that the API Key is correct andbase_url is https://www.bettertoken.com/v1 (.com, not .ai).