AI News

Qwen4-35B-A3B: Open-Weight, Apache 2.0, 1M Context — But "Runs on a Laptop" Hides 56 Billion Parameters

By Asad Ali ·

15 min read

Cover image for the Qwen4-35B-A3B article: an open-weight Apache 2.0 model with a 1M-token context window, and the laptop claim put to the test.

Qwen4-35B-A3B is real, open-weight, and genuinely important: Alibaba's Qwen team put a frontier-class multimodal model on Hugging Face on 3 December 2026 under Apache 2.0, with a 1M-token context window, native text, image and video input, and day-0 support in llama.cpp, vLLM, SGLang and MLX. It is also not the "runs on a laptop" model the headlines suggest — not as released. The full weights are about 114 GB, the name "35B" hides roughly 56 billion stored parameters, and the laptop story only works through a 4-bit build that still needs about 35 GB of disk and 24 GB of RAM.

Read this first — three corrections to the viral version of this story.
1. "Runs on a laptop" is hype — with a true core. The full BF16 weights are about 114 GB. A 4-bit GGUF build does run on a well-specced laptop: one independent test measured 35.2 GB on disk, 23.7 GB of RAM held, and 65–72 tokens per second on an Apple M4 Max — a 64 GB machine, not any laptop.
2. "35B" is the headline, not the total. The model stores roughly 56 billion parameters: about 35B of main weights plus a 20.5B n-gram embedding table, with a separate 2B multi-token-prediction head. Only about 3.8B parameters are active per token — that is the efficiency story, and it is real, but the download is a 56B model.
3. The licence is the real news. Apache 2.0 with no additional acceptable-use terms attached. Compare MiniMax M4, released the same week as an "open-weight flagship" — its weights were not downloadable at all as of 4 December, with MiniMax promising them "within the next few weeks" after safety evaluations.

What Qwen4-35B-A3B actually is

Qwen4-35B-A3B is the first open-weight model in Alibaba's Qwen4 generation. The weights landed on Hugging Face on 3 December 2026 (the repository was created at 02:45 UTC that day), the Hugging Face blog post followed on 4 December, and the release hit the top of Hacker News the same day with 1,024 points. By 6 December the main repository had passed 100,000 downloads and the GGUF repository had passed 1.1 million.

The model is a natively multimodal mixture-of-experts (MoE) design. It takes text, image and video as input and produces text, with a native 1M-token context window. It is the production form of the hybrid architecture previewed in Qwen3.8-Flash-Next: 256 routed experts, of which 8 are selected per token alongside one shared expert, with Gated DeltaNet linear-attention layers and a sparse-attention layer (Qwen Sparse Attention) that lets each token look back at individual tokens from anywhere in the context.

The most unusual piece sits in the second decoder layer: a per-layer n-gram embedding table (PLE) of about 20.5 billion parameters. Each token reads just 16 rows of that table, and the layer gates their contribution into the residual streams. The vision side uses a vision transformer reading images in 16×16 patches; for video it samples 2 frames per second.

Two practical features come with the release: adjustable reasoning effort in four levels — "xhigh", "high", "low" and "off", defaulting to high — and a multi-token prediction (MTP) draft head for speculative decoding, worth a 22% speed increase on an Apple Silicon M5 with the 4-bit quant. Tool calling is built in; checkpoints ship in BF16, FP8, OMLX and GGUF formats.

The numbers that matter

SpecificationQwen4-35B-A3BWhere it comes from
Main parameters~35BHugging Face blog, model card
Active parameters per token~3.8BHugging Face blog (the "A3B" in the name signals ~3B active)
N-gram embedding table (PLE)~20.5BHugging Face blog
Total stored parameters~56BHugging Face blog ("~56B total")
Multi-token prediction head~2B, shipped as a separate fileCommunity GGUF builds
Routed experts256, with 8 selected per token + 1 shared expertHugging Face blog
Context window1M tokens, nativeHugging Face blog
ModalitiesText, image and video in; text outHugging Face blog
LicenceApache 2.0Hugging Face model page
Released3 December 2026 (weights); blog 4 December 2026Hugging Face repository + blog
Day-0 supporttransformers, llama.cpp, Llama App, vLLM, SGLang, MLX, Inference Providers, Inference EndpointsHugging Face blog
CheckpointsBF16, FP8, OMLX, GGUF (Q4_K_M, Q6_K, Q8_0)Hugging Face blog

Two rows in that table do most of the work: the gap between 35B and 56B — the number on the box is not the number on the download — and the licence, Apache 2.0 with no extra terms attached.

