1The Idle-Box Inversion

People are slow language models. Across 168,000 volunteers, average human typing speed is 52 words per minute [1]—roughly 1.1 tok/s at four tokens per three English words. Dictation reaches about 150 WPM [2] (>3 tok/s); top typists hit 120 WPM, and the author was timed at 164 WPM (3.6 tok/s). Meanwhile, the local workstation studied here decodes at roughly 203 tok/s and prefills faster still. Regardless of input modality, the GPU spends every prompt-entry interval waiting on the slowest model in the loop.

Local serving stacks still wait for Enter because they inherit hosted-cloud economics, where multi-tenant GPUs stay busy, wasted guesses displace paying users, and streaming unsent drafts leaks private keystrokes. On a single-user local box, all three assumptions invert: the card sits idle, drafts stay local, and wrong guesses cost only electricity. Our final stack uses 2,055 J/turn versus 1,443 J/turn baseline (>1,000 turns per kWh).

Stacking above token-level speculative decoding

Draft-and-verify speculative decoding [3],[4] accelerates generation after submission. Basalt [5],[6] runs a multi-token-prediction (MTP) drafter in every configuration we measure. Typing-time speculation acts earlier—on prompt prefix state, MoE VRAM expert placement, and a read-only tool cache before Enter—and composes orthogonally with MTP.

Figure 1. Wait-for-Enter serving versus typing-time speculation on a single-user local MoE box. Debounced Read-ahead (S1), Turn-Phase Lookup (PLACE), and fork-isolated Prediction++ warm prefix state and VRAM experts during typing; Enter cancels in-flight work in tens of milliseconds. On 32 GB H1, TTFT drops from 412 to 114 ms and opening decode climbs from 165.6 to 288.2 tok/s (72% to 92% VRAM hits). (Click figure to zoom)

All experiments evaluate Qwen3.8-FN-Uncensored-NVFP4-DQ6_K.basalt—a 48-layer sparse MoE with 512 routed experts per layer (24,576 experts total) interleaving Gated DeltaNet recurrent layers [7] with attention [8], int8 KV cache, greedy decoding, and real-time typing replay across seven deterministic workspaces plus a mixed C++ and handbook repository. Three mechanisms survive triage and transfer across a 32 GB RTX 5090 (H1), a standalone 16 GB RTX 5060 Ti, and a Dual-GPU peer box (H2).

Figure 2. Before versus after across RTX 5090 (32 GB, H1), RTX 5060 Ti (16 GB), and Dual-GPU Peer (H2), comparing baseline against Read-ahead + Turn-Phase Lookup + Prediction++. Left: median TTFT. Center: turn-opening reply speed. Right: all-reply turn speed, exposing the post-tool boundary and peer-GPU capacity dominance.

2Plan Matrix and Kill-Criteria Triage

Before running measurements, we fixed binary kill criteria for five candidate features: S1 (debounced Read-ahead prefill), S2 (list-based file/tool speculator), S3 (read-only, workspace-jailed tool cache), S4 (predicted context injected into the prompt), and S5 (throwaway-session expert warm-up). Evaluated on H1 (14 sessions × 2 repetitions, n = 56 turns/config, pre-fast-stop engine), a feature survives only if every clause passes against its matched server profile. Enabling the 8,192 MiB dual-session conversation cache alone regressed baseline TTFT from 409.5 to 627.1 ms (+78.7 ms paired, 95% CI [+38.0, +123.3] ms), confirming why S5 and FULL must be paired against B0C.

Figure 3. Initial H1 matrix (pre-fast-stop, n = 56 turns/config). S1 collapses TTFT; S123 reaches the lowest median TTFT (125.9 ms) and boosts first-request decode (145.4 → 208.8 tok/s) via VRAM warming yet exposes a 1,474.5 ms p95 cancellation tail; S5 and FULL regress latency.

Table 2. Pre-registered kill-criteria verdicts on H1 (n = 56 turns/config, pre-fast-stop engine).

