LiteLLMLiteLLM/ MODELS

Qwen4 Max API Pricing

By Alibaba · 1 providerdashscope/qwen4-maxCompare
Input / output
$1.50 / $4.50 per 1M tokens
Cache read
$0.075 / 1M
Context
992K tokens
Max output
128K tokens

As of November 17, 2026, Qwen4 Max costs $1.50 per 1M input tokens and $4.50 per 1M output tokens on Alibaba Cloud Model Studio, with cache reads at $0.075 and cache writes at $1.875 per 1M tokens. It has a 991,808-token context window and returns up to 131,072 tokens per response.

Prices updated Checked

Qwen4 Max pricing by provider

1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

Qwen4 Max prices by provider in US dollars, token prices per 1M tokens, as of November 17, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputCache readCache writeContext
Alibaba Cloud Model Studiodashscope/qwen4-max$1.50$4.50$0.075$1.875992K

Other Qwen4 Max prices on Alibaba Cloud Model Studio

Cache write, 1 hour$3.00 per 1M tokens

What Qwen4 Max costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Alibaba Cloud Model Studio$5.25

100 long-document requests with 100,000 input and 2,000 output tokens each

Alibaba Cloud Model Studio$15.90

Qwen4 Max cost calculator

At Alibaba Cloud Model Studio's price ($1.50 input, $4.50 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $37.50 a day, about $1,125 a month. Change the numbers for your workload, or compare it with other models.

Per request
$0.00375
Per day
$37.50
Per month (30 days)
$1,125

Qwen4 Max features

Input: text, image, video. Output: text.

Use Qwen4 Max with LiteLLM

Call Qwen4 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/qwen4-max",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: qwen4-max
    litellm_params:
      model: dashscope/qwen4-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 $LITELLM_API_KEY" \
  -d '{
    "model": "qwen4-max",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Qwen4 Max FAQ

How much does Qwen4 Max cost?

Qwen4 Max costs $1.50 per 1M input tokens and $4.50 per 1M output tokens on Alibaba Cloud Model Studio, with cache reads at $0.075 and cache writes at $1.875 per 1M tokens.

What is the context window of Qwen4 Max?

Qwen4 Max has a 991,808-token context window and returns up to 131,072 tokens per response.

Which providers offer Qwen4 Max?

Qwen4 Max is available from Alibaba Cloud Model Studio through LiteLLM, using the model name dashscope/qwen4-max.

How do I call Qwen4 Max with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="dashscope/qwen4-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 Qwen4 Max support?

Qwen4 Max supports function calling, parallel tool calls, structured output, image input, video input, reasoning, prompt caching and web search.

When did LiteLLM add Qwen4 Max?

Qwen4 Max was added to LiteLLM's model price file on November 16, 2026.

Compare Qwen4 Max

All model comparisons

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:

LiteLLM docs: Alibaba Cloud Model Studio.

Provider pages: Alibaba Cloud Model Studio.