AI-powered code editor
Cursor is an AI coding IDE. Connect it to Qwen Cloud via Token Plan (Team Edition), Coding Plan, or pay-as-you-go billing.
Download and install Cursor from the Cursor official website.
In Cursor, click the settings icon and go to Cursor Settings > Models. Enable OpenAI API Key and Override OpenAI Base URL, then enter the API Key, Base URL, and model name corresponding to your selected plan.
If you encounter errors during configuration, refer to the FAQ documentation for the corresponding billing plan:
Error messages:
In the chat panel, click to disable Auto mode, then select the desired model from the model dropdown.
Troubleshoot the following items:
Install Cursor
Download and install Cursor from the Cursor official website.
Configure access credentials
In Cursor, click the settings icon and go to Cursor Settings > Models. Enable OpenAI API Key and Override OpenAI Base URL, then enter the API Key, Base URL, and model name corresponding to your selected plan.
Token Plan (Team Edition)
| Parameter | Value |
|---|---|
| API Key | Token Plan (Team Edition) dedicated API Key |
| Base URL | https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1 |
| Available models | Token Plan (Team Edition) supported models. Some model names need adjustment: glm-5 should be written as glm-5-0. |
Coding Plan
| Parameter | Value |
|---|---|
| API Key | Coding Plan dedicated API Key |
| Base URL | https://coding-intl.dashscope.aliyuncs.com/v1 |
| Available models | Coding Plan supported models. Some model names need adjustment: kimi-k2.5 should be written as kimi-k2-5, glm-4.7 as glm-4-7, and glm-5 as glm-5-0. |
Pay-as-you-go
| Parameter | Value |
|---|---|
| API Key | Your Qwen Cloud API Key |
| Base URL | https://dashscope-intl.aliyuncs.com/compatible-mode/v1 |
| Available models | Enter a supported model. |
FAQ
Error codes
If you encounter errors during configuration, refer to the FAQ documentation for the corresponding billing plan:
- Pay-as-you-go: Error codes and troubleshooting
- Coding Plan: Coding Plan FAQ
- Token Plan (Team Edition): Token Plan (Team Edition) FAQ
Cannot invoke an added model in Cursor
Error messages:
- The model xxx does not work with your current plan or api key.
- Named models unavailable Free plans can only use Auto. Switch to Auto or upgrade plans to continue.
Cannot find the added model after configuration
In the chat panel, click to disable Auto mode, then select the desired model from the model dropdown.
Model invocation error: "We're having trouble connecting to the model provider." or "Unauthorized User API key"
Troubleshoot the following items:
- Verify that the API Key, Base URL, and model name match the selected billing plan. Credentials are not interchangeable between plans.
- Some model names conflict with Cursor's built-in model names and require aliases. Refer to the available models section above for details.