Feature Pre-Registered Thresholds Measured on H1 Verdict
S1 Read-ahead ≥30% TTFT gain (paste or turn-1); worst variant ≤+5 ms (vs. B0) Paste 91.0%, turn-1 58.9%; worst −15.4 ms; 94 ms (10.5%) GPU waste Keep
S2+S3 (S123) File recall ≥50% at precision ≥60%; wall time below S1 Recall 58.5%, precision 48.7%; wall −150 ms; +57.9 tok/s 1st-req warming (73.6% → 86.9% hit) Drop → Pursue
S5 Warm-up Turn-1 miss rate or p5 roll32 CI clear of 0 (vs. B0C) Miss +0.3 [+0.0, +1.1] pp; p5 −2.9 [−12.9, +4.1] tok/s; 3,274 ms waste Drop
S4+S5 (FULL) Wall gain ≥10% over S123; check pass Δ≥0; block ≤6,000 tok Wall −5.1%; pass −3.6 pp (pyml 75.0%); 13,652-tok block; 3,434 J/turn Drop

3Preemption in Milliseconds and Fork-Safe Checkpoints

On a single-slot box with no priority queue, any speculative job still running at Enter sits directly on the critical path. Dissecting S123’s 1,474.5 ms p95 tail (11/56 turns >500 ms; p90 914 ms) revealed three nested barriers masking one another: chunk-level STOP checks, synchronous PCIe restoration of borrowed MoE scratch slots before acknowledging STOP, and a 500 ms HTTP server polling loop while the engine was silent mid-chunk. Four fixes cleared the entire path:

  1. Intra-chunk layer preemption (Build B): Check STOP before every layer and during GPU waits, cutting 7,167-token engine-pipe total wait from 3,504 to 202 ms.
  2. Single-expert-paced scratch restoration beside decode (Builds C→D): Simply deferring copy-back (Build C) cuts stop-ack to 48 ms but inflates next TTFT to 166 ms (214 ms total). Bulk-queueing restores ran slower by blocking decode H2D uploads; restoring borrowed experts one at a time beside decode (Build D) cuts total wait to 110 ms.
  3. REEF-style async device-queue eviction (Build E): Adopting REEF’s queue-draining pattern [9], a dedicated CUDA stream sets a device-memory abort flag that already-queued MoE kernels check on their first instruction, bringing engine-pipe total wait down 38.5× to 91 ms (28 ms stop-ack + 64 ms next TTFT; 285 → 44 ms at 226 tokens).
  4. Event-driven HTTP hang-ups: Blocking socket-disconnect propagation eliminates the 500 ms polling floor, cutting 4,000-token end-to-end wait from 1,293 ms (stalled at 606 ms with engine fixes alone) to 112 ms (11.5× faster).
Figure 4. Preemption microbenchmarks. (a) Engine-pipe total wait across Builds A–E drops 38.5× at 7,167 tokens (3,504 → 91 ms). (b) Server end-to-end wait (40 ms hang-up, 4,000 extra tokens) drops 1,293 → 112 ms only after removing 500 ms server polling (606 ms).

Over three repetitions of the 14 sessions (n = 84 turns/config), S1 cut median TTFT from 518 to 215 ms (p90 2,382 → 346 ms, 0/84 slow turns >500 ms vs. 43/84 baseline, faster on 80/84 turns) and S123 dropped median TTFT to 122 ms (p90 914 → 271 ms, slow turns 11/56 → 1/84, paste-then-instruct 2,355 → 126 ms, instant-send flat at 228 vs. 239/240 ms).

Fork-safe checkpoints for non-truncatable recurrent state

One 2,286 ms paste outlier remained under S123 because Gated DeltaNet recurrent state [7] cannot be truncated to an arbitrary token and restores only from saved checkpoints. Once a conversation held ≥4 prior requests, the speculator “rider” evicted Read-ahead’s draft-end checkpoint, forcing the real request to re-prefill the whole paste from history end. Adding a non-destructive fork primitive (snapshotting live recurrent and KV state without consuming a checkpoint slot and remounting it on completion or stop) cut paste re-reads from 4 to 0, slow turns from 1 to 0, and worst paste TTFT from 2,286 to 341 ms (median 116 ms, p90 237 ms, 118/118 checks passed).

