# Qwen4-Max

> Qwen4-Max 是通义千问新一代旗舰多模态稀疏 MoE 模型（总参数量 2.4 万亿，每 token 激活约 710 亿参数，配备 3280 亿 N-gram 嵌入参数）。原生支持 100 万 token 上下文窗口与文本、图像、视频多模态输入，内置可调节深度思考（支持 reasoning_effort 与 enable_thinking 控制）、并行工具调用、结构化输出以及隐式与显式（5 分钟 / 1 小时）上下文缓存，在智能体工作流、复杂编程与长程推理方面实现全面跃升，标准定价较 Qwen3.8-Max 降低 25%。

- Model ID: `qwen/qwen4-max`
- Manufacturer: Qwen
- Context length: 1M tokens
- Max output: 262K tokens
- Input: text, image, video
- Output: text
- Capabilities: tools, reasoning, structuredOutput, streaming, vision, caching
- Released: 2026-11-16
- Page: https://amux.ai/zh/models/qwen/qwen4-max

## Providers and prices

Prices in USD, base tier. Route to a specific provider with `model: "<model id>:<provider slug>"`; without a suffix Amux AI picks among healthy providers (weighted random by default; a price-first strategy can be set per API key) and fails over to the next one on errors. Long-context and time-of-day tiers, where they apply, are listed on the page.

- **Alibaba Cloud** (`alibaba-cloud`) (promotion): input_text $1.05/1M tokens · output_text $3.15/1M tokens · cache_read $0.0525/1M tokens

## Example request

`POST https://gateway.amux.ai/v1/responses`

```bash
curl https://gateway.amux.ai/v1/responses \
  -H "Authorization: Bearer $AMUX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen/qwen4-max",
    "input": "Hello!"
  }'
```
