Alibaba Qwen4-35B-A3B: Open Model with 1M Context and Image and Video Input

Alibaba opens Qwen4-35B-A3B under Apache 2.0: 35B parameters, 3B active, a 1M-token context. Specs, builds, the local run command and sampling settings, with real screenshots.

Alibaba Qwen4-35B-A3B: Open Model with 1M Context and Image and Video Input
Alibaba opens Qwen4-35B-A3B under Apache 2.0: 35B parameters, 3B active, a 1M-token context. Specs, builds, the local run command and sampling settings, with real screenshots.

Alibaba Qwen4-35B-A3B: Open Model with 1M Context and Image and Video Input

Share:
⏱ 9 min read🔓 Apache 2.0🔄 Updated: Dec 4, 2026✍ NOOR 4 TECH team

The short version: Alibaba released Qwen4-35B-A3B with open weights under Apache 2.0. It takes text, image and video input with a native context above one million tokens. It holds 35B parameters but only 3B are active per token, so it runs lighter than its size suggests. GGUF, MLX and FP8 builds shipped on day one, so you can try it locally with one command.

What was announced today

On December 4, 2026 TechNode reported that Alibaba opened Qwen4-35B-A3B with multimodal input and a million-token context, under Apache 2.0, which allows commercial use. The same day Hugging Face published Welcome Qwen 4, describing day-0 support in transformers, llama.cpp, vLLM, SGLang and MLX. The model card calls it the successor to the Qwen3.8-Flash-Next preview, and names Qwen4-Max as the flagship of the series.

Why is it trending? The weights are open under a commercial license, the size can run on one strong machine once quantized, and it brings long context plus image and video input. At review time its Hugging Face page had over 2.4k likes about a day after creation.

The Qwen/Qwen4-35B-A3B model page on Hugging Face showing the Apache 2.0 license tag, 57B parameters and the Qwen Cloud box
Figure 1: The official model card. (1) The Apache 2.0 license. (2) Total size, 57B parameters in the safetensors files. (3) 127 derived quantizations. (4) The name it is served under on Qwen Cloud: qwen4-35b-a3b.

Specs in one table

ItemValueSource
Parameters35B main, 3B activated, plus 20B n-gram embedding and a 2B MTP moduleModel card
Layers40 layers: 10 times (3 Gated DeltaNet layers then 1 Qwen Sparse Attention layer, all with MoE)Model card
Experts256 experts, 8 routed plus 1 sharedModel card
Context1,048,576 tokens nativelyModel card
InputText, image and videoTechNode, Hugging Face blog
ReasoningFour levels: xhigh, high, low, off. Default highModel card
LicenseApache 2.0Model card, TechNode
A note on the numbers: the model card says 3B active parameters, while the Hugging Face blog says about 3.8B active per token and describes about 56B in total with 20.5B of PLE embeddings. The two sources count differently, so name the source when you quote a figure.
The Welcome Qwen 4 article on the Hugging Face blog dated December 4, 2026
Figure 2: The Hugging Face article. (1) The title and the December 4, 2026 date. (2) The spec paragraph: 35B main, 1M context, Apache 2.0. (3) The two models mentioned: the base model and the GGUF build.

How it works: 35B in size, 3B in compute

It is a mixture-of-experts (MoE) model. Each layer has 256 experts, and for every token the router picks 8 and adds one shared expert. So far fewer parameters run per token than the total, which is what A3B means. In practice generation speed is closer to a small model, but all the weights must still fit in memory.

The layers are mixed: three Gated DeltaNet layers then one sparse attention layer (Qwen Sparse Attention), repeated ten times. The idea is to keep long context practical. According to the Hugging Face article you can also use MTP speculative decoding with three draft tokens, and they measured a 22% faster generation on an M5 with Q4 quantization. That is one machine in their test, so do not treat it as a promise for yours.

How to run it locally

The fastest route in the Hugging Face article is llama.cpp with the ready GGUF build from ggml-org. Run this command:

llama serve -hf ggml-org/Qwen4-35B-A3B-GGUF:Q6_K
  1. Install llama.cpp from its official repository so the llama command is available.
  2. Pick the quantization. The command above uses Q6_K. Change the tag to Q4_K_M to save memory or Q8_0 for higher quality.
  3. Wait for the download. The files are large (see the next table), so check disk space and your connection first.
  4. Try a short prompt, then tune the sampling settings from the section below.
  5. For images and video the same repository has an mmproj file (about 0.9 GB), which llama.cpp needs for visual input.
