Hi everyone!
Qwen 4 is here. Not all of it: Qwen4-Max stays closed (API only since November 16), and Qwen4-27B, Flash and Plus have no date. But since yesterday, Qwen4-35B-A3B is on Hugging Face under Apache 2.0. It is the direct successor of Qwen3.5/3.6-35B-A3B, the fastest model on my market for the Olares One.
This morning I ran it on the One. Here is the first episode of a new saga.
What is inside
On paper the shape does not change: 40 layers, 256 experts with 8 active per token, 3 billion active parameters, one full-attention layer in four. What changes:
- A 20-billion-parameter n-gram table (Qwen calls it Engram). For the text’s bigrams and trigrams, the model looks up a vector in a huge table, at the second layer. It is memory, not compute: the table can stay on the SSD, and only the rows needed are read.
- An MTP head of 2 billion parameters, which proposes several tokens ahead that the model checks in one pass.
- 1 million tokens of native context, with sparse attention (an indexer picks what each layer reads again).
- Text, images and video as input.
If this rings a bell, it should: it is the architecture of Qwen3.8-Flash-Next, the 180B I have been running on the One since the Strata saga. Same family (qwen4exp), smaller.
Basalt almost had it already
Direct consequence: Basalt, the engine my fork anaelith comes from, already ran this architecture for Flash-Next. Its author opened a pull request last night for Qwen4-35B-A3B: converter, tokenizer, kernels at the right width, vision, video, MTP drafter.
I built it on the One, downloaded RadixArk’s NVFP4 checkpoint (its calibrated scales are closer to BF16 than a conversion from the official BF16) and converted it into a Basalt pack: 42.3 GiB, in 3 minutes. 23.1 GiB of it is the n-gram table, which stays on the SSD.
No official pack exists yet, so I published mine: aurel92/Qwen4-35B-A3B-Basalt. I will switch to the Basalt author’s pack when it comes out.
First bench on the Olares One
RTX 5090 Laptop (24 GB, 175 W), int8 KV cache, MTP drafter on. Every expert fits on the card.
| Test | Qwen4-35B-A3B |
|---|---|
| Decode, conversation | 271 t/s |
| Decode, structured output | 342 t/s |
| Decode, prose | 245 t/s |
| Prompt read, 16K / 64K tokens | 8,235 / 8,394 t/s |
| Prompt read, 131K / 262K tokens | 7,983 / 7,122 t/s |
For reference: my Qwen3.5-35B-A3B app on llama.cpp tops out at 129 t/s on the same machine.
A million tokens on 24 GB
The real shock is the context. With --max-context 1048576 the engine starts, keeps every expert on the card, and GPU memory peaks at 23.2 GB. Full-attention layers are rare (one in four) and their cache is small: that is what makes it possible.
I hid three codes at 10, 50 and 90 % of a very long text, then asked for the three codes and a 300-word story:
| Context | Prompt read | Decode after it | Codes found |
|---|---|---|---|
| 200,000 tokens | 26 s | 158 t/s | 3 / 3 |
| 700,000 tokens | 135 s | 113 t/s | 3 / 3 |
700,000 tokens read in a little over two minutes, then over 100 tokens per second. On a laptop GPU.
Tools and images
Through Basalt’s server (OpenAI-compatible API):
- tool calls: “weather in Paris and in Tokyo” gives two parallel calls, and the model answers correctly once the results come back;
- images: shapes, colors and text of a test image described in half a second.
Next in the saga
- Episode 2: the app on my market, the move to anaelith, and from 271 to 520 t/s in one day.
- Episode 3: the q4-speed branch, prompts read 70% faster with nothing lost on generation.
- Episode 4: llama.cpp against Basalt on Qwen 4.
- Episode 5: Qwen 4 at work (agents, code, long documents) against Qwen3.6 and Qwen3.8-27B.
Enjoy!
Disclosure — All benchmarks in this post run on my own Olares One. If the content was useful and you’re considering one, ordering through this referral link gets you $300 off ($4,699 instead of $4,999), stackable with the $300 Black Friday discount that started November 17: $600 off in total ($4,399). I’m mentioning this out of transparency — and yes, incidentally, it helps keep the blog alive (hosting, domain, and the time I spend writing here).