> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enconvo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Qwen

> Chat with Qwen models in Enconvo using an Alibaba Cloud Model Studio API key.

Use Alibaba's Qwen models in chats, Agents, and AI Commands. Connect with an API key from Alibaba Cloud Model Studio; Alibaba Cloud bills the usage to your account. For the mainland China service (Bailian), use [DashScope](https://docs.enconvo.ai/providers/dashscope.md).

## Connect

**1. Get an API key**

Create a key in [Alibaba Cloud Model Studio](https://modelstudio.console.alibabacloud.com/).

**2. Add it to Enconvo**

Open **Settings → AI Model → Qwen**. Under **Authentication**, paste the key into **API Key**, then click **Validate**.

**3. Pick a model**

Choose a model in **Model Name** and send a short message. A reply means the connection works.

Qwen connects with an API key only.

## Models and options

| Setting | What it does |
| - | - |
| **Model Name** | The model this provider uses. **Refresh** beside it reloads the list; **Manage Models** (the gear) adds or restores models. |
| **Base Url** | In the credential. The default is the international endpoint, `https://dashscope-intl.aliyuncs.com/compatible-mode/v1`. Change it if your key belongs to another region. |

## Troubleshooting

| Problem | What to do |
| - | - |
| **Validate** fails | Check that the key and **Base Url** belong to the same region, then paste the whole key again. |
| A model is missing | Click **Refresh** beside **Model Name**. To add a model yourself, use **Manage Models**. |
| Rate or usage limit errors | Check usage and quota in Model Studio, or switch to another provider for now. |

## Related

> [card] [DashScope](https://docs.enconvo.ai/providers/dashscope.md)
>
> Use Alibaba Cloud Bailian in mainland China.

> [card] [Credentials and profiles](https://docs.enconvo.ai/configuration/credentials.md)
>
> Keep several keys, and see what a shared key affects.

> [card] [Choose a model](https://docs.enconvo.ai/ai/model-selection-guide.md)
>
> Pick a model by task, and see where defaults are set.

> [card] [Provider catalog](https://docs.enconvo.ai/providers/catalog.md)
>
> Every provider, grouped by the feature it powers.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.