Skip to content

Quantization comparison on the RTX 4060 Ti 16GB

Dirk-Qwen3.8-27B IQ4_XS

Observed, partial run: Dirk-Qwen3.8-27B IQ4_XS loaded at 128K with Q8 K/V and all 66/66 layers on the GPU, then completed 15 attempts across the five Go Polyglot tasks. It passed 9/15 · 36–80%. The five Python tasks were not attempted before the 240-minute elapsed measurement window ended, so this is not a full-suite ranking or an overall pass-rate comparison. The model used its default medium thinking behavior; --reasoning-format deepseek separated reasoning content for the agent.

Go comparison: Dirk's 9/15 is three fewer passes than Caveling Q4_K_M's 12/15 and two more than Inkling Q4_K_M's 7/15 on the same tasks. Those are differences in repeated attempts, not independently sampled tasks: the Caveling difference is on two tasks, and the Inkling difference is on two tasks. The 95% intervals overlap, so this sample does not establish a statistical ranking. The Caveling 24/30 and Inkling 16/30 overall results include all five Python tasks and are not directly comparable overall to this partial run.

Dirk was slower on the measured paths. Its full-Pi cold median generated 4.61 t/s, versus 22.19 t/s for Caveling, and took 324 s versus 182 s. Across the shared five Go tasks, its mean wall time was 595 s/attempt, versus 327 s for Caveling and 379 s for Inkling: 82% and 57% slower, respectively. Generated tokens were 2,284/attempt for Dirk, 2,287 for Caveling and 6,055 for Inkling.

Task Dirk Go Caveling Go Inkling Go Dirk mean wall Caveling mean wall Inkling mean wall Dirk generated / attempt
go-alphametics 2/3 3/3 0/3 890 s 186 s 492 s 5,112
go-octal 3/3 3/3 3/3 128 s 66 s 108 s 678
go-paasio 3/3 3/3 3/3 292 s 119 s 270 s 1,555
go-poker 1/3 3/3 1/3 765 s 362 s 530 s 3,852
go-robot-simulator 0/3 0/3 0/3 900 s 900 s 497 s 225

Across all 15 Dirk attempts, seven carried intervention_reasons: ["timeout"]; six were failed timeout attempts and one alphametics attempt passed after reaching the task timeout. The records contain no missing_agent_settled intervention. Eight attempts settled, while seven timed out with settlement marked unknown. Seven failed API requests were recorded; all task failures were categorized as timeouts. The llama.cpp records did not report reasoning tokens separately.

The 128K fit used a 13.37 GiB IQ4_XS file. llama.cpp reported 12,821.78 MiB GPU model, 4,352 MiB GPU K/V, 540.5 MiB GPU compute, and 521 MiB host-resident model allocations. These are allocator-reported buffer sizes, not a claim that every byte was resident simultaneously: after the workload, nvidia-smi observed 16,046 / 16,380 MiB GPU use. All layers stayed on the GPU; no offloaded-layer speed comparison was needed. Direct 1K/5K/15K cold probes measured 94.34/86.23/66.21 prefill t/s and 9.12/7.56/5.05 generation t/s, respectively.

Raw evidence: fit, five-way speed, direct size probes, and partial Go suite. The per-attempt task records are named in that suite record.

Caveling-2-Mini Q4_K_M at 64K passed 24/30 · 63–90% on the complete 10-task, three-attempt Polyglot suite; Inkling Q4_K_M at 64K passed 16/30 · 36–70%. Caveling generated 60.9% fewer tokens but was 14.6% slower per attempt. Among Inkling quantizations, differences of one or two tasks are noise-level: the 4096-token reasoning budget changed how Q4_K_M 64K fails, not its rank.

Caveling-2-Mini Q4_K_M comparison

Model/configuration Go Python Overall Mean wall / attempt Generated / attempt Failure categories
Caveling Q4_K_M 64K 12/15 12/15 24/30 · 63–90% 439 s 2,422.4 timeout 6
Inkling Q4_K_M 64K, no budget 7/15 9/15 16/30 · 36–70% 383 s 6,192.9 ran out of tokens/turns 14

