Back to Models
Qwen Max
qwenqwen/qwen-max
Previous-gen Qwen flagship β still strong on reasoning and tool use.
qwen-max is the previous-generation flagship in the Qwen series. Even after Qwen3 launched it remains a credible choice for reasoning-heavy chat, structured output, and function-calling workloads, with a 128K context window that comfortably handles long documents.
Use it when you want flagship-tier behaviour at a flat, predictable price and don't need Qwen3-level coding or the 256K context of qwen3-max. TheRouter routes between bailian-cn and bailian-sg per request based on cost.
Strong reasoning
Solid chain-of-thought, math, and multi-step tool-use performance from the previous-gen Qwen flagship.
128K context
Long-document analysis, large code reviews, and extended agent histories fit in a single call.
Function calling
Native tool/function calling with OpenAI-compatible schemas β no wrapper SDK needed.
Dual-region routing
Selector picks bailian-cn or bailian-sg per request based on cost β failover is automatic.
When to use
Reasoning, structured output, and tool-use workloads where you want a flagship-tier Qwen at a steady price and Qwen3-max's premium is not justified.
When not to use
If you need the absolute top of Qwen on coding or 256K context, upgrade to qwen3-max. For high-volume cheap chat, drop to qwen-plus / qwen-turbo.
Pricing: $2.00 input / $8.00 output per MTok. TheRouter picks the cheaper of bailian-cn / bailian-sg per request.
Context Length
131K
Max Output
33K
Input Priceper 1M tokens
$2.40/ 1M tokens
Output Priceper 1M tokens
$9.60/ 1M tokens
Modalities
textβtext
Pricing Breakdown
| Type | Rate |
|---|---|
| Input | $2.40 / 1M tokens |
| Output | $9.60 / 1M tokens |
Supported Parameters
temperaturemax_tokenstop_ptoolstool_choiceresponse_formatstop
API Usage Examples
Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.
cURL
curl https://api.therouter.ai/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer $THE_ROUTER_API_KEY" -d '{
"model": "qwen/qwen-max",
"messages": [
{"role": "user", "content": "Summarize the key points from this input."}
]
}'