Qwen Max overview
Qwen Max by Alibaba Cloud
Alibaba's Qwen Max is a powerful multimodal AI with OpenAI-compatible API, notable for instruction-following stability.
Qwen Max specs
- Model ID
alibaba/qwen-max- Developer
- Alibaba Cloud
- Context window
- 32,000 tokens
- Max output
- 8,192 tokens
- Input
- Text, Image
- Output
- Text
- API
- OpenAI-compatible, base URL
https://api.aimlapi.com/v1
Basic Information
- Developer/Creator: Alibaba Cloud
- Release Date: January 25, 2025
- Model Type: Multimodal Large Language Model (LLM)
Overview:
Qwen Max is a large-scale Mixture-of-Experts (MoE) language model developed by Alibaba Cloud. It excels in language understanding, generation, and task performance across a variety of modalities.
Key Features:
- Mixture-of-Experts (MoE) Architecture: Uses 64 specialized "expert" networks, activating only relevant ones per task for efficient processing.
- Extensive Multilingual Support: Supports 29 languages, including Chinese, English, and Arabic.
- Long-Context Optimization: Supports 262K context windows with 8K generation.
- High Stability: Demonstrates high stability in maintaining prompt instructions, with no erroneous replies during extensive testing.
Intended Use:
Qwen Max is designed for a broad range of applications, including:
- AI agents and workflows requiring stable instruction following.
Language Support:
Supports 29 languages, including Chinese, English, and Arabic.
Architecture:
- 64 specialized "expert" networks
- Transformer-based architecture.
Use cases
- enterprise virtual assistants and customer service automation across multiple languages
- multilingual content creation and translation for global audiences
- code generation, debugging, and software development assistance
- educational content creation, tutoring, and accessibility tools
- data analytics and research automation in finance, healthcare, and marketing
- creative content generation including video, audio scripting, and multimedia storytelling
- business intelligence and knowledge management with advanced NLP
Capabilities
- Function calling
- Streaming
- Structured outputs
- Web search
Qwen Max API pricing
| Usage | Price | Unit |
|---|---|---|
| Input | $1.6 | 1M tokens |
| Output | $6.4 | 1M tokens |
| Cached input | $0.32 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
Qwen Max vs other models: token prices
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $1.6 | $6.4 | |
| $0.15 | $0.47 | |
| $0.16 | $0.47 | |
| $0.4761 | $3.39 | |
| $4.23 | $12.7 |
How to use the Qwen Max API
View docsBuild with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API keyexport AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"2Make your first request
curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "alibaba/qwen-max",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "alibaba/qwen-max",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "alibaba/qwen-max",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Related articles
Qwen Max FAQ
What is the context window of Qwen Max?
Qwen Max has a 32,000 tokens context window and can return up to 8,192 tokens.
What inputs and outputs does Qwen Max support?
Qwen Max takes text as input and returns text.
What is the model ID for Qwen Max?
Use alibaba/qwen-max as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
When was Qwen Max released?
Qwen Max became available on September 9, 2025.
How much does Qwen Max cost?
Qwen Max costs $1.6 input and $6.4 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Does Qwen Max support streaming?
Yes, Qwen Max can stream responses as they are generated.
Who created Qwen Max?
Qwen Max was built by Alibaba Cloud.

