Alibaba's open-source Qwen4 model arrives with a one-million-token context
Qwen4 is the first open-weights model in the "Qwen4" family announced by Alibaba's Qwen team on December 4. Its full name is "Qwen4-35B-A3B", and it is available for download on Hugging Face under the Apache 2.0 licence, according to the official model card.
Also read: MiniMax M4 Model with 2.74 Trillion Parameters Runs on Huawei Chips
The model uses a mixture-of-experts architecture, with about 35 billion main parameters and roughly 3 billion active per token, plus about 20 billion extra parameters for embedding tables, according to the company. It accepts text, images and video as input and outputs text, with a native context window of nearly one million tokens.
A new architecture and higher efficiency
The company says Qwen4's architecture combines linear attention and sparse attention, which gives faster reasoning and a much smaller cache for long texts. A block of four layers repeats ten times in the model: the first three layers use the "Gated DeltaNet" mechanism and the fourth uses "Qwen Sparse Attention".
The model has 256 experts and activates eight routed experts and one shared expert per token. It also offers reasoning effort levels of "xhigh", "high", "low" and "off", with "high" as the default, and thinking can be switched off entirely when quick replies are needed.
The company said development focused on long agentic tasks, such as coding, interface development, 3D modelling and game development, as well as lowering the cost of completing tasks through shorter reasoning and fewer rounds of interaction.
Benchmark results
The results published in the model card show Qwen4 beating the "Qwen3.8 Flash Next" model in five of eight selected tests, including "DeepSWE" at 61.8 against 58.7, "NL2Repo" at 51.7 against 48.1, and "AutomationBench" at 57.9 against 55.9.
By contrast, the new model trails in "Terminal Bench 4.1" at 21.2 against 24.2, in "APEX Agents" at 59.0 against 61.0, and in "GPQA" at 86.9 against 91.7. The company notes that some scores are taken from independent evaluators such as "Artificial Analysis".
Also read: Molmo Web 2 from Allen: Open Web Agents with Weights and Data
The model also scores 47.4 on the "HealthBench" medical reasoning test, against 45.7 for the "Inkling 2 Mini" model, and 52.9 on "Video Index" for video understanding, higher than the other models compared in the table. These figures come from the company itself and no independent party has verified them yet.
Running it and supported tools
Working with Hugging Face, the model is available from day one through libraries such as Transformers, llama.cpp, vLLM and SGLang, among others, with quantised versions in BF16, FP8 and GGUF formats. Reports say the 4-bit version needs between 20.5 and 24.7 GB of memory, so it may run on a single graphics card or a Mac with enough memory.
According to the company, the community has used the new architecture in several local applications since the release of "Qwen3.8 Flash Next", and this version turns it into a production-ready model, while "Qwen4 Max" is the flagship version of the series. That makes Qwen4 a new option for anyone who wants to run a multimodal model locally, though its real quality depends on developers' tests.
Comments (0)
No comments have been published yet.
Add a comment