Explainer · Updated November 28, 2026 · 3 minute read
What is model distillation?
The short answer
Model distillation is a way of training a small AI model to imitate a larger one. The large model, called the teacher, answers many example prompts, and the small model, called the student, is trained to give the same answers. The student is cheaper and faster to run while keeping much of the teacher's ability on the tasks it was shown.
How distillation works
Large models are expensive to run. Each answer takes more computing time than a small model would need, and the cost adds up across millions of requests. Distillation is a common way to get a small model that performs better than it would if trained on its own.
The teacher is given a large set of prompts and its outputs are recorded. The student is then trained on those pairs of prompt and output. The teacher's answers serve as a ready-made training set, so nobody has to write the examples by hand.
Where distillation is used
AI companies commonly offer their models in several sizes, and some of the smaller, faster versions are built partly by distilling the larger ones. The same technique helps produce models small enough to run on a phone or a laptop.
Businesses use it as well. A company may prove that a task works with a large model, then distill that one task into a small model it can run at lower cost.
How it differs from fine-tuning
Fine-tuning means training an existing model further on examples in order to specialize it. Distillation describes where the examples come from, which is another model. The two overlap in practice, since distilling often means fine-tuning a small model on a large model's outputs.
Limits and disputes
A student tends to do well on the kinds of prompts used during distillation and less well on unfamiliar ones. It also inherits the teacher's mistakes and biases.
Distillation is a source of conflict between AI companies. A competitor can send large numbers of prompts to a rival's public model and train its own model on the answers. Major providers forbid this in their terms of service, and accusations of it surface in the news from time to time.
Common questions
Is a distilled model as good as the original?
Usually not on every task. It can come close on the tasks it was distilled for while costing far less to run.
What is a distillation attack?
A distillation attack is the name some AI companies use for an attempt to copy a model's abilities by sending it prompts in bulk and training another model on the answers. Providers treat it as a breach of their terms of service and try to detect and block it.
Is distillation the same as quantization?
No. Quantization shrinks an existing model by storing its numbers at lower precision, while distillation trains a separate, smaller model.