A generated title card for Qwen4-35B-A3B with four stat cards reading 1,048,576-token context, 3B active per token, 18 GB at 3-bit and Apache 2.0, above a bar labelled 56.8B stored.
Guides & Insights

Qwen4-35B-A3B Runs on an 18 GB Laptop — With a Catch

Author

Rowan Sterling

Date Published

Models in this article · 1View all models →
Back to all posts

Eighteen gigabytes is the number going around, and it is true — for one quantisation, at short context, with a fifth of the model sitting on your SSD instead of in RAM. Qwen4-35B-A3B is the first open-weight model of Alibaba's Qwen4 generation: 35B language-model parameters with 3B active per token, another 20B of n-gram embeddings, a 2B multi-token-prediction head, a native 1,048,576-token window, and text, image and video input. The weights appeared on Hugging Face at 02:45 UTC on 3 December 2026 under Apache 2.0, ungated; Alibaba's blog and launch post followed on 4 December. Unsloth's Dynamic GGUF build is what turned a 113.7 GB checkpoint into something a laptop can hold.

That last sentence contains the whole story, and most of the coverage stops before the interesting part. A model this sparse is not a small model with a big number crossed out. It is a large model that has been given somewhere else to keep its knowledge, and the local experience depends entirely on whether you understand where "somewhere else" is.

What landed, and when

The dates matter because they separate a leak from a release. On 30 November a pull request in AMD's SGLang fork described Qwen4-35B-A3B's EAGLE verify steps, then was renamed "Withdrawn" and its branch deleted within about two hours. The repository itself was created on 3 December at 02:45 UTC, and by the morning of 4 December the model card was final, the blog was live, and Alibaba's own account had posted it. This is an announced release, not a mirror find.

What shipped is unusually complete for day one. Transformers, llama.cpp and Unsloth's desktop runtime, vLLM, SGLang and MLX all had support at launch, with two vLLM and SGLang pull requests covering long-video pre-processing. Apache 2.0 with no acceptable-use addendum means the licence does not restrict commercial deployment, which is not something every Chinese lab offers on a flagship-adjacent checkpoint.

56.8B stored, 3B per token

The repository's safetensors metadata totals 56,823,261,843 parameters in BF16 across 33 shards — 113.7 GB on disk. The name says 35B because that is the language model. The extra ~22B are the parts that make local inference possible at all.

• Stored — 56.8B parameters, 113.7 GB in BF16. You need disk for all of it.

• Active per token — 3B, which the blog rounds to "~3.8B". The A3B in the name did not move to match.

• Experts — 256 routed, 8 fire per token, plus one shared expert, each with an intermediate dimension of 512.

• Depth — 40 layers at hidden size 2,048, with a 248,320-token padded vocabulary.

• N-gram embeddings — 10,000,000 bigrams and trigrams, injected at layer 2. This is the 20B, and it is the part that can live on disk.

• Context — 1,048,576 tokens natively.

The layer stack repeats ten times: three Gated DeltaNet layers followed by one Qwen Sparse Attention layer, each wrapped around a mixture-of-experts block. The sparse-attention layer carries an indexer that scores context in 512 blocks of 2,048 tokens and attends to a selected subset rather than the whole window. That is why a million tokens is a design property here rather than a rope-scaling flag, and it is also why the KV cache does not explode the way a dense model's would.

A generated scoreboard for Qwen4-35B-A3B listing stored parameters 56.8B, active per token 3B, context 1,048,576 tokens, 3-bit GGUF about 18 GB, 4-bit GGUF 21 to 25 GB, and MLX 4-bit 34 GB, with a footer saying memory figures per Unsloth and parameters per the Qwen model card.

The hosted model, measured

Before the local arithmetic, the hosted numbers, because they set the bar the laptop build has to clear. Artificial Analysis scores Qwen4-35B-A3B at 25 on its Intelligence Index — first of the six models in that comparison set, and well above the median of 9 for the 69 open-weight models it classes between 40B and 150B stored parameters. That class placement is itself a fact worth noticing: with 56.8B stored, this is not a small model by the analyst's own taxonomy, whatever the 35B in the name suggests.

Its price listing is $0.06 per million input tokens and $0.36 per million output, with a 95% cache discount. On those rates it is cheap. On the measure that actually predicts a bill it is not: $0.55 of inference per Intelligence Index task, against a class median of about $0.16, because it takes 14.3 minutes and 175 million output tokens to finish one. Median time per task in its class is 5.3 minutes. Throughput is 238 tokens per second and time to first token is 13.66 seconds.

Those figures come from the Artificial Analysis page and should be read as a listing, not a contract. The same page lists Alibaba Cloud as an available provider while chart legends further down still read "no publicly available API", and Qwen's blog publishes no rate at all. The per-task cost, the time per task and the verbosity number are the parts that hold up; the per-token price is the part to re-check before you budget against it.

A screenshot of the Artificial Analysis page for Qwen4 35B A3B showing Intelligence Index 25, 13.66 seconds time to first answer token, 238 tokens per second, 14.3 minutes and $0.55 per index task, $0.06 input and $0.36 output per million tokens, a 95% cache discount, 175M output tokens and a 984k context window.

The 18 GB claim, unpacked

Unsloth's documentation is more precise than its social post, and the precision is the useful part. The 18 GB figure is the 3-bit build, UD-IQ3_XXS, "with a short context". The full ladder, as published:

