Large language models have become remarkably capable, but they are also enormous. The biggest need data-centre hardware to run, which makes them expensive and slow to deploy anywhere else. LLM distillation shrinks them: a small model is trained to imitate a large one, keeping as much of its skill as possible in a fraction of the size.
The idea is simple to state and tricky to do well. A large “teacher” model produces answers, and a smaller “student” model learns from those answers instead of from raw text alone. Because the student sees not just the final answer but the teacher’s confidence across many possible answers, it learns the reasoning behind the answers, not just the answers themselves. The result runs on a laptop or a phone and still handles many of the same tasks.
Distillation matters in 2027 because the most useful AI increasingly runs where the user is: on a device, inside an app, or on a modest company server, without sending every question to a distant data centre. Smaller models mean lower cost, faster responses, and better privacy. Understanding how they are made helps anyone choosing AI tools judge what a “small but capable” model can do.
Key takeaways
- LLM distillation trains a small “student” model to imitate a large “teacher” model, transferring skill, not just data.
- The student learns from the teacher’s probability distributions, which carry richer information than single answers.
- Distilled models are far smaller and cheaper to run, with some loss of ability on the hardest tasks.
- Distillation differs from fine-tuning and compression: it creates a new, smaller model rather than adjusting or shrinking the original.
- Quality depends on the teacher, the training data, and careful evaluation; a distilled model is only as good as its teaching.
| Detail | What is known |
|---|---|
| Teacher | A large, capable model that generates training examples |
| Student | A smaller model trained to imitate the teacher |
| Typical size reduction | Often 10 to 100 times fewer parameters |
| Main benefit | Lower cost, faster responses, modest hardware |
| Main trade-off | Some loss of ability, especially on rare or complex tasks |
| Training signal | Teacher outputs, including probability distributions |
| Common uses | On-device assistants, chatbots, search, summarisation |
| Not the same as | Fine-tuning, pruning, or quantisation, though they can be combined |
What LLM distillation actually means
Distillation is a training method, not a type of model. It describes how a small model is taught: by learning from a large model’s behaviour. The name comes from distilling something down to its essence. The teacher holds a huge amount of knowledge in billions of parameters, and distillation tries to extract the most useful part into a student with far fewer.
Compare a textbook with a revision guide. The textbook contains everything, including rare facts and long explanations. The guide is shorter, written by someone who read the textbook and kept the ideas that matter most. A student who studies only the guide will do well on most exams, though they may struggle with an obscure question. Distilled models work the same way: strong on common tasks, weaker on the long tail.
How distillation works, step by step
The process starts with a teacher model that already performs well, and a set of prompts to ask it. The teacher answers each prompt, and for every answer it also produces a distribution: a score for each possible next word. That distribution is the key ingredient, showing the teacher’s uncertainty and which alternatives are close.

