Skip to main content

Inkling 2 Mini on a 5060 Ti: 93 t/s with DFlash2, 5/5 Tool Calling, and a Better Car Configurator

· Updated November 28, 2026 · 10 min read

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-A3B as 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 upstream llama.cpp, it hit 93.32 tok/s median on coding (+55.4% over baseline, +24.3% faster than DSpark, using 158 MiB less 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" to 0.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 KLD 0.0174 / 96.3% same top token; matches the ~13.7 GB footprint of Qwen3.6-35B-A3B-UD-IQ3_S)
  • Drafters tested: dspark-Inkling-2-Mini-Q8_0.gguf (481 MiB) and maternion/Inkling-2-Mini-DFlash2-GGUF Q8_0 (513 MiB) / Q4_K_M (287 MiB) (Nov 27 rebuild with token_embd_norm.weight and trimmed 200,058 vocab)
  • Runtime: upstream ggml-org/llama.cpp v1.1.0-dev (commit 786da85, CUDA 12.0 / arch=90, Flash Attention, q4_0 K/V cache, -np 1, -b 512 -ub 256, text-only without mmproj)

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 decodeGain vs. baseMedian wallAcceptancePeak VRAM
Baseline (no draft)60.04 tok/s—8.68 s—14,226 MiB
DSpark Q8_0, n_max=375.05 tok/s+25.0%6.97 s47.2%15,680 MiB
DSpark Q8_0, n_max=561.19 tok/s+1.9%8.52 s36.2%15,688 MiB
DSpark Q8_0, n_max=766.38 tok/s+10.6%7.87 s33.9%15,700 MiB
DFlash2 Q8_0, n_max=793.32 tok/s+55.4%5.65 s49.1%15,522 MiB
DFlash2 Q8_0, n_max=559.36 tok/s-1.1%8.78 s25.4%15,498 MiB
DFlash2 Q4_K_M, n_max=768.61 tok/s+14.3%7.62 s30.1%15,280 MiB

Three non-obvious takeaways jumped straight out of the data:

  1. DFlash2 Q8_0 (n_max=7) beats DSpark everywhere — including VRAM. It ran 24.3% faster than the best DSpark config (93.32 vs. 75.05 tok/s) while using 158 MiB less peak VRAM (15,202 MiB idle, 15,522 MiB peak).
  2. Never set n_max=5 on DFlash2. DFlash2 is a parallel block-diffusion drafter trained for block_size = 8 (1 anchor token + 7 masked draft tokens). Cutting n_max to 5 broke block alignment, halved acceptance (49.1% → 25.4%), and made it slightly slower than running with no draft at all.
  3. Do not quantize the DFlash2 drafter to Q4_K_M. Dropping from Q8_0 (513 MiB) to Q4_K_M (287 MiB) saved only 242 MiB VRAM 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 FillInkling 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 active58.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 active52.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 active48.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 active43.8 tok/s (615 pp, 14,678 MiB)——(~46–59 w/ MTP+turbo3)36.7 tok/s (96K, 15,732 MiB)

Key context observations:

  • DFlash2 at 64K capacity stayed rock-flat at 15,516 MiB VRAM across 4K, 32K, and 58K active fill, hitting 3/3 exact needle retrieval (fin=stop on every depth).
  • Hybrid local/global attention keeps Inkling’s KV cache tiny. Without a drafter, expanding capacity from 64K to 96K (q4_0 KV) added only 274 MiB of VRAM (14,404 → 14,678 MiB), and an actual 89,917-token prompt ran cleanly at 43.8 tok/s. Upgrading 64K KV from q4_0 to q8_0 added just 358 MiB (14,762 MiB) and matched q4_0 on 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/s versus Qwen 3.6’s 1,639–1,818 tok/s (~2× faster on huge uncached prompts). Also note llama.cpp currently disables KV cache shifting and --cache-reuse on 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.

CaseInkling + DFlash2 (effort=low)Inkling + DSpark (effort=low)Qwen3.6-35B-A3B (moe)
1. Single typed VM inspectPASS — 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 inspectPASS — 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 recoveryPASS — 2.04 s (118 tok)PASS — 1.67 s (109 tok)PASS — 1.73 s (107 tok)
5. Typed PromQL + optional step_secondsPASS — 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)

ModelResultSize & TokensRuntime ErrorsVisual & Interactive Check
Inkling 2 Mini (effort=low)PASS (stop)20.0 KB (11,501 tok @ 81.0 tok/s)0 exceptions, 0 console errorsSleek 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 tokScript cut off mid-fileSpokes 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 errorsClean & working, simpler flat pill silhouette
Inkling 2 Mini one-shot Apex GT sports car configurator rendered in headless Chrome

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:

Inkling 2 Mini Apex GT configurator after clicking Blue paint, Turbine Blade wheels, and wheel spin

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:

Qwen 3.6 35B-A3B truncated car configurator with protruding wheel spokes Qwen 3.8 27B reference VELOCE car configurator

Round 2: Three.js Solar System (CDN)

Both models shipped working, 0-error WebGL scenes in a single pass:

ModelResultSize & TimeNotes
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
Inkling 2 Mini one-shot Three.js Solar System simulation Qwen 3.6 35B-A3B one-shot Three.js Solar System simulation with speed and pause controls

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:

  1. Native CUDA 12.8/13.0 (sm_120a) rebuild: VM 100 currently compiles with Ubuntu’s nvcc 12.0 (arch=90 PTX JIT) even though driver 580.178.04 already supports CUDA 13.0. Moving to a Blackwell-native toolkit could boost prefill and fused-kernel speed further.
  2. ISTA-DASLab GSQ-RCO-IQ3_S (10.50 GB on GPU): Keeps the 0.93 GB BF16 token embedding in system RAM and claims 99.2% of base-model task average in 2.2 GB less VRAM than UD-Q3_K_XL — enough headroom to combine DFlash2 + q8_0 KV + 96K context on a single 16 GB card.

The views and opinions expressed here are my own and do not reflect those of my employer.