Skip to content
CheapLLM

Connect CheapLLM to Cursor

Set a custom OpenAI-compatible endpoint in Cursor model settings.

6 min readUpdated Nov 2026

1. Prepare your API key

Create a CheapLLM key. Cursor takes it in the app settings: paste the key value itself, not the text CHEAPLLM_API_KEY. Do not put the key into project files. Note that the CheapLLM site is still a demonstration and the API does not accept requests yet; the configuration below is the target setup.

Key source
CHEAPLLM_API_KEY

2. Set the API address

Open Settings → Models. Under OpenAI API Key enable Use OpenAI API Key and Override OpenAI Base URL, then paste the full base URL including /v1.

Cursor settings
Use OpenAI API Key: enabled
API key: the CHEAPLLM_API_KEY value
Override OpenAI Base URL: enabled
Base URL: https://api.cheapllm.com/v1

3. Add the model

In the model settings add a custom model and enter its exact identifier from the CheapLLM catalog. Availability depends on which models Cursor allows with a custom API.

Model
MODEL_ID

4. Verify the connection

Pick the added model in a Cursor chat and send a short prompt. If no answer arrives, check the URL, the key and whether the model is compatible with the requests Cursor sends.

Test prompt
Answer with one word: ready

Top models to run in Cursor

All 48+ models →
ModelOfficial (in / out)CheapLLM (in / out)Savings
Claude Opus 5.5$4.00 / $20.00$2.80 / $14.00−30%
GPT-6.1 Sol$2.00 / $10.00$1.40 / $7.00−30%
Gemini 4 Argon$2.00 / $10.00$1.40 / $7.00−30%
DeepSeek V4 Pro 0813$0.11 / $4.44$0.078 / $3.11−30%
← All 54 setup guides