Skip to content

Cursor Setup Guide

Cursor supports custom OpenAI-compatible API endpoints. This guide covers connecting Cursor to Claudexia with model aliases.

Custom API access in Cursor requires a paid Pro plan or higher. The Pro trial does not support custom API endpoints.

Configuration

SettingValue
Connection modeOpenAI Compatible
Override OpenAI Base URLhttps://api.claudexia.tech/v1
OpenAI API KeyYour key from Dashboard > API Keys

Model aliases

Claudexia provides short aliases that map to full model IDs. Add these in Cursor's model settings:

AliasModel
cursor47claude-opus-4.7
cursor46claude-opus-4.6
cursor45claude-opus-4.5
cursor46sclaude-sonnet-4.6
cursor45sclaude-sonnet-4.5
cursor45hclaude-haiku-4.5
cursorgpt54gpt-5.4
cursorgpt55gpt-5.5

Step-by-step

  1. Open Cursor and go to Settings > Models.
  2. Set the OpenAI API Key to your Claudexia key.
  3. Set Override OpenAI Base URL to https://api.claudexia.tech/v1.
  4. Click Add Model and enter one of the aliases above.
  5. Select the model in the chat or composer pane.

Troubleshooting

model_not_found error

Verify you typed the alias or model ID exactly as shown. Use GET /v1/models to see all available IDs.

Authentication errors

  • Verify your key starts with sk_cdx_.
  • Make sure there are no extra spaces or line breaks.
  • Confirm the key is active (not frozen or deleted) in the dashboard.

Custom API not working on trial

The free Cursor trial does not support custom API endpoints. Upgrade to a paid Pro plan to use Claudexia.