1. Home
  2. Glossary
  3. Model distillation
AI glossary · Models & training

Model distillation

Model distillation: Model distillation is a training technique in which a smaller 'student' model learns to imitate the outputs of a larger 'teacher' model, producing a model that is cheaper and faster to run while keeping much of the teacher's capability.

Training a great model is expensive; running it is expensive too. Distillation is a way to get most of the benefit at a fraction of the running cost. The large teacher model generates answers, explanations, or step-by-step reasoning across a wide range of prompts. The small student model is then trained to reproduce those outputs. Because it learns from the teacher's polished answers rather than raw internet text, it ends up far stronger than a small model trained from scratch.

This is how many of the fast, cheap models in everyday products are made. Vendors typically train a flagship and then distill it into lighter tiers for high-volume use. Google has described its Gemini Flash models this way, and DeepSeek released small open models distilled from its R1 reasoning model in 2025. The student inherits the teacher's style and much of its knowledge, but not all of it, and it usually falls short on the hardest problems.

Distillation also raises a business question. Most major vendors' terms prohibit using their model outputs to train a competing model, and public disputes over exactly that have already happened. If your company is building its own model, check the terms of any AI service whose outputs feed into it.

Example at work

A customer success team wants an AI assistant inside their help desk that replies in under a second. The frontier model they piloted was accurate but slow and pricey at their volume. Their vendor offers a distilled version of the same model, which answers common questions just as well and escalates the tricky ones to the full model.

Why it matters

Distillation explains why the 'mini' or 'flash' version of a model exists, why it is so much cheaper, and where it will fall short. It is also worth knowing before your organization trains anything on another vendor's outputs, since that practice sits in contested legal territory.

Related terms