Alibaba (Qwen) API pricing

Qwen Max API pricing

Qwen Max costs $1.60 per million input tokens and $6.40 per million output tokens on the Alibaba (Qwen) API. Context window: 31k tokens. Updated .

Price per 1M tokensUS dollars
Input$1.60
Cached input—
Output$6.40

What it costs in practice

  • One chat or extraction call (2,000 tokens in, 500 out): $0.0064
  • 1,000 such calls: $6.40
  • 1 million tokens at a typical 80% input / 20% output mix: $2.56

Abilities: tool use, reasoning. Batch, long-context, priority and regional prices differ; check the full table and the provider’s own pricing page before you commit.

Cheapest alternatives from other providers

ModelInputOutputContextTypical call ×1,000
GPT-5 nano
OpenAI
$0.050$0.40272k$0.30
Mistral Small
Mistral
$0.10$0.3032k$0.35
Gemini 2.5 Flash Lite
Google
$0.10$0.401.0M$0.40
Claude Haiku 5.5
Anthropic
$0.10$0.501M$0.45
GPT-6 luna
OpenAI
$0.10$0.50922k$0.45
GLM 5.3 Flash
Zhipu (GLM)
$0.15$0.501.0M$0.55

Other Alibaba (Qwen) models

ModelInputOutputContextTypical call ×1,000
Qwen Turbo
Alibaba (Qwen)
$0.050$0.20129k$0.20
Qwen3.8 Flash
Alibaba (Qwen)
$0.15$0.47992k$0.54
Qwen3.8 Omni Flash
Alibaba (Qwen)
$0.15$0.47992k$0.54
DeepSeek V4 Flash
Alibaba (Qwen)
$0.20$0.401M$0.60
Qwen3 VL 32b Instruct
Alibaba (Qwen)
$0.16$0.64131k$0.64
Qwen3 Next 80b A3b Instruct
Alibaba (Qwen)
$0.15$1.20262k$0.90

Questions

How much does Qwen Max cost?

Qwen Max costs $1.60 per million input tokens and $6.40 per million output tokens on the Alibaba (Qwen) API. A typical call with 2,000 tokens in and 500 out costs about $0.0064.

What is the context window of Qwen Max?

Qwen Max accepts up to 30,720 input tokens and returns up to 8,192 output tokens.

Is there a cheaper alternative to Qwen Max?

For a typical call, GPT-5 nano (OpenAI, $0.0003 per call), Mistral Small (Mistral, $0.0003 per call), Gemini 2.5 Flash Lite (Google, $0.0004 per call) cost less and also support tool use, reasoning. Quality differs, so test on your own prompts.

Source: the open LiteLLM model price map (MIT), checked daily (data file).