
Alibaba’s Qwen team has released Qwen4-35B-A3B, the first open-weight model in its new Qwen 4 family, and you can download it today. The Qwen 4 open model is a multimodal mixture-of-experts system with a 1 million token context window, an Apache-2.0 license, and only about 3 billion parameters active per token. That last detail matters most: it is built to run fast on hardware you might already own.
What the Qwen 4 Open Model Is
Qwen4-35B-A3B has 35 billion main parameters, but it only uses a small slice of them for each token it reads or writes. The model card lists roughly 3 billion active parameters, plus about 20 billion parameters in a special n-gram embedding table and a 2 billion parameter add-on for faster generation. That design keeps the compute cost close to a small model while giving it the knowledge of a much larger one.
It reads text, images and video, and it writes text. Alibaba describes it as the start of a wider Qwen 4 open series, built on the same architecture and training methods as the flagship Qwen4-Max model it launched in November.
The key specs at a glance
| Feature | Qwen4-35B-A3B |
|---|---|
| Total main parameters | 35 billion |
| Active per token | About 3 billion |
| N-gram embedding parameters | About 20 billion |
| Context window | 1 million tokens |
| Inputs | Text, images, video |
| License | Apache-2.0 |
| Reasoning levels | xhigh, high, low, off |
How the Qwen 4 Architecture Saves Memory
The model mixes two kinds of attention. Three out of every four layers use Gated DeltaNet, a linear attention method that keeps a fixed-size memory instead of storing every past token. The fourth layer uses what Qwen calls Qwen Sparse Attention, which jumps back to pick out specific tokens from anywhere in a long document.
According to the Hugging Face write-up, the sparse layer selects up to 2,048 tokens to look at for each new token. That is how the model handles a 1 million token window without the memory cost exploding. Alibaba says the result is faster inference and a much smaller cache footprint on long inputs.
The n-gram embedding trick
The unusual part is a large lookup table in the second layer. For each token, the model fetches a few rows that encode the last two and three tokens, then blends them in. Qwen says this improves quality without adding compute or accelerator memory overhead, because only a handful of rows are read per token.
Running Qwen4-35B-A3B on Your Own Machine
The release came with day-one support across the most common open-source tools. That means you do not need to wait for community ports before trying it.
- Hugging Face Transformers, vLLM and SGLang for servers
- llama.cpp with 4-bit, 6-bit and 8-bit GGUF versions
- oMLX on Apple Silicon, with mlx-lm support on the way
- FP8 and BF16 checkpoints for GPU deployment
Hugging Face reports that turning on the built-in multi-token prediction drafter sped up generation by 22% on an Apple M5 Mac running the 4-bit version. The Qwen team also says a hosted version, under the name qwen4-35b-a3b, will come to its Qwen Cloud API soon. If you already run models through local AI hardware, this one should slot into your existing setup.
Thinking modes you can control
Like several recent models, Qwen 4 lets you pick how hard it thinks. You set a reasoning effort of xhigh, high, low or off, and it defaults to high. Qwen notes that lower effort is not always faster overall in agent tasks, since shallow thinking can lead to more failed steps.
What Alibaba Says Qwen 4 Is Good At
Alibaba pitches the model as a work assistant for long, multi-step tasks rather than a quick chatbot. It says Qwen 4 made big gains in long-horizon agent work, coding for visual output such as front-end pages, 3D modeling and games, and token efficiency. These are company claims, and independent testing will take a few days to arrive.
Hugging Face says the model is comparable to the larger Qwen3.8-Flash-Next on several benchmarks and beats it on some. In a small security test, a fine-tuned adapter raised the pass rate on 12 held-out cyber defense tasks from 4 to 6. That is a tiny sample, so treat it as a demo rather than proof.
What This Means for You
If you care about running capable AI privately, this release is worth a look. A model with roughly 3 billion active parameters is light enough to run on a well-equipped laptop, yet it brings a huge context window and image and video input.
- Developers can test it today in llama.cpp, vLLM or Transformers without waiting for ports.
- Mac users with plenty of unified memory can try the 4-bit build through oMLX.
- Teams with privacy rules can self-host it under a permissive Apache-2.0 license.
- Anyone comparing options should also look at other open coding models and wait for third-party benchmarks.
Keep in mind that the total download is large even though the active slice is small. The full weights, including the embedding table, still need plenty of disk space and memory, so check the quantized sizes before you start. Small on-device options like Liquid’s LFM2.5 remain a better fit for phones.
Qwen 4 shows where open models are heading: big knowledge, small active compute, and context windows long enough to hold an entire codebase.
For more model launches as they happen, follow our AI news coverage.
Sources
Primary source: Qwen4-35B-A3B official model card. Additional details from Hugging Face’s launch post.
Conclusion
Qwen4-35B-A3B brings the Qwen 4 architecture out of Alibaba’s cloud and onto anyone’s hardware under an open license. Its mix of sparse attention, linear attention and a large n-gram table aims to deliver a 1 million token window at small-model speed. The performance claims still need outside testing, but day-one support in the major tools makes it easy to try. More Qwen 4 open models are promised, so expect this family to grow in the coming weeks.