4Three Empirical Laws of Offloaded MoE Locality

Replacing throwaway warm-ups (S5) with per-request prefill/decode routing count vectors, throwaway routing reads, and an interruptible PLACE command uncovered three empirical laws on RTX 5090 (192 VRAM expert slots/layer of 512; 24,576 experts total):

  1. Law 1 — Prompt prefills are wider than VRAM. Reading a 1.3k–3.3k-token file activates 17,769–21,426 of 24,576 experts (72–87%). Pre-placing 64/layer trims read time only 0.7%–14.9% because PCIe streaming dominates regardless of placement.
  2. Law 2 — Placement size has a sharp two-thirds knee. Placing 32/layer (1/6 VRAM) produced a misleadingly tiny oracle ceiling (+7.5% code, +2.8% prose; top-32 covers just 0.510 code / 0.448 prose). Sweeping to 128/layer (2/3 VRAM) lifts code new tasks from 182 to 226 tok/s (+44) and second edits from 169 to 197 tok/s (+28), whereas filling all 192 slots regresses code (220, 179 tok/s) and prose edits (136 vs. 153 tok/s) by evicting adaptive-tier slots.
  3. Law 3 — Decode routing tracks turn phase and work kind, not file identity. Causal offline top-128 replay across 28 sessions exposes a sharp turn-boundary shift: the prior reply covers only 0.46 of the next opening reply. Coverage climbs from list speculator (0.72), per-file (0.74), and project (0.77) to prior turn-opening replies (0.81, +4 pts over project without even reading the draft) and full lookup (0.82 vs. 0.97 oracle). Draft-read routing cosine similarity classifies 28/28 synthetic request kinds at zero extra cost, while post-tool replies (holding all but 14–16% of turn tokens) saturate at 0.85 full-card project coverage—ruling out mid-decode index steering.
Figure 5. Proactive MoE placement diagnostics on H1 (192 slots/layer). (a) Oracle decode throughput peaks at 128/layer (2/3 VRAM), while 32/layer under-covers routing and 192/layer evicts useful adaptive slots. (b) Causal offline opening-reply coverage over 28 sessions exposes the 0.46 turn-boundary cliff and the turn-phase advantage (0.81–0.82).

5Turn-Phase Lookup and Prediction++

Offline replay showed why list-based prediction reached only 0.72 coverage: prompting a model to output a structured list of filenames routes differently from writing a real opening sentence plus tool call. We built both missing mechanisms:

  • Turn-Phase Lookup (Lookup): Fires on session open, after each draft read, and after each prediction, staging min(⌊(2/3)C⌋, 128) experts/layer from an equal-weight blend of (1) this project’s prior opening replies, (2) all projects’ prior opening replies, (3) cross-project openings weighted by draft-read cosine similarity, and (4) the session’s latest prediction routing, plus a small project weight.
  • Prediction++ (forked rehearsal): Sends the real turn prompt (conversation, system prompt, tools, and draft) as a fork-isolated side request capped at 256 tokens, cancelled on Enter, with hidden output.
Figure 6. Single 32 GB GPU (H1, 104 paired turns). (a) Median TTFT drops nearly 4× (412 → 114 ms for Lookup + Prediction++; 107 ms for Lookup + list prediction). (b) Lookup + Prediction++ lifts opening decode 165.6 → 288.2 tok/s (+74%, 92% VRAM hit) at much lower energy than list-based Prediction.

Why Prediction++ wins on speed and energy. Real opening replies are brief (a sentence plus one tool call), averaging 59 tokens (0.6 s GPU/turn) versus 194 tokens (3.4 s GPU/turn) for guess lists. Rehearsals finish before Enter more often (88 vs. 75 of 104 turns), hit 298.9 tok/s (93% VRAM hit) when finished, and cut turn energy from 2,698 J to 2,055 J (baseline 1,443 J). Crucially, the speedup is placement, not tool caching: rehearsals matched real tool calls in only 18 of 88 turns (56 hits across 382 cache lookups).

Cross-domain resilience on mixed code and prose

