Regions

Available deployment regions, base URLs, and data residency considerations.

Regions

QwenAPI routes requests through Alibaba Cloud Model Studio infrastructure. Choose a region based on latency, data residency requirements, or compliance needs.

Available Regions

RegionLocationBase URLNotes
InternationalSingaporehttps://dashscope-intl.aliyuncs.com/compatible-mode/v1Default. Free tier available.
USVirginia, USAhttps://dashscope-us.aliyuncs.com/compatible-mode/v1Lowest latency for US users
EUFrankfurt, Germanyhttps://dashscope-eu.aliyuncs.com/compatible-mode/v1GDPR-friendly
Hong KongHong Kong SARContact supportAvailable on request

Deployment Modes

International (Singapore) is the default region and the only one with a free tier. Use this for development, testing, and workloads without strict data residency requirements.

US (Virginia) is the best choice for production workloads serving US users. Requests stay within AWS US-East infrastructure. Recommended if you're already running on AWS us-east-1.

EU (Frankfurt) is designed for customers who need data to remain in the European Union. Suitable for GDPR-regulated applications. Contact us if you need a Data Processing Agreement (DPA).

Hong Kong is available for customers who need a China-adjacent endpoint without mainland routing. Available on request — reach out to support to enable it on your account.

Switching Regions

Change the base_url in your client initialization. Everything else stays the same.

``python

US region

client = OpenAI(

api_key=os.environ["QWENAPI_KEY"],

base_url="https://dashscope-us.aliyuncs.com/compatible-mode/v1",

)

EU region

client = OpenAI(

api_key=os.environ["QWENAPI_KEY"],

base_url="https://dashscope-eu.aliyuncs.com/compatible-mode/v1",

)

``

Your API key works across all regions — no need to create separate keys per region.

Data Residency

Requests are processed in the region you specify. QwenAPI does not replicate request data across regions. If your compliance policy requires data to stay in a specific geography, use the corresponding endpoint and verify with your legal team.

For EU customers requiring a DPA or sub-processor documentation, email compliance@qwenapi.com.

Free Tier Availability

The free tier (1M tokens per model, 90 days) is only available on the International (Singapore) region. US and EU regions require a paid account.