Cursor
Cursor is an AI-first code editor. It supports custom Anthropic providers and OpenAI-compatible endpoints.
Step 1 — Open Model Settings
Navigate to the model configuration in Cursor settings:
- Open Cursor → Settings (⌘, / Ctrl+,)
- Go to Models → Add Model or select an existing Anthropic model
- Enable "Override API Base" or select "Custom" provider
Step 2 — Configure Credentials
Enter your API key and base URL:
API Key : sk-ar-YOUR_KEY_HERE
Base URL : https://api.cheapai.cc
OpenAI-Compatible Mode
Cursor also supports OpenAI-compatible endpoints. Use these environment variables for that mode:
OPENAI_API_KEY=sk-ar-YOUR_KEY_HERE
OPENAI_BASE_URL=https://api.cheapai.cc/v1
Available Models
To see which models are available to your account, call the models endpoint:
GET https://api.cheapai.cc/v1/models