Inkling 2 Mini on a 5060 Ti: 93 t/s with DFlash2, 5/5 Tool Calling, and a Better Car Configurator
TL;DR: Inkling 2 Mini (Thinking Machines Lab’s 26.4B looped MoE, Apache 2.0) fits on a single 16 GB desktop GPU (RTX 5060 Ti) and just replaced
Qwen3.6-35B-A3Bas my default model — fast enough to even heal broken Linux binaries inside a disposable VM. Paired with the Q8_0 DFlash2 block-diffusion drafter (--spec-draft-n-max 7) in upstreamllama.cpp, it hit 93.32 tok/s median on coding (+55.4%over baseline,+24.3%faster than DSpark, using158 MiBless VRAM), stayed flat at 15,516 MiB all the way to 58K active context (59.5–61.1 tok/s, 100% needle recall), passed 5/5 tool-calling tests in 7.92 s (2.15× faster than Qwen 3.6), and shipped the cleanest one-shot interactive car configurator I have seen from a 16 GB local model. The catch: you must set--reasoning-effort low, because Inkling’s chat template maps"medium"to0.7.
For months, my 16 GB RTX 5060 Ti VM ran a split personality: Qwen 3.6 35B-A3B for raw MoE speed and long context, and Qwen 3.8 27B Dense when I wanted a visual HTML app to actually finish without runtime bugs.
Then Inkling 2 Mini landed on November 20, 2026 — a 26.4B sparse MoE (3.4B raw active, 5.4B effective) with a twist: it has 24 physical layers, and loops the middle 12 layers three times per token (48 logical layer visits) using hybrid local/global attention. By November 27, upstream llama.cpp had merged fused CUDA kernels (#33060), DSpark (#32218), and DFlash2 (#33073). Time to put it through the exact same gauntlet on the 5060 Ti.
The Setup (and One Quick VM Fix First)
Same GMKtec Proxmox box and passthrough RTX 5060 Ti 16 GB (15,847 MiB usable CUDA VRAM, NVIDIA driver 580.178.04) as my previous posts — with one prerequisite fix. Checking the VM before testing showed my existing Qwen3.6 server had been OOM-killed overnight at 64.8K active context because the VM only had 8 GiB system RAM and zero swap. Bumping the VM to 16 GiB RAM (hugepages: 2) eliminated host-RAM OOMs cleanly.
- Model:
unsloth/Inkling-2-Mini-GGUF—Inkling-2-Mini-UD-Q3_K_XL.gguf(13.63 GB, Unsloth KLD0.0174/96.3%same top token; matches the ~13.7 GB footprint ofQwen3.6-35B-A3B-UD-IQ3_S) - Drafters tested:
dspark-Inkling-2-Mini-Q8_0.gguf(481 MiB) andmaternion/Inkling-2-Mini-DFlash2-GGUFQ8_0(513 MiB) /Q4_K_M(287 MiB) (Nov 27 rebuild withtoken_embd_norm.weightand trimmed200,058vocab) - Runtime: upstream
ggml-org/llama.cppv1.1.0-dev(commit786da85, CUDA12.0/arch=90, Flash Attention,q4_0K/V cache,-np 1,-b 512 -ub 256, text-only withoutmmproj)
DFlash2 vs. DSpark: Why n_max=7 and Q8_0 Matter
Speculative decoding is mathematically lossless — it is free speed if the drafter aligns with the engine and hardware. I ran a controlled 5-run median sweep at 64K capacity on a 512-token Python coding task (thread-safe LRU cache with TTL and unit assertions, 1 warm-up discarded, reasoning_effort="low"):
Configuration (64K ctx, q4_0 KV) | Median decode | Gain vs. base | Median wall | Acceptance | Peak VRAM |
|---|---|---|---|---|---|
| Baseline (no draft) | 60.04 tok/s | — | 8.68 s | — | 14,226 MiB |
DSpark Q8_0, n_max=3 | 75.05 tok/s | +25.0% | 6.97 s | 47.2% | 15,680 MiB |
DSpark Q8_0, n_max=5 | 61.19 tok/s | +1.9% | 8.52 s | 36.2% | 15,688 MiB |
DSpark Q8_0, n_max=7 | 66.38 tok/s | +10.6% | 7.87 s | 33.9% | 15,700 MiB |
DFlash2 Q8_0, n_max=7 | 93.32 tok/s | +55.4% | 5.65 s | 49.1% | 15,522 MiB |
DFlash2 Q8_0, n_max=5 | 59.36 tok/s | -1.1% | 8.78 s | 25.4% | 15,498 MiB |
DFlash2 Q4_K_M, n_max=7 | 68.61 tok/s | +14.3% | 7.62 s | 30.1% | 15,280 MiB |
Three non-obvious takeaways jumped straight out of the data:
- DFlash2
Q8_0(n_max=7) beats DSpark everywhere — including VRAM. It ran 24.3% faster than the best DSpark config (93.32vs.75.05 tok/s) while using 158 MiB less peak VRAM (15,202 MiBidle,15,522 MiBpeak). - Never set
n_max=5on DFlash2. DFlash2 is a parallel block-diffusion drafter trained forblock_size = 8(1 anchor token + 7 masked draft tokens). Cuttingn_maxto5broke block alignment, halved acceptance (49.1%→25.4%), and made it slightly slower than running with no draft at all. - Do not quantize the DFlash2 drafter to
Q4_K_M. Dropping fromQ8_0(513 MiB) toQ4_K_M(287 MiB) saved only242 MiBVRAM but dropped acceptance by 19 percentage points and cost nearly 25 tok/s.
Active Context Stability: 58K with DFlash2, 90K Without
Startup flags do not prove usable context. I fed real, non-cached Python modules calibrated via /tokenize (4K, 32K, 58K, and 90K tokens) with an embedded secret code at 60% depth, followed by a cached second-turn coding prompt at the same fill:
| Active Fill | Inkling Base (64K/96K) | Inkling + DSpark n=3 (64K) | Inkling + DFlash2 n=7 (64K) | Qwen 3.6 moe (98K, no MTP) | Published Qwen 3.8 MTP n=3 |
|---|---|---|---|---|---|
| 4K active | 58.1 tok/s (1,169 pp) | 83.4–89.7 tok/s (1,021 pp) | 87.6 tok/s (930 pp) | 89.8 tok/s (1,818 pp) | 63.9 tok/s |
| 32K active | 52.3 tok/s (1,006 pp) | 65.7–74.4 tok/s (860 pp) | 73.8 tok/s (878 pp) | 71.2 tok/s (1,773 pp) | 45.5 tok/s |
| 58K–64K active | 48.1 tok/s (831 pp) | 52.1–59.6 tok/s (733 pp) | 59.5–61.1 tok/s (759 pp) | 60.2 tok/s (1,639 pp) | 39.1 tok/s |
| 90K active | 43.8 tok/s (615 pp, 14,678 MiB) | — | — | (~46–59 w/ MTP+turbo3) | 36.7 tok/s (96K, 15,732 MiB) |
Key context observations:
DFlash2at64Kcapacity stayed rock-flat at15,516 MiBVRAM across4K,32K, and58Kactive fill, hitting 3/3 exact needle retrieval (fin=stopon every depth).- Hybrid local/global attention keeps Inkling’s KV cache tiny. Without a drafter, expanding capacity from
64Kto96K(q4_0KV) added only274 MiBof VRAM (14,404 → 14,678 MiB), and an actual89,917-token prompt ran cleanly at43.8 tok/s. Upgrading64KKV fromq4_0toq8_0added just358 MiB(14,762 MiB) and matchedq4_0on a 32K needle-recall check. - Where Qwen 3.6 still wins: Prompt prefill throughput. Because Inkling loops its middle 12 layers three times per token, prefill sits around
759–930 tok/sversus Qwen 3.6’s1,639–1,818 tok/s(~2× faster on huge uncached prompts). Also notellama.cppcurrently disables KV cache shifting and--cache-reuseon Inkling’s looped context.
The reasoning_effort Trap ("medium" Is Actually 0.7)
On my very first HTML test with --reasoning-effort medium, Inkling burned 27,868 characters of reasoning on the car configurator and 23,143 characters on the solar system, hitting the 12,288-token cap mid-file — the exact failure mode I ran into with Qwen 3.8 medium/xhigh.
Checking /props exposed why. Inkling 2 Mini’s embedded Jinja template defines:
{%- set effort_map = {"none": 0.0, "minimal": 0.1, "low": 0.2, "medium": 0.7, "high": 0.9, "xhigh": 0.99, "max": 0.99} -%}
"medium" is not 0.5 — it is 0.7, almost identical to "high" (0.9). Switching the server default to --reasoning-effort low (0.2) cut thinking overhead by 3–16× while keeping tool-calling and coding accuracy intact. (Note: even "none" (0.0) still emits a short ~2-sentence thinking trace in Inkling’s template; you can pass any float in [0.0, 0.99] per request.)
Tool Calling: 5/5 in Half Qwen 3.6’s Time
I tested a 5-case homelab ops suite using a 3-tool OpenAI schema (inspect_proxmox_vm, reboot_proxmox_host, query_prometheus): single typed call, parallel 2-VM calls, safety refusal (must not call reboot_proxmox_host when the user only asks whether to reboot or check memory), multi-turn recovery after a tool error on a stopped VM, and typed PromQL arguments.
| Case | Inkling + DFlash2 (effort=low) | Inkling + DSpark (effort=low) | Qwen3.6-35B-A3B (moe) |
|---|---|---|---|
| 1. Single typed VM inspect | PASS — 1.73 s (93 tok @ 116.3 tok/s) | PASS — 2.13 s (102 tok) | PASS — 2.87 s (185 tok) |
| 2. Parallel 2-VM inspect | PASS — 1.59 s (175 tok @ 121.2 tok/s) | PASS — 1.88 s (176 tok) | PASS — 3.41 s (285 tok) |
| 3. Safety refusal (no unsolicited reboot) | PASS — 1.80 s (107 tok) | PASS — 2.83 s (190 tok) | PASS — 7.29 s (650 tok) |
| 4. Multi-turn tool-error recovery | PASS — 2.04 s (118 tok) | PASS — 1.67 s (109 tok) | PASS — 1.73 s (107 tok) |
5. Typed PromQL + optional step_seconds | PASS — 0.76 s (73 tok @ 116.6 tok/s) | PASS — 0.88 s (74 tok) | PASS — 1.75 s (137 tok) |
| Total (5/5 all three) | 7.92 s (566 tokens) | 9.39 s (651 tokens) | 17.05 s (1,364 tokens) |
All three scored 5/5, but Inkling + DFlash2 completed the entire suite in 7.92 s vs. Qwen 3.6’s 17.05 s — 2.15× faster wall time and 2.4× fewer tokens, bursting to 116–121 tok/s on structured JSON tool calls. On a separate 6K-token Python off-by-one debugging prompt, Inkling pinpointed len(recent) >= limit in 15.2 s (788 tok) while Qwen 3.6 looped through all 4,096 tokens of reasoning (46.7 s) without emitting a final answer.
One-Shot HTML Codegen: Verified in Headless Chrome
Same strict rule as my Gemma vs. Qwen showdown and Qwen 3.8 post: one shot, no feedback loop, rendered in headless Google Chrome at 1440×1000 via CDP to catch runtime exceptions, console errors, and broken controls.
Round 1: Interactive Sports-Car Configurator (Zero External Assets)
| Model | Result | Size & Tokens | Runtime Errors | Visual & Interactive Check |
|---|---|---|---|---|
Inkling 2 Mini (effort=low) | PASS (stop) | 20.0 KB (11,501 tok @ 81.0 tok/s) | 0 exceptions, 0 console errors | Sleek coupe silhouette, custom SVG wheel-style icons, volumetric headlight beam; all paint/wheel/light/spin clicks verified via CDP |
Qwen 3.6 35B-A3B (moe) | FAIL (length) | 30.3 KB truncated at 12,288 tok | Script cut off mid-file | Spokes protrude past tires, stray markdown fence top-left, controls non-functional |
| Qwen 3.8 27B (Aug 2026 ref, thinking off) | PASS (stop) | 8.9 KB (3,659 tok @ 59.4 tok/s) | 0 errors | Clean & working, simpler flat pill silhouette |
Clicking the blue paint swatch, Turbine Blade wheel style, and the car itself in headless Chrome cleanly transformed the SVG and triggered the wheel-spin animation with zero exceptions:
For comparison, Qwen 3.6’s same-day attempt truncated at the 12K token ceiling with broken wheel spoke geometry, while Qwen 3.8’s earlier VELOCE finished cleanly with a much simpler silhouette:
Round 2: Three.js Solar System (CDN)
Both models shipped working, 0-error WebGL scenes in a single pass:
| Model | Result | Size & Time | Notes |
|---|---|---|---|
Inkling 2 Mini (effort=low) | PASS (stop, 0 errors) | 8.8 KB, 44.3 s (3,873 tok @ 88.0 tok/s) | 31% faster, brighter planet day/night lighting, subtle dark Saturn rings |
Qwen 3.6 35B-A3B (moe) | PASS (stop, 0 errors) | 15.1 KB, 64.7 s (5,877 tok @ 91.4 tok/s) | Added bonus Speed, Pause, and Reset View controls + brighter textured Saturn rings |
What I Set as Default (and Two Tuning Ideas Still on the Table)
Inkling 2 Mini (UD-Q3_K_XL) + DFlash2 (Q8_0, n_max=7) at 64K context and --reasoning-effort low is now the systemd default on VM 100. Full copy-paste command and flags are in Inkling 2 Mini DFlash2 Server (RTX 5060 Ti):
~/llama.cpp-latest/build/bin/llama-server \
-m ~/.cache/llama.cpp/Inkling-2-Mini-UD-Q3_K_XL.gguf \
-md ~/.cache/llama.cpp/Inkling-2-Mini-DFlash2-Draft-Q8_0.gguf \
--spec-type draft-dflash2 --spec-draft-n-max 7 --spec-draft-n-min 0 \
-ngl 99 -ngld 99 -c 65536 -fa on -ctk q4_0 -ctv q4_0 \
-np 1 -t 6 -b 512 -ub 256 --jinja \
--temp 1.0 --top-p 1.0 --top-k 0 --min-p 0.0 \
--reasoning-effort low --cache-ram 2048 --fit off \
--host 0.0.0.0 --port 11433
I am keeping Qwen3.6-35B-A3B on disk as a one-command fallback (~/llama-serve.sh moe) for sessions that need >64K context with 1,700+ tok/s prefill.
Two additional tuning paths look promising next if I want to squeeze even more out of the 16 GB card without dropping quality:
- Native CUDA 12.8/13.0 (
sm_120a) rebuild: VM 100 currently compiles with Ubuntu’snvcc 12.0(arch=90PTX JIT) even though driver580.178.04already supports CUDA 13.0. Moving to a Blackwell-native toolkit could boost prefill and fused-kernel speed further. - ISTA-DASLab
GSQ-RCO-IQ3_S(10.50 GBon GPU): Keeps the0.93 GBBF16 token embedding in system RAM and claims99.2%of base-model task average in2.2 GBless VRAM thanUD-Q3_K_XL— enough headroom to combineDFlash2+q8_0KV +96Kcontext on a single 16 GB card.
The views and opinions expressed here are my own and do not reflect those of my employer.