Qwen4-Max: the first Qwen4 flagship

Qwen4-Max is the first model in Qwen's Qwen4 series: a natively multimodal flagship for coding, office productivity, and long-horizon agentic work. Its sparse mixture-of-experts architecture pairs Gated DeltaNet with Qwen Sparse Attention across a 2.4-trillion-parameter backbone, with 71B parameters active per token.

It accepts text, image, and video input with a one-million-token context window — long enough for full codebases, lengthy video content, or extended agent sessions in a single pass. On Modal it runs as a dedicated endpoint with the serving infrastructure handled for you.