Qwen4: 35B-A3B, 27B and 4B Before the Announcement
What the merge requests revealed: 1M context, GDN+QSA, PLE and MTP — and why 16 GB still is not a gift.
Qwen4-Max is already served through an API: 2.4 trillion parameters, a million-token context, $1.50 per million input tokens and $4.50 per million output. That has nothing to do with local inference — the flagship lives in someone else’s data centre. More interesting is what surfaced in AMD and Intel repositories two weeks before the end of November: three smaller model classes, 35B-A3B, 27B and 4B.
There is no official release review yet: the smaller Qwen4 models exist only in leaks. There are no model cards, licences or dates, so everything below is marked by confidence.
What is confirmed
Qwen4-Max shipped on 16 November 2026. Alibaba called it a 2.4-trillion-parameter MoE with a native 1M context and promised to open the weights of “smaller Qwen4 models” — without dates or a list.
The second confirmed fact matters more here: Qwen3.8-Flash-Next is an official preview of the architecture used in Qwen4. Qwen released it on 26 August with the wording that it “serves as an early preview of the architecture used in Qwen4”. It is a 125B-A6B MoE with 48 layers, a 51B-parameter n-gram table, a native 262,144-token context and extension to one million via YaRN.
The third fact comes from Qwen Code: on 28 October, a commit titled “size the qwen4 generation at 1M” landed in its repository. The tool now reserves a million tokens for Qwen4. That is a client setting, not proof that every model in the family was trained on a million.

PR #227 was deleted, but commit 2a72a84 is still in GitHub’s objects: it contains spec.py for qwen4_35b_a3b. This is not a model card. Source: OrcaRouter.
35B-A3B: the most detailed trace
At 14:47 UTC on 30 November, a pull request appeared in sgl-project/sgl-amd-mono: “[Feat] [MI355X] qwen4_35b_a3b: Run Qwen4-35B-A3B’s EAGLE verify steps in 11 persistent launches”. Two hours later it was renamed Withdrawn, the branch was deleted and comments were locked. GitHub deletes the branch, not the objects: nine commits and the spec.py file still resolved through the Git Data API.
The config says:
- hidden size 2,048, 40 layers, 16 attention heads, 2 KV heads, head dimension 256, partial rotary 0.25;
- 256 experts, top-8 routing, a 512-wide shared expert;
- attention pattern: three Gated DeltaNet layers, then one Qwen Sparse Attention layer, repeated ten times across 40 layers;
- QSA indexer: 4 heads of 128, 4-token blocks, a 2,048-token budget (512 blocks);
- a PLE layer at index 2: n-gram table, 8 heads per n-gram;
max_position_embeddings: 1,048,576;- 105 GB of BF16 weights, tensor parallelism 1 on MI355X.

The same analysis summarises it as 1M context, 40 layers, 256 experts and 105 GB of BF16. Source: OrcaRouter.
The internal name is Qwen/Qwen4-35B-A3B-1118, where 1118 looks like an internal checkpoint date, 18 November. The spec is blunt: “The whole model runs on one GPU (TP 1): 105 GB of BF16 weights.” It will not run on one V100 in any form short of aggressive quantisation, and the PR explicitly refuses quantised checkpoints: it needs the BF16 weights.
The important part: this is not a new architecture from scratch, but a second checkpoint in the qwen4_exp family, the same one Qwen3.8-Flash-Next uses. 35B-A3B is the familiar Qwen3.6 shape: 35 billion parameters, about 3 billion active per token. The difference is the context window and two retrieval mechanisms, QSA and PLE.
27B: a dense model for 24 GB
The second trace came from Intel: on 24 October, a kernel pull request in the vLLM XPU repository added operators for the string Qwen4-27B. Tensor shapes gave this profile:
- dense 27B, no MoE;
- hidden 5,120, FFN 14,336;
- 24 query heads, 4 KV heads;
- QSA sparse attention and n-gram lookup;
- 4 MTP draft tokens per step;
- an INT4 path and FP8 TP2 for one or two cards.
Weight estimates: BF16 around 54 GB, FP8 around 27 GB, INT4 around 13.5 GB. An RTX 3090 or 4090 with 24 GB can hold the INT4 weights; the remainder goes to KV, buffers and context. That does not mean a million tokens. On a 16 GB V100 the INT4 weights are already tight, and the harder question is not the file size but the KV format and QSA support in the engine.
4B: still a rumour
The fourth class appears in leak roundups as “Qwen4-4B Base” and is mentioned in sparse-attention tests. I found no config, no dimensions and no licence. For 16 GB this is the most interesting class, but it also has the least data. You cannot plan a purchase around it.
Why it matters locally
The leak describes three concrete things:
- Context. 1,048,576 positions in the config. This does not mean the model is equally good at a million tokens; it means the architecture and positional encoding are designed for that length.
- A small KV cache. Three of every four layers are Gated DeltaNet: history is compressed into a fixed-size state instead of growing a KV cache with every token. The fourth layer uses QSA, which keeps only selected blocks in attention: 512 blocks of 4 tokens, or 2,048 tokens. That changes the price of a long context.
- Weight memory. PLE and the n-gram table can live outside the main model, in RAM. In Flash-Next that table has 51 billion parameters; the 35B has its own PLE head. That is why “35B-A3B” sounds like a 16 GB model even though its BF16 checkpoint weighs 105 GB.
Here is the gap between “3B active” and “fits in 16 GB”. Active parameters define compute per token, not file size. 35B-A3B in BF16 does not fit even in 24 GB; even a 4-bit quant needs tens of gigabytes for weights alone, plus KV, buffers and PLE. 27B in INT4 looks more realistic for 24 GB, but a 16 GB V100 remains on the edge. 4B is the only class that might simply run.
What can go wrong
- This is a kernel PR, not a benchmark. It contains EAGLE steps, a config and a kernel plan. No quality number, no measurement on a real prompt.
- 1M is not free. QSA selects 2,048 tokens out of a million. It cuts attention cost, not the cost of storing and prefilling the context; nobody measured quality on the far end.
- Quantisation changes everything. 4-bit weights and a 4-bit KV cache are different things. Even if the weights fit, the engine must understand QSA, GDN and PLE. llama.cpp did not at the time of the leak.
- Names are not promises. “Qwen4-35B-A3B” is a name from someone else’s
spec.py. Qwen may ship it under another name, with another licence, or not at all.
What to do now
Do not buy a card for a leak. Test Qwen3.8-Flash-Next on your own bench: it is the only official model with this architecture and it is already available. Watch how GDN+QSA behaves at long context, what 262K and 1M really cost, and wait for official Qwen4-27B and 35B-A3B cards. For a 16 GB V100 the practical interest starts with 4B and with 27B in INT4 — but only after the engine supports it.
Sources
- Qwen4-Max, official announcement: https://qwen.ai/blog?id=qwen4-max
- Qwen4 tracker with dates and status: https://cellcog.ai/blog/qwen-4-release-date/
- Qwen4-35B-A3B leak analysis: https://www.orcarouter.ai/blog/qwen4-35b-a3b-leak
- Qwen4-27B analysis from the Intel kernel PR: https://kie.ai/blog/qwen4-27b-architecture-analysis
- Qwen3.8-Flash-Next, official architecture: https://qwen.ai/blog?id=qwen3.8-flash-next
- Model-class discussion: https://www.reddit.com/r/LocalLLaMA/comments/1y9fk0i/qwen44b_27b_and_35ba3b_spotted_across_multiple/