Alibaba’s Qwen team put Qwen4-35B-A3B on Hugging Face and ModelScope on 4 December 2026, under Apache 2.0. The same day, VentureBeat wrote that it can run locally on standard laptops. Then you count the weights. ImportStatic read every safetensors header and got 56,823,261,808 parameters, the same count the Hugging Face API reports. That is 56.82 billion. Not 35.
About 20.5 billion of those are a hashed n-gram lookup table. It does not need RAM. It can stay on your SSD and get read a few rows at a time, and that one trick is what makes the 24 GB laptop claim hold. It does hold. With fine print, mostly about your page cache.
What I did: I read the model card, the Hugging Face launch blog, Unsloth’s guide, ImportStatic’s measurement, the Qwen Cloud price page, Artificial Analysis and VentureBeat. I have not run Qwen4-35B-A3B on my DGX Spark or my Mac Studio. What follows is reading, arithmetic and opinion, marked as such.
What did Qwen release on 4 December?
One open-weight model, the first of the Qwen 4 family. The model card (revision 849378c, last modified 4 December) lists Apache 2.0, no gate, pipeline type image-text-to-text and 33 safetensors shards, with a separate FP8 repo next to it. Text, image and video go in. Text comes out. Native context is 1,048,576 tokens.
Thinking is a dial. reasoning_effort takes xhigh, high (the default), low or off, and preserve_thinking is on by default. For agentic tasks the card recommends up to 262,144 tokens for reasoning and 131,072 for the final response. Remember those two numbers.
The Hugging Face launch blog lists day-0 support in transformers, llama.cpp and the Llama App, vLLM, SGLang, MLX (oMLX can offload the PLE table to SSD), TRL, Inference Providers, Inference Endpoints, SageMaker, Google Cloud and Dell Enterprise Hub. HF’s own tests: MTP speculative decoding with 3 draft tokens raised llama.cpp generation speed 22 percent on an Apple Silicon M5 with the Q4 quant, and on one H200 141GB in BF16 with 2 MTP drafts, vLLM did about 330 tok/s on a single request, SGLang about 260. Their numbers, not mine.
Prefer an API? Qwen Cloud lists qwen4-35b-a3b at $0.06 per 1M input tokens and $0.36 per 1M output tokens, thinking or not, with implicit cache input at $0.003. The flagship, Qwen4-Max, stays closed and API-only.
Why is a “35B” model 57B on disk?
Because the card counts in pieces. Its line reads “35B with 3B activated, plus 20B n-gram embedding and 2B MTP”. The sources split on the active figure: the model card and Artificial Analysis say 3B active, while the Hugging Face blog says about 3.8B active parameters per token. I am not picking a side. The blog’s other totals are about 35B main parameters, about 20.5B PLE (per-layer n-gram embedding) and about 56B overall.
ImportStatic, a third-party analysis, read the headers of all 33 shards and split the count like this:
- Routed experts: 32.21B (56.7 percent, 64.42 GB in BF16)
- N-gram table: 20.48B (36.0 percent, 40.96 GB)
- Attention, DeltaNet, shared experts and norms: 1.81B
- Token embedding and head: 1.02B
- MTP: 0.86B
- Vision encoder: 0.45B
Total 56.82B, or 113.65 GB in BF16. My arithmetic: experts plus attention stack plus embeddings come to 35.04B, close to the card’s headline. MTP is the odd line. The card says 2B, ImportStatic counted 0.86B, and the card does not say what its figure includes.
The layout is a hybrid. Forty layers at hidden size 2048, built as ten repeats of three Gated DeltaNet layers and one Qwen Sparse Attention (QSA) layer, each followed by an MoE block. There are 256 experts, and every token uses 8 routed plus 1 shared. Per the HF blog, the QSA indexer groups tokens in fours and picks up to 512 groups, so at most 2,048 tokens get attention.
Now the table, in plain words. For every token, the model hashes the last two token IDs and the last three, then uses the hashes to pull 16 rows out of a huge table. Eight lookups encode the pair, eight the triple. The HF blog puts the table in the second decoder layer. ImportStatic describes about 160 million rows of 128 values each, and adds the detail that matters later: the hash scatters the reads, so there is no pattern a readahead could follow.
Think of a library card catalogue. A few drawers per token, no matrix math. That is why the cabinet can leave the GPU.
If you read my Edge0-145B laptop deep dive on 14 November, you know this genre. The number in the name and the bytes you have to hold are two different numbers.

