# 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.

- Page: https://models.litellm.ai/models/qwen-max
- Lab: Alibaba
- LiteLLM model name: `dashscope/qwen-max`
- Context window: 30,720 tokens
- Max output: 8,192 tokens
- Added to LiteLLM: July 2025
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | 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 |

## Cost examples

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

## Features

Supported: Function calling, Reasoning.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="dashscope/qwen-max",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## 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.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
