# Qwen4-Max

> Qwen4-Max is the flagship multimodal reasoning model of Alibaba's Qwen4 series, released into general availability on November 16, 2026 on Alibaba Cloud Model Studio under the model ID qwen4-max. It uses a sparse mixture-of-experts backbone with 2.4T parameters paired with 328B N-gram embedding parameters, activating 71B parameters per token. Alibaba positions it for software engineering, office workflows, frontend design and multi-step agent execution.

Canonical: https://routemux.com/qwen/qwen4-max
Provider: Qwen

## Key facts

| Field | Value |
| --- | --- |
| Model ID | qwen/qwen4-max |
| Official model ID | qwen4-max |
| Context window | 1M |
| Max output | 128K |
| Input modalities | text, image, video |
| Output modalities | text |
| Capabilities | Vision, Reasoning, Tool Calling, Coding, Video Input, Cache, Paid Cache Write |
| Upstream release | 2026-11-16 |
| Availability | available |

## Pricing

- RouteMux input: $1.2 per 1M tokens
- RouteMux output: $3.6 per 1M tokens
- Official input: $1.5 per 1M tokens
- Official output: $4.5 per 1M tokens
- Cache read: $0.06 per 1M tokens
- Cache write: $1.5 per 1M tokens
- Saving vs official: 20%

Billing is prepaid wallet, charged per successful request only.

## API access

Base URL: https://api.routemux.com

Supported protocols:

- openai_chat
- openai_responses
- anthropic_messages

## What is Qwen4-Max

Qwen4-Max is the flagship multimodal reasoning model of Alibaba's Qwen4 series, released into general availability on November 16, 2026 on Alibaba Cloud Model Studio under the model ID qwen4-max. It uses a sparse mixture-of-experts backbone with 2.4T parameters paired with 328B N-gram embedding parameters, activating 71B parameters per token. Alibaba positions it for software engineering, office workflows, frontend design and multi-step agent execution.

Model Studio documents a 1,000,000-token context window, up to 991,808 input tokens (983,616 in thinking mode), 131,072 standard output tokens and up to 262,144 combined chain-of-thought and output tokens when thinking is enabled. Thinking is enabled by default at high effort with a 131,072-token thinking budget, and can be switched off. Alibaba's native effort tiers on Qwen4-Max are low, high and xhigh: minimal maps to low, medium maps to high, max maps to xhigh, and none turns thinking off. RouteMux accepts none, low, medium, high, xhigh and max, supports text, image and video input (pass video_url on OpenAI Chat Completions via an HTTPS URL or a Base64 Data URI under 10 MB, billed at standard input token rates), and serves OpenAI Chat Completions, OpenAI Responses and Anthropic Messages.

Compared with Qwen3.8-Max (August 2026, 95B active parameters per token, default xhigh effort), Qwen4-Max keeps the 1M-token window while trimming active parameters to 71B and changing the default effort to high. Alibaba reports 24% to 35% fewer reasoning tokens per task at high reasoning settings than Qwen3.8-Max. Keep Qwen3.8-Max only when an existing pipeline is pinned to its prompt behavior or its separate native medium tier.

On RouteMux, Qwen4-Max costs $1.2 per 1M input tokens (official $1.5) and $3.6 per 1M output tokens (official $4.5), with cached reads at $0.06 per 1M, 20% off the official rate.

## Key capabilities

- **2.4T backbone, 71B active** — Sparse MoE architecture with 328B N-gram embeddings, down from 95B active per token in Qwen3.8-Max.
- **1M-token context** — Up to 991,808 input tokens, 131,072 non-thinking output tokens and 262,144 tokens in thinking mode.
- **Hybrid thinking (default high)** — Runs at high effort by default; pass none to disable thinking for lower time-to-first-token.
- **Image and video input** — Accepts images plus video clips via video_url on OpenAI Chat Completions alongside parallel tool calling.
- **Three API protocols** — Callable over OpenAI Chat Completions, OpenAI Responses and Anthropic Messages with one key.

## Use cases

- **Repository coding and frontend design** — Model Studio highlights multi-file software development, UI generation and iterative debugging.
- **Video and long-document analysis** — Combines the 1M context window with multimodal vision to inspect screen recordings, demos, filings and charts.
- **Multi-step tool agents** — Parallel tool calls and structured JSON Schema outputs fit long-running research and execution loops.

## Sources

- [Alibaba Cloud Model Studio — qwen4-max](https://www.alibabacloud.com/help/en/model-studio/qwen4-max)
- [Alibaba Cloud Model Studio — Deep thinking](https://www.alibabacloud.com/help/en/model-studio/deep-thinking)
- [Alibaba Cloud Model Studio — Model pricing](https://www.alibabacloud.com/help/en/model-studio/model-pricing)