The student is then trained on those prompts, aiming to match the teacher’s distributions rather than just copying the single best answer. When the teacher is 80 percent sure of one word and 15 percent sure of another, the student learns both facts. That extra information is why distillation beats training the small model on final answers alone: the student gets a richer picture of how the teacher thinks.
Training usually mixes teacher outputs with real text and labelled examples. The balance matters: too much imitation and the student copies the teacher’s mistakes as well as its strengths; too little and the benefit disappears. After training, the student is tested on the same benchmarks as the teacher, so the gap is visible and measurable. For background, our explainer on what a large language model is covers how these systems are built.
Types of distillation
Response-based distillation is the most common form. The student learns from the teacher’s outputs, matching its answers and probability distributions. It is straightforward and works across most tasks, from answering questions to summarising documents. Most small chat models shipped in phones and apps in 2027 are trained this way.
Feature-based distillation goes deeper. Instead of only copying outputs, the student learns to reproduce the teacher’s internal representations: the patterns of activity inside the model as it processes text. This can transfer more skill, but it needs compatible internal structures, which limits how different in size the two can be. It is more common in research.
Benefits and limits
The main benefit is cost. A distilled model needs far less memory and computing power, so it can run on a laptop, a phone, or a single modest server instead of a data-centre cluster. That cuts inference costs sharply and reduces latency, since the answer need not travel to a remote server and back. It also improves privacy, as sensitive text can be processed on the user’s own device.
The trade-off is capability. A student rarely matches its teacher on the hardest tasks: complex reasoning, rare topics, long documents, and questions the teacher itself barely answered. The gap is usually small on everyday tasks and grows on unusual ones, so distilled models suit well-defined jobs with predictable inputs. Anyone deploying one should test it on their own hardest cases, not just standard benchmarks.
Distillation also inherits the teacher’s flaws. If the teacher is biased, out of date, or prone to confident mistakes, the student learns those patterns too. A student trained only on a teacher’s outputs has no independent source of truth, so the teacher’s errors become the student’s. Careful evaluation and a mix of real data in training are the main defences.
Where distilled models are used
On-device assistants are the most visible use. Phones, laptops, and cars now run small models locally for voice commands, message drafting, and quick answers, where waiting for a server would feel slow and sending voice recordings to the cloud raises privacy questions. Distillation makes those local models good enough to be useful.
Customer-facing chatbots are another large use. A company answering millions of similar questions a day does not need a giant model for each one; a distilled model trained on its own support data handles the common cases at a fraction of the cost, with the largest model reserved for the hardest conversations. Our guide to the best AI chatbots includes several tools built on smaller, distilled models marketed on speed and cost rather than raw capability.
Distilled vs full-size vs fine-tuned
A distilled model and a full-size model differ mainly in scale and cost. The full-size model is more capable, especially on novel or complex tasks, but costs far more to run and needs specialist hardware. The distilled model is cheaper and faster, and close enough on routine work that most users would not notice the difference. Choosing between them is usually a question of budget and latency, not of whether the small model works.
How to choose a distilled model
Start with the task, not the model. List the questions it will answer, the quality bar for a good answer, and what happens when it gets one wrong. Then test candidates on your own examples, including the hardest ones, rather than trusting a benchmark score. Benchmarks measure general ability; your examples measure the ability you actually need.
Check the model’s origins. Who trained it, what teacher was used, and what data went into training affect quality and licensing. A model distilled from a proprietary teacher may carry licence restrictions on commercial use, even when the student is freely available. Read the licence before building on it, and check whether the provider publishes evaluations for the tasks you care about.
Finally, consider where the model will run. On-device deployment favours the smallest models that meet your quality bar, while server deployment allows larger students with better accuracy. Measure latency and cost per thousand requests at your expected volume: a model that looks cheap in a demo can become expensive at scale. For context, our explainer on what machine learning is covers the foundations distillation builds on.
Checklist: judging a distilled model honestly
Use these checks before relying on a distilled model.
- It is tested on your own hardest examples, not only published benchmarks.
- Teacher, training data, and licence are documented and permit your use case.
- Accuracy on routine tasks is close to the teacher, with the gap measured.
- It runs within your latency and cost budget at realistic volume.
- Known failures are documented, with a fallback to a larger model or a human.
- Outputs are monitored in production, not just evaluated before launch.
Frequently asked questions
Is a distilled model just a smaller version of the teacher?
Not exactly. It is a new model, trained from scratch to imitate the teacher’s behaviour, with its own weights and architecture, usually much smaller. It learns from the teacher’s outputs rather than being cut down from the teacher, so the student can have a different design.
How much capability is lost in distillation?
It depends on the size gap and the task. A student a tenth the size of its teacher often keeps most of the teacher’s performance on common tasks, losing more on rare or complex ones. The honest answer is measured, not assumed: run both models on your own test set. Benchmarks are a rough guide, but your data is the real test.
Can I distil a model myself?
Yes, with access to a teacher model and enough computing power. The simplest path is to collect the teacher’s answers to your own prompts, then train a small open model on them. That is practical for a narrow, well-defined task; distilling a general-purpose model from scratch needs serious infrastructure and data.
Is distillation the same as fine-tuning?
No. Fine-tuning adjusts an existing model for a specific task using labelled data. Distillation creates a new, smaller model by training it on a larger model’s outputs. The two are often combined: a model is distilled to make it small, then fine-tuned to make it specialised. They solve different problems.
Are distilled models safe to use commercially?
Usually, but check the licence. Some teachers prohibit using their outputs to train competing models, and that restriction can pass through to the student. Open teachers and openly licensed training data avoid the problem. When in doubt, use a model whose training lineage is fully documented.
Will distilled models replace large models?
No, they complement them. Large models remain the teachers, still needed for the hardest tasks, for research, and for training the next generation of students. The realistic future is a mix: small distilled models handling routine work, with large models reserved for questions that genuinely need them.
The bottom line
LLM distillation is how the capability of large models reaches places they cannot go: phones, laptops, small servers, and high-volume applications where cost and speed matter. A small student, trained on a large teacher’s outputs, keeps much of the teacher’s skill at a fraction of the size and cost, with the greatest losses on the hardest and rarest tasks.
For anyone choosing AI tools, the practical question is not whether a model is distilled, but whether it handles your tasks well enough at a price and speed you can afford. Test it on your own hardest examples, check its licence and origins, and keep a larger model or a human in reserve for cases it cannot handle.