Does Qwen4-35B-A3B really fit in 24 GB?
Start with the plain download. The ggml-org GGUF repo, read through the Hugging Face file tree on 5 December, has Q2_K at 27.86 GB, Q4_K_M at 32.90 GB and Q8_0 at 49.00 GB. Vision needs an mmproj file (Q8_0, 0.61 GB). MTP ships separately: Q4_0 at 1.07 GB, Q8_0 at 2.01 GB, BF16 at 3.76 GB.
My arithmetic: the Q4_K_M download is about 33 GB. A 24 GB MacBook has 24 GB of memory for everything. A straight Q4_K_M load does not fit, so the 24 GB story only works if the n-gram table stays on disk.
That is the layout Unsloth’s guide ships. Updated 4 December, it says “3-bit GGUFs run on 18GB RAM, with 20GB engram on SSD.” Engram is Unsloth’s word for the table. Its tooling moves it to SSD automatically, and Unsloth claims that saves over 30 percent of RAM and VRAM usage. Per ImportStatic, the second file of every Unsloth quant holds only the table: 11.52 GB in IQ4_NL (used by everything from UD-IQ1_S up to UD-Q4_K_XL), 21.76 GB in Q8_0, 40.96 GB in BF16.
Unsloth’s memory table, RAM plus VRAM or unified memory:
- 1-bit: 10 to 11 GB
- 2-bit: 12 to 16 GB
- 3-bit: 17 to 19 GB
- 4-bit: 21 to 25 GB
- 5-bit: 26 to 28 GB
- 6-bit: 29 to 31 GB
- 8-bit: 41 GB
Their advice: start with UD-IQ4_XS on a 24 GB Mac or a 24 GB GPU such as the RTX 4090 or RX 7900 XTX. With 18 GB total, UD-IQ3_XXS and short context. On a 16 GB RTX 5080, 2-bit or 3-bit. The smallest quants (UD-IQ1_S, IQ1_M, IQ2_XXS) “sometimes loop”, so Unsloth sets min_p=0.01 and presence_penalty=1.5.
So the claim holds at load time. The question is what happens a few thousand tokens later.
In llama.cpp, --lazy-mode on reads table rows on demand through mmap, so the OS page cache decides what stays in memory. A PR for a direct pread mode, #30772, was closed without merge. Qwen4 support went in with PR #33626 on 3 December.
ImportStatic did not run the model. They replayed the lookup over 189,075 tokens of English and Go source. The rows those tokens needed came to 97 MB. The pages touched were another matter. With 4 KiB pages, typical on Linux, the replay touched 4.4 GB of the 11.5 GB IQ4_NL table. With the 16 KiB pages Apple Silicon uses, it touched 9.7 GB, 84 percent of the file. A single 32,000-token prompt touches 1.6 GB on Linux and 5.1 GB on a Mac.
The hash explains it. Each lookup wants one small row, the OS pulls in the whole page around it, and since rows land at random spots, almost every lookup drags in a fresh page. Bigger pages, more waste.

ImportStatic draws two lessons. First, decode speed depends on your SSD’s small random-read latency, not its throughput, so the big sequential number on the box tells you little. Second, budget honestly. On Linux with the IQ4_NL table, leave 3.5 to 4.5 GB of page cache beyond the main file for 128K to 190K-token sessions. On an Apple Silicon Mac, budget for the whole table file. The pages are clean and droppable, so a short-memory machine will not crash. It will evict and re-read, and you will feel it in decode.
The KV cache is the small tenant. ImportStatic puts it at 20 KiB per token in BF16, 0.62 GiB at 32K and 20 GiB at the full 1M, plus DeltaNet state and indexer keys.
My read: “fits in 24 GB” is true at start-up. For a long session on a Mac, the honest number is closer to the whole table. That is the first thing I want to measure on the Mac Studio.
How good is it once it runs?
| Metric | Qwen4-35B-A3B | Qwen3.8-Flash-Next | Qwen3.8-27B | Inkling 2 Mini |
|---|---|---|---|---|
| Total / active params | 56.8B incl. 20.5B n-gram table / 3B (card) | 176B incl. 51B n-gram / 6B | 27B dense | 26.4B / 3.4B |
| License | Apache 2.0 | Qwen Community License 1.0 | Apache 2.0 | Apache 2.0 |
| AA Intelligence Index | 25 | 28 | 20 | 20 |
| Cost per AA index task | $0.55 | n/a | $3.53 | $0.59 |
| Terminal-Bench 4.1 | 21.2 | 24.2 | 16 pts lower (exact score not given) | n/a |
| DeepSWE v1.1 | 61.8 | 58.7 | n/a | n/a |
AA = Artificial Analysis independent index, other rows from Alibaba’s release table as reported by VentureBeat. Not reproduced by me.
Artificial Analysis, read on 5 December around 10:00 TSİ (these numbers can move), gives it 25 on Intelligence Index v5.0.2 at xhigh. That is number 1 of 17 open-weight models between 4B and 40B, where the median is 11. AA lists 35B total, 3B active and a 984k context. Unsloth calls it the “strongest model under 50B parameters”. That is Unsloth’s claim, not AA’s.
Alibaba’s launch post on X, quoted by VentureBeat, says it “outperforms dense Qwen3.8-27B, and matches Qwen3.8-Flash-Next at ~1/3 the size”. The release table, as reported by VentureBeat, is more mixed than “matches”. Against Flash-Next it wins DeepSWE v1.1 (61.8 vs 58.7), NL2Repo (51.7 vs 48.1), AutomationBench-AA (57.9 vs 55.9) and HealthBench Professional (47.4 vs 34.8). It loses FrontierCode-AA 2.0 badly, 16.1 vs 27.1, plus Terminal-Bench 4.1 (21.2 vs 24.2), AA-Briefcase (1,486 vs 1,567 Elo) and GPQA (86.9 vs 91.7). Against Qwen3.8-27B, GPQA (86.9 vs 89.2) is the only loss. For builders: decent at repo-level agent work, weak on the hardest coding.
Then the bill nobody prints on the box. AA needed 175M output tokens to run its index on this model, 16 of 16 and the most verbose of the group, against a median of 95.9M. Output speed is a brisk 225 tok/s, yet time to first answer token is 22.79 s and an index task takes 15.2 minutes. Fast legs, very long scroll. I made the same point about Amazon Ergo: the independent index catches what the vendor table leaves out, and token count is part of the price.