What "35B" hides: the anatomy of 56 billion parameters

MoE models are named for the parameters they use, not the parameters they store — and Qwen4 pushes that distinction further than most. Here is how the roughly 56 billion stored parameters break down:

Stored vs active: what you download vs what runsMain weights (MoE experts)~35BN-gram embedding table (PLE)~20.5BMulti-token prediction head~2BActive per token (what actually computes)~3.8BSource: Hugging Face blog, "Welcome Qwen 4" (4 Dec 2026); MTP head size per community GGUF builds

The green bar is the efficiency story: each token activates only about 3.8 billion parameters — roughly 7% of what is stored. The blue bars are the cost: you still download, store and load all ~56 billion parameters, including a 20.5B n-gram table of 10 million rows that no single prompt ever fully touches.

That last fact is what makes the laptop story possible at all. llama.cpp memory-maps the table file, so the operating system only reads the pages a prompt actually touches. In the independent M4 Max test below, only about 0.3 GB of the 10.7 GB table was ever read into RAM. The table is why the download is huge and the memory need is not — but also why the model needs a fast SSD, and why "35B" is a misleading shorthand for the download.

Nothing here is deceptive on Alibaba's part — the Hugging Face blog states "~56B total" in its opening lines — but a reader who only sees the name will underestimate the download by about 60%.

The "runs on a laptop" claim, tested

The claim spread fast: a 35B model that runs on a laptop. The honest version is narrower, and one independent tester measured it properly. A dev.to write-up published 4 December 2026 downloaded two GGUF builds, compiled the llama.cpp release that added Qwen4 support, and benchmarked both on a single Apple M4 Max MacBook Pro (16 CPU cores, 64 GB unified memory, llama.cpp v1.1.1 built from source with Metal, every layer on the GPU, 16K context, greedy decoding, thinking off, 400 generated tokens per run, median of runs).

The 4-bit build (Unsloth UD-Q4_K_M) is a 35.2 GB download. It held 23.7 GB of memory while generating at 65.4 tokens per second sustained, and 71.8 from a cool start — so "65 to 72 tokens a second" is the measured range. The 3-bit build (UD-IQ3_XXS) is a 28.7 GB download, held 17.7 GB of memory, and was faster than the 4-bit build on the same machine. The draft head added about half a gigabyte when on, worth about 26% extra speed on code at a shallow setting.

A second community source, the AtomicChat GGUF repository on Hugging Face, reports a 24.23 GB file reaching 77.40 tokens per second on a physical M4 Max using its full 48 GiB of unified memory, and the same file managing 8.26 tokens per second on a 16-thread EPYC server CPU under an 8 GB Linux RAM limit. Two independent measurements, same conclusion: the model runs well on a strong laptop and slowly on a weak one.

BuildDownloadMemory held while runningSpeed (measured)Hardware
BF16 (full weights)~114 GB~114 GB+~330 tok/s (vLLM, single request)1× NVIDIA H200 141 GB (Hugging Face recipe)
FP8~57 GB~57 GB+Server-class1× NVIDIA H100 80 GB (AWS SageMaker recipe)
GGUF Q4_K_M (4-bit)35.2 GB23.7 GB65–72 tok/sApple M4 Max, 64 GB unified (independent test, 16K context)
GGUF 3-bit (UD-IQ3_XXS)28.7 GB17.7 GBFaster than the 4-bit build on the same machineApple M4 Max, 64 GB unified (independent test, 16K context)
GGUF 2-bit (AD-IQ2_XS)24.23 GB8–16 GB cap tested8.26 tok/s at 8 GB; 77.40 tok/s on M4 Max16-thread EPYC (8 GB cap) / M4 Max (AtomicChat measurements)

Read the table as a ladder, not a single claim. The full model is a datacentre GPU job — the Hugging Face vLLM recipe serves BF16 on one H200 with 141 GB of memory. The 4-bit build is a high-end laptop job: 35 GB of disk, about 24 GB of RAM, and a machine with 64 GB of unified memory. The 2-bit builds reach down to 8 GB of RAM, but at 8 tokens a second on a server CPU. "Runs on a laptop" is true for the 4-bit build on a strong laptop and false as a blanket statement.

The number to remember is two numbers, not one. Disk and memory differ for this model because the n-gram table stays mostly on the SSD. The 4-bit build needs 35.2 GB of disk and about 23.7 GB of memory; the 3-bit build needs 28.7 GB of disk and about 17.7 GB. Anyone quoting a single number is hiding the other one.

Why Apache 2.0 with no addendum is the real story

