Cursor
1.1 Usage
Method 1: Add Custom Model via Settings (Recommended)
-
Open Cursor IDE
-
Go to Settings → Models
-
Click Add Model or locate the custom model configuration area
-
Enter:
-
Base URL:
https://api.hpc-ai.com/inference/v1 -
API Key:
your-hpc-ai-api-key
-
-
Select the model to use
-
Save
Method 2: Proxy Service
For proxy scenarios:
-
Set up a proxy forwarding service (e.g., LiteLLM)
-
Configure the proxy URL and API Key in Cursor
1.2 Notes
-
Cursor has limitations with custom APIs; Chat mode is primarily supported
-
Agent mode may require OpenAI Responses API support
-
Some features (e.g., Composer) may not support all custom models