Observed: Caveling passed eight more attempts, beyond the one-to-two-task noise level, though the intervals overlap slightly. It had fewer generated tokens, 72,673 total tokens (2,422.4/attempt) versus 185,787 (6,192.9/attempt), but its 439 s per attempt was slower than Inkling's 383 s; all six failures were timeouts. Inferred: consider Caveling where concision and pass rate matter more than wall time, but do not change the default without the skipped 4096-budget comparison and a replicated sample.

Caveling setup, and why it has no budget run

Caveling Q4_K_M at 64K used the measured fit --n-cpu-moe 5 --ubatch-size 64 with Q8 KV. Its GPU model allocation was 13,742.64 MiB, KV/context 1,194.25 MiB, compute 1,140.30 MiB, and host-resident weights 3,792.21 MiB. The initial full-Pi cold median was 120.017 prefill t/s, 22.193 generation t/s, 181.894s wall, and 171.099s TTFT. The server did not report reasoning tokens separately.

Caveling did not receive the Inkling reasoning-budget variant because fewer than 60 minutes remained after the required zipper run. Compare it with the earlier no-budget 16/30 baseline, not a Caveling budget result.

Inkling quantizations

Configuration Prefill t/s Gen t/s TTFT s Suite, 95% interval Mean task wall Tool errors Evidence status
Q3_K_XL 64K 317.31 24.69 65 3/10 · 11–60% 313 s 0 measured run
IQ4_XS 64K 157.29 24.05 131 6/10 · 31–83% 311 s 1 measured run
Q4_K_M 32K 276.31 24.43 75 6/10 · 31–83% 251 s 0 measured run
Q4_K_M 64K, no budget 193.66 24.69 106 16/30 · 36–70%² 383 s² 1² reused measured²
Q4_K_M 64K, reasoning budget 4096 167.17 17.83 123 8/10 · 49–94% 494 s 0 measured run
Q8_K_XL 64K n/a n/a n/a n/a n/a n/a measured non-fit; 5K probe exceeded 1500 s

² Reused from the initial benchmark and the earlier three-attempt suite; not rerun (one tool error across 30 attempts).

Observed: with a 4096-token reasoning budget, Inkling Q4_K_M at 64K stopped running out of tokens. It passed 8/10 · 49–94% in one attempt per task; both failures were 900-second timeouts, while every failure in the other Inkling samples exhausted tokens or turns.

Not separated: 8/10 and the 6/10 · 31–83% of Q4_K_M 32K and IQ4_XS sit inside each other's intervals; each uses one attempt per task, with no replicated comparison. We use Q4_K_M 64K with the 4096 budget for its failure-mode change, not a higher pass rank. The cap leaves half of the 8192 response budget for edits and tools.

Q4_K_M 32K was the fastest of the 6/10 setups: 251 s mean task wall, 24.43 full-Pi generation t/s, and 775 MiB idle GPU headroom. IQ4_XS also passed 6/10 but was slower at full-Pi cold and needed one CPU-offloaded expert layer. Q3_K_XL was fastest and fit at zero CPU expert offload, and passed 3/10 · 11–60%, the lowest count. Q8_K_XL loaded but did not produce a usable 64K fit because even a 5K prompt hit the VRAM/paging cliff.

How these were measured

Metrics are median full-Pi cold values except pi-local evidence. TTFT is full-process. GPU use is idle unless noted. The no-budget Q4 64K baseline was not rerun: the initial benchmark and earlier suite are reused because server and harness stayed the same.

This llama.cpp API/capture did not report reasoning tokens, so they are not measured separately.

Tokens, tool calls and failures per suite
  • Q4 64K + 4096 budget: 8/10, 83,531 generated tokens, 63 tool calls, no tool errors. Both failures were 900-second timeouts. This is the only suite with no token/turn exhaustion.
  • Q4 32K: 6/10, 56,500 generated tokens, 49 tool calls, no tool errors. Four failures exhausted tokens/turns.
  • IQ4_XS: 6/10, 63,880 generated tokens, 47 tool calls, one tool error. Four failures exhausted tokens/turns.
  • Q3_K_XL: 3/10, 76,906 generated tokens, 32 tool calls, no tool errors. Seven failures exhausted tokens/turns.
  • earlier no-budget baseline: 16/30, 185,787 generated tokens, 135 tool calls, one tool error. All 14 failures exhausted tokens/turns.