Open-weight releases increasingly come with strings: acceptable-use policies, extra licences, or weights that arrive weeks after the announcement. Qwen4-35B-A3B has none of that. It is licensed under Apache 2.0, and the weights were on Hugging Face the same week as the announcement, downloadable by anyone for commercial use, with no extra terms attached.

The contrast arrived the same week. MiniMax released M4 on 3 December 2026 — a 2.74-trillion-parameter MoE with 66B active per token and a 1M-token context, sold through its API at $0.80 per million input tokens and $3.10 per million output tokens — and called it a "New Open-Weight Flagship". But as of 4 December its weights were not downloadable anywhere; MiniMax said it would open-source them after safety evaluations and hoped "to complete this within the next few weeks", with no licence disclosed yet. An open-weight model you cannot download is a press release, not a release.

Qwen4-Max makes the same point from Alibaba's own side: the larger Qwen4 flagship, listed on Alibaba's API on 16 November 2026, still had no public weights 18 days later. Qwen4-35B-A3B is the first — and so far only — Qwen4 you can actually download. That is the story: not that it is the biggest or the smartest model of the week, but that it is the one you can run. And the licence matters in a concrete way for builders: Apache 2.0 means you can fine-tune it, distil it, ship it inside a product, and serve it commercially without asking permission or paying a fee — which is also why the ecosystem moved so fast, with day-0 support everywhere, because anyone could grab the weights and build on them immediately.

How to run it

For a laptop, llama.cpp is the path: the GGUF repository ships Q4_K_M, Q6_K and Q8_0 quants, and the launch commands are llama serve -hf ggml-org/Qwen4-35B-A3B-GGUF:Q6_K for serving or llama cli with the same model flag for a chat. Multi-token prediction speculative decoding works out of the box with the --spec-type draft-mtp flag. On Apple Silicon, MLX runs it through oMLX with custom Metal kernels and PLE offloading to SSD.

For a server, vLLM and SGLang both ship dedicated qwen4 images. The Hugging Face recipes serve the BF16 checkpoint on a single NVIDIA H200 with 141 GB, with MTP speculative decoding, tool calling and reasoning enabled: about 330 tokens per second for a single request and about 2,660 output tokens per second across 64 concurrent requests on vLLM, and about 260 and 2,180 respectively on SGLang. Both expose an OpenAI-compatible API.

For transformers users, the quickest path is the any-to-any pipeline with model Qwen/Qwen4-35B-A3B and processor huggingface/Qwen4-35B-A3B-processor, or the auto classes AutoModelForMultimodalLM and AutoProcessor with device_map="auto". Reasoning effort is a parameter, not a separate model: pass reasoning_effort as "xhigh", "high", "low" or "off".

What it can actually do

Benchmarks are the Qwen team's own, so read them as the vendor's case. On the "Eight Frontier List" benchmarks the Hugging Face blog reproduces, Qwen4-35B-A3B is comparable to the much larger Qwen 3.8 Flash Next, and better on some tasks — a model activating ~3.8B parameters per token competing with a far larger one.

The 1M-token context is the feature with the most practical impact: roughly a whole codebase or a long legal file held in view at once, against the 128K–256K windows that were standard a year ago. Native video and image input come in the same window. Tool calling is supported in the serving stacks, and the launch demos show the model driving a coding agent and building a slide deck.

For local use, the most telling number is not a benchmark but a download count: the GGUF repository passed 1.1 million downloads within days of release. The ecosystem is already treating it as the default mid-size open model of the month.

The honest limits

First, the download: about 114 GB for full weights, 35 GB for the practical 4-bit build, and no way around the n-gram table — a fifth of the model, included in every quant. Second, the context: 1M tokens is native, but the KV cache for a million tokens is enormous, and the hardware table above is measured at 16K context. Third, the benchmarks are the vendor's own; independent evaluations had only days to run, and the model is days old with no track record on long, messy, real-world tasks.

Fourth, the licence cuts both ways. Apache 2.0 with no acceptable-use terms means anyone can use it for anything — including uses the Qwen team would not endorse. That is the price of a genuinely open release. Fifth, this is a model with a chat template and reasoning controls, not a finished product: some tooling is still landing (MLX text support was on its way at launch, some quantisation routes are community-maintained), so early adopters should expect rough edges.

Who should try it — and who should skip it

Try Qwen4-35B-A3B if you have a machine with 32 GB of RAM or more: the 4-bit GGUF on a 64 GB Mac, or a 24 GB GPU like an RTX 4090, gives you a genuinely capable local model with a million-token window. Try it if you build agents and want an Apache-2.0 model you can ship commercially, or if you need long-context work on private documents. The GGUF route is the fastest way in.

