Overview
What QwenAPI is, what models are available, and how to get started in minutes.
Overview
QwenAPI gives you access to Alibaba Cloud's Qwen model family through an OpenAI-compatible API. If you already use the OpenAI SDK, you can switch to Qwen models by changing two lines of code.
What is QwenAPI?
QwenAPI is a US-market reseller of Alibaba Cloud Model Studio. We handle billing, support, and regional routing so you get Qwen's performance without needing an Alibaba Cloud account.
- OpenAI-compatible — drop-in replacement for
openaiSDK calls - Multiple regions — Singapore, US Virginia, Germany, Hong Kong
- Pay-as-you-go — per-token pricing, no seat fees
- Free tier — 1M tokens per model for 90 days (International region)
Available Models
Quick Start
``python
from openai import OpenAI
client = OpenAI(
api_key="YOUR_QWENAPI_KEY",
base_url="https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
)
response = client.chat.completions.create(
model="qwen3.5-flash",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
``
Next Steps
- Make your first API call — step-by-step setup guide
- Choose a model — pick the right model for your use case
- Regions — understand data residency and base URLs