Skip to content
/ airelien.dev
Go back
Aurélien AMSELLEM

Qwen 4 on Olares One — Episode 1: 35B, a 20-billion n-gram table, and 1M of context on 24 GB

Qwen4-35B-A3B came out yesterday with open weights. What is new in it (a 20-billion n-gram table read from the SSD, an MTP head, 1M of context, images and video), why it runs on the same engine as Flash-Next, and the first bench on the Olares One: 245 to 342 t/s, a million tokens of context that fit on the card, and codes found at 700K tokens.

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:

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.

TestQwen4-35B-A3B
Decode, conversation271 t/s
Decode, structured output342 t/s
Decode, prose245 t/s
Prompt read, 16K / 64K tokens8,235 / 8,394 t/s
Prompt read, 131K / 262K tokens7,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:

ContextPrompt readDecode after itCodes found
200,000 tokens26 s158 t/s3 / 3
700,000 tokens135 s113 t/s3 / 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):

Next in the saga

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).

Share this post on:

Comments