Configure Alibaba Qwen regional endpoints
Choose the Alibaba Cloud Model Studio endpoint that belongs to your workspace, region, API key, and model.
Set up and verify
- Activate Model Studio and create an API key in the region where you will process quiz data.
- Copy the workspace-specific or shared regional base URL below. Never copy a real Workspace ID into public documentation.
- Save the full endpoint and model, then use Test connection before enabling grading.
Recommended workspace-specific endpoints
Replace {WorkspaceId} with the identifier shown in your Model Studio workspace.
| Region | OpenAI-compatible base URL |
|---|---|
| Singapore | https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1 |
| Frankfurt | https://{WorkspaceId}.eu-central-1.maas.aliyuncs.com/compatible-mode/v1 |
| Japan | https://{WorkspaceId}.ap-northeast-1.maas.aliyuncs.com/compatible-mode/v1 |
| Hong Kong | https://{WorkspaceId}.cn-hongkong.maas.aliyuncs.com/compatible-mode/v1 |
Shared regional endpoints
Use a shared domain only when Alibaba documents it for your key's region.
- Beijing:
https://dashscope.aliyuncs.com/compatible-mode/v1 - Virginia:
https://dashscope-us.aliyuncs.com/compatible-mode/v1
The dashscope-intl Singapore shared domain remains only for explicitly selected or migrated legacy integrations. New profiles never select it automatically.
https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions
The API key, endpoint, workspace, and model must belong to the same region. A mismatch commonly returns HTTP 401; QuizMachine never displays or logs the key.
You may enter a listed base URL or its full /chat/completions URL. QuizMachine stores the full path exactly once.
This integration supports text and code. QuizMachine never sends Diagram Upload to Qwen. It offers the declined diagram to the next provider in priority order; manual review starts only after no configured provider has graded them.
Official references: regions and key isolation, base URLs and migration, Model Studio overview.