On the mixed workspace (C++ library plus a six-chapter handbook and release notes; 8 sessions, 6 switching file kind on Turn 2; 28 turns/config), a project index helps Turn 1 (83% vs. 70% unindexed) but collapses to 70% after switching file kind. Per-file retains 81%, whereas Turn-Phase Lookup holds 87% across switches (Turn 1: 88% / 250.9 tok/s, Turn 2 switch: 87% / 222.5 tok/s; 88% / 243.8 tok/s on handbook and 87% / 231.0 tok/s on code).

Figure 7. Mixed C++ and handbook workspace on H1 (28 turns). Project indexing collapses after switching file kind (83% → 70%), whereas Turn-Phase Lookup holds steady (88% → 87%).

6Hardware Scaling: 16 GB Eviction Cliff and Dual-GPU Dominance

Porting the stack to a standalone 16 GB RTX 5060 Ti (~69 experts/layer vs. ~191–192 on H1) exposed three tight-VRAM effects: (1) a host-driver pinned-RAM cliff at 57.4–58.0 GiB, forcing runs to pin 50 GiB and stream ~5 GiB via OS page cache; (2) an eviction-guard no-op where single replies churn every slot hot so the default cold-slot guard moved only 146 of 2,208 wanted experts at 46/layer until lifted for C < 128 (restoring 1,372 of 2,208, and 2,227 of 3,312 at 69/layer); and (3) a tight-VRAM trade-off where opening decode jumps +33% (70.5 → 94.0 tok/s) and p90 TTFT plunges 8.8× (4,150 → 469 ms), yet unconstrained typing-time placement slightly taxes longer post-tool replies (79.0 → 74.0 tok/s; length-controlled 78.3 → 73.9 tok/s).

On the Dual-GPU peer box (H2: RTX 5090 + RTX 5060 Ti), capacity beats cleverness: holding overflow experts on the peer GPU lifts unassisted every-reply decode from 196.3 to 343.0 tok/s, outpacing every single-card software stack. Typing-time speculation still stacks cleanly on top, cutting TTFT 356 → 115 ms and lifting opening decode 287.3 → 396.9 tok/s (423.4 tok/s and 97% primary hit when rehearsal completes).

Table 6. Turn-Phase Lookup and Prediction++ across all three hardware tiers (28 sessions × 2 repetitions; select a hardware profile below).

Configuration TTFT
(ms)
p90
(ms)
Open
(tok/s)
VRAM
(%)
Later
(tok/s)
Every
(tok/s)
Turn
(s)
Energy
(J)
Checks

Figure 8. Standalone 16 GB RTX 5060 Ti (~69 slots/layer). (a) Lookup + Prediction++ lifts opening speed (+33%) while slightly taxing post-tool replies (−6%). (b) First-64-token oracle microbenchmark: lifting the cold-slot guard unblocks expert movement on tight VRAM.

7Design-Space Triage: Negative Results and Non-Goals

To keep future builders from repeating dead ends, Section 8.5 of the paper consolidates every design choice across three buckets: implemented mechanisms tested and discarded or superseded, tempting ideas ruled out by empirical evidence before implementation, and deliberate non-goals deferred to future work (alongside symmetrically excluded unparseable tool-call turns: 4, 3, and 1 turns across 32 GB, 16 GB, and Dual-GPU runs).

Table 7. Design-space triage across negative results, discarded designs, ruled-out optimizations, and deliberate non-goals (Section 8.5).