Skip it if your machine has 16 GB of RAM or less — the 2-bit builds technically run at 8 GB, but at 8 tokens a second you will not enjoy it — or if you need the full BF16 model without a datacentre GPU. The 4-bit build is the sane default. And if you need a model with guardrails baked into its licence, this is not it: Apache 2.0 means the responsibility for how it is used sits with you.

Bottom line: Qwen4-35B-A3B is the open-weight release of the week that actually is one — Apache 2.0, weights downloadable on day one, 1M context, native text/image/video, day-0 support everywhere that matters. The "runs on a laptop" headline needs its footnote: 35 GB on disk and about 24 GB of RAM for the 4-bit build, 65–72 tokens a second on an M4 Max, about 114 GB for the full weights. Download the 4-bit build, not the hype.

Frequently asked questions

Is Qwen4-35B-A3B really 35 billion parameters?

It is 35 billion main parameters — and about 56 billion stored in total. The extra ~20.5B is a per-layer n-gram embedding table, plus a separate ~2B multi-token-prediction head. Only about 3.8B parameters are active per token, which is why it runs fast, but the download is a 56B model.

Can Qwen4-35B-A3B run on a laptop?

Yes, in its 4-bit GGUF form, on a strong laptop. One independent test measured a 35.2 GB download, 23.7 GB of memory held, and 65–72 tokens per second on an Apple M4 Max with 64 GB of unified memory. A 3-bit build needs 28.7 GB of disk and about 17.7 GB of memory and ran faster on the same machine. A 16 GB laptop will struggle; the full BF16 weights need about 114 GB and a datacentre GPU.

What licence is Qwen4-35B-A3B under?

Apache 2.0, with no additional acceptable-use terms attached. You can use it commercially, fine-tune it and ship it in products — unlike same-week releases like MiniMax M4, whose weights were not downloadable at all as of 4 December 2026.

What is the context window?

1M tokens, native — text, image and video inputs in the same window. Note that a million-token context needs far more memory for the KV cache than the 16K-context figures in most laptop tests.

How do I run Qwen4-35B-A3B with llama.cpp?

Use the GGUF repository: llama serve -hf ggml-org/Qwen4-35B-A3B-GGUF:Q6_K serves it, or llama cli with the same flag for a chat. Q4_K_M, Q6_K and Q8_0 quants are available, with MTP speculative decoding via --spec-type draft-mtp.

Is Qwen4-35B-A3B better than Qwen3?

On the Qwen team's own published benchmarks, it is comparable to the much larger Qwen 3.8 Flash Next, and better on some tasks. Those are vendor numbers, but the direction is clear: a model activating ~3.8B parameters per token competing with a far larger one.

Where can I download Qwen4-35B-A3B?

From Hugging Face: the main repository is Qwen/Qwen4-35B-A3B (BF16, FP8, OMLX) and the llama.cpp builds are at ggml-org/Qwen4-35B-A3B-GGUF. Both were live from 3–4 December 2026.

Sources: Hugging Face blog, "Welcome Qwen 4: Cutting-edge intelligence on-device" — huggingface.co/blog/qwen4 (published 4 Dec 2026); model page — huggingface.co/Qwen/Qwen4-35B-A3B (Apache 2.0; repository created 3 Dec 2026); GGUF repository — huggingface.co/ggml-org/Qwen4-35B-A3B-GGUF; M4 Max measurements — dev.to, "Qwen4-35B-A3B on a Mac: A 35 GB Local LLM That Keeps 24 GB in RAM and Runs at 65 to 72 Tokens a Second" (4 Dec 2026, independent test); MiniMax M4 weights status — MiniMax release notes via Dec 4 coverage (weights "within the next few weeks", no licence disclosed); related reading — Amazon Ergo: Open-Weights Model and Weights as Code.

Category: AI News

Tags: technology · open-source

About Asad Ali

Asad Ali is a website developer and SEO expert specialising in local SEO, and the founder of Asad Webs. He has over 20 years of experience — he began in graphics design in 2003 — and he builds the free online tools on this site, develops websites for clients, and writes the guides published here.

LinkedIn Facebook Website
KEEP READING

Next guide

Cheip OS: A Rust Linux OS Brings the Nokia Lumia 735 Back to Life — But It Can't Make Calls Yet →

Related articles

Join the conversation

No account needed. Comments appear only after approval. Your email address will not be published.

Be the first to share a useful question or thought.

You won’t be subscribed to any mailing list.
WELCOME BACK

Sign in

Access your orders, saved products and account.