Three and a half weeks ago I wrote a post about a model that was not real yet. The local AI scene was buzzing about a rumored Qwen 4 27B: no weights, no model card, a test endpoint that changed daily, and a conference slide naming four models that were “coming soon.” I told you not to buy a graphics card for it and to wait for the real thing. Today the real thing arrived, and it is not the model we were watching.
Alibaba released Qwen4-35B-A3B today. The weights are on Hugging Face and ModelScope under Apache 2.0, the announcement post from the official Qwen account already has about 2.7 million views, and the API is live on Qwen Cloud. Hugging Face shipped day-0 support the same day: transformers, llama.cpp, vLLM, SGLang and MLX all run it as of this morning.
Alibaba’s own launch post is short, and every line of it is worth reading. In their words: “A native multimodal MoE model (35B total, 3B activated), 1M-token native context. Outperforms dense Qwen3.8-27B, and matches Qwen3.8-Flash-Next at ~1/3 the size.” Then the part that matters for anyone who runs models locally: “Runs on a single GPU when quantized.”
I pulled apart the model card, the config file, the launch tweet, the Hugging Face launch post and the Ollama listing so you do not have to. Here is what actually shipped, what the numbers say, and where I was wrong in my own post.
The name is the spec sheet
Qwen4 is the family. 35B is the size of the main transformer. A3B means “active 3B”: this is a mixture-of-experts model, and only about 3 billion of those parameters do any work on any given token. Alibaba’s tweet says 3B activated; Hugging Face’s launch post counts about 3.8B. Either way, the compute per token is small-model compute.
Here is the part the name hides, and it is the most interesting thing about this release. The main transformer is not the whole file. The model card lists 35B parameters plus a 20B n-gram embedding table plus a 2B multi-token prediction head. Hugging Face puts the total at roughly 56B on disk. So when you download the 4-bit file tonight, you are pulling about 37 GB, not the 16 to 17 GB I predicted three weeks ago. More on that miss below, because it changes who can run this on what.
What actually shipped
The full anatomy, straight from the model card and config:
- 40 layers, 2,048 hidden width. The layer pattern repeats ten times: three layers of linear attention (Gated DeltaNet), then one layer of full attention, each followed by a mixture-of-experts block.
- 256 experts per MoE layer, 9 active per token. Eight routed experts plus one shared expert that every token uses.
- A 10-million-row n-gram embedding table. This is the ~20B in per-layer embeddings. Every token looks up sixteen rows: eight that encode the last two tokens, eight that encode the last three. It is stored memory the model reads instead of recomputing, which is how it buys quality without buying compute.
- A native 1,048,576-token context window. Not a stretched setting. It is what the architecture is built for.
- Native multimodal input. Text, images and video go in, text comes out. A vision transformer encodes images in 16-by-16 patches, and video is sampled at 2 frames per second.
- A one-layer multi-token prediction head. It drafts the next tokens for speculative decoding, which is how llama.cpp gets a free speed boost (more below).
The license is the headline: Apache 2.0. Use it commercially, modify it, ship it in a product, no community-license fine print. That is the most permissive license in the model world, and it is attached to a model that the benchmarks say is in the same class as far bigger ones.
The architecture, in plain English
Three ideas do all the work here, and none of them are new in principle. What is new is how aggressively Alibaba combined them.
Linear attention for the everyday layers. Three of every four layers use Gated DeltaNet, which keeps a fixed-size running memory instead of a growing key-value cache. Reading token 500,000 costs the same as reading token 500. This is why the 1M context does not eat your GPU memory the way a standard transformer would.
Sparse attention for the one-in-four full layers. A small indexer groups tokens in fours and scores the groups. For each new token it picks up to 512 groups, which works out to about 2,048 tokens of true full attention, no matter how long the context gets. The model can always look back at a specific fact in a 1M-token document; it just never looks at all of it at once.
Memory instead of math. That 20B n-gram table is the unusual one. Big research labs have been circling this idea for a while: store common patterns as embeddings and look them up. Here it sits in layer 2, gated into four separate residual streams that the model mixes with learned weights before every block. More parameters on disk, almost no extra compute at runtime.
If that sounds like a lot of machinery for “3B active,” it is. The efficiency is real, but it is not magic: the file is big, the architecture needs updated inference engines, and the quality gains from the embedding table are exactly the kind of thing that only shows up on your own workload. Which brings us to the benchmarks.
The benchmark chart, read honestly
The model card ships one chart comparing four models across twelve benchmarks: Qwen4-35B-A3B, Qwen3.8-Flash-Next, the dense Qwen3.8-27B, and Inkling2 Mini. Some scores come from Artificial Analysis, some from the Mercor leaderboard, and the professional-work ones come from Alibaba’s own internal benchmark, so take the whole grid with the usual grain of salt. That said, here is the chart, with the three Qwen models:
| Benchmark | Qwen4-35B-A3B | Qwen3.8-Flash-Next | Qwen3.8-27B |
|---|---|---|---|
| DeepSWE v1.1 (software engineering) | 61.8 | 58.7 | 42.2 |
| Terminal Bench 4.1 | 21.2 | 24.2 | 5.6 |
| FrontierCode-AA 2.0 | 16.1 | 27.1 | 14.9 |
| NL2Repo (repository development) | 51.7 | 48.1 | 42.3 |
| Work360 (professional work) | 42.9 | 43.7 | 37.1 |
| APEX Agents v1.1 | 59.0 | 61.0 | 47.5 |
| AA-Briefcase v1.1 (Elo) | 1486 | 1567 | 1391 |
| AutomationBench-AA | 57.9 | 55.9 | 48.2 |
| HealthBench Professional | 47.4 | 34.8 | 29.8 |
| GPQA (graduate reasoning) | 86.9 | 91.7 | 89.2 |
| Chartography (chart understanding) | 27.8 | 24.6 | 27.8 |
| VideoIndex (video understanding) | 52.9 | 51.4 | 51.9 |
The honest reading has three parts. Against the dense Qwen3.8-27B it wins eleven of twelve and ties one, and on the agentic benchmarks it is not close: Terminal Bench goes from 5.6 to 21.2. Against Qwen3.8-Flash-Next it is a genuine tie: six wins, six losses. Alibaba’s claim of “matches Flash-Next” is defensible on this chart. “Beats Flash-Next” is not what the chart says, and you should be suspicious of any launch post that implies it.
Where Qwen4 wins, it wins in the directions this release is aimed at: real repository work, task automation, professional workflows, healthcare reasoning, charts and video. Where Flash-Next wins, it wins on pure coding and pure reasoning benchmarks. If your workload is agent-shaped, this chart is the good-news one.
“Matches Flash-Next at 1/3 the size” needs a footnote
Flash-Next is the model I spent most of my last post on: Alibaba’s August preview of the Qwen4 architecture, a mixture-of-experts model somewhere around 125B total with about 6B active per token. The claim is that the new 35B model does the same work for about a third of the compute per token. On the chart above, that holds.
But size is doing quiet work in that sentence. The compute per token is small: about 3B active parameters. The file is not: 56B parameters of weights on disk, because of the embedding table. Flash-Next is licensed under the terms-of-the-month Qwen Community License. Qwen4-35B-A3B is Apache 2.0. For anyone building a product on open weights, the license change is arguably the bigger story than the benchmark chart.
What you can run it on tonight
This is a day-0 release in the true sense: every major local engine supports it this morning.
- Ollama. The qwen4 library page is live with seven tags. The default pulls 36 to 37 GB, advertises a 1M context window and text plus image input. There are Q4, Q6 and Q8_0 GGUF builds, plus a 114 GB bf16 if you have the hardware. Ollama can even point Claude Code, OpenCode, Hermes Agent or OpenClaw at it with one command.
- llama.cpp. The ggml-org repo carries Q4_K_M, Q6_K and Q8_0. The launch post’s one-liner: llama serve -hf ggml-org/Qwen4-35B-A3B-GGUF:Q6_K. Better yet, turn on the model’s own MTP head as a speculative drafter: Hugging Face measured a 22% generation speed increase on an Apple Silicon M5 with three draft tokens. Free speed, shipped inside the model.
- Apple Silicon via MLX. oMLX has custom Metal kernels for the sparse attention and the gated residual, supports image input and MTP, and can offload the 20B embedding table to SSD. If you are on a 32 or 48 GB Mac, this is the most interesting way to run it.
- Servers. vLLM and SGLang have day-0 support, with an FP8 checkpoint for production serving. The reference cloud recipe runs FP8 on a single H100.
- Managed API. Qwen Cloud serves it as qwen4-35b-a3b with built-in tools, if you would rather not own the hardware at all.
Now, “runs on a single GPU when quantized.” True, with an asterisk. The Q4_K_M file is about 37 GB. A 48 GB card runs it comfortably. A 24 GB card cannot hold Q4 in full, so you are choosing between a smaller quant, offloading the embedding table to system RAM or SSD, or a serving engine that splits it across two cards. Do not buy hardware today. Run it on whatever you have, find out where it actually chokes, and only then shop.
Three corrections to my own post
I said I would synthesize, not speculate, and the honest way to do that is to grade my own homework.
1. The name was wrong. My last post analyzed a rumored “Qwen 4 27B” as a dense model with a 5,120-wide transformer, based on leaked kernel code. What shipped is a 2,048-wide MoE with a completely different skeleton. The dense 27B from that conference slide never appeared. The model card says the open Qwen4 series is “on its way,” plural, so I assume more is coming. I just would not have bet on this shape.
2. My file-size prediction was off by more than 2x. I predicted 16 to 17 GB at 4-bit, on the theory that the new model would fit the same card as the current 27B. The 4-bit file is 37 GB. The main transformer is narrower than I predicted, but the 20B embedding table is a thing I could not have known about, and it doubles the footprint. Lesson stands, numbers were wrong: still do not buy a GPU for a model nobody has measured.
3. The reasoning settings changed, and for the better. The current Qwen 3.8 models default to the most expensive thinking setting. Qwen4-35B-A3B exposes four levels, off, low, high and xhigh, and the default is high, not xhigh. If you take one practical thing from this post: on day one, your first speed win is not in the model. It is in setting the reasoning level on purpose. Alibaba’s recommended sampling for non-thinking mode is temperature 0.7, top-p 0.80, top-k 20, presence penalty 1.5. Worth writing into whatever config file you already keep for local models.
How to try it in the next hour
If you want to be running it before dinner, the shortest paths are:
- Easiest: install or update Ollama and run ollama run qwen4. Expect a 36 to 37 GB download the first time. If the context window comes up small, raise it: the model was built for a million tokens, and Ollama’s default context for small cards will silently give you a fraction of that.
- Fastest on a Mac: llama.cpp with the Q4_K_M GGUF and the MTP speculative flag (--spec-type draft-mtp --spec-draft-n-max 3). That is the configuration Hugging Face measured the 22% speed lift on.
- For a real workload test: take the one task you run every week, a document you actually need summarized, a repo you actually need to touch, and time it end to end against whatever you run today. Not tokens per second. End to end. That number is the only fair judge, and it is the test I am running myself this week.
One more setup note if you go the video route: the released video preprocessor is deliberately conservative. The model card recommends raising the longest-edge setting to allow 224k video tokens if you want hour-scale video understanding, and vLLM can sample frames at a custom rate. Out of the box you get 2 frames per second, which is fine for short clips.
What I am watching next
Three things, in order of how much I expect them to matter.
Token efficiency on real work. Alibaba claims the model finishes tasks in fewer rounds with more concise thinking. Every claim of that kind so far has come from Alibaba’s own benchmarks or from the Qoder test endpoint that was a moving target in October. I want independent numbers on someone else’s workload before I believe it, and I will update this post when they exist.
Whether the agentic scores survive contact. The agent benchmarks in the chart are the ones that make this release interesting, and half of them are vendor-run. Artificial Analysis and Mercor will re-score it in their own harnesses within days, and their numbers are the ones I will quote.
The rest of the series. The conference slide from October named four Qwen 4 models: Max, Plus, Flash and 27B. We have Max (the flagship, already out) and now this 35B A3B on the open-weights side. The card says the open series is “on its way.” If the pattern holds, the next one is the model that tells us whether this architecture scales down gracefully or whether 35B is where the magic stops.
Here is the short version. Today Alibaba shipped the most permissive license attached to a genuinely efficient model: a mixture-of-experts that thinks like a 3B model, reads like a 1M-token model, sees text, images and video, and runs on hardware a lot of people already own. The benchmark chart is a tie with a much bigger model and a rout for the dense one. The file is bigger than my prediction. The architecture is stranger than anything I wrote about three weeks ago. That is what a real release looks like: better than the rumor, with asterisks the rumor never had.
Permalink