# Parameter Space Inspector vs nnsight

nnsight is a Python library for reading and editing the internals of any PyTorch model, locally or on the free NDIF remote service for models up to 405B. The Parameter Space Inspector is a local desktop instrument. Scale, code, privacy, and when each fits.

Canonical: https://parameterspaceinspector.com/compare/psi-vs-nnsight/  
Updated: 2026-10-16  
Part of the Parameter Space Inspector (free, open-source desktop app) · section: https://parameterspaceinspector.com/compare/ · Site guide for AI: https://parameterspaceinspector.com/llms.txt

> **Short version.** nnsight's trick is that the same code runs on your GPU or on NDIF's shared hardware, so you can intervene inside Llama 3.1 405B without owning the machine. The Parameter Space Inspector is the opposite shape: everything on your own computer, on models that fit it, with no code and with controls built in. Choose by the size of the model and by whether you want to write the experiment or run it.

## Side by side

| | Parameter Space Inspector | nnsight (NDIF) |
|---|---|---|
| What it is | Desktop instrument that opens a local model and measures it | Python library for interpreting and manipulating model internals; NDIF is the remote execution service |
| Made by | The Emergence Machine | ndif-team, Northeastern University (David Bau's group), NSF-funded |
| Licence and price | Apache-2.0; free | MIT library; NDIF free for researchers with an API key |
| How you use it | Views with controls; no code | `with model.trace(...)` blocks in Python; `.save()` what you want |
| Models | Any GGUF for answers; any Hugging Face-format folder that fits your GPU for inside views | Any PyTorch module; wrappers for transformers, diffusers, vLLM; NDIF hosts Llama 3.1 8B, 70B, 405B and GPT-OSS 120B |
| Where it runs | Locally only | Locally, or remotely on NDIF with `remote=True` |
| What you can do | Logit lens, neurons, attention, patching, concept maps, cuts, SAE features, timeline, grafts, recipes | Read and edit layer outputs, attention, gradients; generation with per-step access; sessions |
| Visualisation | Every measurement is a view | None built in |
| Controls | Untrained twins, random-control knock-outs, gap and random-donor controls | You build them |
| Privacy | Local; nothing leaves unless an optional feature is on | Local runs stay local; remote runs send prompts and interventions to NDIF |
| Activity | Active | 0.8.0 released 2026-10-16 |

## Where nnsight is the better choice

Models too large for your hardware, and experiments that need arbitrary code at arbitrary points in the forward pass. NDIF turns a 405B model into something a graduate student can probe for free.

## Where the Inspector is the better choice

A model you can hold, questions you want answered today, and results you want to keep with their controls and receipts. Nothing you type leaves the machine, which matters for private data and unreleased models.

## Using both

The Inspector's MCP server lets an agent run its instruments; a notebook using nnsight can call the same measurements as a baseline or extend them to a larger model.

## 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.

- **Logit lens**: [Does it fold when you push back?](/blog/does-an-ai-fold-when-you-push-back/), where the logit lens read "Canberra" from about layer 29 of Qwen3-4B and showed how the middle layers changed under pushback.
- **Patching**: [Where is the fact decided?](/blog/where-is-the-fact-decided-activation-patching/), which mapped where copying one activation from the Eiffel Tower prompt brings "Paris" back: a band of middle layers at the subject's position.
- **Cuts**: [Find the tipping point before you prune](/blog/find-the-tipping-point-before-you-prune/), which cut growing shares of Qwen3-4B at random: coherent writing fell to 46% at 20% removed and the model wrote gibberish at 40%.
- **Recipes**: [Merging two specialists: run the experiment](/blog/merge-two-specialists-run-the-experiment/), which built a merge as a hash-pinned recipe and found addition fell from 80.5% to 49.5%, below joint training at 86%.
- **Untrained twins, random-control knock-outs**: [Reproduce a published result tonight](/blog/reproduce-the-phase-shift-on-your-laptop/), which read every score against step 0, the untrained twin, and knocked out induction heads beside the same number of random heads.
- **The Inspector's MCP server lets an agent run its instruments**: [An agent that measures before it answers](/blog/an-agent-that-measures-before-it-answers/), which connects Claude Code to PSI's tools and has it compare two quantisations of Qwen3-4B by surprise on sample tickets.

## Questions people ask

### Why do I get different outputs remotely and locally with nnsight?

Users report small discrepancies between NDIF's vLLM backend and local PyTorch hooks; the project tracks these as issues. The Inspector runs one engine locally, so there is no remote path to differ from.

### Do I need an account?

nnsight needs an NDIF API key for remote runs; local runs need nothing. The Inspector needs nothing.

### Can nnsight do activation patching?

Yes, in code. The Inspector's Anatomy view does it with two sentences and a click.

---

*Facts about nnsight and NDIF verified on 2026-10-16 from the [repository](https://github.com/ndif-team/nnsight), [documentation](https://nnsight.net/documentation/), [ndif.us](https://ndif.us/) and [PyPI](https://pypi.org/project/nnsight/). Corrections welcome.*

---

From [The Emergence Machine](https://emergencemachine.com/). Newsletter: [subscribe on Substack](https://theemergencemachine.substack.com/subscribe). Use-case feed: https://parameterspaceinspector.com/feed.xml. Follow: [Substack](https://theemergencemachine.substack.com) · [YouTube](https://www.youtube.com/@emergencemachine) · [X](https://x.com/emergences4me) · [Bluesky](https://bsky.app/profile/emergencemachine.bsky.social) · [Reddit](https://www.reddit.com/r/emergencemachine/) · [Instagram](https://www.instagram.com/emergencemachine/) · [TikTok](https://www.tiktok.com/@emergencemachine) · [Kaggle](https://www.kaggle.com/emergencemachine/datasets).
