Yesterday I wrote about running Qwen4-35B-A3B on llama.cpp and how good a hand-tuned config had to be to make it sing. Today the counterpoint arrived: Strata shipped version 0.2.26 with official Qwen4-35B-A3B support - a curated pack where the engine, quantization, drafting and memory placement are all decided for you. Same model, same GPU, same prompts, two philosophies. So I benched them back to back on my RTX 5090 (32 GB) + 128 GB RAM workstation, with the GPU to each engine in turn, engine-reported timings only, and identical test prompts.

The summary box, because the answer is genuinely split:

Qwen4-35B-A3B, RTX 5090 + 128 GBllama.cpp b12977 (tuned)Strata 0.2.26 (defaults)
Prefill, 44K prompt3,520 tok/s~3,120 tok/s
Prefill, 176K prompt3,488 tok/s~1,920 tok/s (0.55×)
Decode after 44K context62.8 tok/s~157 tok/s (2.5×)
Decode after 176K context57.7 tok/s~133 tok/s (2.3×)
End-to-end: 176K prompt + 256 tokens out55.0 s~94 s
End-to-end: 44K prompt + 256 tokens out17.2 s16.0 s
Setup effort~15 flags, an evening of sweep workone command

Strata generates tokens 2.3-2.5× faster; llama.cpp eats large prompts ~1.8× faster. Which one wins depends entirely on whether your workload is prefill-bound (huge prompts, short answers - RAG, document ingestion, one-shot analysis: llama.cpp) or decode-bound (chat, agents streaming decisions: Strata). And the honest asterisk that follows the whole article: on this box my daily driver - Qwen3.8-Flash-Next on the Basalt engine - still beats both, mainly by prefilling 3-5× faster at agent context sizes. Details in the last section.


What each engine actually runs

These are not the same packaging or even the same quantization scheme, which matters for fairness and I will not hide it:

  • llama.cpp b12977 serving unsloth/Qwen4-35B-A3B-GGUF in UD-Q4_K_XL (33.8 GiB - Q4-class experts with the huge n-gram embedding table embedded in the file at high precision), experts of the first 20 layers offloaded to system RAM, q8 KV, MTP speculation depth 3 - my tuned config from yesterday’s article, run at a 256K window for this head-to-head.
  • Strata 0.2.26 serving its own Ultra build - the biggest of its three curated packs: a 28.1 GB weight pack (proprietary .strata format, bit layout unpublished), with the n-gram table shipped separately as a 21.8 GB Q8_0 GGUF held in RAM, plus a 0.4 GB MTP sidecar; about 50 GB total. The engine (strata-q4-lite.exe, CUDA) logged its placement at load: all 10,240 experts (23.27 GiB) pinned in VRAM, zero in host memory, int8 KV.

The structural difference is the story in one sentence: llama.cpp streams a third of the experts over PCIe per token by design (33.8 GiB of weights cannot share a 32 GB card with the KV), while Strata keeps every expert weight on the card and moves the n-gram table to a RAM lookup instead - no per-token expert streaming at decode time. Neither pack’s exact quantization scheme is published - compare the numbers as “engine experiences”, not as a quant bake-off.


The exact command lines

Strata

# one-time: install/update the desktop app to 0.2.26+ (winget upgrade --id Niko1221.Strata)
# note: use the app-bundled CLI, not the old standalone terminal CLI:
C:\Users\<you>\AppData\Local\Programs\Strata\control\bin\strata.cmd \
  launch --family qwen4-35b-a3b --model ultra \
  --context 256k --parallel 1 --vision off --tune skip \
  --access local --port 8080 --no-api-key --yes --no-tui

strata launch --status    # what is serving
strata launch --stop      # done

Three real-world traps from my first run. One: the Qwen4 family only appears from 0.2.26 - older feeds hide it completely. Two: the standalone strata terminal CLI I had installed was stale (0.1.59) and still showed only the old model ladder; the app-bundled CLI under Programs\Strata\control\bin (0.1.74) knows the family. If --plan says “there is no model called ultra”, you are on the wrong CLI or the wrong version. Three: --plan is your friend - it prints the download list and the destination folder before touching anything. Mine estimated ~40 GB; the final pull was closer to 50, because a 128 GB-RAM box auto-selects the bigger Q8_0 n-gram table (smaller machines get the Q4 one). Budget disk for the difference.

llama.cpp

llama-server \
  -m Qwen4-35B-A3B-UD-Q4_K_XL-00001-of-00002.gguf \
  -c 262144 -ngl 99 \
  -fa on -ctk q8_0 -ctv q8_0 \
  --n-cpu-moe 20 \
  --load-mode none \
  --spec-type draft-mtp --spec-draft-n-max 3

Same config as yesterday’s winner, with the context set to 256K to match Strata’s window. The --load-mode none flag is doing serious work here (it nearly doubled prefill versus default mmap loading in my sweep); without it llama loses the prefill battle too.


How the test was run (and the traps)

One PowerShell harness hit both servers’ /v1/chat/completions with the same two prompts - a synthetic ~44K-token prompt and a ~176K-token one (repeated-sentence filler, and both engines counted within three tokens of each other: 44,051 vs 44,053 and 176,051 vs 176,054), temperature 0, 256 tokens out. Each prompt got a fresh random-GUID prefix so neither engine’s prompt cache could flatter the second request. Rates come from each engine’s own accounting - llama.cpp’s print_timing lines, Strata’s /metrics prompt_ms / decode_ms - never from my wall-clock division, which is how I shot myself in the foot once (see the drama section). Only one engine held the GPU at a time. Strata’s pair ran three times back-to-back inside one serve to check stability.


