❯ Alibaba releases the first open-weight Qwen4 model with text, image and video input and a million-token context
A downloadable model from the flagship familyAlibaba’s Qwen team released Qwen4-35B-A3B on Hugging Face and ModelScope on December 4. The Apache 2.0 release includes the post-trained weights and configuration. The team introduced Qwen3.8-Flash-Next in August and subsequently took the same architectural approach into its flagship Qwen4-Max. Developers can now deploy a version of that architecture on their own hardware. It accepts text, images and video, returns text and has a native context window of one million tokens.
How it reads a long inputThe model’s 40 layers are arranged in ten groups. The first three layers in each group update a fixed-size memory as the sequence progresses. The fourth can look back across the sequence to retrieve detail from the original text. Hugging Face says this layer selects up to 512 groups of four tokens for each query. This gives the model a way to recover details from earlier in a document while limiting the amount it has to compare at each step.
What the name leaves outQwen lists 35 billion parameters for the main model and about 3 billion active per token. It separately lists about 20 billion parameters in a lookup table for short token sequences and another 2 billion for a component that predicts multiple tokens. A developer sizing the download and allocating memory has to account for those components. Each inference step uses a subset of experts and a small number of lookup entries. Hugging Face offered launch-day support for Transformers, vLLM and llama.cpp, alongside weights in several precisions for different hardware capacities and throughput requirements.
Where it catches its larger siblingThe Qwen team says the model has roughly one-third the parameter scale of Qwen3.8-Flash-Next on its release comparison and broadly matches its performance. The individual results show why the intended workload matters. On the DeepSWE v1.1 software-engineering benchmark, Qwen4 scored 61.8 against 58.7 for Flash-Next. On GPQA’s difficult science questions, the scores were 86.9 and 91.7 respectively. A team deploying a repository assistant and one deploying a scientific question-answering service have different conclusions to draw from the same release chart.
▮ SIGNALThe smaller Qwen4 overtakes Flash-Next on one software-engineering benchmark, while the gap on advanced science questions remains visible.