Back to AI News
MarkTechPost

Alibaba Releases Qwen4-35B-A3B Open-Weight MoE With 1M Context

Alibaba’s Qwen team released Qwen4-35B-A3B, the first open-weight model in the Qwen4 family, under Apache 2.0. It is a natively multimodal Mixture-of-Experts model with 35B main parameters, about 3B active per token, and a native context of 1,048,576 tokens. Qwen says it beats dense Qwen3.8-27B on all eight charted benchmarks but trails Qwen3.8-Flash-Next on five of eight; the published scores are self-reported. The model supports text, image and video input, and 4-bit builds are listed at 20.5–24.7 GB, fitting a 24 GB GPU or Mac.

AI Brief

It gives readers a concrete open-weight release with long context, multimodal input, local deployment requirements and benchmark caveats.

Alibaba’s Qwen team has released Qwen4-35B-A3B, the first open-weight model in the Qwen4 family. Weights are on Hugging Face and ModelScope under Apache 2.0. Qwen4-35B-A3B is an open-weight MoE model that activates about 3B parameters per token. It reads text, images and video, with a native context of 1,048,576 tokens.

TL;DR

  • Size: 35B main parameters, 3B active per token. Hugging Face counts about 3.8B active and about 56B total with n-gram tables. Native 1M context.
  • Runs on: 1 GPU when quantized. 4-bit needs 20.5 to 24.7 GB, so a 24 GB GPU or Mac works. BF16, FP8, GGUF and MLX builds exist.
  • Performance: Beats dense Qwen3.8-27B on all 8 charted benchmarks. Trails Qwen3.8-Flash-Next on 5 of 8.
  • Best: DeepSWE v1.1 at 61.8, ahead of Qwen3.8-Flash-Next at 58.7.
  • Worst: FrontierCode-AA 2.0 at 16.1, versus 27.1 for Qwen3.8-Flash-Next.

What is Qwen4-35B-A3B?

Qwen4-35B-A3B is a natively multimodal Mixture-of-Experts model from Alibaba’s Qwen team. It accepts text, image and video input and returns text. It follows Qwen3.8-Flash-Next, the August preview of the Qwen4 architecture.

Qwen targets agentic work. The announcement names long-document analysis, enterprise knowledge bases and edge deployment. It claims the model matches Qwen3.8-Flash-Next at about 1/3 the size. Flash-Next has a 125B main model with 6B active.

How does the Qwen4-35B-A3B architecture work?

The model card lists 40 layers with a 2,048 hidden size. They repeat 1 block 10 times: 3 Gated DeltaNet layers, then 1 Qwen Sparse Attention layer. Every layer feeds an MoE block.

  • Gated DeltaNet: linear attention with a fixed-size memory. It keeps long context cheap.
  • Qwen Sparse Attention (QSA): an indexer groups tokens in fours and averages their keys. Each query then attends to at most 512 groups, or 2,048 tokens.
  • MoE: 256 experts. Each token uses 8 routed experts plus 1 shared expert.
  • N-gram embeddings: a 20.5B-parameter table at layer 2 stores bigram and trigram patterns. It adds memory, not per-token compute.
  • Gated residuals: 4 residual streams, mixed by learned gates before each block.
  • Multi-token prediction: 1 MTP layer for speculative decoding.

Thinking runs at 4 levels: xhigh, high (default), low and off. The card recommends up to 262,144 reasoning tokens.

Alibaba Qwen · Open weights · Apache 2.0

How Qwen4-35B-A3B works

35B main parameters, 3B active per token, native 1,048,576-token context.

