LiteLLMModels

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.

By AlibabaModel ID dashscope/qwen-maxPrices updated Checked
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.

ProviderModel name in LiteLLMInputOutputContext
Alibaba Cloud Model Studiodashscope/qwen-max$1.60$6.4030K
Qianwen AI Platformqwen_ai_platform/qwen-max$1.60$6.4030K
QwenCloudqwencloud/qwen-max$1.60$6.4030K

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

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.

Python SDK
from litellm import completion

response = completion(
    model="dashscope/qwen-max",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: qwen-max
    litellm_params:
      model: dashscope/qwen-max
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl 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.