Parameter Space Inspector

COMPARISON / LOCAL MODEL RUNNERS

Parameter Space Inspector vs llama.cpp

llama.cpp is the engine; the Parameter Space Inspector runs on it. What llama-server's web UI and API show (top-N token probabilities), what they do not, and why the Inspector adds a second engine for the inside views.

Updated 2026-10-16 · Markdown version

Short version. This is not a rivalry. The Inspector uses llama.cpp's llama-server for every answer it generates, and you install a llama.cpp release to run it. The comparison is between using llama.cpp on its own, through its web UI and API, and using it through the Inspector, which adds the views and a second engine for the inside of the model.

Side by side

Parameter Space Inspector llama.cpp (llama-server)
What it is Desktop instrument built on llama.cpp plus a PyTorch engine MIT inference engine with CLI, HTTP server and a bundled web UI
Made by The Emergence Machine ggml-org, founded by Georgi Gerganov
Licence Apache-2.0 MIT
Platforms Windows (tested); Apple Silicon Mac (browser mode tested); Linux code paths Linux, macOS, Windows and more; CUDA, Metal, Vulkan, HIP, SYCL and other backends
Model formats GGUF for answers; unpacked folders for inside views GGUF; converters from Hugging Face and LoRA
Token alternatives Fork map of every step, take the other road, sampled continuations API: n_probs returns top-N probabilities, post_sampling_probs after samplers
Attention, layers, neurons, SAEs Yes, on the second engine None
Training, merging, lineage Timeline, Graft lab, Commons recipes, verifier LoRA adapters and control vectors loadable at runtime; no training or merging
Developer surface MCP server for every instrument OpenAI- and Anthropic-compatible endpoints, grammar-constrained output, tool calling, MCP servers (stdio), router mode
Privacy Local; nothing leaves unless an optional feature is on No telemetry; optional local metrics
Release cadence Tracks llama.cpp releases Several tagged builds per day

Where llama.cpp alone is the better choice

Serving. If you want the fastest, leanest way to run a GGUF model and expose an API, llama-server is it, with router mode for switching models and grammar-constrained output for structured answers.

Where the Inspector is the better choice

Reading the model. llama.cpp exposes the next token's probabilities; it has no view of them across an answer and no access to layers, neurons or training history, because that is not its job. The Inspector's Generate view is built on n_probs; everything inside the model comes from the second engine on the unpacked weights.

See it in a case study

Each of these is a published study you can repeat in the Inspector and change to your own question.

  • Fork map of every step, take the other road: What else was it thinking?, which reads the odds behind one answer (as raw text, 66% on superintelligence for "the biggest risk") and takes the other road at the first real fork (misused 61%, used 37%).
  • Layers, logit lens: Does it fold when you push back?, where the logit lens read "Canberra" from about layer 29 of Qwen3-4B; separately, a confident wrong claim flipped 5 of 10 easy answers.
  • Training checkpoints (Emergence): Reproduce a published result tonight, which scrubs Pythia-410m checkpoints from step 0 upward and finds the heads that look back go from 0 of 384 at step 512 to 12 at step 1,000, while the loss falls smoothly.
  • Commons recipes: Merging two specialists: run the experiment, which builds a merge as a recipe that rebuilds to the same bytes and tests it on held-out data: addition fell from 80.5% in the specialist to 49.5% in the merge.
  • Verifier: Publish a model others can verify, which pins the parents by hash, records the lineage, runs the verifier that marks each claim proof, evidence or claim, pushes with tags and signs the bytes with model_signing sign.
  • MCP server for every instrument: An agent that measures before it answers, where Claude Code calls PSI's instruments over MCP to compare two quantisations of Qwen3-4B on sample tickets, after reading the Self-portrait.

Questions people ask

Why does the Inspector need two engines?

llama.cpp runs quantised GGUF files fast, but quantised weights are the wrong material for reading activations. The inside views load the bf16 weights with PyTorch, which is also why they need more memory.

Which llama.cpp build should I install?

A release with llama-server for your GPU: the CUDA build for NVIDIA cards. Put it on the PATH or set PSI_LLAMA_DIR.

Does the Inspector work with ik_llama.cpp or other forks?

It needs llama-server with the standard API. Forks that keep that API should work; the tested path is the upstream release.


Facts about llama.cpp verified on 2026-10-16 from its repository, the server README and releases. Corrections welcome.