agent-bench

Inkling 2 Mini decode speed: Unsloth’s llama.cpp vs Ollama (2026-11-22)

One coding prompt (merge intervals), temperature 0, 400 tokens, 64k context, one discarded warmup then 5 runs per config, one server resident at a time (agent-bench/tools/compare-decode.py). Apple M5 Max, 64 GB. Background load (CoreSimulator, other apps) was not controlled.

Config Quant Decode t/s (min / median / max)
Unsloth llama-server, flash-attn, no draft UD-Q4_K_XL, 16 GB 32.1 / 36.7 / 37.0
Unsloth llama-server + dspark speculative draft (62% accepted) UD-Q4_K_XL, 16 GB 49.9 / 50.4 / 50.6
Ollama 0.40.17, MLX runner (inkling-2-mini-ctx64k) nvfp4, 20 GB 23.4 / 40.1 / 43.1

Reading: speculative decoding is the real gain (about 1.4x over the same server without it, about 1.25x over Ollama’s median). Without the draft model Ollama’s median is slightly higher than Unsloth’s. Ollama’s spread is wide (23 to 43). The quants differ, so this is a runtime-plus-quant comparison. Speed only: pass rates on agent-bench are untested.

Stock llama.cpp 1.0.0 cannot load the model (unknown model architecture: 'inkling2'); support is in open upstream PRs, so Unsloth’s own build is required.

agent-bench, pi harness, 3 runs (-p unsloth inkling-2-mini-unsloth)

Unsloth llama-server at 64k with the dspark draft model, reasoning_effort medium, one server resident. Every run passed all tasks (visible 8/8, hidden 5/5, 6/6, 7/7, no tampering). Seconds per run:

Task Run 1 Run 2 Run 3 Ollama ctx64k Ollama ctx256k
ledger 51 39 67 38 55
shop 120 136 132 178 186
planner 167 153 184 261 227
total 338 328 383 477 468

About 20 to 30% less wall time than Ollama’s single runs on the longer tasks; ledger is within noise. The report table carries run 1 only. Ollama has one run per context, so its spread is unknown.

More Inkling setups and Flint, pi harness, 3 runs each

Every run passed all visible and hidden tests unless noted. Seconds per run (ledger / shop / planner = total):

Setup Run 1 Run 2 Run 3
Unsloth, 64k (above) 51 / 120 / 167 = 338 39 / 136 / 153 = 328 67 / 132 / 184 = 383
Unsloth, 256k (-c 262144, alias inkling-2-mini-unsloth-256k) 79 / 148 / 238 = 465 80 / 126 / 203 = 409 52 / 214 / 312 = 578
MTPLX 2.13 Bare Speed (mtplx serve, port 8001) 19 / 47 / 98 = 164 20 / 63 / 115 = 198 29 / 53 / 103 = 185
Flint 40B-A2.5B on rec, 256k 18 / 62 / 79 = 159 14 / 49 / 98 = 161 17 / 55 / 98 = 170
oMLX 0.8.3 (Inkling-2-Mini-oQ4e-mtp, port 8000, Lightning MTP on) 26 / 79 / 126 = 231 16 / 103 / 107 = 226 44 / 79 / 119 = 242