The key observation is the failure shift: token/turn exhaustion became two wall-clock timeouts.

Server settings and fit

Configuration n-cpu-moe ubatch KV Fit / CPU-resident weights GPU used / 16380 MiB System RAM available Effective context
Q3_K_XL 64K 0 128 Q8 measured; 303.7 MiB host 16014 82.31 GiB 128K Q4, measured
IQ4_XS 64K 1 64 Q8 measured; 1016.5 MiB host 16064¹ 73.22 GiB¹ 128K Q4 at n-cpu-moe 3, measured to 61K prompt
Q4_K_M 32K 6 256 Q8 measured; 3749.8 MiB host 15335 76.76 GiB 32K target; 128K not tested in that run
Q4_K_M 64K, no budget 6 128 Q8 baseline; 3749.8 MiB host 15962² n/m² 128K Q4 previously measured
Q4_K_M 64K, reasoning budget 4096 6 128 Q8 measured; 3749.8 MiB host 16034 76.51 GiB 64K target
Q8_K_XL 64K 7³ 16 Q4 loaded; 4710.7 MiB host, severe cliff 15909⁴ n/m 64K load only; no usable speed point

n/m = not measured. ¹ Measured after the suite. ² Reused baseline, not rerun. ³ Best usable load setup. ⁴ Idle.

Memory and fit notes

GPU use is not kernel allocation. JSON records model, KV/context and compute buffers separately. Q3's 128K point completed 119,015 prompt tokens at 120.37 prefill and 18.22 generation t/s. IQ4's 128K evidence used 61,015 tokens at 107.11 and 21.25 t/s; lower-offload probes at near capacity cliffed and are not usable completions.

  • Q3 had 303.7 MiB host-resident weights at n-cpu-moe 0, 1,629.67 MiB GPU compute at 64K, and 1,201.6 MiB KV/context.
  • IQ4 needed n-cpu-moe 1 plus ubatch 64 for the full 20K-prompt benchmark. At ubatch 128, n-cpu-moe 1 handled a 5K probe but timed out the 18K full-Pi cold request. At n-cpu-moe 0, the 5K probe collapsed to 39.1 prefill and 10.3 gen t/s.
  • Q4 32K used the brief's n-cpu-moe 6 / ubatch 256 setup and retained more GPU headroom than 64K.
  • The best attempted Q8 64K Q4-KV load reported 17,087 MiB GPU model allocation, 313.23 MiB compute, and 639.7 MiB KV/context, saturating the device. Earlier Q8-KV attempts still allocated 2,071 MiB compute or more, according to the logs. Q8's load success is not a usable fit.

Recommendation limits

Measured: speed, TTFT, memory, offload, usable load behavior, suite pass count, wall time, generated tokens, tool calls, tool errors, and failure categories.

Not separated: budgeted 8/10 · 49–94% and 6/10 · 31–83% overlap. A 32K server lowers wall time and leaves more VRAM, without that failure-mode shift.

Baseline restoration

At the end of the measurement sequence, the exact supplied baseline command was restored without a reasoning budget. /health returned ok; /props reported n_ctx=65536, build_info=b12652-212c547fe, model UD-Q4_K_M, and one slot; /slots reported that slot idle. The restored process used 15,892 / 16,380 MiB GPU memory at 0% utilization.

Raw evidence

  • Q3: results/reference/20261201T025000Z-q3-k-xl-64k-config.json
  • IQ4 64K: results/reference/20261201T051000Z-iq4-xs-64k-config.json
  • IQ4 128K: results/reference/20261201T061500Z-iq4-xs-128k-q4-effective-context.json
  • Q8 non-fit: results/reference/20261201T104000Z-q8-k-xl-64k-config.json
  • Q4 32K: results/reference/20261201T104500Z-q4-k-m-32k-config.json
  • Q4 64K + budget: results/reference/20261201T121500Z-q4-k-m-64k-budget4096-config.json
  • Historical baseline: results/reference/20261130T053404Z.json and results/reference/20261130T190520Z-polyglot-suite.json
  • Caveling Q4_K_M 64K initial benchmark: results/reference/20261201T172439Z-84e38959.json
  • Caveling Q4_K_M 64K full suite: results/reference/20261202T010000Z-caveling-q4-k-m-64k-polyglot-suite.json