• 1-bit — 10–11 GB. 2-bit — 12–16 GB. 3-bit — 17–19 GB. 4-bit — 21–25 GB. 5-bit — 26–28 GB. 6-bit — 29–31 GB. 8-bit — 41 GB.

Two things make those numbers smaller than the parameter count implies. The first is the engram: about 30% of a 4-bit quant is the n-gram table, and Unsloth ships it as a separate file that llama.cpp can read from SSD on demand. The 3-bit weights file is 17.21 GB and its companion engram shard is 11.52 GB — which is how 28.7 GB of files becomes roughly 18 GB of resident memory. Unsloth's own prose rounds that table up to "20GB engram on SSD"; either way, it is the part that is not in RAM. The llama.cpp incantation is --load-mode mmap --lazy-mode on -ot per_layer_token_embd=CPU. You can also swap the table for a smaller or larger one to trade accuracy against memory.

The second is the quantisation itself. A 3-bit build of a model whose benchmark chart was produced in BF16 is not the same model, and nobody has published a Qwen4-35B-A3B quality curve against bit-width yet. Unsloth's MLX release does give one calibration point, just not at 3-bit: the 4-bit MLX build reports a mean KLD of 0.0432 against BF16, top-1 agreement of 92.80%, and a perplexity penalty of +3.94%. That is a respectable 4-bit result. It says nothing about what 3-bit costs you.

A screenshot of Unsloth's Qwen4 local-run guide showing the memory requirement table from 1-bit at 10 to 11 GB through 3-bit at 17 to 19 GB and 8-bit at 41 GB, the recommendation to use 3-bit UD-IQ3_XXS for 18 GB of total memory with a short context, and a note that 3-bit GGUFs run on 18GB RAM with the engram on SSD.

The MLX build is not the 16 GB story

There is an MLX 4-bit release, and it is the right choice for an Apple Silicon machine with enough unified memory — but it is not a way to run this on a 16 GB Mac. The MLX 4-bit repository is 34.0 GB. It is also text-only: no vision encoder and no MTP head, so the multimodal claim in the model name does not survive that conversion.

On a MacBook Pro with an M5 Max and 128 GB, Unsloth measured 75 tokens per second decode at a 512-token prompt with 35.0 GB peak memory, rising to 3,977 tokens per second prefill at 4,096 tokens. On the same hardware, the 3-bit GGUF path is the one that fits in 18 GB, and it is CPU-and-SSD-bound rather than GPU-bound. A 16 GB machine should be looking at 2-bit, which is 12–16 GB and a further step down in quality.

A personal agent that never leaves the machine

The reason this model is interesting beyond benchmarks is that it is good enough, and small enough, to be the thing that handles the material you would rather not upload. A 1M-token window covers a year of notes, a repository, or a folder of scanned statements in one pass, and the vision encoder means those statements do not need OCR first. Run it against a local tool-calling loop and the prompts, the documents and the outputs stay on the device.

The honest caveat is that agentic work is where quantisation hurts most. Tool calling depends on exact formatting and long chains of small decisions; a 3-bit model that writes a beautiful summary can still emit a malformed function call. If that is the job, 4-bit at 21–25 GB is the floor, not 3-bit at 18 GB. Unsloth's MTP speculative decoding helps throughput — about 1.28× on an RTX 5090 at n-max 1, with draft acceptance around 0.89 — but it does not repair a bad token.

Where it still loses

The vendor chart is a twelve-panel split, not a sweep. Against Qwen3.8-Flash-Next, Qwen4-35B-A3B wins six panels and loses six. The losses cluster exactly where a local agent would feel them: FrontierCode-AA 2.0 at 16.1 against 27.1, Terminal Bench 4.1 at 21.2 against 24.2, APEX Agents at 59.0 against 61.0, and AA-Briefcase at 1,486 Elo against 1,567. It does win DeepSWE at 61.8 against 58.7, NL2Repo at 51.7 against 48.1, HealthBench Professional at 47.4 against 34.8, and AutomationBench-AA at 57.9 against 55.9.

Read the sourcing carefully, because the chart mixes owners. Four of the twelve panels — Terminal Bench 4.1, FrontierCode-AA 2.0, AA-Briefcase v1.1 and AutomationBench-AA — are cited by Qwen from Artificial Analysis. APEX Agents comes from Mercor's leaderboard. Work360 is Qwen's own built-in evaluation. Everything on that chart is vendor-selected, and the four independently-run panels are the ones to weight most.

Who should download it

If you have 24 GB of unified memory or a 16–24 GB GPU, take the 4-bit build and treat it as a capable local assistant with vision and a very long window. If you have 18 GB, the 3-bit build is real, but it is a short-context, chat-and-summarise configuration — not the agent the launch post describes. If you have 16 GB, you are in 2-bit territory and should ask whether a smaller model would serve you better.

And if the quantisation trade-off is the part you do not want to manage, Qwen4-35B-A3B is not on our catalogue yet. What we do route is the rest of the family: Qwen3.6-35B-A3B at $0.248 in and $1.485 out per million tokens, and Qwen4 Max at $1.50 and $4.50 with the same 1M-token window — one key, provider list price passed through at 0% markup, and automatic failover if a provider degrades. That is the honest division of labour: the laptop build for private material, a hosted sibling when the task has to be right.

The download is worth it. Just go in knowing that "18 GB" is a quantisation decision, an SSD, and a context limit wearing the same number, and that the model you get at 3-bit is a different proposition from the one that scored 25.