Mechanism / Design Choice Disposition Paper Sec. Empirical Basis or Scope Boundary
Bucket A: Tested and Discarded (or Superseded by a Better Mechanism)
Throwaway expert warm-up (S5) Discarded §5 Failed kill criterion vs. B0C (miss +0.3 [+0.0, +1.1] pp; p5 roll32 −2.9 [−12.9, +4.1] tok/s); parked 50.0% of turns and wasted 3,274 ms/turn.
Predicted context block (S4, FULL) Discarded §5 Failed kill criterion vs. S123 (cross-profile): −5.1% wall gain, −3.6 pp mean check pass, 13,652-tok block (>6,000 cap), 7,098 ms waste.
List-based speculator (S2/S3, S123) Superseded §5, §8 Missed 60% precision bar (48.7% at 58.5% recall); routing mismatched openings (0.72 coverage); burned 3.4 s GPU and 2,698 J/turn vs. 0.6 s and 2,055 J for Prediction++.
32/layer (1/6 VRAM) prefetch Discarded §7 Covered only 51.0% (code) / 44.8% (prose) of self-routing; masked true 128/layer code ceiling (182 → 226, 169 → 197 tok/s; 192/layer regressed via adaptive eviction).
Per-file expert index Superseded §7, §8 Routing tracks task/phase rather than file path: trailing microbenchmark gain (+9/+14 vs. +22/+29 tok/s for work kind) and lower offline coverage (0.74 vs. 0.81 opening blend).
Per-project expert index Superseded §7, §8 Helped Turn 1 (83% VRAM hit) but collapsed after cross-domain file-kind switches in mixed (70% vs. 87% for Turn-Phase Lookup).
Bucket B: Ruled Out by Evidence (Not Built)
Long-prefill expert pre-placement Not built §7 Reads of 1.3–3.3k tokens activate 17,769–21,426 of 24,576 experts (72–87%), exceeding VRAM and capping median read gain at −0.7% to −14.9% (PCIe-bound).
Mid-decode / post-tool index steering Not built §7.3 Offline trace replay showed full-card project entry matches reactive adaptive placement on post-tool replies (0.85; 0.73 at 128/layer vs. 0.92 oracle).
Bucket C: Deliberate Non-Goals and Motivated Future Work
Smaller (<46/layer) 16 GB budget Non-goal §8, §9.2 Stopped unmeasured after 46/layer boosted opening decode (70.5 → 94.0 tok/s) while taxing length-matched post-tool replies (78.3 → 73.9 tok/s).
Verbatim rehearsed-reply serving Future work §8, §9.2 Prediction++ hides its draft output and warms VRAM/tools only; serving exact-match drafts verbatim could shorten opening replies further.
Peer-GPU-aware PLACE Future work §8, §9.2 Current PLACE ignores peer-GPU residency (H2); filtering peer-resident experts would dedicate primary VRAM to RAM/CPU misses.
Post-tool / tool-time prefetch Future work §8, §9.2 Post-tool replies carry ~84–86% of turn tokens (opening = 14–16%) with no typing window; overlapping prefetch with slow tool calls remains open.
Multi-user priority scheduling Non-goal §3, §9 Assumes a single-user, single-slot local box; shared multi-tenant servers require admission and priority control before spending idle cycles speculatively.
Storage-tiered MoEs (>RAM+VRAM) Future work §9.2 Ultra-large (100B–1T+) MoEs spilling to NVMe/SSD, CXL, or networked storage face multi-second cold fetches, elevating typing-time prefetch leverage (unmeasured).

8Design Playbook for Offloaded MoE Inference Systems

