Qwen Max API Pricing
As of October 10, 2026, Qwen Max costs $1.60 per 1M input tokens and $6.40 per 1M output tokens on Alibaba Cloud Model Studio. It has a 30,720-token context window and returns up to 8,192 tokens per response.
- Input
- $1.60 / 1M tokens
- Output
- $6.40 / 1M tokens
- Context window
- 30,720 tokens
- Max output
- 8,192 tokens
- Providers
- 3
- Added to LiteLLM
- July 2025
Qwen Max pricing by provider
3 listings across 3 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Context |
|---|---|---|---|---|
| Alibaba Cloud Model Studio | dashscope/qwen-max | $1.60 | $6.40 | 30K |
| Qianwen AI Platform | qwen_ai_platform/qwen-max | $1.60 | $6.40 | 30K |
| QwenCloud | qwencloud/qwen-max | $1.60 | $6.40 | 30K |
What Qwen Max costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Alibaba Cloud Model Studio | $6.40 |
| Qianwen AI Platform | $6.40 |
| QwenCloud | $6.40 |
Qwen Max features
- Function calling
- Reasoning
Use Qwen Max with LiteLLM
Call Qwen Max through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="dashscope/qwen-max",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: qwen-max
litellm_params:
model: dashscope/qwen-max
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "qwen-max",
"messages": [{"role": "user", "content": "Hello!"}]
}'Qwen Max FAQ
How much does Qwen Max cost?
Qwen Max costs $1.60 per 1M input tokens and $6.40 per 1M output tokens on Alibaba Cloud Model Studio.
What is the context window of Qwen Max?
Qwen Max has a 30,720-token context window and returns up to 8,192 tokens per response.
Which providers offer Qwen Max?
Qwen Max is available from 3 providers through LiteLLM: Alibaba Cloud Model Studio, Qianwen AI Platform and QwenCloud.
How do I call Qwen Max with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="dashscope/qwen-max", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does Qwen Max support?
Qwen Max supports function calling and reasoning.
When did LiteLLM add Qwen Max?
Qwen Max was added to LiteLLM's model price file in July 2025.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
LiteLLM docs: Alibaba Cloud Model Studio, Qianwen AI Platform.
Provider pages: Alibaba Cloud Model Studio, Qianwen AI Platform, QwenCloud.
