---
title: "Alibaba releases Qwen4-35B-A3B model weights on Hugging Face and ModelScope"
canonical: "https://aiaulis.com/en/juttu/alibaba-releases-qwen4-35b-a3b-model-weights-on-hugging-face-and-e3bff0540551/"
language: "en"
published: "2026-12-04T05:19:31.447715+00:00"
publisher: "AI Aulis"
label: "AI GENERATED"
---

# Alibaba releases Qwen4-35B-A3B model weights on Hugging Face and ModelScope

**AI GENERATED** · Written by AI

[AI Aulis newsroom](https://aiaulis.com/en/tietoa/#toimitusperiaatteet) · 4 December 2026

huggingface.co, x.com · 3 sources · Sources published: 4 December 2026

The model has 57 billion parameters in its Hugging Face files but uses about 3 billion per token. Its context window holds more than 1 million tokens. Alibaba says it outperforms the dense Qwen3.8-27B.

The Qwen team released the weights of Qwen4-35B-A3B on Hugging Face and ModelScope on 4 December. The context window holds 1,048,576 tokens, according to the model card. Alibaba is marketing the model for long-document analysis, corporate knowledge bases and edge devices.

A mixture-of-experts (MoE) model routes each token to only some of its expert networks. Qwen4-35B-A3B has 256 of them, and each token passes through eight routed experts and one shared expert. As a result, it uses compute equivalent to about 3 billion parameters per token. However, an MoE model usually has to keep all its weights in memory.

The model’s size depends on how you count it. Alibaba’s post on X puts it at 35 billion parameters. The model card adds an extra 2-billion-parameter layer and a 20-billion-parameter n-gram embedding, a lookup table of consecutive token pairs and triples. The Hugging Face files contain 57 billion parameters. Alibaba says the n-gram embedding improves quality without adding compute or accelerator memory requirements. The X post says the quantised model runs on a single GPU, but it does not name the graphics card.

Alibaba says the model outperforms the dense Qwen3.8-27B, which uses all its parameters for every token, and matches Qwen3.8-Flash-Next at about a third of the size. A chart in the X post compares the new model with these two and Inkling2 Mini on 12 benchmarks. Qwen3.8-27B leads the new model only on the GPQA reasoning benchmark. Flash-Next leads on six, and the gap is clear on the FrontierCode-AA 2.0 coding benchmark: 27.1 points against 16.1.

Some of the chart’s figures come from Artificial Analysis, and the APEX-Agents figures from the Mercor leaderboard, Alibaba said. Work360 is Alibaba’s own benchmark.

The model card says a combination of linear and sparse attention enables the long context, speeding up inference and reducing cache requirements. There are four reasoning effort levels: xhigh, high, low and off. The default is high. Alibaba warns that in multi-step agent tasks, low reasoning effort can increase failures and retries and so lengthen the total time.

Transformers, vLLM and SGLang support the model, and the model card says llama.cpp and Ollama, among others, do too. Quantised versions are available on the model page. The card also says an API with additional features, such as built-in tools, is coming soon to the Qwen Cloud service. Alibaba’s recommended tokeniser requires the setting `trust_remote_code=True`, which allows code from the repository to run. The alternative is a Jinja chat template. It produces the same text, but the token IDs may differ.

Read more: [Models](https://aiaulis.com/en/sanasto/mallit/)

## What this is based on

1. [Image-Text-to-Text • 57B • Updated 14 minutes ago • 12 • 43](https://huggingface.co/Qwen/Qwen4-35B-A3B)
   Alibaba · Publisher: huggingface.co · published 4 December 2026 · retrieved 4 December 2026 at 04:08 (UTC+02:00) · discovery channel: web
2. [Qwen4-35B-A3B is open-weight under Apache 2.0, ready to tackle your real-world tasks! 🎉 ⚡ Qwen4-35B-A3B: - A native multimodal MoE model (35B total, 3B activated), 1M-token native context. …](https://x.com/Alibaba_Qwen/status/2128672205282435077)
   Alibaba_Qwen · Publisher: x.com · published 4 December 2026 at 04:06 (UTC+02:00) · retrieved 4 December 2026 at 04:17 (UTC+02:00) · discovery channel: X
3. [We teamed up with @Alibaba_Qwen to support Qwen4 on Llama from the get-go 🦙 We ship smaller versions for your local setups, get started with only a few clicks! pic.twitter.com/VdqLAoZ9kS](https://x.com/huggingface/status/2128677777293635672)
   Llama · Publisher: x.com · published 4 December 2026 · retrieved 4 December 2026 at 05:11 (UTC+02:00) · discovery channel: X

Canonical: <https://aiaulis.com/en/juttu/alibaba-releases-qwen4-35b-a3b-model-weights-on-hugging-face-and-e3bff0540551/>

---

AI Aulis is a newspaper written and checked by artificial intelligence. No human reads the stories before publication, and AI can make mistakes: check important facts in the story's original sources. Publisher: Fiquan Holding Oy. Responsible editor: Jukka Haikala.
