Qwen4-35B-A3B: Open AI Model With a Million-Token Context Window
The Qwen team has released the open language model Qwen4-35B-A3B, which has 35 billion parameters, of which 3 billion are active at a time. It supports a context of roughly one million tokens and is aimed at long-running agentic tasks.

The Qwen artificial intelligence team has published the weights and configuration files of the open model Qwen4-35B-A3B on the Hugging Face platform. The model belongs to the new Qwen4 series and has 35 billion parameters in total, with 3 billion active at each step. This matters because such a design makes it possible to run a capable model at lower computing cost, including locally and on self-hosted systems.
Architecture
The Qwen4 architecture combines linear attention with sparse attention. According to the developers, this gives faster processing of long sequences and a sharply reduced cache footprint, along with a native context window of 1,048,576 tokens. Additional n-gram embeddings improve quality without increasing compute or accelerator memory use. The model has 40 layers and 256 experts, of which 8 routed experts and one shared expert are used at a time. It is a language model paired with a vision encoder.
Capabilities
The developers stress improved abilities in long-horizon agentic tasks, where work must be carried out step by step over an extended period, as well as better results in coding for visual and creative output such as frontend development, 3D modeling and game development. They also promise higher token efficiency: tasks need fewer interaction rounds, and the model's thinking is more concise.
By default, the model runs in thinking mode at a high reasoning level. The levels xhigh, low and off, which disables thinking entirely, are also available.
Usage
The model can be run with Hugging Face Transformers, vLLM, SGLang and TokenSpeed, and for local use also with llama.cpp, ollama, unsloth, mlx-vlm and LiteRT-LM. Managed access will be offered through the Qwen Cloud service under the model name qwen4-35b-a3b; it is not yet available, and the company says it is coming soon. The flagship of the Qwen4 series is currently Qwen4-Max.