Although measured on Basalt and Qwen3.8-Flash-Next, these five principles (Section 8.6) reflect sparse routing and memory-tier physics shared across llama.cpp, vLLM, SGLang, KTransformers, and custom offloaded MoE runtimes:

  1. P1Prefetch for phase transitions, not long prefills.

    Long prefills activate 72–87% of experts (PCIe-bound), whereas turn-opening decodes hit a sharp phase shift (0.46 prior-reply overlap). Focus idle placement on phase boundaries.

    Evidence: §7 (Law 1 & Fig. 5b) — 0.46 prior-reply overlap vs. 0.81 turn-opening lookup.
  2. P2Index by turn phase and work kind, not file path.

    Routing tracks what output is written more than which file is open. Turn-Phase Lookup survives mid-session domain switches (87%) where project keys collapse (70%).

    Evidence: §7 & §8.3 (Figs. 5b & 7) — 28/28 synthetic work-kind classification; +4 pts coverage over project key.
  3. P3Budget prefetch to min(⌊(2/3)C⌋, K*) with capacity-aware eviction.

    Tiny budgets (1/6 VRAM) under-cover working sets; 100% evicts useful adaptive slots. On tight GPUs where single decodes churn every slot, cold-slot guards silently stall prefetch while unconstrained eviction can tax long post-tool replies.

    Evidence: §7 (Fig. 5a) & §8.4 (Fig. 8b) — 182 → 226 tok/s at 128/layer; 146 → 1,372 experts moved after guard lift on 16 GB.
  4. P4Rehearse the real request in an isolated fork.

    A hidden, capped (≤256 tok), fork-safe rehearsal matches true expert routing, runs >3× shorter (59 vs. 194 tokens) and 4.3–5.7× cheaper in GPU time (0.6–0.8 s vs. 3.4 s) than list speculation, warms VRAM and tools jointly, and preserves non-truncatable checkpoints—given tens-of-milliseconds preemption (§6).

    Evidence: §6 (Fig. 4) & §8.2 (Fig. 6) — 288.2 tok/s (+74%) at 2,055 J vs. 2,698 J; 4 → 0 paste rereads.
  5. P5Respect adaptive saturation; scale tier capacity first.

    Reactive placement already matches offline indexes on steady-state post-tool decode (~85% of tokens, 0.85 full-card coverage). Skip mid-decode index steering and invest first in peer-GPU capacity (196.3 → 343.0 tok/s) and peer-aware PLACE.

    Evidence: §7.3 & §8.4 (Fig. 2c, Table 6 Panel C) — 343.0 tok/s unassisted on H2; 396.9 tok/s opening with Lookup + Prediction++.

9Limitations

Every figure in this work comes straight from raw benchmark logs, and its scope boundaries are reported as plainly as its gains (Section 9.1):

  • Post-tool token share (~84–86%): Turn-opening replies account for only 14–16% of agent tokens. Post-tool replies run without preceding typing idle time (197.6–209.4 tok/s across all 32 GB stacks) and incur a −6% eviction tax on 16 GB VRAM.
  • One machine, one model, synthetic traces: All measurements come from one Blackwell workstation and one model pack (Qwen3.8-Flash-Next) under seeded typing replay, deterministic two-turn workspaces, and greedy decoding (where repetitions follow nearly identical paths). S4 ran only inside FULL alongside S5; multi-user serving is out of scope, and tuning a smaller (<46/layer) 16 GB budget was stopped unmeasured.
  • Four disclosed anomalies without verified root causes: (1) the pre/post-fork baseline speed shift, (2) the Lookup + Prediction repetition split (286.0 vs. 239.5 tok/s at identical VRAM hit), (3) Prediction++’s elevated p90 TTFT tail (251/272 vs. 174/222 ms), and (4) overall TTFT overhead on mixed (235–247 vs. 201 ms, driven by Turn 2).

10Future Work: Scaling Beyond VRAM and Host RAM

Ultra-large MoE models (100B–1T+ parameters) spilling onto storage tiers

Our measurements examine a 24,576-expert sparse MoE spilled across GPU VRAM and pinned host DRAM over PCIe, where staging an opening working set takes hundreds of milliseconds—yet the standalone 16 GB run already hit a host-driver pinned-memory cliff (57.4–58.0 GiB), pushing ~5 GiB of cold experts onto the OS page cache.

As frontier sparse MoE models scale into the hundreds of billions to 1T+ parameters, weights exceed both GPU VRAM and workstation host DRAM, spilling cold experts onto NVMe/SSD arrays, CXL memory expanders, or networked storage tiers where cold fetches stretch from tens of milliseconds into seconds. Because human typing naturally provides multi-second idle windows before Enter, proactive typing-time staging—combining Turn-Phase Lookup to predict the opening expert set with fork-isolated rehearsal to pull active experts up the storage hierarchy before submission—is a strong candidate for even greater leverage on storage-tiered MoEs. Quantifying that leverage remains unmeasured future work requiring storage-aware eviction policies, cancellable I/O queues, and multi-tier placement budgets.

Memory-tier scaling context (Section 9.2). Cold-miss fetch timescales across offloaded MoE storage tiers relative to multi-second human typing idle windows (storage-tier leverage is motivated future work and is not measured here).

