Alibaba Qwen
Alibaba Cloud's Qwen (Tongyi Qianwen) team, headquartered in Hangzhou, China, develops the Qwen model family and serves it commercially through Alibaba Cloud Model Studio (DashScope). It is a wholly-owned business line of Alibaba Group rather than a separately funded startup.
Data checked 2026-09-06- Models tracked
- 59
- OpenAI-compatible API
- yes
- API base URL
- https://dashscope-intl.aliyuncs.com/compatible-mode/v1
Qwen's positioning is unusual among frontier labs: it ships both closed flagship API models (Qwen-Max/Plus/Flash tiers) and a very large catalogue of open-weight releases on Hugging Face and ModelScope, making it the most prolific open-weights publisher at frontier scale. As of the Qwen3.8 generation (August 2026) even the 2.4T-parameter flagship base model has published weights, though under a custom non-Apache licence.
A Access and limits
Sign up at Alibaba Cloud and enable Model Studio; API keys are issued per-workspace. Two independent deployments exist with DIFFERENT prices and model catalogues: International (Singapore, ap-southeast-1, base URL https://dashscope-intl.aliyuncs.com/compatible-mode/v1) and China (Beijing, https://dashscope.aliyuncs.com/compatible-mode/v1). ALL prices recorded here are the International/Singapore USD list prices; China-region prices are typically far lower (e.g. qwen-max is $1.60/1M input in Singapore vs $0.345/1M in Beijing).
Free tier: new users get 1,000,000 free tokens per model on most Qwen models, valid 90 days from activation. Discounts: batch (asynchronous) inference is billed at 50% of real-time price on supported models; context cache hits are billed at 10% of the standard input price, and explicit-cache creation at 125% of standard input price. Many models use TIERED pricing that steps up with the input length of a single request (commonly 0-32K / 32-128K / 128-256K / 256K-1M brackets) — the base/lowest tier is recorded in input_price and output_price, with the higher brackets described in best_for.
An OpenAI-compatible endpoint plus a native DashScope API are both offered. Open-weight models are additionally downloadable free from huggingface.co/Qwen and ModelScope, and are resold by third-party hosts (OpenRouter, Together, Fireworks, DeepInfra) at their own prices.
C Calling the API
Alibaba Qwen accepts requests in the OpenAI Chat Completions format, so any
OpenAI-compatible client works by changing the base URL. Example uses
qwen3.7-text-embedding.
curl https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3.7-text-embedding",
"messages": [{"role": "user", "content": "Hello"}]
}'
from openai import OpenAI
client = OpenAI(
base_url="https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
api_key=os.environ["API_KEY"],
)
response = client.chat.completions.create(
model="qwen3.7-text-embedding",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
A compatibility layer is not always the provider's full API — caching, strict tool schemas and structured output are commonly unsupported there. Check the official docs before relying on an advanced feature.
B Models
| Model | Context | Max out | In $/M | Out $/M | Blended | Status |
|---|---|---|---|---|---|---|
Qwen3.7-Text-Embedding
qwen3.7-text-embedding
|
128K | — | $0.07 | $0.00 | $0.05 | ga |
Text-Embedding-V4 (Qwen3-Embedding)
text-embedding-v4
|
8.2K | — | $0.07 | $0.00 | $0.05 | ga |
Text-Embedding-V3
text-embedding-v3
|
8.2K | — | $0.07 | $0.00 | $0.05 | ga |
Qwen3.7-Flash
qwen3.7-flash
|
1M | 65.5K | $0.03 | $0.13 | $0.06 | ga |
Tongyi-Embedding-Vision-Plus
tongyi-embedding-vision-plus
|
— | — | $0.09 | $0.00 | $0.07 | ga |
Qwen3-Rerank
qwen3-rerank
|
— | — | $0.10 | $0.00 | $0.08 | ga |
Qwen-Turbo
qwen-turbo
|
1M | 16.4K | $0.05 | $0.20 | $0.09 | deprecated |
Qwen-VL-OCR
qwen-vl-ocr
|
34.1K | 4.1K | $0.07 | $0.16 | $0.09 | ga |
Qwen-Flash (rolling)
qwen-flash
|
1M | 32.8K | $0.05 | $0.40 | $0.14 | ga |
Qwen3-VL-Flash
qwen3-vl-flash
|
262.1K | 32.8K | $0.05 | $0.40 | $0.14 | ga |
Qwen3.5-Flash
qwen3.5-flash
|
1M | 65.5K | $0.10 | $0.40 | $0.18 | ga |
Qwen3.8-Flash
qwen3.8-flash
|
1M | 131.1K | $0.15 | $0.47 | $0.23 | ga |
Qwen-MT-Flash
qwen-mt-flash
|
16.4K | 8.2K | $0.16 | $0.49 | $0.24 | ga |
Qwen3-32B
qwen3-32b
|
131.1K | 16.4K | $0.16 | $0.64 | $0.28 | ga open |
Qwen3-VL-32B-Thinking
qwen3-vl-32b-thinking
|
262.1K | 16.4K | $0.16 | $0.64 | $0.28 | ga open |
Qwen3-VL-32B-Instruct
qwen3-vl-32b-instruct
|
262.1K | 16.4K | $0.16 | $0.64 | $0.28 | ga open |
Qwen3-8B
qwen3-8b
|
131.1K | 8.2K | $0.18 | $0.70 | $0.31 | ga open |
Qwen3-VL-8B-Instruct
qwen3-vl-8b-instruct
|
262.1K | 8.2K | $0.18 | $0.70 | $0.31 | ga open |
Qwen3-30B-A3B-Instruct-2507
qwen3-30b-a3b-instruct-2507
|
262.1K | 32.8K | $0.20 | $0.80 | $0.35 | ga open |
Qwen3-30B-A3B
qwen3-30b-a3b
|
131.1K | 16.4K | $0.20 | $0.80 | $0.35 | ga open |
Qwen3-VL-30B-A3B-Instruct
qwen3-vl-30b-a3b-instruct
|
262.1K | 16.4K | $0.20 | $0.80 | $0.35 | ga open |
Qwen3-235B-A22B-Instruct-2507
qwen3-235b-a22b-instruct-2507
|
262.1K | 32.8K | $0.23 | $0.92 | $0.40 | ga open |
Qwen3-Next-80B-A3B-Thinking
qwen3-next-80b-a3b-thinking
|
262.1K | 32.8K | $0.15 | $1.20 | $0.41 | ga open |
Qwen3-Next-80B-A3B-Instruct
qwen3-next-80b-a3b-instruct
|
262.1K | 32.8K | $0.15 | $1.20 | $0.41 | ga open |
Qwen3-VL-Plus
qwen3-vl-plus
|
262.1K | 32.8K | $0.20 | $1.60 | $0.55 | ga |
Qwen3-Coder-Next
qwen3-coder-next
|
262.1K | 65.5K | $0.30 | $1.50 | $0.60 | ga open |
Qwen-Plus (rolling)
qwen-plus
|
1M | 32.8K | $0.40 | $1.20 | $0.60 | ga |
Qwen3-14B
qwen3-14b
|
131.1K | 8.2K | $0.35 | $1.40 | $0.61 | ga open |
Qwen3-VL-8B-Thinking
qwen3-vl-8b-thinking
|
262.1K | 8.2K | $0.18 | $2.10 | $0.66 | ga open |
Qwen3.5-35B-A3B
qwen3.5-35b-a3b
|
262.1K | 65.5K | $0.25 | $2.00 | $0.69 | ga open |
Qwen3.7-Plus
qwen3.7-plus
|
1M | 131.1K | $0.40 | $1.60 | $0.70 | ga |
Qwen3-VL-235B-A22B-Instruct
qwen3-vl-235b-a22b-instruct
|
262.1K | 32.8K | $0.40 | $1.60 | $0.70 | ga open |
Qwen3-235B-A22B-Thinking-2507
qwen3-235b-a22b-thinking-2507
|
262.1K | 32.8K | $0.23 | $2.30 | $0.75 | ga open |
Qwen3-30B-A3B-Thinking-2507
qwen3-30b-a3b-thinking-2507
|
262.1K | 32.8K | $0.20 | $2.40 | $0.75 | ga open |
Qwen3-VL-30B-A3B-Thinking
qwen3-vl-30b-a3b-thinking
|
262.1K | 16.4K | $0.20 | $2.40 | $0.75 | ga open |
Qwen3.5-27B
qwen3.5-27b
|
262.1K | 65.5K | $0.30 | $2.40 | $0.82 | ga open |
Qwen3.6-35B-A3B
qwen3.6-35b-a3b
|
262.1K | 65.5K | $0.38 | $2.25 | $0.84 | ga open |
Qwen3.5-Omni-Flash
qwen3.5-omni-flash
|
131.1K | 16.4K | $0.40 | $2.20 | $0.85 | ga |
Qwen3.5-Plus
qwen3.5-plus
|
1M | 131.1K | $0.40 | $2.40 | $0.90 | ga |
Qwen3-Coder-30B-A3B-Instruct
qwen3-coder-30b-a3b-instruct
|
200K | 65.5K | $0.45 | $2.25 | $0.90 | ga open |
Qwen3.5-122B-A10B
qwen3.5-122b-a10b
|
262.1K | 65.5K | $0.40 | $3.20 | $1.10 | ga open |
Qwen3.8-27B
qwen3.8-27b
|
1M | 131.1K | $0.50 | $3.00 | $1.13 | ga open |
QwQ-Plus
qwq-plus
|
131.1K | 32.8K | $0.80 | $2.40 | $1.20 | ga |
Qwen3-235B-A22B
qwen3-235b-a22b
|
131.1K | 16.4K | $0.70 | $2.80 | $1.22 | ga open |
Qwen3-VL-235B-A22B-Thinking
qwen3-vl-235b-a22b-thinking
|
262.1K | 32.8K | $0.40 | $4.00 | $1.30 | ga open |
Qwen3.6-27B
qwen3.6-27b
|
262.1K | 65.5K | $0.60 | $3.60 | $1.35 | ga open |
Qwen3.5-397B-A17B
qwen3.5-397b-a17b
|
262.1K | 65.5K | $0.60 | $3.60 | $1.35 | ga open |
Qwen3-Coder-Plus
qwen3-coder-plus
|
1M | 65.5K | $1.00 | $5.00 | $2.00 | ga |
QVQ-Max
qvq-max
|
131.1K | 8.2K | $1.20 | $4.80 | $2.10 | ga |
Qwen3-Max
qwen3-max
|
262.1K | 65.5K | $1.20 | $6.00 | $2.40 | ga |
Qwen-Max (legacy)
qwen-max
|
32.8K | 8.2K | $1.60 | $6.40 | $2.80 | deprecated |
Qwen3.8-Max
qwen3.8-max
|
1M | 131.1K | $2.00 | $6.00 | $3.00 | ga |
Qwen3.8-2.4T-A95B
qwen3.8-2.4t-a95b
|
1M | 131.1K | $2.00 | $6.00 | $3.00 | ga open |
Qwen3-Coder-480B-A35B-Instruct
qwen3-coder-480b-a35b-instruct
|
200K | 65.5K | $1.50 | $7.50 | $3.00 | ga open |
Qwen3.5-Omni-Plus
qwen3.5-omni-plus
|
131.1K | 16.4K | $1.40 | $8.30 | $3.13 | ga |
Qwen-MT-Plus
qwen-mt-plus
|
16.4K | 8.2K | $2.46 | $7.37 | $3.69 | ga |
Qwen3.7-Max
qwen3.7-max
|
1M | 131.1K | $2.50 | $7.50 | $3.75 | ga |
Qwen-Image-3.0-Pro
qwen-image-3.0-pro
|
— | — | — | — | — | ga |
Qwen2.5-Omni-7B
qwen2.5-omni-7b
|
32.8K | 2K | $0.10 | — | — | ga open |