Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

bench: community report, RTX 5080 16 GB + RTX 4060 Ti 8 GB (helper cache), IQ3_S at 4K / 32K / 128K on 0.1.41 (PR #1681)

KarlGrierc8250a09b410
diff --git a/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/README.md b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/README.md
new file mode 100644
index 000000000..a00d2878a
--- /dev/null
+++ b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/README.md
@@ -0,0 +1,121 @@
+# Community benchmark on RTX 5080 16 GB + RTX 4060 Ti 8 GB (helper expert cache), Ryzen 9 9950X3D, 96 GB
+
+Measured on 2026-10-09 by KarlGrier. Stock Strata v0.1.41 on the ISTA-DASLab IQ3_S file at a 131,072-token context: three
+runs each at 4,096, 32,768 and 128,000 prompt tokens, plus `tools/needle_bench.py` at 32k and 128k. Two more sets are
+listed separately because they are **not** v0.1.41 as released: the same runs on a private build (v0.1.41 with local
+patches), and two larger files measured on 2026-10-07/08 on an older private build as stand-ins for a bigger model.
+Main limitation: one machine, one IQ3_S file, three runs per size, temperature 0 with a 256-token output cap.
+
+## Hardware and software
+
+- GPUs: NVIDIA GeForce RTX 5080 16 GB (16,303 MiB, PCIe 5.0 x16, 360 W limit, stock clocks) as the main GPU; RTX 4060 Ti
+ 8 GB (8,188 MiB, PCIe 4.0 x4 in this slot, 160 W limit, stock clocks) as a helper expert cache. Neither card drives the
+ display (the monitor is on the CPU's integrated graphics); each card had 15 MiB in use before the server started.
+- CPU: AMD Ryzen 9 9950X3D, 16 cores / 32 threads, AVX-512. RAM: 96 GB DDR5 (MemTotal 91.96 GiB). Storage: Samsung 9100
+ PRO 2 TB (PCIe 5.0 NVMe) holds the model files.
+- OS: an Ubuntu 24.04-based distribution, Linux 7.0. NVIDIA driver 610.57.04, CUDA 13.3 (nvcc 13.3.73).
+- Strata: tag v0.1.41 (`fb58e0db`), source build: Release, `-DSTRATA_ENABLE_CUDA=ON -DSTRATA_BUILD_TESTS=OFF
+ -DCMAKE_CUDA_ARCHITECTURES="89;120"`, ggml from llama.cpp `3cf03257` (the commit `setup.py` pins). No other options.
+- Background: a desktop session on the integrated graphics, otherwise idle. One model server at a time.
+
+## Model and configuration
+
+- Model: `ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF`, IQ3_S, two shards (54,817,524,224 + 28,800,138,432 bytes;
+ revision not recorded, downloaded 2026-09-27). Routed experts 46.8 GiB.
+- Pack: v0.1.41's `tools/iq_pack.py`, no conversions. Expert profile: v0.1.41's `data/expert-profile.bin`. MTP draft layer
+ from `Qwen/Qwen3.8-Flash-Next@de4b8e4d` (the revision `tools/mtp_fetch.py` pins) with the English draft vocabulary
+ (byte-identical to v0.1.41's `data/draft_vocab_en.bin`, not setup's default). No vision encoder.
+- Context 131,072; KV int8 with 32,768 cells resident; expert cache `auto` on the 5080 (4,560 slots, 8.70 GiB) plus 3,300
+ slots (6.21 GiB) on the 4060 Ti; the experts in a page-locked RAM arena (no low-RAM mode); prefill `auto:16384`;
+ `--pcie-frac 0`; MTP `--spec 4 --spec-min-p 0.5`. No calibration, experimental speed projection off. v0.1.41's CPU
+ prompt-read share at its default (on for chunks below 1,024 tokens).
+- Requests: temperature 0, `max_tokens` 256, the server's other defaults (its settings file sets `reasoning_effort` high,
+ so the model thinks first and the first streamed token is reasoning text).
+
+```text
+strata --serve --pack <pack> --native <IQ3_S shard 1> --ple-gguf <IQ3_S shard 2> --expert-profile data/expert-profile.bin
+ --expert-cache auto --prefill auto:16384 --spec 4 --spec-min-p 0.5 --mtp <mtp/rt> --max-context 131072 --kv int8
+ --kv-resident 32768 --pcie-frac 0 --ple-inflight 128 --vram-reserve-mib 713 --expert-cache-device1 3300
+env: CUDA_VISIBLE_DEVICES=<RTX 5080>,<RTX 4060 Ti> STRATA_IO_THREADS=64 CUDA_MODULE_LOADING=LAZY STRATA_GR_V3=1
+ STRATA_PF_FUSED=1 STRATA_MMVQ_IL=1 STRATA_ADAPT_LAG=2 STRATA_DISJOINT_ADAPT=1
+served by serve/server.py on 127.0.0.1
+```
+
+## Method
+
+- `make_prompts.py` builds the prompts from the repository's own text at v0.1.41 (docs and source files), so they can be
+ shared and rebuilt; the file it writes has the sha256 given in the script. Every prompt is a different slice of that
+ text and starts with its own run id, so no request can reuse another one's prefix (the engine reported 0 reused tokens
+ for every run). The task line asks for a one-paragraph summary.
+- `benchmark.py`: a fresh server; the model's page cache dropped before it started; startup is not timed. One
+ ~1,000-token warm-up request (not counted), then three runs at each size, one request at a time, streamed. The expert
+ cache stays warm across runs and its adaptive tier is on (the default).
+- Prompt and decode throughput come from the server's `timings` (the engine's own clock; decode counts the reasoning
+ tokens). TTFT is the client's time from sending the request to the first streamed token (reasoning text).
+- Memory: MemAvailable and VRAM after each request, and a memory guard that samples MemAvailable, free VRAM, the server's
+ process-tree RSS and swap every 0.2 s for the whole session.
+- Then, on the same server: `python tools/needle_bench.py --url http://127.0.0.1:8081 --lengths 32k,128k --depths 10,50,90`.
+
+## Results: stock v0.1.41
+
+| Configuration | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s median (range) | Decode tok/s median (range) | TTFT seconds median (range) |
+| --- | ---: | ---: | ---: | ---: | --- | --- | --- |
+| 4K | 4,096–4,097 | 0 | 143, 163, 178 | 3 | 3,451 (3,436–3,500) | 146.0 (135.8–147.3) | 1.20 (1.19–1.21) |
+| 32K | 32,768–32,774 | 0 | 238, 168, 252 | 3 | 4,277 (4,202–4,300) | 132.2 (127.9–137.8) | 7.70 (7.67–7.84) |
+| 128K | 128,001 | 0 | 256, 225, 231 | 3 | 4,166 (4,165–4,166) | 124.9 (123.7–126.7) | 30.80 (30.79–30.81) |
+
+- Total latency (client, whole request): 2.2–2.5 s at 4K, 9.1–9.5 s at 32K, 32.6–32.9 s at 128K.
+- The first 128K run stopped at the 256-token cap; the other eight ended on their own.
+- Memory: MemAvailable at least 34.5 GiB (guard minimum); server process tree at most 51.5 GiB RSS; VRAM in use 15,395 MiB
+ on the 5080 (484–541 MiB free) and 6,605 MiB on the 4060 Ti; swap 1.97 GiB in use from before the run, not growing.
+- Recall: `needle_bench.py` **6 of 6 found** (32k: 33,286–33,287 prompt tokens, 4.6–8.5 s; 128k: 126,638–126,640 prompt
+ tokens, 26.9–30.6 s). The needle prompts share their text, so later ones reuse part of an earlier one's prefix; their
+ times are not prompt-read times.
+- Per-run data: `results-stock.json` (every request with its `timings`, TTFT, total time, memory),
+ `needles-stock.json`, `summary.json` (medians, ranges, the memory guard's extremes); the server config without paths or
+ GPU ids in `config-stock.json`; the engine's start lines (paths removed) in `engine-start-stock.txt`.
+
+## Same machine, same day: a private build (not v0.1.41 as released)
+
+The same prompts, method and flags on v0.1.41 with 27 local patches (exact speculative sampling, a cost-aware draft
+length, decode kernel changes, a conversation cache in RAM, transplants of #567 / #652 / #619), with
+`STRATA_PREFILL_CPU_SHARE=0` and `--chat-cache 16 --chat-cache-mib 12288` (a local flag). These patches are not part
+of Strata; the numbers are here only so they are not taken for the release's.
+
+| Configuration | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s median (range) | Decode tok/s median (range) | TTFT seconds median (range) |
+| --- | ---: | ---: | ---: | ---: | --- | --- | --- |
+| 4K | 4,096–4,097 | 0 | 124, 150, 196 | 3 | 3,430 (3,424–3,486) | 154.7 (148.3–158.3) | 1.21 (1.19–1.21) |
+| 32K | 32,768–32,774 | 0 | 176, 169, 256 | 3 | 4,259 (4,168–4,273) | 151.4 (145.3–152.2) | 7.73 (7.70–7.90) |
+| 128K | 128,001 | 0 | 256, 225, 236 | 3 | 4,135 (4,132–4,152) | 137.6 (130.5–139.2) | 31.02 (30.92–31.06) |
+
+Recall 6 of 6. MemAvailable at least 21.4 GiB (its conversation cache holds parked conversations in RAM), process tree at
+most 64.8 GiB RSS. Prompt reads are within 1 % of the release's; decode is 6–15 % higher. Per-run data: `results-private.json`, `needles-private.json`.
+
+## Stand-ins for a larger model (older private build, 2026-10-07/08)
+
+To see how a model with more experts than this PC's RAM would run, two larger files were measured as stand-ins on
+v0.1.40.2 with 27 local patches (not v0.1.41, not the stock engine), served, with the server's sampling defaults
+(temperature 1.0, top_p 0.95, top_k 20), `STRATA_UNBUFFERED_LOAD=1` (forced direct reads: faster here than the automatic
+choice), and the largest RAM budget that a memory guard (it stops the server when MemAvailable stays below 6 GiB for 0.6 s)
+let through a full session; the local file's session had one 0.2-s sample at 5.67 GiB.
+
+| File | Routed experts | Placement | Decode tok/s (7 requests: math and code reasoning to 4,096 tokens, five short checks) | TTFT 8K / 32K / 64K / 120K (s) | Needle at 120K |
+| --- | ---: | --- | ---: | --- | --- |
+| unsloth Qwen3.8-Flash-Next Q8_0 | 119.5 GiB | RTX 5080 + the 4060 Ti as a peer expert tier (`--peer-device 1`) + `--resident-budget-gib 71` | 18.1 | 6.5 / 19.4 / 31.3 / 50.4 | 6 of 6 |
+| the same | 119.5 GiB | RTX 5080 + `--resident-budget-gib 71` | 15.9 | 6.5 / 19.3 / 31.3 / 50.7 | 6 of 6 |
+| a local file: UD-Q5_K_XL's routed experts with IQ3_S's other tensors | 91.6 GiB | RTX 5080 + `--resident-budget-gib 72` | 40.1 | 5.1 / 12.4 / 20.6 / 39.4 | 6 of 6 |
+
+- One session each; TTFT from one fresh prompt per size (local prompts, not included). The needle check is a local
+ 120K-token document with six questions.
+- Where a decode round went (Q8_0, the 5080 + 71 GiB, warm): about 127 ms = GPU ~20 ms + CPU on the RAM experts ~38 ms +
+ reading the SSD ~68 ms (about 450 MB per round). The drive read 3.7 GB/s on average over the hour of the peer-tier session.
+- The local file exists because UD-Q5_K_XL itself does not load here: its first shard ends 6 bytes before the aligned
+ data start the engine's reader computes (#1612 proposes a fix). It is not a published file.
+- Layer-split placements are not included in this report.
+
+## Correctness and limitations
+
+- Needles: 6 of 6 at 32k and 128k on both v0.1.41 sets; 6 of 6 at 120K on the stand-ins.
+- The answers themselves were not graded: temperature 0, a one-paragraph summary request, a 256-token cap.
+- Not tested: vision, other quantizations of the IQ3_S model, Windows, setup's own configuration for this PC, contexts
+ above 131,072, `--batch` slots, a layer split, and the 5080 without the helper card.
diff --git a/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/benchmark.py b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/benchmark.py
new file mode 100755
index 000000000..e4c3b2083
--- /dev/null
+++ b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/benchmark.py
@@ -0,0 +1,126 @@
+#!/usr/bin/env python3
+"""benchmark.py - this report's client: one ~1,000-token warm-up (not counted), then three runs each at
+4,096 / 32,768 / 128,000 prompt tokens (prompts.json, built by make_prompts.py), one request at a time,
+streamed, temperature 0, 256-token cap, the server's other defaults. Per request: time to the first streamed token
+(reasoning or answer text, whichever comes first; keep-alives and empty deltas ignored), total wall time, the server's
+`timings` (llama.cpp's names, from the engine's own clock: cache_n reused, prompt_n read, prompt_ms, predicted_n,
+predicted_ms, drafts) and memory right after it (MemAvailable, the engine's RSS, each GPU's used VRAM) and what the engine read from the
+drive during it (/proc/PID/io read_bytes). Linux only (it reads /proc).
+
+ python benchmark.py --base http://127.0.0.1:8081 --label NAME --out NAME.json"""
+import argparse
+import json
+import subprocess
+import time
+import urllib.request
+from pathlib import Path
+
+ap = argparse.ArgumentParser()
+ap.add_argument("--base", default="http://127.0.0.1:8081")
+ap.add_argument("--prompts", default="prompts.json")
+ap.add_argument("--label", required=True)
+ap.add_argument("--out", required=True)
+ap.add_argument("--max-tokens", type=int, default=256)
+ap.add_argument("--engine-pattern", default="strata --serve --pack")
+ap.add_argument("--sizes", default="", help="only these sizes (warmup,4096,32768,128000); default all")
+ap.add_argument("--reps", default="", help="only these reps, e.g. 0,1")
+a = ap.parse_args()
+
+
+def engine_pid():
+ """the engine process: matches the pattern and its executable is named strata"""
+ import os
+ for pid in subprocess.run(["pgrep", "-f", a.engine_pattern], capture_output=True, text=True).stdout.split():
+ try:
+ if os.path.basename(os.readlink(f"/proc/{pid}/exe")) == "strata":
+ return pid
+ except OSError:
+ pass
+ return None
+
+
+def memory():
+ m = {}
+ for line in open("/proc/meminfo"):
+ k, v = line.split(":", 1)
+ if k in ("MemAvailable", "SwapFree", "SwapTotal"):
+ m[k] = int(v.split()[0]) // 1024
+ pid = engine_pid()
+ rss = 0
+ if pid:
+ for line in open(f"/proc/{pid}/status"):
+ if line.startswith("VmRSS"):
+ rss = int(line.split()[1]) // 1024
+ g = subprocess.run(["nvidia-smi", "--query-gpu=index,memory.used", "--format=csv,noheader,nounits"],
+ capture_output=True, text=True).stdout.split("\n")
+ return {"mem_available_mib": m.get("MemAvailable"), "swap_used_mib": m.get("SwapTotal", 0) - m.get("SwapFree", 0),
+ "engine_rss_mib": rss, "gpu_used_mib": {x.split(",")[0].strip(): int(x.split(",")[1]) for x in g if x.strip()}}
+
+
+def engine_read_bytes():
+ """bytes the engine process fetched from storage so far (/proc/PID/io read_bytes: page-cache hits not counted)"""
+ pid = engine_pid()
+ try:
+ for line in open(f"/proc/{pid}/io"):
+ if line.startswith("read_bytes"):
+ return int(line.split()[1])
+ except (OSError, TypeError):
+ return None
+
+
+def ask(msgs):
+ body = json.dumps({"model": "strata", "messages": msgs, "max_tokens": a.max_tokens, "temperature": 0,
+ "stream": True, "stream_options": {"include_usage": True}}).encode()
+ r = urllib.request.Request(a.base + "/v1/chat/completions", data=body, headers={"Content-Type": "application/json"})
+ t0 = time.time()
+ first, finish, usage, timings, n_content, n_reason, first_kind = None, None, None, None, 0, 0, None
+ with urllib.request.urlopen(r, timeout=1800) as f:
+ for raw in f:
+ line = raw.decode("utf-8", "replace").strip()
+ if not line.startswith("data:"):
+ continue
+ data = line[5:].strip()
+ if data == "[DONE]":
+ break
+ d = json.loads(data)
+ usage = d.get("usage") or usage
+ timings = d.get("timings") or timings
+ for c in d.get("choices", []):
+ delta = c.get("delta", {})
+ txt, rsn = delta.get("content") or "", delta.get("reasoning_content") or ""
+ if (txt or rsn) and first is None:
+ first, first_kind = time.time() - t0, "reasoning" if rsn else "answer"
+ n_content += len(txt)
+ n_reason += len(rsn)
+ finish = c.get("finish_reason") or finish
+ return {"ttft_s": round(first, 3) if first is not None else None, "first_token_kind": first_kind,
+ "total_s": round(time.time() - t0, 3), "finish": finish, "usage": usage, "timings": timings,
+ "answer_chars": n_content, "reasoning_chars": n_reason}
+
+
+P = json.loads(Path(a.prompts).read_text())
+runs = []
+warm = None
+for p in P:
+ if a.sizes and p["size"] not in a.sizes.split(","):
+ continue
+ if a.reps and p["size"] != "warmup" and str(p["rep"]) not in a.reps.split(","):
+ continue
+ rb0 = engine_read_bytes()
+ rec = {"label": a.label, "size": p["size"], "rep": p["rep"], "target_tokens": p["target"],
+ "started": time.strftime("%Y-%m-%dT%H:%M:%S"), **ask(p["messages"])}
+ rb1 = engine_read_bytes()
+ rec["drive_read_gb"] = round((rb1 - rb0) / 1e9, 2) if rb0 is not None and rb1 is not None else None
+ rec["memory_after"] = memory()
+ t = rec["timings"] or {}
+ print(f"{a.label} {p['size']:>7} r{p['rep']}: prompt {t.get('prompt_n')} read + {t.get('cache_n')} reused in "
+ f"{t.get('prompt_ms')} ms ({t.get('prompt_per_second')} tok/s), {t.get('predicted_n')} generated at "
+ f"{t.get('predicted_per_second')} tok/s, TTFT {rec['ttft_s']} s ({rec['first_token_kind']}), finish {rec['finish']}, "
+ f"drive {rec['drive_read_gb']} GB, MemAvailable {rec['memory_after']['mem_available_mib']} MiB",
+ flush=True)
+ if p["size"] != "warmup":
+ runs.append(rec)
+ else:
+ warm = rec
+Path(a.out).write_text(json.dumps({"label": a.label, "warmup": warm, "runs": runs}, indent=1))
+print("wrote", a.out)
diff --git a/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/config-stock.json b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/config-stock.json
new file mode 100644
index 000000000..3475f7331
--- /dev/null
+++ b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/config-stock.json
@@ -0,0 +1,55 @@
+{
+ "args": [
+ "--pack",
+ "<pack>",
+ "--native",
+ "<IQ3_S shard 1>",
+ "--ple-gguf",
+ "<IQ3_S shard 2>",
+ "--expert-profile",
+ "data/expert-profile.bin",
+ "--expert-cache",
+ "auto",
+ "--prefill",
+ "auto:16384",
+ "--spec",
+ "4",
+ "--spec-min-p",
+ "0.5",
+ "--mtp",
+ "<mtp/rt>",
+ "--max-context",
+ "131072",
+ "--kv",
+ "int8",
+ "--kv-resident",
+ "32768",
+ "--pcie-frac",
+ "0",
+ "--ple-inflight",
+ "128",
+ "--vram-reserve-mib",
+ "713",
+ "--expert-cache-device1",
+ "3300"
+ ],
+ "model_name": "strata-qwen3.8-flash-next-iq3s",
+ "port": 8081,
+ "sampling": {
+ "temperature": 0.6,
+ "top_p": 0.95,
+ "top_k": 20,
+ "min_p": 0.05
+ },
+ "host": "127.0.0.1",
+ "env": {
+ "STRATA_IO_THREADS": "64",
+ "CUDA_MODULE_LOADING": "LAZY",
+ "CUDA_VISIBLE_DEVICES": "<RTX 5080>,<RTX 4060 Ti>",
+ "STRATA_GR_V3": "1",
+ "STRATA_PF_FUSED": "1",
+ "STRATA_MMVQ_IL": "1",
+ "STRATA_ADAPT_LAG": "2",
+ "STRATA_DISJOINT_ADAPT": "1"
+ }
+}
diff --git a/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/engine-start-stock.txt b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/engine-start-stock.txt
new file mode 100644
index 000000000..7a6c9cd5c
--- /dev/null
+++ b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/engine-start-stock.txt
@@ -0,0 +1,18 @@
+strata generate: CUDA1 context ready, 7.51 GiB free before expert arena registration
+strata generate: profile <path>/expert-profile.bin: 24576 ranked pairs, built for 24576 slots
+strata generate: expert arena read through the file cache (buffered (not Windows))
+strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (needed 23983 2 MiB pages, vm.nr_hugepages=0); transparent huge pages requested (MADV_HUGEPAGE)
+strata generate: expert cache auto: 9.48 GiB free, 713 MiB reserved (+86 MiB for the draft head) -> 3508 slots
+strata generate: expert cache 4560 slots, 8.70 GiB of VRAM; policy is
+strata generate: pre-filled 4560 of 4560 slots from the profile in 0.2 s (42597 MB/s); slot 0 verified
+strata generate: CUDA1: 3300 additional experts, 6.21 GiB; results return through pinned host rows
+strata generate: R4 hit path ON - resident experts are computed on the GPU
+strata generate: token graph hit path: 4560 resident experts, decided on the device
+prefill: the CPU share is ON by default for prompt chunks below 1024 tokens (the idle CPU takes some of the experts the GPU would stream; answers can differ slightly from 0.1.40.3, mean KL ~0.004). STRATA_PREFILL_CPU_SHARE=0 turns it off.
+strata serve: the prompt path borrows 3232 CUDA0 cache slots (6.13 GiB)
+strata serve: 541 MiB of VRAM free with everything loaded
+strata verify: capturing the 4-token window (517 MiB of VRAM free)
+strata verify: capturing the 1-token window (511 MiB of VRAM free)
+strata verify: capturing the 6-token window (503 MiB of VRAM free)
+strata verify: capturing the 2-token window (497 MiB of VRAM free)
+strata verify: capturing the 3-token window (491 MiB of VRAM free)
diff --git a/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/make_prompts.py b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/make_prompts.py
new file mode 100755
index 000000000..02775f667
--- /dev/null
+++ b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/make_prompts.py
@@ -0,0 +1,72 @@
+#!/usr/bin/env python3
+"""make_prompts.py - builds this report's prompts from Strata's own repository text, so anyone can rebuild them.
+
+One ~1,000-token warm-up and three prompts each of 4,096, 32,768 and 128,000 tokens. The text is the tag's
+docs/*.md, src/**/*.cpp, src/**/*.cu, include/**/*.hpp, serve/**/*.py and tools/**/*.py in that order (the order
+tools/needle_bench.py uses, without third_party/), each file under a "=== path ===" line. Every prompt is a different,
+non-overlapping slice of that text and starts with its own run id, so no request can reuse another one's prefix beyond
+the chat template's first tokens. Token counts are of the rendered prompt, with the model pack's tokenizer and chat
+template; the server reports the real count of each request.
+
+ git -C Strata checkout v0.1.41
+ python make_prompts.py --tree Strata --tokenizer-dir <pack>/tokenizer --out prompts.json
+
+With the v0.1.41 tree and the IQ3_S pack's tokenizer this writes a file with sha256
+d1b10bd59376564bb826b290b50f684991988ec8765af99139e3bfbe044c8895."""
+import argparse
+import hashlib
+import json
+import sys
+from pathlib import Path
+
+ap = argparse.ArgumentParser()
+ap.add_argument("--tree", required=True, help="a Strata checkout at v0.1.41")
+ap.add_argument("--tokenizer-dir", required=True, help="the model pack's tokenizer/ folder")
+ap.add_argument("--out", default="prompts.json")
+a = ap.parse_args()
+TREE, TDIR = Path(a.tree).resolve(), Path(a.tokenizer_dir)
+sys.path.insert(0, str(TREE / "tools"))
+sys.path.insert(0, str(TREE))
+import strata_tokenizer as ST # noqa: E402
+from serve.frontend import ChatTemplate # noqa: E402
+
+vocab = json.loads((TDIR / "vocab.json").read_text(encoding="utf-8"))
+toks = [None] * len(vocab)
+for t, i in vocab.items():
+ toks[i] = t
+tok = ST.Tokenizer(toks, (TDIR / "merges.txt").read_text(encoding="utf-8").split("\n"),
+ json.loads((TDIR / "token_type.json").read_text()))
+tpl = ChatTemplate(TDIR / "chat_template.jinja")
+
+SOURCES = [("docs", "*.md"), ("src", "*.cpp"), ("src", "*.cu"), ("include", "*.hpp"), ("serve", "*.py"), ("tools", "*.py")]
+parts = []
+for d, pat in SOURCES:
+ for f in sorted((TREE / d).rglob(pat)):
+ parts.append(f"\n\n=== {f.relative_to(TREE).as_posix()} ===\n{f.read_text(encoding='utf-8', errors='replace')}")
+text = "".join(parts)
+PLAN = [("warmup", 1000, 1)] + [(str(n), n, 3) for n in (4096, 32768, 128000)]
+need = sum(n * r for _, n, r in PLAN)
+ids = tok.encode(text[:int(need * 3.6)])
+TASK = "\n\nTask: in one short paragraph, say what the material above is about."
+n_prompt = lambda m: len(tok.encode(tpl.render(m), parse_special=True))
+out, cursor = [], 0
+for size, target, reps in PLAN:
+ for r in range(reps):
+ nonce = hashlib.sha1(f"cb-{size}-{r}".encode()).hexdigest()[:8]
+ head = f"[Run cb-{size}-r{r}-{nonce}] Below is source code and documentation from the Strata repository (tag v0.1.41).\n\n"
+ n = target - n_prompt([{"role": "user", "content": head + TASK}])
+ for _ in range(8): # decode/re-encode can move the count by a token or two
+ body = tok.decode(ids[cursor:cursor + n])
+ msgs = [{"role": "user", "content": head + body + TASK}]
+ got = n_prompt(msgs)
+ if abs(got - target) <= 2:
+ break
+ n += target - got
+ if cursor + n > len(ids):
+ raise SystemExit("ran out of text")
+ cursor += n
+ out.append({"size": size, "rep": r, "target": target, "prompt_tokens": got, "messages": msgs,
+ "first_file": body.split("\n=== ", 1)[-1].split(" ===", 1)[0] if "\n=== " in body else "(mid-file)"})
+ print(size, r, got, flush=True)
+Path(a.out).write_text(json.dumps(out, ensure_ascii=False))
+print(f"wrote {a.out}: {len(out)} prompts, sha256 {hashlib.sha256(Path(a.out).read_bytes()).hexdigest()}")
diff --git a/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/needles-private.json b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/needles-private.json
new file mode 100644
index 000000000..6fbc7d187
--- /dev/null
+++ b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/needles-private.json
@@ -0,0 +1,56 @@
+[
+ {
+ "length": "32k",
+ "depth": 10,
+ "prompt_tokens": 33286,
+ "seconds": 8.8,
+ "found": true,
+ "word": "meadow-copper-504",
+ "answer": "meadow-copper-504"
+ },
+ {
+ "length": "32k",
+ "depth": 50,
+ "prompt_tokens": 33286,
+ "seconds": 8.4,
+ "found": true,
+ "word": "falcon-quartz-940",
+ "answer": "falcon-quartz-940"
+ },
+ {
+ "length": "32k",
+ "depth": 90,
+ "prompt_tokens": 33287,
+ "seconds": 4.8,
+ "found": true,
+ "word": "willow-cobalt-696",
+ "answer": "willow-cobalt-696"
+ },
+ {
+ "length": "128k",
+ "depth": 10,
+ "prompt_tokens": 126640,
+ "seconds": 30.6,
+ "found": true,
+ "word": "falcon-saffron-138",
+ "answer": "falcon-saffron-138"
+ },
+ {
+ "length": "128k",
+ "depth": 50,
+ "prompt_tokens": 126638,
+ "seconds": 27.1,
+ "found": true,
+ "word": "quartz-tundra-528",
+ "answer": "quartz-tundra-528"
+ },
+ {
+ "length": "128k",
+ "depth": 90,
+ "prompt_tokens": 126638,
+ "seconds": 26.8,
+ "found": true,
+ "word": "quartz-glacier-192",
+ "answer": "quartz-glacier-192"
+ }
+]
\ No newline at end of file
diff --git a/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/needles-stock.json b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/needles-stock.json
new file mode 100644
index 000000000..fb62307f9
--- /dev/null
+++ b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/needles-stock.json
@@ -0,0 +1,56 @@
+[
+ {
+ "length": "32k",
+ "depth": 10,
+ "prompt_tokens": 33286,
+ "seconds": 8.5,
+ "found": true,
+ "word": "meadow-copper-504",
+ "answer": "meadow-copper-504"
+ },
+ {
+ "length": "32k",
+ "depth": 50,
+ "prompt_tokens": 33286,
+ "seconds": 8.2,
+ "found": true,
+ "word": "falcon-quartz-940",
+ "answer": "falcon-quartz-940"
+ },
+ {
+ "length": "32k",
+ "depth": 90,
+ "prompt_tokens": 33287,
+ "seconds": 4.6,
+ "found": true,
+ "word": "willow-cobalt-696",
+ "answer": "willow-cobalt-696"
+ },
+ {
+ "length": "128k",
+ "depth": 10,
+ "prompt_tokens": 126640,
+ "seconds": 30.6,
+ "found": true,
+ "word": "falcon-saffron-138",
+ "answer": "falcon-saffron-138"
+ },
+ {
+ "length": "128k",
+ "depth": 50,
+ "prompt_tokens": 126638,
+ "seconds": 30.6,
+ "found": true,
+ "word": "quartz-tundra-528",
+ "answer": "quartz-tundra-528"
+ },
+ {
+ "length": "128k",
+ "depth": 90,
+ "prompt_tokens": 126638,
+ "seconds": 26.9,
+ "found": true,
+ "word": "quartz-glacier-192",
+ "answer": "quartz-glacier-192"
+ }
+]
\ No newline at end of file
diff --git a/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/results-private.json b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/results-private.json
new file mode 100644
index 000000000..14f203a30
--- /dev/null
+++ b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/results-private.json
@@ -0,0 +1,426 @@
+{
+ "label": "private build (v0.1.41 + 27 local patches)",
+ "warmup": {
+ "label": "private build (v0.1.41 + 27 local patches)",
+ "size": "warmup",
+ "rep": 0,
+ "target_tokens": 1000,
+ "started": "2026-10-09T00:56:08",
+ "ttft_s": 1.044,
+ "first_token_kind": "reasoning",
+ "total_s": 2.279,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 1000,
+ "completion_tokens": 169,
+ "total_tokens": 1169,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 1000,
+ "prompt_ms": 1011.8,
+ "prompt_per_token_ms": 1.012,
+ "prompt_per_second": 988.3,
+ "predicted_n": 169,
+ "predicted_ms": 1253.0,
+ "predicted_per_token_ms": 7.414,
+ "predicted_per_second": 134.9,
+ "draft_n": 158,
+ "draft_n_accepted": 106
+ },
+ "answer_chars": 418,
+ "reasoning_chars": 354,
+ "memory_after": {
+ "mem_available_mib": 36292,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15397,
+ "1": 6605
+ }
+ }
+ },
+ "runs": [
+ {
+ "label": "private build (v0.1.41 + 27 local patches)",
+ "size": "4096",
+ "rep": 0,
+ "target_tokens": 4096,
+ "started": "2026-10-09T00:56:11",
+ "ttft_s": 1.214,
+ "first_token_kind": "reasoning",
+ "total_s": 1.986,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 4097,
+ "completion_tokens": 124,
+ "total_tokens": 4221,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 4097,
+ "prompt_ms": 1196.4,
+ "prompt_per_token_ms": 0.292,
+ "prompt_per_second": 3424.4,
+ "predicted_n": 124,
+ "predicted_ms": 783.1,
+ "predicted_per_token_ms": 6.315,
+ "predicted_per_second": 158.3,
+ "draft_n": 108,
+ "draft_n_accepted": 77
+ },
+ "answer_chars": 259,
+ "reasoning_chars": 366,
+ "memory_after": {
+ "mem_available_mib": 36131,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15403,
+ "1": 6605
+ }
+ }
+ },
+ {
+ "label": "private build (v0.1.41 + 27 local patches)",
+ "size": "4096",
+ "rep": 1,
+ "target_tokens": 4096,
+ "started": "2026-10-09T00:56:13",
+ "ttft_s": 1.21,
+ "first_token_kind": "reasoning",
+ "total_s": 2.17,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 4096,
+ "completion_tokens": 150,
+ "total_tokens": 4246,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 4096,
+ "prompt_ms": 1194.2,
+ "prompt_per_token_ms": 0.292,
+ "prompt_per_second": 3429.9,
+ "predicted_n": 150,
+ "predicted_ms": 969.9,
+ "predicted_per_token_ms": 6.466,
+ "predicted_per_second": 154.7,
+ "draft_n": 133,
+ "draft_n_accepted": 91
+ },
+ "answer_chars": 346,
+ "reasoning_chars": 366,
+ "memory_after": {
+ "mem_available_mib": 35946,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15403,
+ "1": 6605
+ }
+ }
+ },
+ {
+ "label": "private build (v0.1.41 + 27 local patches)",
+ "size": "4096",
+ "rep": 2,
+ "target_tokens": 4096,
+ "started": "2026-10-09T00:56:15",
+ "ttft_s": 1.191,
+ "first_token_kind": "reasoning",
+ "total_s": 2.502,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 4097,
+ "completion_tokens": 196,
+ "total_tokens": 4293,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 4097,
+ "prompt_ms": 1175.4,
+ "prompt_per_token_ms": 0.287,
+ "prompt_per_second": 3485.6,
+ "predicted_n": 196,
+ "predicted_ms": 1321.9,
+ "predicted_per_token_ms": 6.744,
+ "predicted_per_second": 148.3,
+ "draft_n": 172,
+ "draft_n_accepted": 118
+ },
+ "answer_chars": 359,
+ "reasoning_chars": 444,
+ "memory_after": {
+ "mem_available_mib": 35774,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15403,
+ "1": 6605
+ }
+ }
+ },
+ {
+ "label": "private build (v0.1.41 + 27 local patches)",
+ "size": "32768",
+ "rep": 0,
+ "target_tokens": 32768,
+ "started": "2026-10-09T00:56:18",
+ "ttft_s": 7.702,
+ "first_token_kind": "reasoning",
+ "total_s": 8.903,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 32768,
+ "completion_tokens": 176,
+ "total_tokens": 32944,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 32768,
+ "prompt_ms": 7668.4,
+ "prompt_per_token_ms": 0.234,
+ "prompt_per_second": 4273.1,
+ "predicted_n": 176,
+ "predicted_ms": 1211.1,
+ "predicted_per_token_ms": 6.881,
+ "predicted_per_second": 145.3,
+ "draft_n": 154,
+ "draft_n_accepted": 105
+ },
+ "answer_chars": 280,
+ "reasoning_chars": 632,
+ "memory_after": {
+ "mem_available_mib": 35462,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15403,
+ "1": 6605
+ }
+ }
+ },
+ {
+ "label": "private build (v0.1.41 + 27 local patches)",
+ "size": "32768",
+ "rep": 1,
+ "target_tokens": 32768,
+ "started": "2026-10-09T00:56:26",
+ "ttft_s": 7.9,
+ "first_token_kind": "reasoning",
+ "total_s": 9.0,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 32774,
+ "completion_tokens": 169,
+ "total_tokens": 32943,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 32774,
+ "prompt_ms": 7864.0,
+ "prompt_per_token_ms": 0.24,
+ "prompt_per_second": 4167.6,
+ "predicted_n": 169,
+ "predicted_ms": 1110.6,
+ "predicted_per_token_ms": 6.572,
+ "predicted_per_second": 152.2,
+ "draft_n": 138,
+ "draft_n_accepted": 104
+ },
+ "answer_chars": 369,
+ "reasoning_chars": 363,
+ "memory_after": {
+ "mem_available_mib": 34550,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15403,
+ "1": 6605
+ }
+ }
+ },
+ {
+ "label": "private build (v0.1.41 + 27 local patches)",
+ "size": "32768",
+ "rep": 2,
+ "target_tokens": 32768,
+ "started": "2026-10-09T00:56:35",
+ "ttft_s": 7.728,
+ "first_token_kind": "reasoning",
+ "total_s": 9.408,
+ "finish": "length",
+ "usage": {
+ "prompt_tokens": 32769,
+ "completion_tokens": 256,
+ "total_tokens": 33025,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 32769,
+ "prompt_ms": 7694.6,
+ "prompt_per_token_ms": 0.235,
+ "prompt_per_second": 4258.7,
+ "predicted_n": 256,
+ "predicted_ms": 1690.8,
+ "predicted_per_token_ms": 6.605,
+ "predicted_per_second": 151.4,
+ "draft_n": 231,
+ "draft_n_accepted": 158
+ },
+ "answer_chars": 391,
+ "reasoning_chars": 818,
+ "memory_after": {
+ "mem_available_mib": 33843,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15403,
+ "1": 6605
+ }
+ }
+ },
+ {
+ "label": "private build (v0.1.41 + 27 local patches)",
+ "size": "128000",
+ "rep": 0,
+ "target_tokens": 128000,
+ "started": "2026-10-09T00:56:45",
+ "ttft_s": 30.924,
+ "first_token_kind": "reasoning",
+ "total_s": 32.874,
+ "finish": "length",
+ "usage": {
+ "prompt_tokens": 128001,
+ "completion_tokens": 256,
+ "total_tokens": 128257,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 128001,
+ "prompt_ms": 30831.2,
+ "prompt_per_token_ms": 0.241,
+ "prompt_per_second": 4151.7,
+ "predicted_n": 256,
+ "predicted_ms": 1961.9,
+ "predicted_per_token_ms": 7.664,
+ "predicted_per_second": 130.5,
+ "draft_n": 250,
+ "draft_n_accepted": 143
+ },
+ "answer_chars": 0,
+ "reasoning_chars": 1155,
+ "memory_after": {
+ "mem_available_mib": 32586,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15403,
+ "1": 6605
+ }
+ }
+ },
+ {
+ "label": "private build (v0.1.41 + 27 local patches)",
+ "size": "128000",
+ "rep": 1,
+ "target_tokens": 128000,
+ "started": "2026-10-09T00:57:18",
+ "ttft_s": 31.058,
+ "first_token_kind": "reasoning",
+ "total_s": 32.68,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 128001,
+ "completion_tokens": 225,
+ "total_tokens": 128226,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 128001,
+ "prompt_ms": 30981.8,
+ "prompt_per_token_ms": 0.242,
+ "prompt_per_second": 4131.5,
+ "predicted_n": 225,
+ "predicted_ms": 1635.6,
+ "predicted_per_token_ms": 7.269,
+ "predicted_per_second": 137.6,
+ "draft_n": 200,
+ "draft_n_accepted": 131
+ },
+ "answer_chars": 375,
+ "reasoning_chars": 692,
+ "memory_after": {
+ "mem_available_mib": 30061,
+ "swap_used_mib": 2013,
+ "gpu_used_mib": {
+ "0": 15403,
+ "1": 6605
+ }
+ }
+ },
+ {
+ "label": "private build (v0.1.41 + 27 local patches)",
+ "size": "128000",
+ "rep": 2,
+ "target_tokens": 128000,
+ "started": "2026-10-09T00:57:51",
+ "ttft_s": 31.025,
+ "first_token_kind": "reasoning",
+ "total_s": 32.71,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 128001,
+ "completion_tokens": 236,
+ "total_tokens": 128237,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 128001,
+ "prompt_ms": 30955.0,
+ "prompt_per_token_ms": 0.242,
+ "prompt_per_second": 4135.1,
+ "predicted_n": 236,
+ "predicted_ms": 1696.0,
+ "predicted_per_token_ms": 7.186,
+ "predicted_per_second": 139.2,
+ "draft_n": 215,
+ "draft_n_accepted": 139
+ },
+ "answer_chars": 396,
+ "reasoning_chars": 657,
+ "memory_after": {
+ "mem_available_mib": 27507,
+ "swap_used_mib": 2013,
+ "gpu_used_mib": {
+ "0": 15403,
+ "1": 6605
+ }
+ }
+ }
+ ],
+ "note": "memory_after: MemAvailable, swap in use and each GPU's used VRAM right after the request (GPU 0 = RTX 5080, GPU 1 = RTX 4060 Ti). timings: the server's own (llama.cpp names; cache_n = reused tokens, prompt_n = read tokens)."
+}
diff --git a/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/results-stock.json b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/results-stock.json
new file mode 100644
index 000000000..d47fc1dab
--- /dev/null
+++ b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/results-stock.json
@@ -0,0 +1,426 @@
+{
+ "label": "v0.1.41",
+ "warmup": {
+ "label": "v0.1.41",
+ "size": "warmup",
+ "rep": 0,
+ "target_tokens": 1000,
+ "started": "2026-10-09T00:51:14",
+ "ttft_s": 0.93,
+ "first_token_kind": "reasoning",
+ "total_s": 2.185,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 1000,
+ "completion_tokens": 167,
+ "total_tokens": 1167,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 1000,
+ "prompt_ms": 897.2,
+ "prompt_per_token_ms": 0.897,
+ "prompt_per_second": 1114.6,
+ "predicted_n": 167,
+ "predicted_ms": 1273.8,
+ "predicted_per_token_ms": 7.628,
+ "predicted_per_second": 131.1,
+ "draft_n": 140,
+ "draft_n_accepted": 102
+ },
+ "answer_chars": 413,
+ "reasoning_chars": 354,
+ "memory_after": {
+ "mem_available_mib": 36339,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15395,
+ "1": 6605
+ }
+ }
+ },
+ "runs": [
+ {
+ "label": "v0.1.41",
+ "size": "4096",
+ "rep": 0,
+ "target_tokens": 4096,
+ "started": "2026-10-09T00:51:17",
+ "ttft_s": 1.21,
+ "first_token_kind": "reasoning",
+ "total_s": 2.17,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 4097,
+ "completion_tokens": 143,
+ "total_tokens": 4240,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 4097,
+ "prompt_ms": 1192.3,
+ "prompt_per_token_ms": 0.291,
+ "prompt_per_second": 3436.2,
+ "predicted_n": 143,
+ "predicted_ms": 971.0,
+ "predicted_per_token_ms": 6.79,
+ "predicted_per_second": 147.3,
+ "draft_n": 113,
+ "draft_n_accepted": 86
+ },
+ "answer_chars": 282,
+ "reasoning_chars": 424,
+ "memory_after": {
+ "mem_available_mib": 36306,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15395,
+ "1": 6605
+ }
+ }
+ },
+ {
+ "label": "v0.1.41",
+ "size": "4096",
+ "rep": 1,
+ "target_tokens": 4096,
+ "started": "2026-10-09T00:51:19",
+ "ttft_s": 1.204,
+ "first_token_kind": "reasoning",
+ "total_s": 2.309,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 4096,
+ "completion_tokens": 163,
+ "total_tokens": 4259,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 4096,
+ "prompt_ms": 1186.9,
+ "prompt_per_token_ms": 0.29,
+ "prompt_per_second": 3451.0,
+ "predicted_n": 163,
+ "predicted_ms": 1116.4,
+ "predicted_per_token_ms": 6.849,
+ "predicted_per_second": 146.0,
+ "draft_n": 125,
+ "draft_n_accepted": 97
+ },
+ "answer_chars": 337,
+ "reasoning_chars": 404,
+ "memory_after": {
+ "mem_available_mib": 36279,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15395,
+ "1": 6605
+ }
+ }
+ },
+ {
+ "label": "v0.1.41",
+ "size": "4096",
+ "rep": 2,
+ "target_tokens": 4096,
+ "started": "2026-10-09T00:51:21",
+ "ttft_s": 1.187,
+ "first_token_kind": "reasoning",
+ "total_s": 2.486,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 4097,
+ "completion_tokens": 178,
+ "total_tokens": 4275,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 4097,
+ "prompt_ms": 1170.5,
+ "prompt_per_token_ms": 0.286,
+ "prompt_per_second": 3500.2,
+ "predicted_n": 178,
+ "predicted_ms": 1310.4,
+ "predicted_per_token_ms": 7.362,
+ "predicted_per_second": 135.8,
+ "draft_n": 129,
+ "draft_n_accepted": 99
+ },
+ "answer_chars": 375,
+ "reasoning_chars": 429,
+ "memory_after": {
+ "mem_available_mib": 36286,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15395,
+ "1": 6605
+ }
+ }
+ },
+ {
+ "label": "v0.1.41",
+ "size": "32768",
+ "rep": 0,
+ "target_tokens": 32768,
+ "started": "2026-10-09T00:51:24",
+ "ttft_s": 7.696,
+ "first_token_kind": "reasoning",
+ "total_s": 9.486,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 32768,
+ "completion_tokens": 238,
+ "total_tokens": 33006,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 32768,
+ "prompt_ms": 7662.2,
+ "prompt_per_token_ms": 0.234,
+ "prompt_per_second": 4276.6,
+ "predicted_n": 238,
+ "predicted_ms": 1800.5,
+ "predicted_per_token_ms": 7.565,
+ "predicted_per_second": 132.2,
+ "draft_n": 190,
+ "draft_n_accepted": 134
+ },
+ "answer_chars": 410,
+ "reasoning_chars": 802,
+ "memory_after": {
+ "mem_available_mib": 36130,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15395,
+ "1": 6605
+ }
+ }
+ },
+ {
+ "label": "v0.1.41",
+ "size": "32768",
+ "rep": 1,
+ "target_tokens": 32768,
+ "started": "2026-10-09T00:51:33",
+ "ttft_s": 7.838,
+ "first_token_kind": "reasoning",
+ "total_s": 9.14,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 32774,
+ "completion_tokens": 168,
+ "total_tokens": 32942,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 32774,
+ "prompt_ms": 7800.4,
+ "prompt_per_token_ms": 0.238,
+ "prompt_per_second": 4201.6,
+ "predicted_n": 168,
+ "predicted_ms": 1313.9,
+ "predicted_per_token_ms": 7.821,
+ "predicted_per_second": 127.9,
+ "draft_n": 127,
+ "draft_n_accepted": 93
+ },
+ "answer_chars": 367,
+ "reasoning_chars": 367,
+ "memory_after": {
+ "mem_available_mib": 35914,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15395,
+ "1": 6605
+ }
+ }
+ },
+ {
+ "label": "v0.1.41",
+ "size": "32768",
+ "rep": 2,
+ "target_tokens": 32768,
+ "started": "2026-10-09T00:51:42",
+ "ttft_s": 7.669,
+ "first_token_kind": "reasoning",
+ "total_s": 9.486,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 32769,
+ "completion_tokens": 252,
+ "total_tokens": 33021,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 32769,
+ "prompt_ms": 7621.6,
+ "prompt_per_token_ms": 0.233,
+ "prompt_per_second": 4299.5,
+ "predicted_n": 252,
+ "predicted_ms": 1828.1,
+ "predicted_per_token_ms": 7.254,
+ "predicted_per_second": 137.8,
+ "draft_n": 202,
+ "draft_n_accepted": 153
+ },
+ "answer_chars": 381,
+ "reasoning_chars": 780,
+ "memory_after": {
+ "mem_available_mib": 36027,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15395,
+ "1": 6605
+ }
+ }
+ },
+ {
+ "label": "v0.1.41",
+ "size": "128000",
+ "rep": 0,
+ "target_tokens": 128000,
+ "started": "2026-10-09T00:51:52",
+ "ttft_s": 30.802,
+ "first_token_kind": "reasoning",
+ "total_s": 32.86,
+ "finish": "length",
+ "usage": {
+ "prompt_tokens": 128001,
+ "completion_tokens": 256,
+ "total_tokens": 128257,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 128001,
+ "prompt_ms": 30725.9,
+ "prompt_per_token_ms": 0.24,
+ "prompt_per_second": 4165.9,
+ "predicted_n": 256,
+ "predicted_ms": 2069.2,
+ "predicted_per_token_ms": 8.083,
+ "predicted_per_second": 123.7,
+ "draft_n": 237,
+ "draft_n_accepted": 143
+ },
+ "answer_chars": 0,
+ "reasoning_chars": 1084,
+ "memory_after": {
+ "mem_available_mib": 35468,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15395,
+ "1": 6605
+ }
+ }
+ },
+ {
+ "label": "v0.1.41",
+ "size": "128000",
+ "rep": 1,
+ "target_tokens": 128000,
+ "started": "2026-10-09T00:52:25",
+ "ttft_s": 30.81,
+ "first_token_kind": "reasoning",
+ "total_s": 32.597,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 128001,
+ "completion_tokens": 225,
+ "total_tokens": 128226,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 128001,
+ "prompt_ms": 30736.2,
+ "prompt_per_token_ms": 0.24,
+ "prompt_per_second": 4164.5,
+ "predicted_n": 225,
+ "predicted_ms": 1801.5,
+ "predicted_per_token_ms": 8.007,
+ "predicted_per_second": 124.9,
+ "draft_n": 176,
+ "draft_n_accepted": 120
+ },
+ "answer_chars": 375,
+ "reasoning_chars": 692,
+ "memory_after": {
+ "mem_available_mib": 35459,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15395,
+ "1": 6605
+ }
+ }
+ },
+ {
+ "label": "v0.1.41",
+ "size": "128000",
+ "rep": 2,
+ "target_tokens": 128000,
+ "started": "2026-10-09T00:52:58",
+ "ttft_s": 30.792,
+ "first_token_kind": "reasoning",
+ "total_s": 32.603,
+ "finish": "stop",
+ "usage": {
+ "prompt_tokens": 128001,
+ "completion_tokens": 231,
+ "total_tokens": 128232,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "timings": {
+ "cache_n": 0,
+ "prompt_n": 128001,
+ "prompt_ms": 30723.2,
+ "prompt_per_token_ms": 0.24,
+ "prompt_per_second": 4166.3,
+ "predicted_n": 231,
+ "predicted_ms": 1823.3,
+ "predicted_per_token_ms": 7.893,
+ "predicted_per_second": 126.7,
+ "draft_n": 192,
+ "draft_n_accepted": 128
+ },
+ "answer_chars": 386,
+ "reasoning_chars": 645,
+ "memory_after": {
+ "mem_available_mib": 35431,
+ "swap_used_mib": 2014,
+ "gpu_used_mib": {
+ "0": 15395,
+ "1": 6605
+ }
+ }
+ }
+ ],
+ "note": "memory_after: MemAvailable, swap in use and each GPU's used VRAM right after the request (GPU 0 = RTX 5080, GPU 1 = RTX 4060 Ti). timings: the server's own (llama.cpp names; cache_n = reused tokens, prompt_n = read tokens)."
+}
diff --git a/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/summary.json b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/summary.json
new file mode 100644
index 000000000..7a07c5a42
--- /dev/null
+++ b/bench/results/2026-10-09-community-rtx-5080-4060ti-0.1.41/summary.json
@@ -0,0 +1,460 @@
+{
+ "v0.1.41": {
+ "sizes": {
+ "4096": {
+ "runs": 3,
+ "prompt_tokens": [
+ 4097,
+ 4096,
+ 4097
+ ],
+ "reused_tokens": [
+ 0,
+ 0,
+ 0
+ ],
+ "generated_tokens": [
+ 143,
+ 163,
+ 178
+ ],
+ "finish": [
+ "stop",
+ "stop",
+ "stop"
+ ],
+ "prompt_tok_s": {
+ "runs": [
+ 3436.2,
+ 3451.0,
+ 3500.2
+ ],
+ "median": 3451.0,
+ "min": 3436.2,
+ "max": 3500.2
+ },
+ "decode_tok_s": {
+ "runs": [
+ 147.3,
+ 146.0,
+ 135.8
+ ],
+ "median": 146.0,
+ "min": 135.8,
+ "max": 147.3
+ },
+ "ttft_s": {
+ "runs": [
+ 1.21,
+ 1.204,
+ 1.187
+ ],
+ "median": 1.204,
+ "min": 1.187,
+ "max": 1.21
+ },
+ "total_s": [
+ 2.17,
+ 2.309,
+ 2.486
+ ],
+ "drafts_accepted_of_offered": [
+ [
+ 86,
+ 113
+ ],
+ [
+ 97,
+ 125
+ ],
+ [
+ 99,
+ 129
+ ]
+ ]
+ },
+ "32768": {
+ "runs": 3,
+ "prompt_tokens": [
+ 32768,
+ 32774,
+ 32769
+ ],
+ "reused_tokens": [
+ 0,
+ 0,
+ 0
+ ],
+ "generated_tokens": [
+ 238,
+ 168,
+ 252
+ ],
+ "finish": [
+ "stop",
+ "stop",
+ "stop"
+ ],
+ "prompt_tok_s": {
+ "runs": [
+ 4276.6,
+ 4201.6,
+ 4299.5
+ ],
+ "median": 4276.6,
+ "min": 4201.6,
+ "max": 4299.5
+ },
+ "decode_tok_s": {
+ "runs": [
+ 132.2,
+ 127.9,
+ 137.8
+ ],
+ "median": 132.2,
+ "min": 127.9,
+ "max": 137.8
+ },
+ "ttft_s": {
+ "runs": [
+ 7.696,
+ 7.838,
+ 7.669
+ ],
+ "median": 7.696,
+ "min": 7.669,
+ "max": 7.838
+ },
+ "total_s": [
+ 9.486,
+ 9.14,
+ 9.486
+ ],
+ "drafts_accepted_of_offered": [
+ [
+ 134,
+ 190
+ ],
+ [
+ 93,
+ 127
+ ],
+ [
+ 153,
+ 202
+ ]
+ ]
+ },
+ "128000": {
+ "runs": 3,
+ "prompt_tokens": [
+ 128001,
+ 128001,
+ 128001
+ ],
+ "reused_tokens": [
+ 0,
+ 0,
+ 0
+ ],
+ "generated_tokens": [
+ 256,
+ 225,
+ 231
+ ],
+ "finish": [
+ "length",
+ "stop",
+ "stop"
+ ],
+ "prompt_tok_s": {
+ "runs": [
+ 4165.9,
+ 4164.5,
+ 4166.3
+ ],
+ "median": 4165.9,
+ "min": 4164.5,
+ "max": 4166.3
+ },
+ "decode_tok_s": {
+ "runs": [
+ 123.7,
+ 124.9,
+ 126.7
+ ],
+ "median": 124.9,
+ "min": 123.7,
+ "max": 126.7
+ },
+ "ttft_s": {
+ "runs": [
+ 30.802,
+ 30.81,
+ 30.792
+ ],
+ "median": 30.802,
+ "min": 30.792,
+ "max": 30.81
+ },
+ "total_s": [
+ 32.86,
+ 32.597,
+ 32.603
+ ],
+ "drafts_accepted_of_offered": [
+ [
+ 143,
+ 237
+ ],
+ [
+ 120,
+ 176
+ ],
+ [
+ 128,
+ 192
+ ]
+ ]
+ }
+ },
+ "memory_guard": {
+ "min_MemAvailable": "34.5GiB",
+ "min_5080_free": "484MiB",
+ "max_tree_RSS": "51.5GiB",
+ "max_swap_used": "1.97GiB",
+ "min_4060Ti_free": "1230MiB",
+ "sampled": "every 0.2 s for the whole server session (load, warm-up, benchmark and needles); RSS = the server's process tree"
+ },
+ "needles_found": "6 of 6"
+ },
+ "private build (v0.1.41 + 27 local patches)": {
+ "sizes": {
+ "4096": {
+ "runs": 3,
+ "prompt_tokens": [
+ 4097,
+ 4096,
+ 4097
+ ],
+ "reused_tokens": [
+ 0,
+ 0,
+ 0
+ ],
+ "generated_tokens": [
+ 124,
+ 150,
+ 196
+ ],
+ "finish": [
+ "stop",
+ "stop",
+ "stop"
+ ],
+ "prompt_tok_s": {
+ "runs": [
+ 3424.4,
+ 3429.9,
+ 3485.6
+ ],
+ "median": 3429.9,
+ "min": 3424.4,
+ "max": 3485.6
+ },
+ "decode_tok_s": {
+ "runs": [
+ 158.3,
+ 154.7,
+ 148.3
+ ],
+ "median": 154.7,
+ "min": 148.3,
+ "max": 158.3
+ },
+ "ttft_s": {
+ "runs": [
+ 1.214,
+ 1.21,
+ 1.191
+ ],
+ "median": 1.21,
+ "min": 1.191,
+ "max": 1.214
+ },
+ "total_s": [
+ 1.986,
+ 2.17,
+ 2.502
+ ],
+ "drafts_accepted_of_offered": [
+ [
+ 77,
+ 108
+ ],
+ [
+ 91,
+ 133
+ ],
+ [
+ 118,
+ 172
+ ]
+ ]
+ },
+ "32768": {
+ "runs": 3,
+ "prompt_tokens": [
+ 32768,
+ 32774,
+ 32769
+ ],
+ "reused_tokens": [
+ 0,
+ 0,
+ 0
+ ],
+ "generated_tokens": [
+ 176,
+ 169,
+ 256
+ ],
+ "finish": [
+ "stop",
+ "stop",
+ "length"
+ ],
+ "prompt_tok_s": {
+ "runs": [
+ 4273.1,
+ 4167.6,
+ 4258.7
+ ],
+ "median": 4258.7,
+ "min": 4167.6,
+ "max": 4273.1
+ },
+ "decode_tok_s": {
+ "runs": [
+ 145.3,
+ 152.2,
+ 151.4
+ ],
+ "median": 151.4,
+ "min": 145.3,
+ "max": 152.2
+ },
+ "ttft_s": {
+ "runs": [
+ 7.702,
+ 7.9,
+ 7.728
+ ],
+ "median": 7.728,
+ "min": 7.702,
+ "max": 7.9
+ },
+ "total_s": [
+ 8.903,
+ 9.0,
+ 9.408
+ ],
+ "drafts_accepted_of_offered": [
+ [
+ 105,
+ 154
+ ],
+ [
+ 104,
+ 138
+ ],
+ [
+ 158,
+ 231
+ ]
+ ]
+ },
+ "128000": {
+ "runs": 3,
+ "prompt_tokens": [
+ 128001,
+ 128001,
+ 128001
+ ],
+ "reused_tokens": [
+ 0,
+ 0,
+ 0
+ ],
+ "generated_tokens": [
+ 256,
+ 225,
+ 236
+ ],
+ "finish": [
+ "length",
+ "stop",
+ "stop"
+ ],
+ "prompt_tok_s": {
+ "runs": [
+ 4151.7,
+ 4131.5,
+ 4135.1
+ ],
+ "median": 4135.1,
+ "min": 4131.5,
+ "max": 4151.7
+ },
+ "decode_tok_s": {
+ "runs": [
+ 130.5,
+ 137.6,
+ 139.2
+ ],
+ "median": 137.6,
+ "min": 130.5,
+ "max": 139.2
+ },
+ "ttft_s": {
+ "runs": [
+ 30.924,
+ 31.058,
+ 31.025
+ ],
+ "median": 31.025,
+ "min": 30.924,
+ "max": 31.058
+ },
+ "total_s": [
+ 32.874,
+ 32.68,
+ 32.71
+ ],
+ "drafts_accepted_of_offered": [
+ [
+ 143,
+ 250
+ ],
+ [
+ 131,
+ 200
+ ],
+ [
+ 139,
+ 215
+ ]
+ ]
+ }
+ },
+ "memory_guard": {
+ "min_MemAvailable": "21.4GiB",
+ "min_5080_free": "476MiB",
+ "max_tree_RSS": "64.8GiB",
+ "max_swap_used": "1.97GiB",
+ "min_4060Ti_free": "1230MiB",
+ "sampled": "every 0.2 s for the whole server session (load, warm-up, benchmark and needles); RSS = the server's process tree"
+ },
+ "needles_found": "6 of 6"
+ }
+}