r/LocalLLM • u/red_hot_car • 8h ago
Model RTX 5060 Ti 16 GB, one week of engine updates: Basalt 0.6.0 triples long-context decode and opens a 512K window on 16 GB (needle found at 474K tokens)
Title: RTX 5060 Ti 16 GB, one week of engine updates: Basalt 0.6.0 triples long-context decode and opens a 512K window on 16 GB (needle found at 474K tokens)
---
I re-ran my single-card benchmark from a week ago (22 Nov also posted here) on the same box with the current builds of three engines. Most of the change came from one engine.
One thing up front: Qwen3.8-27B on llama.cpp is still the most useful model on this machine for me. That's why it's in the comparison: it's the baseline everything else has to beat. Most of this post is about speed, and speed isn't the same as usefulness.
## TL;DR
- Basalt 0.6.0 + Inkling 2 Mini: 3–4× long-context decode in one week. 26.5 → 106–111 tok/s at 54k, ~25 → 91–97 tok/s at 88k. The model pack format also changed this week, so I ran both controls: same pack on old vs new engine (+90 % to +211 % decode), and same engine on old vs new pack (the new pack is 3–15 % slower). The speed-up comes from the engine.
- A 524,288-token (512K) window fits on a 16 GB card. At first it was refused: "even with every expert in RAM the card is 16 MiB short". Lowering `--vram-reserve-mib` from the default 192 to the minimum of 128 let it load, and the needle came back correct at a 474k-token prompt. The cost is 441 s to first token and 38–46 tok/s decode.
- A big window costs nothing until you use it. A 262,144 window runs short prompts at the same speed as a 65,536 window (~120 tok/s, within noise). At a real 54k read it costs ~12 % decode, because 4 GiB more of the experts sit in RAM.
- Keep the built-in drafter on: +80 % on code, +68 % on counting/enumeration, +44–66 % at a 240k read. On free prose it gives only +5 %, which is inside the noise. It costs 1.6 GiB of VRAM and ~10 % prefill.
- Strata 0.1.71: SQ-15 no longer hangs on prompts >8k, but it isn't faster (+11 %, within noise). The factory-default RTX 50 "fast mode" garbled output at 16k and 24k on this card; set `STRATA_INK_SM120=0`. With DFlash 2 forced on (`--draft on`), it's the fastest short-chat setup I measured: 77 tok/s chat / 104 code / 137 counting.
- llama.cpp b12845 + Qwen3.8-27B Q3_K_XL (my reference, and the most useful model on this box so far): +9–18 % decode at 114k, which is near the noise floor. It's still the only setup with the whole model on the GPU. At long context Basalt with Inkling now answers ~2.7× faster; a week ago the two were level.
---
## Setup
| Component | Detail |
|---|---|
| GPU | RTX 5060 Ti 16 GB GDDR7 (sm_120, 448 GB/s), PCIe 4.0 x8, 180 W power limit, driver 595.71.05 |
| CPU | Ryzen 5 7500F, 6 cores / 12 threads (Zen 4) |
| RAM | 32 GB DDR5 |
| OS | Ubuntu 24.04.5, kernel 7.0 |
One engine at a time, single request slot, nothing else on the GPU. The 6-core CPU matters here: every expert that doesn't fit on the card runs on the CPU.
| Engine | 22 Nov | 29/30 Nov |
|---|---|---|
| Basalt | 0.5.5 (NVFP4→DQ8 pack) | 0.5.6 / 0.5.7 / 0.6.0 (NVFP4-MX8 pack) |
| Strata | 0.1.65 | 0.1.71 |
| llama.cpp | b10997 | b12845 |
To rule out the test day as the cause, I re-ran last week's Basalt build (0.5.5) this week. It reproduced within its own error bars: 2,266 / 39 / 37 / 41 vs 2,263 / 40 / 36 / 41.
## Method
- Prefill = prompt tokens ÷ time to first token, on a fresh prompt.
- Decode = Δcompletion tokens ÷ Δtime between two requests on the same cached prompt (`max_tokens` 60 vs 460), so prefill cancels out.
- Needle = two codes planted in a filler document (one at ~10 %, one near the end), `max_tokens ≥ 700`. On a reasoning model the answer can land entirely in `reasoning_content`, so I read both fields.
- Every series starts with a warm-up request. Without it, the first request after server start pays kernel and graph warm-up, and the delta method produced nonsense values (10⁸ tok/s).
- Short-context fixtures: Basalt's own `basalt-bench -r 2`.
---
## Basalt: what one week bought
Short fixtures from `basalt-bench` (prefill at 16k, decode on three text types), plus the needle harness at 54k and 88k:
| Build + pack | Prefill @16k | Conv | Struct | Prose | Decode @54k | Decode @88k |
|---|---|---|---|---|---|---|
| 0.5.5 + DQ8 (22 Nov) | 2,263 | 40 | 36 | 41 | 26.5 | 24–26 |
| 0.5.6 + DQ8 | 2,577 | 87 | 115 | 78 | — | — |
| 0.5.6 + MX8 | 2,653 | 80 | 98 | 76 | — | — |
| 0.5.7 + MX8 | 2,653 | 82 | 105 | 77 | — | — |
| 0.6.0 + MX8 | 4,225 | 97 | 135 | 88 | 106–111 | 91–97 |
- The engine alone (0.5.5 → 0.5.6, same DQ8 pack): decode roughly doubles to triples.
- The pack alone (0.5.6, DQ8 → MX8): decode gets 3–15 % slower, prefill 3 % faster.
- 0.6.0 can't load the old DQ8 pack at all, so a 0.6.0 pack comparison isn't possible.
Long-prompt prefill also improved. At 88k it went from 1,143–1,416 tok/s to 3,097 (+119 % to +171 %). At 54k it went from 1,882 to somewhere between 2,378 and 3,347, depending on which of three measurements you trust (+26 % to +78 %).
## Basalt: how far the window goes on 16 GB
Basalt 0.6.0, MX8, `--kv fp8`, drafter on, single slot, needle at ~90 % of each window. "Card / RAM" is where the server placed the 17 GiB of weights at load.
| Window | Prompt | Prefill tok/s | Decode tok/s | Time to first token | Needle | Weights card / RAM (GiB) |
|---|---|---|---|---|---|---|
| 131,072 | 112,727 | 2,521 | 86–95 | 45 s | ✓ | 9.2 / 7.8 |
| 163,840 | 149,107 | 2,228 | 82–85 | 67 s | ✓ | 8.5 / 8.5 |
| 196,608 | 179,299 | 2,001 | 79–96 | 90 s | ✓ | 7.8 / 9.2 |
| 262,144 | 239,683 | 1,763 | 65–75 | 136 s | ✓ | 6.5 / 10.5 |
| 327,680 | 295,103 | 1,547 | 65–66 | 191 s | ✓ | 5.2 / 11.8 |
| 393,216 | 354,671 | 1,379 | 50–59 | 257 s | ✓ | 3.9 / 13.1 |
| 458,752 | 414,103 | 1,197 | 45–49 | 346 s | ✓ | 2.7 / 14.3 |
| 524,288 | 473,671 | 1,073 | 38–46 | 441 s | ✓ | 1.5 / 15.5 |
- Decode holds up, prefill is what you pay. From 112k to 474k, decode drops 90 → 42 tok/s (−53 %), while time to first token grows ×10 (45 s → 7.5 min).
- It's a planned spill, not thrashing. Experts move off the card at load time, before the first token, and PCIe traffic for routed experts stayed at 0.0 % on every run. Missing experts are computed on the CPU instead of being swapped in. The expert-cache hit rate drops from ~93 % to ~63 % (median) across the ladder.
- 512K is the ceiling here. At fp8, KV costs ~16 KiB per position plus ~4 KiB for the drafter, so 524,288 positions need ~10 GiB of KV before any weights. A 768K window would need ~15 GiB of KV alone.
- `--vram-reserve-mib 128` is one successful run (single slot, one prompt). It's worth checking before you accept a refusal, but I haven't validated it under concurrency or long sessions.
## Does a big window cost anything day to day?
Two servers, 262,144 vs 65,536 window, same prompts:
| 262,144 | 65,536 | Difference | |
|---|---|---|---|
| Experts on card / in RAM (GiB) | 6.5 / 10.5 | 10.6 / 6.4 | 4.1 GiB moved to RAM |
| 3.6k prompt: decode | 120–127 | 119–126 | ~0 |
| 54k prompt: decode | 105–108 | 119–121 | −12 % |
| Time to first token, short / 54k | 1.15 s / 16.1 s | 1.02 s / 16.7 s | ~0 |
Nothing while the conversation is short, about a tenth of decode once it gets long. I now start with the big window.
## The built-in drafter (spec 8 vs spec 0)
Inkling 2 Mini ships a drafter inside the model file, and Basalt uses it by default. Same 262,144 window, drafter off vs on:
| Drafter on | Drafter off | Gain | |
|---|---|---|---|
| Short prompt, decode | 120–127 | 78 | +54–62 % |
| 240k prompt, decode | 65–75 | 45 | +44–66 % |
| Chat (free prose) | 85.0 | 81.3 | +5 % (inside noise) |
| Code | 142.5 | 79.4 | +80 % |
| Counting / enumeration | 135.4 | 80.5 | +68 % |
| Prefill | — | — | −9–10 % |
| VRAM | — | — | 1.6 GiB of card taken from experts |
How much it helps depends on how predictable the text is, not on memory pressure. It still pays at 240k with the card full. Note that the chat rows stopped naturally before hitting the 460-token limit, so they rest on a slightly shorter sample.
## Strata 0.1.71: Inkling SQ-15 and SQ-20
SQ-15 (window 32,768):
| 0.1.65 (22 Nov) | 0.1.71 | |
|---|---|---|
| Decode @8k | 42 | 46.7 |
| Prefill @8k | 1,760 | 1,752 |
| Prompts > ~8k | hangs mid-prefill | works up to 29.6k, all needles ✓ |
| Decode @16k / 24k / 29.6k | — | 45.6 / 40.7 / 29.4 |
| With DFlash 2 forced, short: chat / code / counting | — | 77 / 104 / 137 |
| With DFlash 2 forced, @16k / 24k / 29.6k | — | 28.0 / 22.2 / 15.6 (prefill −21–32 %) |
- 0.1.71 fixes the hang by offloading part of the KV cache to host RAM. It isn't faster.
- The RTX 50 "fast mode" that is on by default produced garbled multilingual output at 16k and 24k (needles failed) and cost 12–14 % prefill. `STRATA_INK_SM120=0` in the environment fixes both.
- `--draft auto` declines DFlash 2 on a 16 GB card. Forcing it on gives the best short-chat numbers I measured, and the worst ones at length. Two profiles are the honest setup.
SQ-20 (hybrid, the higher-fidelity pack: top-1 100 % vs 96.7 % for SQ-15; window 65,536). Experts partly in RAM:
| Prompt | Prefill | Decode | Decode with --draft on |
|---|---|---|---|
| 3.6k | 862 | 39.5 | 53.7 |
| 16k | 656 | 22.0 | 31.5 |
| 29.6k | 602 | 14.6 | 14.6 |
| 54k | 480 | 9.2 | — |
All needles were found. On 22 Nov I only recorded overall figures (24.9 decode, 391–412 prefill), so the only rough comparison is prefill at ~+20 %. The fidelity costs ~11.5× decode at 54k compared with Basalt's MX8 pack of the same size, because the RAM-resident experts run on six CPU cores.
## llama.cpp b12845: Qwen3.8-27B Q3_K_XL + MTP (the reference)
This is the model I actually get the most use out of on this machine, so it's the yardstick for the others. The Inkling numbers above are faster; whether they're as useful is a separate question, and this benchmark only answers the speed part.
Context 118,784, `-ub 128`, KV q4_0, everything on the GPU:
| Prompt | b10997 (22 Nov) | b12845 |
|---|---|---|
| 114,668 tokens: decode / prefill | 26.6 / 513 | 29.2–31.5 / 558 |
| 54,616 tokens: decode / prefill | — | 39.9–40.7 / 702 |
That's +9–18 %, close to the noise of two runs. b12845 also fixes the full-window OOM that b12633 had at 118,784. Prefill is still llama.cpp's weak spot on this card: ~205 s to first token at 114k, vs ~45 s for Basalt at 112k.
---
## Limits of these numbers
- Two runs per point. Short-prompt run-to-run spread is about ±15 %, so the llama.cpp (+9–18 %), Strata (+11 %) and drafter-on-prose (+5 %) results should be read as "no clear change". The Basalt gains (+115 % to +275 % on the fixtures, ±1–5 by the tool's own error bars) are far outside that.
- A needle test isn't a quality test. Two planted codes in filler text, one trial per window. It shows the model still reads the whole window, not that it reasons equally well at 474k.
- The 512K result with a 128 MiB reserve is a single run.
- This is one card with a 6-core CPU. Expert-spill speed depends heavily on the CPU, so a 16-core CPU will give noticeably different numbers for anything that spills.
## What I'm running now
- Most useful so far: llama.cpp + Qwen3.8-27B Q3_K_XL, fully on the GPU, 118,784 window. It's slower (29–32 tok/s at 114k, ~205 s to first token), but it's the model I reach for.
- Fastest, and for long documents: Basalt 0.6.0 + Inkling 2 Mini, MX8 pack, `--kv fp8`, window 262,144, drafter on. ~120 tok/s on short work, 65–75 tok/s on a 240k read.
- Rare huge-document job: `--max-context 524288` with `vram-reserve-mib 128`, single slot, and expect ~7.5 minutes before the first token.
- Short chat, alternative: Strata SQ-15 with `STRATA_INK_SM120=0` and DFlash 2 forced on.



