AI NewsModels & agentsAnnouncement
Alibaba opens the Qwen4 series with Qwen4-35B-A3B, under Apache 2.0
Alibaba Qwen opened the Qwen4 series with a 35B mixture-of-experts model that activates 3B parameters per token. It runs under Apache 2.0 and takes a one-million-token context.

Image: Alibaba Qwen
Why it mattersA team that wants a cheap long-context coding model now has one that can be downloaded and run. The Apache 2.0 licence means a company can host it inside its own network.
A team that wants a cheap open-weight model for long coding runs now has a new option. Alibaba Qwen has posted Qwen4-35B-A3B to Hugging Face, the first open-weight model in the Qwen4 series. It is a mixture-of-experts model with 35 billion total parameters and about 3 billion active per token. The licence is Apache 2.0.
The model card, posted by the Qwen team, states the key facts. The context window is 1,048,576 tokens, which is one million. The model takes text, image and video input. Qwen says it is built with the same architecture and training as Qwen4-Max, the closed flagship of the series.
Hybrid linear and sparse attention
Qwen says the Qwen4 attention is a hybrid of two parts. One is linear attention, called Gated DeltaNet. The other is a sparse attention block, called Qwen Sparse Attention. The model has 40 layers, with a pattern of three linear blocks for every one sparse block. The mixture-of-experts layer has 256 total experts. For each token the model routes to 8 of them, plus one shared expert.
Qwen says this hybrid cuts the cost of a long request in two ways. The team writes that it has "drastically reduced cache footprint" compared with earlier architectures. It also keeps inference fast at long context. Qwen says the model is stronger than its earlier open models at long-horizon agent tasks and at professional knowledge work. It is also stronger at visual coding: frontend, 3D modeling and game work.
Scores on the Qwen chart
The Hugging Face model card shows a chart with benchmark scores. Qwen reports 21.2 on Terminal Bench 4.1, 86.9 on GPQA Diamond and 61.8 on Deep SWE. The chart also lists FrontierCode-AA 2.0 and Work360, with the bars shown but no number stated in the text. Qwen says these are its own numbers on its own model.
The model has a knob called reasoning_effort with four settings: xhigh, high, low and off. high is the default, Qwen says. The OpenAI-compatible API call passes it under chat_template_kwargs. Qwen says the knob lets a team pay for thinking only when a task needs it.
Open weights, FP8 version and an OpenAI-compatible call
The weights are under Apache 2.0, so a team can host the model inside its own network and change it. The Hugging Face repo has an FP8 version as well, for teams that want a smaller memory footprint. The model card shows an OpenAI-compatible call to client.chat.completions.create. A team can plug it into any code that already speaks the OpenAI API.
Qwen suggests temperature=1.0, top_p=0.95, top_k=20 for the thinking mode and temperature=0.7, top_p=0.80, top_k=20 for the non-thinking mode. For long outputs, Qwen recommends up to 262,144 reasoning tokens and 131,072 final-response tokens inside the one-million-token context.
Vercel also added the model to its AI Gateway, under alibaba/qwen4-35b-a3b. Vercel says it charges no platform fee on inference and passes the provider price through. A team on Vercel's AI SDK can call the model from the SDK or from coding agents through the gateway.
Qwen did not publish a Qwen4-35B-A3B blog post on its own site at the time of writing. The Hugging Face model card is the primary source for every number in this item.
Source
Qwen4-35B-A3B model card, Alibaba Qwen on Hugging Face. Qwen4-35B-A3B now available on AI Gateway, Vercel.
This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.
Get AI News in your inbox
New developer tools, model and agent releases, and how teams are actually using them to release software. Short, and only when there is something worth reading.


