The Qwen team released an open-weight model that handles million-token documents alongside images and videos. Developers can deploy it on their own servers or locally, or use the official API without managing servers.

1. A new way to read long documents

Qwen4-35B-A3B takes text, images, and videos as input and responds with text. Its model card lists a default context length of 1,048,576 tokens and an Apache-2.0 license.

Long-context processing combines updating fixed-size memory with selecting tokens from the context to revisit. It repeats a pattern in which three layers update memory and the fourth retrieves relevant portions.

2. Sparse computation, but large weights

According to the Hugging Face blog, the model has about 35 billion main parameters and activates about 3.8 billion per token. Its mixture-of-experts architecture selects needed experts instead of using the entire model each time.

Layer-wise n-gram embeddings storing short token combinations add about 20.5 billion parameters, bringing the total to about 56 billion. The model card lists main parameters, embeddings, and multi-token prediction parameters separately.

The company says hybrid attention speeds up inference on long inputs and reduces cache space for stored computation results. It says n-gram embeddings improve quality without extra computation or accelerator memory costs. Despite these efficiency gains, the stored weights remain large. With about 56 billion total parameters, weight storage and operation still require planning even when few parameters are active.

Quantized versions reduce size by lowering numerical precision for local deployment. oMLX also supports offloading embeddings to SSDs, fast data storage devices. Operators can therefore plan both compute efficiency and weight placement.

3. Ahead of a larger model in automation evaluations

The company reports scores of 57.9 for Qwen4-35B-A3B and 55.9 for Qwen3.8-Flash-Next on AutomationBench-AA, an automation-task evaluation cited from Artificial Analysis in the model card. Outscoring the larger predecessor on this measure reflects its focus on work automation with fewer active parameters.

On Terminal Bench 4.1 from the same source, however, the company reports 21.2 for the new model and 24.2 for the larger predecessor. These mixed results make evaluations close to intended tasks useful for adoption decisions.

4. Running and validating the model

Hugging Face provided support for major runtime tools from launch day. The following transformers example appeared in its blog.

from transformers import pipeline

pipe = pipeline("image-text-to-text", model="Qwen/Qwen4-35B-A3B", processor="huggingface/Qwen4-35B-A3B-processor", device_map="auto")

messages = [{"role": "user", "content": "Who are you?"}]
outputs = pipe(messages, max_new_tokens=2048, return_full_text=False)
print(outputs[0]["generated_text"])

The local runtime llama.cpp supports predicting multiple tokens ahead. The company says Hugging Face achieved 22% faster generation on an Apple M5 with a 4-bit quantized model and three draft tokens than without this feature.

For server deployment, the model card recommends vLLM or SGLang.

Those who do not manage infrastructure themselves can use the official API from Qwen Cloud, choosing between local installation and a managed service.

5. What to check before adoption

The reference tokenizer, which splits text into tokens, depends on tiktoken and requires allowing remote code execution when instantiated. The model card warns that lowering reasoning effort in multi-step tool use can speed up individual replies but increase failures and retries, raising total time and token use.

Qwen4-35B-A3B combines long context and selective computation with local deployment; adoption should hinge on task performance and weight-management costs rather than the model name.