quantprobe
Will this model run on my machine, and how fast?
Answered in one second, before you download anything — then rebuilt so it runs better.
Most tools help you pick a quantization someone else built. This one measures your model, then builds a file that exists only for your hardware — it probes each layer to find where the model actually breaks, protects that band and crushes the rest, places the result across VRAM/RAM/disk, emits the exact llama.cpp command (or launches it for you with quantprobe auto), and then proves the result: speed re-measured on demand, quality scored by KL divergence, the config put through 40 machine-checked business tasks, and every bench --contribute run feeding a public validation atlas. Because every claim here was pre-registered before measurement, and the misses are published at the same size as the hits.
Quickstart · Browser version · What runs on what · Commands · The laws · When it won't help

Validated, not vibes. 14-model ladder at 8.4% median error on measured hardware · every printed all-in-VRAM number a documented floor (real speed ≥0.90× on 13/13 benchmarks, typically 1.1–1.8× higher) · retrodicts third-party results it never trained on (airllm's 30× spread, DGX Spark reports, a 1.56 TB Kimi rig) · every prediction staked before measuring, and the misses published at the same size as the hits.
The miss is on the chart at the same size as the hits, because that is the only version of this plot worth trusting.
Quickstart
pip install quantprobe
quantprobe plan --model qwen3-30b
[quantprobe] no hardware flags: auto-detected this machine (vram 6GB@192 | ram 16GB@48 | disk 0.5 GB/s).
[quantprobe] calibration applied [ram 24.3 GB/s measured; disk 3.13 GB/s measured] (2026-07-28)
[quantprobe] anchored: CPU x1.18, GPU x0.75 from your calibrate anchor runs [tier ratios; --no-anchors disables]
quantprobe plan - Qwen3-30B-A3B @ 2.5-bit on THIS machine [auto-detected]
model 10.6 GB | active 1.53 GB/token | est. quality cost x1.07 (depth-aware recipe)
* 22.2 tok/s split experts: 34%->VRAM, rest->RAM [pins 7GB of 12GB RAM (CUDA host memory) - …]
19.0 tok/s hybrid: attention->VRAM, experts->RAM [pins 10GB of 12GB RAM (CUDA host memory) - …]
13.2 tok/s pure CPU (GPU idle) [RAM boundary - expect bimodal speed]
binding constraint: BANDWIDTH-BOUND (system RAM bandwidth) - 51% of every decode token is spent there.
validation derived from the law, not confirmed by variance attribution (prereg #95 - …)
run it: llama-server -m model.gguf -ngl 99 -ot "blk\.(16|17|…|47)\.ffn_.*_exps\.=CPU" -lm none -b 1024 -ub 1024 --threads 4
(llama.cpp older than b10875 (Sep 2026) spells `-lm none` as `--no-mmap`; newer builds reject the old flag. run/bench detect this for you.)
The first line is what a fresh install prints. The calibration applied and anchored: lines appear after you run quantprobe calibrate once — measured constants and your own anchor runs, not spec sheets. The binding constraint line is the part most tools never tell you: 3 tok/s, disk-bound means buy RAM; 3 tok/s, bandwidth-bound means don't bother. And it now carries its own scope label, because we tested it the hard way: prereg #95's variance-attribution arm did not confirm the flag-level mapping (the placement lever carried the variance, decided 1000/1000) — so every classification prints "derived from the law, not confirmed by variance attribution" until a re-derivation earns the confirmation. The time decomposition itself is untouched arithmetic; the label prices exactly what isn't measured.
Downloads nothing. Takes a second. No hardware flags needed — it reads your machine. --model and --bits just say what you're considering; point it at a file you already have with --gguf model.gguf instead.
Want it to do the whole thing for you?
quantprobe auto
Detects your machine, asks which model you want, picks the best quant for it, downloads it, and launches. No flags to learn.
Or skip straight to a model we already did the surgery on — the 35B whose depth-aware build loses
29.2% less quality at byte-identical size (the numbers):
quantprobe fetch qwen3.6-35b ./models
Every model in the fragility atlas answers to its own name — including the
opening question, before you spend the download:
quantprobe plan --model qwen3.6-35b --bits 2.9
Those parameter counts are read from a real GGUF, never typed in. Worth knowing why that matters:
two uploads under the same model name can differ by a whole transformer block — one Qwen3.6-35B
build ships an MTP head that others strip, 41 layers against 40 (L-33). So a stored
number travels with the file it was measured on, and quantprobe checks the layer count instead of
trusting the name.
What it does
One pipeline, end to end — most tools ship the first line only:
- Predicts tok/s before you download — across every placement (all-VRAM, hybrid, expert-split, CPU, disk-stream) and picks the winner, printing which resource binds and what fixing it would buy.
- Anchors predictions to your machine — run
quantprobe calibrate once and two benchmark runs on your own GGUF scale every prediction. That path passed the gate it pre-registered before any number existed (prereg #64): leave-one-out median error 19% → 5.8% across 5 arms; ~12% median on the full ladder, misses erring low. --no-anchors restores the plain law.
- Emits the exact command, including the
-ot regex most guides get wrong.
- Finds free speed in what you already have — partial expert offload and prompt-lookup speculation need no new download.
- Builds layer-aware quantizations — measures which layers of your model break under compression, then protects them (−13.2% perplexity on a 7B, and 43.3% less excess loss on a dense 27B, at the same file size). Why a recipe cannot be reused ↓
- Audits a running Ollama install —
quantprobe audit-ollama reads the placement Ollama actually chose, prices it against the planner's, and refuses to compare while VRAM is contended (a measurement discipline most benchmarks skip).
- Proves quality, not just speed — perplexity and full-distribution KL divergence via llama.cpp's own
--kl-divergence, because we measured perplexity moving 23% while the model changed its chosen token on 27% of positions.
- Tells you when to stop — it declines the expensive path on machines that don't need it.
- Runs on stock llama.cpp. No custom runtime, nothing to build.
Why your model needs its own recipe
The fragile layers move between models. Mistral-7B breaks at the front — its first eight layers cost 27× more perplexity than its median band — while Qwen2.5-7B, Qwen3-30B and Qwen3.5-35B all break at the back. Architecture family does not predict it; weight statistics point the wrong way. Protect the wrong band and you spend bits where they buy nothing, which is why quantprobe probe measures your model before quantprobe quantize builds anything. Raw bands: quantprobe/recipes/.
And the payoff, at equal file size (+0.48%, inside the staked ±2% gate):
Bytes are the budget; where the protection goes is the treatment. The speed panel carries a staked miss — we predicted decode would be unchanged (±3%) and it came in +6.6% faster, which is a good outcome and a failed prediction, published at the same size as the wins. Full stake and verdict: prereg 2026-08-04.
It is not a mixture-of-experts trick. Every equal-bytes result above was measured on an MoE, where most of a layer's weight sits in routed experts that move between tiers independently — a structure dense models don't have. So we tested a dense 27B and staked, in advance, that the effect would be weaker there. It was 1.5× stronger: 43.3% of the control's excess loss removed against 29.2% on the MoE, with the two arms byte-identical at 12,483,292,128 bytes — in a dense stack every block has the same FFN dimensions, so swapping which thirteen are protected changes placement and nothing else. The prediction was wrong in the direction that matters, and it is published as a miss: prereg #112, L-34. One dense model is one dense model — a Gemma or Llama arm is the next honest test.
Does the cheap quant actually do the work?
Speed numbers are worthless if the model can't do the job. So we staked a bar before generating a single output — ≥80% of machine-checked tasks or the config is business-useful; under 60% and every tok/s figure we publish gets qualified — and ran the recommended 2.5-bit 30B through 40 auto-scored business tasks: JSON extraction with exact values, arithmetic to the cent, single-label classification, code that must execute and pass assertions, summaries where any number not present in the source fails a deterministic hallucination check.
Result: 40/40. Five tasks initially exhausted a 4k context window mid-reasoning; at 16k all five pass (one needed 7,417 tokens of thinking — reasoning models spend their budget before they answer). Honest floor if you count those five as failures anyway: 85%, still above the staked bar. Full outputs, every check, every verdict →
The task set also carries a difficulty ladder for comparing models on identical predicates — up to a tier designed so today's models fail it:
| model (same 52 predicates, same box) |
staked 40 |
T3 hard |
T4 ceiling |
| Qwen3-30B-A3B @ 2.95-bit (the recommended config) |
40/40 |
5/6 |
1/6 |
| Qwen2.5-7B @ Q4_K_M |
30/40 |
3/6 |
0/6 |
| Qwen2.5-7B @ 2-bit (both quants, byte-equal) |
27/40 |
4/6 |
0/6 |
| Qwen3-0.6B @ Q8 |
22/38* |
3/5* |
1/3* |
* thinking-model truncations quarantined and disclosed, never counted as failures. The 0.6B
fires the suite's own kill rule (57.9% < 60%) — the instrument correctly refuses to call it
business-usable. And one honest anomaly the ladder itself exposed: the only T4 task anyone
solved (the 5-house logic puzzle) was solved by the biggest and the smallest model while both
7Bs failed it — non-monotonic in capability, the signature of training-data recall rather
than reasoning. That task is being replaced with a generated-novel variant; the score stands as
recorded.
Every T3/T4 answer key is recomputed mechanically by the self-test and both logic puzzles are brute-forced to exactly one solution before any model is scored. The T4 nine-digit multiplication is the tier working as intended: the model announced it would need a calculator, then printed a confident 18-digit answer that is wrong at digit 5.
Check any speed claim without owning the hardware
Law 4 is tok/s = η·BW ÷ bytes-per-token, and it prices other people's machines as well as yours (the full hardware × model matrix →):
- "DGX Spark runs 70B Q4 at 35–45 tok/s" — a 70B dense at Q4 moves 42.5 GB per token; at 273 GB/s the perfect-efficiency ceiling is 6.4 tok/s. The claim needs 5.5–7× the bandwidth the hardware has. Whatever was measured, it wasn't single-stream decode.
- A 1.56 TB Kimi K3 rig reported as "10 tok/s" — the repo's own README says seconds per token; the relay inverted the unit by 200–320×. Better: its four RAM presets test the law. "Add RAM" predicts 15.6× speedup; Law 4 predicts almost none (the expert working set can't be cached); measured across the presets: 1.63×.
- airllm's unexplained 30× spread (0.07–2 tok/s across hosts) — the law retrodicts it as a tier boundary: RAM-resident hosts land on the RAM term, disk-bound hosts on the disk term.
Same arithmetic the planner runs — you just feed it someone else's bandwidth and bytes.
One box, two right answers — it depends how many people are using it
At one user the 30B MoE is the better model — smarter, and 19.7 tok/s. At 32 users the
dense 7B wins by 5.5× on aggregate throughput, because routed-expert reads from system RAM do
not amortise across streams while dense weights read once serve everyone. The jump at width
8→9 is a kernel switch, not a smooth curve — which also makes batch widths 2–8 strictly
dominated on this card class. plan prints the right advice for whichever placement it
recommends (U-38 overturned our own prior "2× ceiling"; U-39 confirmed the MoE cap as staked).
Fast vs Custom
|
Fast — quantprobe auto qwen3-30b |
Custom — quantprobe auto qwen3-30b --custom |
| what it does |
picks the best existing quant for your machine, downloads it |
measures which layers of your model break under compression, then builds a version tailored to it |
| time |
minutes (mostly download) |
~50 min for a 7B, ~10 h for a 35B — it tells you before starting |
| disk |
one file |
source + working files, 3–4× bigger |
| speed |
full |
identical — speed comes from placement, not from the build |
| quality |
whatever the community published |
43.3% less excess loss (Qwen3.8-27B, byte-identical, prereg #112) · −13.2% ppl / −39.5% KLD (Qwen2.5-7B, byte-matched, staked) · both measured with no imatrix in either arm |
Most people want Fast. Above ~3 bits per weight, community quants are already near-lossless — so --custom refuses to run on machines that don't need it and says why. Reach for Custom when you're squeezing a model that barely fits (under ~3 bits, where ordinary compression falls off a cliff), when you have a fine-tune nobody has published, or when you need maximum quality at a fixed size.
Free speed you probably already have
Most guides put all of a mixture-of-experts model's experts in system RAM and leave your graphics card half empty. Keeping the first N expert layers on the GPU instead — same file, different flags:
|
all experts → RAM |
partial offload |
| generation |
18.35 tok/s |
20.62 tok/s (+12.4%) |
| prompt reading |
88 tok/s |
~238 tok/s (2–3×) |
plan and run compute the cutoff from your free VRAM and emit the flags.
Free speed, part two: if you write code