Results: the table and what it means

Engine-reported numbers, both at a 256K window; Strata columns show the spread across three identical repeats (it was tight - ±2%):

Promptllama prefillStrata prefillllama decodeStrata decode
44K tokens + 256 out3,520 tok/s3,120 tok/s62.8 tok/s153-163 tok/s
176K tokens + 256 out3,488 tok/s1,893-1,937 tok/s57.7 tok/s129-135 tok/s

Reading it honestly:

  • Decode is Strata’s home turf - 2.3-2.5×, with zero tuning and the entire model resident on the card. PLE lookups in RAM, draft pipeline wired by the pack: the closed stack is doing something right. For an interactive session this is the engine that feels fast.
  • Prefill is llama.cpp’s - and the gap grows with context (0.9× at 44K, 0.55× at 176K). llama.cpp chunks prefill aggressively; Strata’s q4-lite engine processes the prompt in chunks of 256 tokens per its own metrics, which fits the shape of the gap - though I did not isolate it as the cause. If your day is “paste 150K tokens, get 200 back”, llama finishes the day in 55 s while Strata needs 94.
  • End-to-end, the crossover sits around ~50K tokens: at 44K the two are within a second of each other, below that Strata’s decode advantage dominates, and above it llama’s prefill lead compounds - roughly 15% ahead by 100K and ~70% ahead at 176K.

The measurement drama that made me re-run everything

I almost published a wrong article, twice, and you should know the failure modes because they will bite you too:

  1. Wall-clock math lied to me. My first pass estimated prefill/decode from two total request times (solve two equations, two unknowns). For Strata it produced a negative decode rate - the model’s hidden assumption of a constant prefill rate is false (Strata prefills ~3.1K tok/s at 44K but only ~1.9K at 176K). Both engines log their own split timings; use them.
  2. One serve decoded at 42 tok/s. A Strata serve measured 42-45 tok/s decode - a third of its normal speed - with byte-identical config. Every re-run since reproduces 133-178 tok/s (four rounds, including three repeats inside a single serve), and an audit of the engine’s startup log showed even the slow serve had loaded the MTP sidecar and the same flags. It remains a one-off fluke; treat single measurements as lottery tickets. I now repeat inside one serve before believing anything.
  3. The metrics lied about speculation. Strata’s drafts_offered counter stays at zero even though the engine log proves the MTP sidecar loaded (MTP: weights 203 MiB... load) - and since metrics offer no other way to see whether drafts actually fire, treat that counter as broken in this build and verify speculation in the engine log, not the metrics. And note the launch-config JSON under launch\*.json only lists the base args - auto-added flags (--mtp, --spec 2) appear only in the engine’s started log line.
  4. Co-running the two engines is possible but tells you nothing. Qwen4-Ultra and my always-on Basalt engine did share the 32 GB card without crashing (the elastic VRAM manager is real), but a benchmark with a hidden flatmate is not a benchmark. Exclusive GPU per engine, then.

The summary, with Flash-Next on Basalt in the frame

The full picture on this box - including my daily driver, Qwen3.8-Flash-Next on the Basalt engine (NVFP4-DQ8 pack, int8 KV, MTP speculation, 262K sessions), whose numbers come from yesterday’s measurements and live agent sessions on the same machine - a different methodology, note it:

RTX 5090 + 128 GB, December 2026Qwen4 (llama.cpp)Qwen4 (Strata)Flash-Next (Basalt)
Prefill at long context~3,500 tok/s~1,900-3,100 tok/s9,000-10,000 tok/s (170K+-token sessions)
Decode, sustained long context58-63 tok/s133-163 tok/s~170 tok/s average
Decode burst (short context)140-182 tok/s (32K)not measuredup to ~410 tok/s (16K bench)
Context per sessionup to 512K256K (tested)262K
ModelQwen4-35B-A3B (new architecture, weeks old)Qwen3.8-Flash-Next

So the standings: Flash-Next on Basalt prefill-eats everyone (3-5× Strata, ~2.6× llama.cpp at long context) and holds ~170 tok/s decode inside real 170K-token agent sessions - roughly Strata’s Qwen4 rate, and ~3× llama’s. That prefill advantage is what makes an agent feel instant: it is re-reading a 150K-token conversation every turn, not generating the 500-token reply. Strata’s Qwen4 closing to within ~8% of Flash-Next’s decode is still remarkable for a first-release engine, and llama.cpp’s tuned Qwen4 config remains the flexibility king (512K windows, GGUF ecosystem, every flag exposed).

One more honest caveat: these are three different models across two generations - Flash-Next is not Qwen4, only its sibling - and the Basalt column mixes benchmark and live-session numbers. This is a map of my box, not a verdict on the models.


Verdict: which engine for which job

  • Long-prompt, short-answer work (RAG, ingestion, one-shot analysis): llama.cpp with the config above. The prefill gap compounds with every request.
  • Interactive chat / decode-heavy agents on Qwen4: Strata, one command, and it is 2.3-2.5× faster where it counts. Accept the 50 GB download, the curated-pack lock-in, and re-verify after every Strata update - this is v1 of its Qwen4 support.
  • My own agent (this article was proofread by it): still Flash-Next on Basalt. Strata’s Qwen4 has matched its decode; nobody has matched its prefill. When the Qwen4 ecosystem grows a Basalt-class engine, that balance gets interesting - re-run this harness, it is about twenty lines of PowerShell.

Two engines, one model, two personalities: llama.cpp is the workshop, Strata is the appliance. The appliance is faster out of the box exactly where appliances matter - keeping up with a human - and slower exactly where the workshop shines - chewing through your corpus. Measure the workload you have, not the benchmark they publish.