浏览方案库Browse solutions全部方案All solutions

配置教程Setup guide

Cursor 接入阿里云百炼 QwenConnecting Cursor to Alibaba Cloud Bailian (Model Studio) Qwen

把 Cursor 的 OpenAI-compatible 配置接到百炼 Qwen,适合先跑通国内稳定方案。Wire Cursor's OpenAI-compatible configuration to Bailian Qwen — a good way to get a stable, China-accessible setup working first.

Key configuration (click to copy)

Base URL
https://dashscope.aliyuncs.com/compatible-mode/v1
Model
qwen-coder-plus
Authentication
Bearer <API_KEY>

Connecting Cursor to Alibaba Cloud Bailian Qwen

Who it's for

  • Developers who want to keep the Cursor editing experience
  • Daily work in TypeScript, Python, or Java
  • Those who prefer stable, domestically accessible models

Prerequisites

  • A registered Cursor account
  • Alibaba Cloud Bailian enabled
  • A working API Key

Key configuration

  • Base URL: https://dashscope.aliyuncs.com/compatible-mode/v1
  • Model: qwen-coder-plus or qwen-plus
  • Authentication: Bearer <API_KEY>

Setup steps

  1. Open the Models or OpenAI-compatible configuration entry in Cursor Settings.
  2. Point the Base URL to the Bailian compatible endpoint.
  3. Enter your API Key and set the default model to qwen-coder-plus.
  4. After saving, run a smoke test on a small repository covering completion, Q&A, and multi-file edits.

Troubleshooting

  • If authentication fails, first check that the API Key comes from Bailian rather than another Alibaba Cloud product.
  • If the model list is not visible, enter the model ID manually.
  • If responses are slow, narrow the context and file scope first.

Cost note

Bailian is a good fit for validating your workflow with the free quota first, then switching to pay-as-you-go once confirmed. For light-to-moderate daily development, costs can usually be kept within ¥0-100/month.

配置完成?Setup complete?

前往官方平台开通服务,开始使用 AI 编程。Head to the official site to activate the service and start AI coding.

官方入口暂不可用,请核对教程中的官方来源。The official website link is currently unavailable. Please check the official sources in this guide.

浏览方案库Browse solutions