Offload Regime Cold-Expert Backing Tier Typical Cold-Set Staging Scale Status in This Paper
Dual-GPU Peer (H2) Secondary GPU VRAM + pinned host DRAM Peer compute / fast PCIe transfer Measured (§8.4; 287.3 → 396.9 tok/s opening; 343.0 every-reply base)
Single-GPU Offload (H1 / 16 GB) Pinned host DRAM (+ ~5 GiB OS page cache on 16 GB) Tens to hundreds of milliseconds over PCIe Measured (§7–§8.4; +74% / +33% opening)
Ultra-Large MoE (100B–1T+) NVMe/SSD arrays, CXL expanders, or networked storage Seconds for cold multi-layer expert working sets Future work (§9.2; unmeasured)

Additional direct extensions

  • Verbatim Prediction++ reply reuse: When a user submits a draft unchanged (or sharing a rehearsed prefix), verifying and serving Prediction++’s already-generated opening tokens directly could cut opening-reply decode latency while preserving prefix and tool-safety invariants.
  • Peer-GPU-aware PLACE: Filtering experts already resident on the peer card on multi-GPU boxes (H2) would dedicate primary VRAM strictly to host-RAM/CPU misses and eliminate redundant transfers.
  • Tight-VRAM (<46/layer) budget tuning: Sweeping smaller placement budgets or restoring displaced experts after opening decode on 16 GB-class GPUs could remove the post-tool eviction tax measured in Section 8.4.
  • Tool-execution overlap and broader validation: Agent tool calls (file reads, searches, builds, tests) create shorter non-typing idle windows that may allow post-tool expert prefetch across the ~84–86% post-tool token share. Validating across diverse MoE architectures, multi-turn sessions, real developer keystrokes, and multi-user priority-scheduled servers remains open.

