AI-powered code editor
Cursor is an AI-powered code editor that accelerates development with intelligent code completion and chat. Connect it to Qwen Cloud's pay-as-you-go API for direct access to powerful Qwen models through the OpenAI-compatible endpoint.
Get running in a few minutes:
You should see: The model appears in dropdown and provides a detailed explanation of REST API
Configure Cursor to use Qwen Cloud:
"Cannot use added models" error
Quick start
Get running in a few minutes:
Configuration
Basic setup
Configure Cursor to use Qwen Cloud:
- API endpoint:
https://dashscope-intl.aliyuncs.com/compatible-mode/v1 - Authentication: API key required
- Model selection: Add any Qwen model name manually
Cursor Pro or higher is required. The free plan supports only Auto mode and does not allow custom models.
For Coding Plan users: Use your exclusive base URL and API key instead. See Coding Plan for Cursor.
Step-by-step configuration
1
Open Cursor Settings
Click the
icon → Cursor Settings → Models
2
Enter your API key
Enable OpenAI API Key and enter your API key
3
Set the base URL
Enable Override OpenAI Base URL and enter:
4
Add models
In Add or search model, type the model name (e.g.,
qwen3.5-plus) → Add Custom Model5
Start coding
Select your model in the chat panel and begin

Model recommendations
| Task | Recommended models | Why |
|---|---|---|
| Complex algorithms | qwen3.5-plus, qwen3-max, qwen3-coder-plus | Strong reasoning and architecture design |
| Daily coding | qwen3-coder-next, qwen3.5-flash | Fast responses, good for completion |
| Code review | qwen3.5-plus, qwen3-coder-plus | Better understanding of context |
Limitations
- Requires: Cursor Pro subscription or higher
- Does not support: Vision models (Qwen-VL) due to Cursor limitations
- Note: Disable Auto mode to see custom models in dropdown
Examples
Code completion
Chat assistance
Architecture guidance
Troubleshooting
"Cannot use added models" error
Solution: Upgrade to Cursor Pro. Free plans only support Auto mode, not custom models.Model doesn't appear in dropdown
Solution: Disable Auto mode in the chat panel. Custom models only show when Auto is off."Trouble connecting to model provider"
Solution:Slow responses
- Verify the model name exists in Model list
- Check API key is valid and has quota
- Ensure base URL is exactly:
https://dashscope-intl.aliyuncs.com/compatible-mode/v1
Solution:Conflict with other providers
- Use faster models:
qwen3-coder-nextorqwen3.5-flash- Start new chat to reset context
- Check network connection stability
Solution: After configuring Qwen Cloud, requests to OpenAI fail. To switch back, disable both custom settings.
Related resources
- Coding Plan: Setup with subscription →
- Models & Pricing: View all models and pricing →
- API docs: OpenAI-compatible reference →