This morning Alibaba's Qwen team released Qwen4-35B-A3B — the first open-weights model of the Qwen4 series, Apache 2.0, up on Hugging Face and ModelScope before most of us finished coffee. It arrives three months after Qwen3.8-Flash-Next previewed the architecture in August, and weeks after the closed Qwen4-Max flagship. Now the architecture is something you can actually download.
The headline numbers look contradictory on purpose: 35 billion total parameters, about 3 billion active per token, a native 1,048,576-token context window, native image and video input — and a hidden second model made of n-gram lookup tables that is larger than the part that thinks. I went through the model card, the day-0 ecosystem posts, and the first independent benchmarks. Here is the honest read for people who self-host: what this architecture actually is, what the benchmarks do and don't show, and what it takes to run it on one GPU.
The naming encodes the shape: 35B total parameters, A3B = ~3B activated per token. Per the model card, the language model carries 35B router-visible parameters plus 20B of n-gram embeddings and a 2B multi-token-prediction (MTP) module — roughly 56B parameters on disk. Hugging Face's launch post counts ~3.8B active per token once you include the shared-expert and attention paths; the card says "3B activated". Either way, the story is the same: every token flows through about a tenth of the model, which is why a 35B-class model decodes like a 3B one.
The layout, from the card:
The linear-attention share is what makes the long context affordable: the DeltaNet layers keep a constant-size state instead of a growing KV cache, and the sparse-attention layers only attend to a selected subset of blocks. The card's pitch — "drastically reduced cache footprint" — is the architecture working as designed.
Here's my favorite detail, and the one the benchmark charts don't show: the model ships with 10,000,000 n-gram embeddings (~20B parameters) plugged in at layer 2 — bigram and trigram lookup tables. That's six times larger than the activated model. The idea, inherited from Flash-Next's design report: give the network cheap, exact access to surface statistics of the training distribution (common phrases, code idioms, named entities) without spending attention compute on them. Quality boost, zero per-token cost — the tables are looked up, not attended over.
The catch is where those tables live. They're dead weight during decode but they dominate the memory math:
UD-Q4_K_XL) is a 36.2 GB download, ~11.5 GB of
which is the n-gram table. With the table offloaded to SSD, llama.cpp
runs the hot path in ~24.7 GB; load everything into memory (Ollama's
default, the MLX builds) and a 4-bit copy wants a 48 GB machine.In other words: the active-parameter count tells you the compute bill, but the n-gram table sets the deployment bill. Budget accordingly.
The card ships a chart rather than a table — comparing Qwen4-35B-A3B against the dense Qwen3.8-27B from August. The transcription (apidog did the squinting work) tells a consistent story:
| Benchmark | Qwen4-35B-A3B | Qwen3.8-27B |
|---|---|---|
| DeepSWE v1.1 (software engineering) | 61.8 | 42.2 |
| Terminal Bench 4.1 | 21.2 | 5.6 |
| NL2Repo (repo-level codegen) | 51.7 | 42.3 |
| APEX-Agents v1.1 | 59.0 | 47.5 |
| HealthBench Professional | 47.4 | 29.8 |
| GPQA (science reasoning) | 86.9 | 89.2 |
| Chartography (vision) | 27.8 | 27.8 |
| VideoIndex (video understanding) | 52.9 | 51.9 |
Read honestly: on agentic and coding work this ~3B-active MoE crushes the dense 27B — Terminal Bench nearly quadruples, DeepSWE gains almost 20 points. On long-horizon agent benchmarks like APEX-Agents and AutomationBench it even beats the much larger Qwen3.8-Flash-Next, per Alibaba's own announcement, which also claims wins over Thinking Machines' Inkling2 Mini. But GPQA goes the other way — the dense model still reasons marginally better on hard science questions — and vision is a wash. The company line ("outperforms dense Qwen3.8-27B") is true on 10 of 12 benchmarks, which is impressive and a reminder that these are vendor charts, hours after release.
The independent numbers are more convincing than the charts. Artificial Analysis already has it measured: Intelligence Index 25 — above the dense 27B (20), a bit below Flash-Next (28) — at 238 tok/s output and 14.3 minutes per index task, the fastest time-per-task in Alibaba's entire lineup, including the closed Qwen4-Max (19.2 min). That last number is the actual product: for agentic work, clock speed multiplies capability, and "almost as smart, three times faster, 1/30th the price" wins more real tasks than a two-point GPQA gap loses.
vLLM's day-0 post adds the serving view: 514 tok/s single-stream on one B300 with the FP8 checkpoint, with support across Blackwell and Hopper, AMD MI350X/MI355X, and Alibaba's own T-Head Zhenwu PPUs.
This is the part I care about most, because "can I host this?" is the only question that matters for an open release. Collected from Unsloth's GGUF repo, the oMLX community benchmark page, and the launch posts:
| Setup | Quant | Result |
|---|---|---|
| NVIDIA B300 (vLLM, FP8) | FP8 | 514 tok/s single-stream |
| RTX 5090 (llama.cpp) | 4-bit GGUF | ~175 tok/s, thinking off |
| Mac M5 Max, 128 GB (oMLX) | 6-bit + MTP | 92–152 tok/s across 195k→4k ctx |
| Mac M4 Max, 128 GB (oMLX) | 4-bit + MTP | ~6–7 tok/s |
| Mac M3, 24 GB (oMLX) | 3-bit | 4.4 tok/s (proof of life) |
The 24 GB-card crowd gets the short end: at 3-bit the model runs but crawls, because the n-gram table and MoE weights crowd out everything else. The sweet spot is a 24 GB GPU with the n-gram table on SSD (llama.cpp's offload) or a 48 GB+ unified-memory machine. The MTP drafter — the 2B multi-token-prediction module — ships in the GGUF and oMLX builds and is a big share of why the Mac numbers look respectable.
And if you'd rather not host at all: Qwen Cloud lists qwen4-35b-a3b at
0.36 per 1M input/output tokens — compare the dense 27B at
3.00. Even the day-0 API pricing undercuts every dense alternative
by roughly an order of magnitude, which tells you how seriously Alibaba is
taking the MoE economics.
Qwen4 exposes reasoning_effort: xhigh, high (default), low, and
off, plus preserve_thinking for multi-turn agent histories. Easy tasks
may get answered without thinking even at non-off levels — the model is
allowed to judge. Recommended sampling differs by mode (temperature 1.0
thinking, 0.7 not), and the card suggests budgets I find genuinely notable:
262,144 tokens for reasoning, 131,072 for the final answer. A model
releasing with a 256K thinking budget is a model built for hours-long agent
runs, not chat.
The card also contains a warning that deserves to be on a wall somewhere: in multi-turn agentic tasks, lowering reasoning effort often doesn't reduce total completion time — faster turns produce shallower analysis, more failures, more retries, more total latency. If you tune inference budgets for a living, that's the failure mode to watch in your own traces.
Two day-0 rough edges to know about: the recommended tokenizer is a
reference implementation requiring trust_remote_code=True (a Jinja chat
template ships in tokenizer-compat/, but token IDs can differ), and the
video preprocessor defaults are deliberately conservative — the card tells
you to raise longest_edge to ~470M (224k video tokens) for hour-scale
video. Both are documentation problems, not architecture problems.
Zoom out and the pattern across Flash-Next and this release is clear. The 2026 local-model blueprint is no longer "dense model, quantize harder":
Qwen's own framing — "matches Qwen3.8-Flash-Next at about 1/3 the size" — is the thesis: the architecture is the product, and they will keep shrinking the box it fits in. Dense 27B-class models now lose to a 3B-active MoE on agentic work at a fraction of the serving cost; the remaining dense stronghold (marginal GPQA points) is a rounding error next to 3–4× the throughput. For self-hosters the practical consequence is direct: the era of "how big a dense model fits in my VRAM" is ending, and the new question is "how much total memory does the MoE plus its lookup tables want."
The obvious experiment for my own rack: put qwen4-35b-a3b into the
LiteLLM router on the home inference box and see whether it holds a
comfortable three-digit tok/s with the n-gram table offloaded — and whether
reasoning_effort: low survives real agent loops as well as the card
claims it doesn't. Day-0 support in transformers, vLLM, SGLang, llama.cpp,
Ollama, and MLX means the setup cost is an evening, not a weekend.
Just don't benchmark it for a week. Vendor charts on release day are marketing; the reproducible numbers start showing up in week one — and the early independent ones here already look earned.