Qwen4-35B-A3B surfaced in two withdrawn pull requests. No weights leaked.
Update, 5 December 2026. Alibaba has since released Qwen4-35B-A3B with open weights. Our first measurements of the released model are in Qwen4-35B-A3B at 8-bit on Tesla V100s. We left the article below as written on 1 December.
Posts on 30 November and 1 December said Alibaba's Qwen4 had leaked on GitHub. We read the public record on 1 December 2026. What surfaced was code: two pull requests that named an unreleased checkpoint, Qwen4-35B-A3B, and included part of its configuration. Both withdrawals came within two hours. We found no evidence that weights were ever downloadable, and we did not look for copies.
Nothing in this article is a measurement of Qwen4. The figures are either read from public code, published by a vendor, or arithmetic that we show.
What happened
- 14:47 UTC, 30 November. An AMD engineer opened pull request 227 in
sgl-project/sgl-amd-mono, a repository of AMD-specific kernels for the SGLang inference server. Its first title named Qwen4-35B-A3B and claimed a speed gain on AMD's MI355X accelerator. - 15:22 UTC. The same author opened pull request 8940 in
ROCm/aiter, AMD's kernel library. Its title described the model as having 257 experts with nine used per token, counting a shared expert. - 15:28 UTC. The first outside comment appeared on the first pull request.
- 16:31 UTC. Both pull requests were closed. Within twenty minutes both were renamed "Withdrawn" and locked, and their branches were deleted.
GitHub's own timeline records these events. The pull request pages no longer open. The commits were still reachable by their identifiers when we checked.
The code read a BF16 checkpoint on AMD hardware, so weights exist inside the companies involved. That is different from a public leak.
What the configuration shows
A comment in the code says its settings come from the text configuration of a checkpoint named Qwen/Qwen4-35B-A3B-1118. We read the following in the code.
| Setting | Qwen4-35B-A3B, from the withdrawn code | Qwen3.6-35B-A3B, released April 2026 | Qwen3.8-Flash-Next, released August 2026 |
|---|---|---|---|
| Layers | 40 | 40 | 48 |
| Hidden size | 2,048 | 2,048 | 2,560 |
| Experts, used per token | 256, 8, plus one shared | 256, 8, plus one shared | 512, 10 |
| Expert width | 512 | 512 | 640 |
| Layer pattern | 3 linear-attention layers, then 1 sparse-attention layer | not compared here | the same family |
| Hyper-connections | yes, 4 streams | no | yes |
| N-gram embedding table | yes, 3-grams, on one layer | no | yes |
| Draft head for speculative decoding | yes | not compared here | yes |
| Context the checkpoint allows | 1,048,576, per a code comment | 262,144 | 262,144 |
The backbone has the dimensions of Qwen3.6-35B-A3B. To it the configuration adds the parts that Qwen3.8-Flash-Next introduced. Alibaba's model card for Flash-Next calls that model a preview of the Qwen4 architecture.
The text configuration is nested inside a larger one, which points to a model that also takes images.
What the code does not show
- Quality. There are no benchmark scores. The only numbers are AMD's throughput figures for its own kernels on one MI355X: 494 output tokens per second with one request and 1,008 with four.
- Size. "35B" and "A3B" come from the name. The code states no parameter counts.
- The n-gram table's size. The configuration gives its shape, not its row count.
- Licence and date. Neither appears. We read the "1118" in the checkpoint name as a date, 18 November. That is a guess.
- A served 1M-token context. The comment says the checkpoint allows 1,048,576 tokens. The kernels in the same code support 294,912, and the test server ran at 262,144.
Claims that do not hold
- "Leaked weights." Nothing in either pull request is a weights file.
- "1M context, from the leak." Most posts took this figure from elsewhere: a change to Qwen's coding client on 28 October that assumes a 1M-token window for any model whose name starts with
qwen4. That is a client default. - "256 experts, 8 active" as news. It is true, and it is also the layout of the model released in April.
What Alibaba has said
Qwen4-Max has been a hosted model since 16 November. Alibaba has said smaller Qwen4 models will be released with open weights. We found no official statement that names a size, a date or a licence. No repository named Qwen4 was public on Hugging Face or on Qwen's GitHub organisation when we checked.
First impressions
It looks like a small step in shape and a larger one in design. The dimensions are those of the April model. The changes are the ones we already run in Flash-Next: the n-gram table, hyper-connections, sparse attention on a quarter of the layers and a draft head.
Engine support is closer to ready than usual. llama.cpp already loads the qwen4exp architecture and reads these settings from the model file. A 40-layer model with one n-gram layer is within what its loader accepts. If the release uses a different architecture name, the converter will need a small change.
The n-gram table is the part to plan for. On Flash-Next we found that the table, not the GPUs, caused the largest avoidable stalls when it sat on slow disks. This table's size is unknown. You will again need to decide where to put it.
The memory arithmetic looks modest. These are estimates from the name and are not measurements.
| Item | Arithmetic | Result |
|---|---|---|
| Weights at about 4.85 bits per parameter | 35 × 10⁹ × 4.85 ÷ 8 | about 21 GB |
| Weights at about 8.5 bits per parameter | 35 × 10⁹ × 8.5 ÷ 8 | about 37 GB |
| Attention cache per token, 16-bit | 10 layers × 2 heads × 256 × 2 × 2 bytes | 20 KiB |
| Attention cache at 262,144 tokens | 20 KiB × 262,144 | about 5 GiB |
| Attention cache at 1,048,576 tokens | 20 KiB × 1,048,576 | about 20 GiB |
The n-gram table comes on top. Only ten of the forty layers keep an attention cache, which is why a long context costs less here than in an ordinary transformer of this size.
If it is served, a 1M-token window would be the real news. The April model's card gives 262,144 tokens. A checkpoint that allows four times that at this size would change what fits on one or two consumer cards. The code is not enough to say it will be offered that way.
What we will do
When weights are published we will run the model on three Tesla V100s and report measured speed and accuracy. Until then, treat anything quoted as a Qwen4-35B-A3B benchmark as unsourced.