3Bactive of 35B
1Mnative context
256experts, 8+1 active
3input modalities
Click a tile to see where the number comes from.
Gated DeltaNet → MoE (30 layers)Qwen Sparse Attention → MoE (10 layers)
The decoder repeats 1 block 10 times: 3 Gated DeltaNet layers, then 1 Qwen Sparse Attention layer.
Tokens are grouped in fours and their keys averaged. For each query (yellow), the indexer keeps at most 512 groups, so attention reads up to 2,048 tokens no matter how long the context is.
8 routed experts1 shared expertidle (247)
Each MoE block holds 256 experts with a 512 intermediate size. Only 9 run per token, which is why compute stays near 3B parameters.
Self-reported by Qwen in its launch chart. Higher is better.
24 GB
vllm serve "Qwen/Qwen4-35B-A3B"
Sources: Qwen model card, Hugging Face blog, Unsloth guide, Qwen launch chart (self-reported).Built by Marktechpost

How does Qwen4-35B-A3B perform on benchmarks?

Qwen published 8 scores in its launch chart. All are self-reported. Per the card footnotes, 4 of them come from Artificial Analysis evaluations.

BenchmarkQwen4-35B-A3BQwen3.8-Flash-NextQwen3.8-27BInkling 2 Mini
DeepSWE v1.161.858.742.248.2
Terminal Bench 4.121.224.25.65.6
FrontierCode-AA 2.016.127.114.915.1
NL2Repo51.748.142.341.8
Work36042.943.737.130.4
APEX Agents v1.159.061.047.550.9
AA-Briefcase v1.1 (Elo)1486156713911263
AutomationBench-AA57.955.948.241.8

Source: Qwen launch chart, self-reported. Column order follows the comparison set named in the HF blog.

The model beats the dense 27B everywhere. It wins 3 of 8 against Flash-Next. “Matches” is therefore a loose fit: the FrontierCode gap is 11 points.

Independent data is thinner. Artificial Analysis gives it 25 on its Intelligence Index, against a median of 9 for comparable open models.

How much memory does Qwen4-35B-A3B need to run locally?

The 35B name undercounts the files. The n-gram table pushes the Hub listing to 57B parameters. Unsloth’s guide keeps that table on SSD through memory mapping.

QuantMemory (RAM + VRAM)
3-bit17.2 to 19.4 GB
4-bit20.5 to 24.7 GB
8-bit40.5 GB

Unsloth suggests UD-IQ4_XS on a 24 GB device. Its UD-Q4_K_XL quant scored 95.0% against 95.3% for BF16. Day-0 support covers Transformers, vLLM, SGLang, llama.cpp, MLX and Ollama.

Comparison: Qwen4-35B-A3B vs closest competitors

FeatureQwen4-35B-A3BQwen3.8-Flash-NextQwen3.8-27BInkling 2 Mini
DeveloperAlibaba QwenAlibaba QwenAlibaba QwenThinking Machines Lab
ArchitectureMoE (GDN + QSA)MoE (GDN + QSA)Dense (GDN hybrid)Looped MoE
Total params35B main (57B on Hub)125B main 27B 26.4B
Active params3B (3.8B per HF blog)6B27B3.4B
Native context1,048,576262,144, 1M via YaRN 262,144, 1M via YaRNUp to 1M
LicenseApache 2.0Qwen Community License 1.0 Apache 2.0Apache 2.0
InputsText, image, videoText, image, videoText, image, videoText, image
Local 4-bit memory20.5 to 24.7 GB Not disclosedNot disclosedNot disclosed
DeepSWE v1.1 (Qwen chart)61.858.742.248.2
Terminal Bench 4.1 (Qwen chart)21.224.25.65.6

Key Takeaways

  • 3B active of 35B, native 1M context, Apache 2.0.
  • Beats Qwen3.8-27B on all 8 charted benchmarks.
  • Best score: 61.8 on DeepSWE v1.1.
  • Weakest: 16.1 on FrontierCode-AA 2.0.
  • 4-bit fits a 24 GB GPU or Mac.


Check out the model weights on Hugging Face, ModelScope and the Hugging Face technical blog. You can check the deployment options and specs here through our GPULeaderboard.com chrome extension.

Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

The post Alibaba Releases Qwen4-35B-A3B: Open-Weight MoE Model With 1M Context appeared first on MarkTechPost.

Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!