Cursor IDE
Cursor IDE accepts a custom OpenAI-compatible endpoint, so Claude and GPT models work through Claudexia.
Requirements
- A paid Cursor plan (Pro or higher). Custom endpoints do not work during the trial.
- A Claudexia API key.
Setup
- Open Cursor and go to Settings → Models.
- Turn on OpenAI API Key and paste your Claudexia key:text
sk_cdx_YOUR_KEY - Turn on Override OpenAI Base URL and enter:text
https://api.claudexia.tech/v1 - Click Add Model and enter the Cursor model name.
Model names
Cursor does not accept its own model names with a third-party key, so Claude and GPT models have separate names for Cursor. Examples:
| Name for Cursor | Model |
|---|---|
cursors5 | Claude Sonnet 5 |
cursor55 | Claude Opus 5.5 |
cursorgpt6sol | GPT-6 Sol |
The full name table and Cursor limitations: Cursor guide.
Troubleshooting
"Could not connect to custom API"
Make sure the base URL is exactly https://api.claudexia.tech/v1: no trailing slash and no /chat/completions suffix. Cursor appends the path automatically.
"Invalid API key"
Verify your key starts with sk_cdx_. Keys from other providers will not work.
"Model not found"
The name must match the table in the Cursor guide. For models without a separate name, use the ID from GET /v1/models.
Trial plan limitations
The free Cursor trial does not accept custom endpoints. Upgrade to Cursor Pro to use Claudexia.
Slow responses
For autocomplete use a smaller model such as GPT-5.6 Luna (cursorgpt56lun), and keep larger models for chat and complex code generation.