On knowledge, VentureBeat reports AA-Omniscience accuracy of 18.93 percent and a non-hallucination rate of 79.56 percent. It declines rather than guesses. Low recall, decent manners. Give it retrieval.
Keep the ceiling in view, too. VentureBeat lists Claude Fable 5.2 at 65, Gemini 4 Neon at 62 and Qwen’s own closed Qwen4-Max at 43 on the same index. Best under 40B is a bracket, not a crown.
You will be tempted to drop reasoning effort to cut that 22.79 s. The card warns that in multi-turn agentic tasks, lower effort “does not always reduce overall task completion time” and can lead to “more failures, and repeated retries”.
The HF blog adds a warning of its own. In a TRL experiment on 12 held-out CyberDefense Bench triage tasks, the base model passed 4 of 12, the LoRA adapter at update 50 passed 6 of 12, and the adapter at update 100 passed 3 of 12, “even as the overall training reward trended upward”. Reward up, held-out score down. If you fine-tune, keep a held-out set and checkpoint often.
What does Apache 2.0 buy you here?
A clean license, mostly. Qwen3.8-Flash-Next shipped under the restrictive Qwen Community License 1.0. Qwen4-35B-A3B is back on Apache 2.0, and the repo is not gated. Apache 2.0 is a license most legal teams have already read. Custom community licenses are where the surprises live, which was the whole argument of my Tencent Hy4 deep dive.
Open weights are not open source, though. VentureBeat reports an AA Openness Index of 39 out of 100: weights and code open, training data withheld. Open-weight, not OSI open source. You can run it, change it and ship it. You cannot see what it learned from.
One day-one catch. The card notes the tokenizer needs trust_remote_code, which means running Python that lives in the repo. Read it, and pin the revision instead of tracking main. The card also nudges you toward using the model “via APIs”, and the flagship Qwen4-Max is API-only anyway. Qwen gives away the small engine and sells access to the big one. Fair trade, if you know which one you are holding.
Who should try it first?
Anyone with a 24 GB Mac or a 24 GB GPU and a fast NVMe drive. Take Unsloth’s UD-IQ4_XS, leave the table on SSD, run llama.cpp with --lazy-mode on, keep reasoning_effort at high, and give it a real task from your own repo instead of a benchmark prompt. Keep a page cache monitor open next to the terminal.
My plan is the Mac Studio and the DGX Spark, same quant, same repo, and I will report what I measure, not what I expect. As the 23 to 29 November weekly put it, claims are cheap and checking is expensive.
Worth a weekend, as long as you count the SSD as part of the machine.
Sources
https://huggingface.co/Qwen/Qwen4-35B-A3B
https://huggingface.co/blog/qwen4
https://huggingface.co/ggml-org/Qwen4-35B-A3B-GGUF
https://unsloth.ai/docs/models/qwen4
https://importstatic.com/ai/qwen4-35b-a3b-engram-ssd-memory
https://www.qwencloud.com/models/qwen4-35b-a3b?region=ap-southeast-1
https://docs.qwencloud.com/developer-guides/getting-started/model-prices
https://artificialanalysis.ai/models/qwen4-35b-a3b
https://venturebeat.com/technology/qwen4-35b-a3b-stuns-a-small-fast-cheap-apache-2-0-open-weights-model-that-can-run-locally-on-standard-laptops