Warning: with the transformers library, the model card needs the tokenizer loaded with trust_remote_code=True. That runs code from the repository, so read it or load only from the official Qwen account. Also read how to check GGUF models for malware before downloading community builds.

The card also lists vLLM and SGLang for serving on servers, and TechNode mentions Ollama and MLX. On Apple hardware the Hugging Face article points to oMLX and mlx-lm.

The ggml-org Qwen4-35B-A3B-GGUF repository on Hugging Face listing the BF16, Q4_K_M, Q6_K and Q8_0 files and the mtp files
Figure 3: The GGUF repository from ggml-org. (1) The BF16 build at 111 GB. (2) Q4_K_M at 36 GB. (3) Q6_K at 51 GB. (4) Q8_0 at 59.4 GB. (5) The quantized MTP file mtp-Q4_K_M.

Which build to pick

BuildFile sizeWhen it fits
GGUF Q4_K_M36.01 GBLeast memory. Good for trying it on a mid-range machine
GGUF Q6_K51.01 GBA balance of quality and size. It is the one in the official command
GGUF Q8_059.4 GBCloser to the original, needs a lot of memory
GGUF BF16111.09 GBFull precision, for servers
Qwen4-35B-A3B-FP8about 60 GBGPU serving with libraries like vLLM
Original BF16 weightsabout 114 GBFurther training and fine-tuning

The sizes come from the repository file trees at review time. Our estimate is that you need more memory than the file size, because the cache for long context sits on top and grows with the context length. That is our inference, not an official figure, so test on your machine.

Recommended sampling settings

The card suggests different settings for each mode:

Modetemperaturetop_ptop_kpresence_penalty
Thinking1.00.9520not listed
Non-thinking0.70.80not listed1.5
Tip: start with the default reasoning level, high. Move to low or off for quick jobs like summaries and labeling, and to xhigh for hard problems. If the model outputs JSON, check it with our JSON formatter before you use it.
The Qwen4 collection on Hugging Face showing Qwen4-35B-A3B and the FP8 build
Figure 4: The official Qwen4 collection. (1) The collection name. (2) The base model. (3) The FP8 build.

Limits and warnings

  • Vendor numbers: the benchmark results on the card are credited to Artificial Analysis, Mercor and an in-house measure called Work360. We did not repeat the scores here. Test the model on your own tasks.
  • Memory: all weights must load even though only 3B run per token, so do not expect it to run on a small machine.
  • Safety: there are many community builds (127 quantizations at review time). Prefer official accounts and treat trust_remote_code with care.
  • Fast-moving news: the release is one day old and tools and instructions may change. Check the official card before deploying.

FAQ

Can I use it commercially?

The license is Apache 2.0 per the model card and TechNode, which allows commercial use. Read the license text in the repository before you rely on it.

What does A3B mean?

About 3 billion parameters are active per token out of 35 billion in the main model, thanks to the mixture of experts.

Does it understand images and video?

Yes, it accepts text, image and video per TechNode and the Hugging Face article. For images in llama.cpp you need the mmproj file.

How can I try it without downloading?

The card says it is served on Qwen Cloud as qwen4-35b-a3b, and Hugging Face offers inference providers. To compare free sites, see 5 free AI model sites.

Conclusion

Qwen4-35B-A3B is an open model with a commercial license, long context and multimodal input, at a compute cost close to a small model. Start with Q4_K_M or Q6_K and test it on your own tasks. For more, read our piece on the Amazon Ergo open model, browse the AI tools, and if you want help automating work with AI, see our services.

⭐ Featured Recommendation

📈 Double Your Site Traffic & Revenue with Featured Backlinks & SEO

Get a pinned Featured Backlink in our directory or a complete SEO audit by NOOR 4 TECH experts to dominate rankings.

Explore Featured Package ⭐
💼 NOOR 4 TECH Professional Services

Looking for a Technical Partner for Your Next Project?

We deliver enterprise web development, mobile apps, technical SEO, and AI automation.

Author

Ibrahim Moustafa

Electronics and communications engineer, working in IT since 2004. He reviews NOOR 4 TECH articles and tests its tools himself before publication.

Comments (0)

No comments yet. Be the first to comment!

Add Your Comment

Your email will not be published. Comments require review before publishing.