12References

  1. [1]V. Dhakal, A. M. Feit, P. O. Kristensson, and A. Oulasvirta. Observations on Typing from 136 Million Keystrokes. Proc. CHI ’18, ACM, 2018. doi:10.1145/3173574.3174220
  2. [2]S. Ruan, J. O. Wobbrock, K. Liou, A. Ng, and J. A. Landay. Comparing Speech and Keyboard Text Entry for Short Messages in Two Languages on Touchscreen Phones. Proc. ACM IMWUT, 1(4), 2017. arXiv:1608.07323
  3. [3]Y. Leviathan, M. Kalman, and Y. Matias. Fast Inference from Transformers via Speculative Decoding. Proc. ICML 2023, PMLR 202, pp. 19274–19286, 2023.
  4. [4]C. Chen, S. Borgeaud, G. Irving, J.-B. Lespiau, L. Sifre, and J. Jumper. Accelerating Large Language Model Decoding with Speculative Sampling. 2023. arXiv:2302.01318
  5. [5]Basalt Project. Basalt: A Local Inference Engine for NVIDIA Blackwell. Software repository, 2026. github.com/jesdga95/basalt
  6. [6]Prismix. Basalt Announcement (Mirror of the r/LocalLLaMA Post). Online archive, 2026. prismix.dev/news/bb0f0693cafc
  7. [7]S. Yang, J. Kautz, and A. Hatamizadeh. Gated Delta Networks: Improving Mamba2 with Delta Rule. 2024. arXiv:2412.06464
  8. [8]S. Raschka. LLM Architecture Gallery: Qwen3.8 Flash-Next 125B-A6B. Online technical reference, 2026. sebastianraschka.com
  9. [9]M. Han, H. Zhang, R. Chen, and H. Chen. Microsecond-Scale Preemption for Concurrent GPU-Accelerated DNN Inferences. USENIX OSDI ’22, pp. 539–558, 2022. USENIX OSDI ’22
  10. [10]I. Gim, G. Chen, S.-s. Lee, N. Sarda, A. Khandelwal, and L. Zhong. Prompt Cache: Modular Attention Reuse for Low-Latency Inference. MLSys, Vol. 6, 2024. arXiv:2311.04934
  11. [11]C. Chen, G. L. Zhang, X. Yin, C. Zhuo, U. Schlichtmann, and B. Li. LiveMind: Low-Latency Large Language Models with Simultaneous Inference. 2024. arXiv:2406.14319
  12. [12]S. Li and A. Grover. PredGen: Accelerated Inference of Large Language Models through Input-Time Speculation for Real-Time Speech Interaction. 2025. arXiv:2506.15556
  13. [13]N. Dragunov, M. Mikhalchuk, and A. Razzhigaev. Answering While You Type: Optimizing Time-to-Answer with Streaming Generation. 2026. arXiv:2610.26296
  14. [14]N. Ye, A. Ahuja, G. Liargkovas, Y. Lu, K. Kaffes, and T. Peng. Speculative Actions: A Lossless Framework for Faster Agentic Systems. 2025. arXiv:2510.04371
  15. [15]D. Nichols, P. Singhania, C. Jekel, A. Bhatele, and H. Menon. Optimizing Agentic Language Model Inference via Speculative Tool Calls. 2025. arXiv:2512.15834
  16. [16]L. Xue, Y. Fu, Z. Lu, L. Mai, and M. Marina. MoE-Infinity: Efficient MoE Inference on Personal Machines with Sparsity-Aware Expert Cache. 2024. arXiv:2401.14361
  17. [17]K. Kamahori, T. Tang, Y. Gu, K. Zhu, and B. Kasikci. Fiddler: CPU-GPU Orchestration for Fast Inference of Mixture-of-Experts Models. 2024. arXiv:2402.07033
  18. [18]R. Hwang, J. Wei, S. Cao, C. Hwang, X. Tang, T. Cao, and M. Yang. Pre-gated MoE: An Algorithm-System Co-Design for Fast and Scalable Mixture-of-Expert Inference. ISCA 2024, pp. 1018–1031, ACM/IEEE, 2024. doi:10.1109/ISCA59077.2024.00078
  19. [19]X. Song, Z. Zhong, R. Chen, and H. Chen. ProMoE: Fast MoE-Based LLM Serving Using Proactive Caching. 2024. arXiv:2410.22134
  20. [20]Y. Zhang, S. Aggarwal, and T. Mitra. DAOP: Data-Aware Offloading and Predictive Pre-Calculation for Efficient MoE Inference. Accepted at DATE 2025. arXiv:2501.10375
  21. [21]H. Yu, X. Cui, H. Zhang, H. Wang, and H. Wang. Taming Latency-Memory Trade-Off in MoE-Based LLM Serving via Fine-Grained Expert Offloading. EuroSys ’26, pp. 176–191, ACM, 2026. doi:10.1145/3767295.3769319
  22. [22]B. Wu, Y. Zhong, Z. Zhang, S. Liu, F. Liu, Y. Sun, G. Huang, X. Liu, and X. Jin. FastServe: Iteration-Level Preemptive Scheduling for Large Language Model Inference. USENIX NSDI ’26, pp. 57–74, 2026. USENIX NSDI ’26
  23. [23]Y. Qiao, S. Anzai, S. Yu, H. Ma, S. Yang, Y. Wang, M. Kim, Y. Wu, Y. Zhou, J. Xing, J. E. Gonzalez, I. Stoica, and H. Xu. ConServe: Fine-Grained GPU Harvesting for LLM Online and Offline Co-Serving. To appear at ICML 2026 (2024). arXiv:2410.01228
  24. [24]C.-c. Hsieh, Z. Zong, X. Chen, J. Li, J. Zhai, and L. Wen. FlowPrefill: Decoupling Preemption from Prefill Scheduling Granularity to Mitigate Head-of-Line Blocking in LLM Serving. 2026. arXiv:2602.16603

The complete 38-entry bibliography appears in the full 22-page paper (paper/main.pdf).

13Cite This Work

This repository ships a validated CITATION.cff (CFF 1.2.0) powering GitHub’s native “Cite this repository” button and clean Zenodo DOI archival. All measured tables and figures are reproducible from raw logs in results/ via harness/specbench/. The companion Basalt engine implementation (Read-ahead, fast-stop preemption, fork-isolated checkpoints, proactive PLACE, Turn-Phase Lookup, and Prediction++) is publicly available at github.com/Kemerd/basalt-typ-spec (intended for upstream pull request to Basalt and maintained publicly in the standalone fork regardless of upstream merge status).