Qwen Max

AlibabaMCP Tool Call
alibaba/qwen-maxClosed API

Flagship 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.8

API 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

10 providers
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