alibaba/qwen-maxClosed APIFlagship Qwen model for complex reasoning, coding, and agentic workflows
Benchmark Pricing$1.60 / 1M in$6.40 / 1M out
Context: 32,768 tokens•Max Output: 8,192 tokens•Knowledge: 2024-04•Released: 2024-04-03
TECHNICAL SPECIFICATIONS
Context Window32,76832.8K tokens
Max Output8,1928.2K tokens
LicenseProprietaryCloud API only
Input Modalities
Text
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema
MODEL CONTEXT PROTOCOL (MCP) READINESS
✓ Qwen Max natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.
MCP Context Window Recommendations
With a context capacity of 32,768 tokens, this model can handle compact tool sets. Consider keeping MCP server tool manifests minimal to preserve headroom.
STANDARDIZED BENCHMARKS & EVALS
Aider Polyglotpercent correct
21.8API CALL INVOCATION EXAMPLE
// Example: Calling Qwen Max via OpenAI SDK
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.ALIBABA_API_KEY,
});
const response = await client.chat.completions.create({
model: "alibaba/qwen-max",
messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});
console.log(response.choices[0].message.content);PRICING BY PROVIDER
Alibabaqwen-max
$1.60 / $6.40
Fireworks AIaccounts/fireworks/routers/qwen-max-latest
$2.00 / $6.00$0.25 cache
NanoGPTqwen/qwen-max
$1.60 / $6.39$0.80 cache
LLM Gatewayalibaba/qwen-max
$1.60 / $6.40
AI/ML APIalibaba/qwen-max
$2.08 / $8.32$0.42 cache
Eden AIqwen/qwen-max
$1.60 / $6.40$0.32 cache
Ofoxbailian/qwen-max
$0.35 / $1.38$0.07 cache
DevPass (LLM Gateway)qwen-max
$1.60 / $6.40
Alibaba (China)qwen-max
$0.34 / $1.38
Qiniuqwen-max-2025-01-25
$0.35 / $1.39
Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.
MODEL RESOURCES
More Models by Alibaba
Alternative and family models from the same lab
Qwen3 Coder Plus
alibaba/qwen3-coder-plus•Alibaba
Hosted Qwen coder for software agents, repo edits, and long-context code
65.5K out max
In: $1.00 • Out: $5.00
AlibabaQwen Turbo
alibaba/qwen-turbo•Alibaba
Efficient Qwen model for fast chat, extraction, and high-volume workloads
16.4K out max
In: $0.05 • Out: $0.20
AlibabaQwen3.8 Max
alibaba/qwen3.8-max•Alibaba
2.4-trillion-parameter MoE flagship for coding, professional work, multimodal understanding, and long-horizon agentic workflows
131.1K out maxVisionPDFTerminal-Bench: 86.6 avg@10
In: $2.00 • Out: $6.00
Alibaba