Cursor Setup
Prerequisites
- Cursor is installed
- You have a Gate.AI API Key
Step 1: Open Cursor Settings
Open the top-right menu → Settings.

Step 2: Open Models Settings
In the left sidebar:
-
Find and open Models
-
Click View All Models

- 滑到最底部,點擊 Add Custom Model

Step 3: Add Configuration
Fill in the integration information:
| Item | Description |
|---|---|
| Model ID | Copy a model ID from the model marketplace, such as deepseek/deepseek-v3.2. Do not use auto. |
| OpenAI API Key | Turn on the switch and enter your Gate.AI API Key. |
| OpenAI Base URL | Turn on the switch and enter https://api.gate.ai/openai/v1. |

Step 4: Save and Close Settings
After finishing the configuration, save it and close Settings.
Step 5: Use Gate.AI in Cursor
In Chat, Composer, Agent, and other conversation surfaces, search for or choose the model you just added from the model selector.

FAQ
| Symptom | Fix |
|---|---|
| 401 / Connection failed | Confirm the Base URL is https://api.gate.ai/openai/v1, the API Key is valid, and the account has available balance. |
| Model unavailable | Confirm the model ID comes from the model marketplace, uses the provider/model format, and is not auto. |
| Model not found in the list | Confirm the Settings page was saved; restart Cursor and try again. |