Alibaba Releases Qwen4-35B-A3B, an Open-Weight Multimodal Model With a 1M-Token Context

Qwen4 abstract illustration

Alibaba’s Qwen team released Qwen4-35B-A3B on December 4, 2026, the first open-weight model in the Qwen4 series. It is a natively multimodal mixture-of-experts model with about 35 billion main parameters, roughly 3.8 billion of them active per token, and a native context window of one million tokens. The weights are available under the Apache 2.0 license, which permits downloading, modification, and commercial use.

The release brings Qwen’s next-generation hybrid architecture into production. According to Hugging Face, which published the announcement with the Qwen team, the model follows an architectural preview in Qwen3.8-Flash-Next and is designed for local deployment, coding, and extended agent tasks. Independent coverage from TechNode describes it as a model built for local hardware as well as production inference, a combination that has been rare for models with a context window this large.

What the model can do

Qwen4-35B-A3B accepts text, image, and video inputs and produces text output. Its vision transformer reads images in 16 by 16 patches and samples video at two frames per second, so a single model can handle documents, screenshots, and short clips alongside plain text. The one-million-token context window lets it work across very long inputs, such as large codebases, lengthy documents, or extended multi-turn conversations, without splitting the material into smaller pieces.

Under the hood, the model uses a hybrid attention design. Its text decoder repeats a four-layer pattern ten times: three layers use Gated DeltaNet, which updates a fixed-size memory as it reads each token, and the fourth uses Qwen Sparse Attention, which lets the current token look back at individual tokens from anywhere in the context. The mixture-of-experts stack has 256 routed experts, with eight routed experts and one shared expert active for each token.

One unusual piece of the design is the per-layer n-gram embedding table, which holds about 20.5 billion parameters. Each token reads only 16 rows of that table, eight encoding the last two tokens and eight encoding the last three. Including the embedding table and a multi-token prediction component, the full checkpoint totals about 56 billion parameters, although the headline figure of 35 billion counts only the main weights.

Running it locally

The model shipped with day-zero support across the major open-source inference stacks: transformers, llama.cpp and the Llama App, vLLM, SGLang, and MLX, with Ollama also listed among the supported local tools. Checkpoints are available in BF16 and FP8, plus GGUF quantized versions at 4-bit, 6-bit, and 8-bit precision. Multi-token prediction enables speculative decoding, which Hugging Face reports increased generation speed by 22 percent on an Apple Silicon M5 machine using the 4-bit quant.

Quantized builds make the model practical on consumer hardware. Unsloth has already released quantized versions, and Neowin reports that a 3-bit quantized build can run on a machine with 18 GB of RAM. On Apple Silicon, the model can offload its n-gram embedding table to disk, and one report notes that a quantized build needs 21.9 GB of resident RAM from a 36 GB file, fitting on a 32 GB Mac.

Developers can also control how much the model reasons. A reasoning effort setting takes four values, extra high, high, low, or off, and defaults to high. Turning it down trades some answer quality for faster responses, which is useful for latency-sensitive applications such as voice agents or interactive tools.

Benchmarks

The Qwen team reports that Qwen4-35B-A3B performs comparably to the much larger Qwen3.8-Flash-Next, and better on some tasks. Neowin, reviewing the published results, notes that it outperforms the dense Qwen3.8-27B model in almost every test despite activating far fewer parameters per token. These are vendor-published figures, so independent testing will be the real check, but the early numbers suggest the hybrid architecture delivers more capability per active parameter than its predecessor.

Alibaba says the training emphasizes sustained knowledge work and coding tasks that produce visual outputs, including websites, 3D models, and games. That focus, combined with tool-calling support, positions the model for agentic coding workflows where the model writes code, runs tools, and iterates on the result.

Why it matters

Open-weight models with million-token context windows have mostly been large, data-center-scale systems. Qwen4-35B-A3B compresses that capability into a model that activates only about 3.8 billion parameters per token, which keeps compute costs down and makes long-context, multimodal work feasible on a single workstation or high-end laptop. The Apache 2.0 license removes the legal friction that limits many open releases, and day-zero support in the standard inference frameworks means developers can try it without waiting for community ports.

For builders, the practical takeaway is straightforward: a capable, multimodal, long-context model is now available to download, fine-tune, and run locally under a permissive license. Whether the hybrid attention design holds up at full context length under real workloads is still an open question, and the coming weeks of community testing will show how it performs outside the vendor’s own benchmarks. For now, Qwen4-35B-A3B is one of the most capable open-weight models that can run on hardware many developers already own.

Sources

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *