Distillation
A 70B model answers well but needs a workstation. A 4B model fits on a laptop but doesn't. Distillation is the shortcut between the two: you don't shrink the big model, you teach a small one to imitate it.
The original idea is older than the current wave of AI. Geoffrey Hinton and two co-authors described it in 2015 as a way to compress an ensemble of models into one, calling the output "soft targets" — the full probability distribution over the teacher's answers, not just the winning label. The reason it works is simple: a teacher that says "85% cat, 12% dog" tells the student more than a label that only says "cat."
What actually happens
A teacher model — large, expensive, already trained — runs over a lot of data and produces outputs. A smaller student model trains to match those outputs rather than to match the original human labels.
There are three broad variants you'll see in the wild:
- Response distillation — the student is trained on the teacher's written answers. This is the version behind most "small model that's surprisingly good" releases. It's simple to do and cheap to scale.
- Reasoning distillation — the student learns from the teacher's step-by-step traces, not just final answers. This is how small models acquire reasoning-shaped behavior, and it's why some 3B models produce long chains of thought.
- Logit distillation — the student matches the teacher's full probability distribution at every token. Closest to the original Hinton idea, and usually the strongest per example, but it requires access to the teacher's raw outputs, which closed APIs don't give you.
What it buys you
Capability per byte. A well-distilled 7B can handle tasks that previously needed 30B or more. That's the entire pitch, and it's the reason the local scene keeps getting better at the low end.
Speed and fit. Smaller models mean lower latency, less memory, and more headroom for long context. Everything that made you care about quantization applies here too, and they stack: distill first, quantize second.
Specialisation. You can distill a narrow skill — summarising contracts, writing SQL, triaging tickets — into a tiny model. This is often the real win for home users, because you don't need a generalist.
What it costs you
Breadth. The student learns what the teacher showed it. Skills the teacher has but didn't demonstrate, or knowledge outside the training data, don't transfer. Small distilled models are famously uneven: excellent at a handful of things, surprisingly weak at others.
Errors, inherited faithfully. If the teacher is wrong, the student learns to be wrong the same way. Distillation doesn't filter for correctness; it copies.
A quieter kind of licensing question. If you distill from a model whose license forbids it, "it's only a 7B" doesn't change the terms. Some open-weight licenses restrict training on their outputs — including the ones we've covered here. Worth checking before you build anything commercial.
Homogeneity. If everyone distills from the same three teachers, everything small starts to look alike — same style, same blind spots, same safety refusals. You can usually feel it before you can prove it.
How it differs from the things next to it
This trips people up constantly, so keep the three apart:
| What changes | What stays | |
|---|---|---|
| Distillation | The weights — a new model is trained | You get a different model entirely |
| Quantization | The precision — same weights, fewer bits | Same model, smaller file |
| Fine-tuning | The weights, from a pretrained start | Same size, new behavior |
So a "Q4 quantized 7B" is the same 7B with less precision. A "7B distilled from a 70B" is a different model that learned to imitate a bigger one. They're often both true at once — which is why model names stack labels: 7B-distilled-Q4_K_M.
How to spot it in the wild
Model cards are usually explicit — look for "distilled from," "trained on outputs of," or a named teacher. Watch for these too:
- A small model punching far above its weight on benchmarks — often a distillation, and often trained on data resembling the benchmarks.
- Benchmark data leaking through the teacher. If the teacher was trained on a test set, the student can inherit that advantage. Distilled scores deserve more skepticism than base-model scores, not less.
- "Distilled" used as a marketing word. Sometimes it means a genuine teacher-student setup, sometimes it means "we trained a small model on synthetic data from a big API." Both are real techniques; they're not the same thing.
FAQ
How much does distillation cost, and who actually does it?
The money goes into running the teacher. A large model has to generate a lot of text — often hundreds of thousands to millions of samples — before the student has enough to learn from. The student's own training is then comparatively cheap because it's small.
Who does it falls into three groups. Labs do it on their own GPUs to ship products. Cloud providers sell it as a feature: Google's Vertex/Agent Platform documents distillation fine-tuning where you name a teacher and it generates the training responses for you. And individuals do it at a much smaller scale, usually on a single rented GPU with a narrow task and a few thousand examples.
For a home user, the honest answer is that full-scale distillation is out of reach, but distilling one skill into a small model is not. That's the version worth caring about.
Is it legal?
Sometimes, and the license decides, not the technique.
- Distilling from outputs you received legitimately — through an API or downloaded weights — is generally allowed by copyright in most jurisdictions, since there's broad agreement that training on data is permitted. The technique itself isn't illegal.
- The model's terms are the real constraint. Many service terms prohibit using outputs to train competing models. Many open-weight licenses add their own restrictions. Those are contract terms, and breaking them is a licensing problem regardless of what copyright says.
- Publishing the result has its own terms. Your distilled model inherits obligations from the base model you started from. Distilling a Llama base gives you Llama obligations.
- This is not legal advice. If you're shipping something commercial, read the license of the teacher and the base — not a blog post, including this one.
What are popular distilled models people actually run locally?
The DeepSeek-R1 distill family is the cleanest example, because the lineage is fully documented. DeepSeek generated reasoning samples from the full R1 model and fine-tuned six smaller dense models on them, based on Qwen 2.5 and Llama 3.x bases — at 1.5B, 7B, 8B, 14B, 32B and 70B. These are what many people mean when they say they're "running R1 locally," and they're available directly through Ollama. Note the sizes are the student's size; the teacher was far bigger.
More broadly, most current small reasoning models are distilled or trained on synthetic data from a larger model. The pattern to recognise is the naming: two model families joined by a hyphen usually means one taught the other.
Can I distill a model on my own hardware?
A small skill, yes — a whole model, no.
Realistically you need a teacher you can run or query, a task narrow enough that a few thousand good examples cover it, and a student small enough to fine-tune. That's a single-GPU job, not a cluster job. What you're not going to do is reproduce a 7B model with a 70B's general competence on a desktop; that takes the kind of data generation budget a lab has.
Is a distilled model worse than the original?
It's not worse so much as narrower. On the skill it was distilled for, a good student can come close to teachers far larger than itself. On everything else — world knowledge, unusual tasks, edge cases — it falls back to the limits of its base model and its training. Expect a model that's excellent at a few things and ordinary at the rest, rather than a small copy of the whole.
Does distillation make fine-tuning pointless?
No, they answer different questions. Distillation says "become more like this bigger model at this task." Fine-tuning says "become better at my data, terminology and format." You can do both, and often should: take an already-distilled model and fine-tune it on your own examples.
Should you care?
If you run local models, yes — it's the main reason a laptop can now do things a desktop couldn't last year. It's also the reason to read model cards carefully: "small and capable" is a claim about where that 4B's abilities came from, and how much of the world it actually covers.
Why it matters: distillation is why the floor keeps rising — small models get better every quarter without needing better hardware, which is the single biggest thing that's changed for people running AI at home.
Sources: Hinton, Vinyals & Dean — "Distilling the Knowledge in a Neural Network" (arXiv:1503.02531); DeepSeek-R1 model card and distill checkpoints; Google — distillation fine-tuning for open models. General technique descriptions drawn from these and current model cards on Hugging Face. Accessed November 1, 2026.
