Distillation
Distillation trains a smaller "student" model to mimic a larger "teacher" model's outputs, capturing most of the quality at a fraction of the inference cost.
In more detail
What it means
Distillation produces a small fast model that behaves like a big slow one. The student trains on the teacher's outputs (logits or generated text) rather than human-labelled data, which lets it pick up nuanced behaviour cheaply. In 2026 distillation drives most consumer-facing inference: GPT-4o-mini, Claude Haiku, Gemini Flash, and Llama 3.3 8B are all distilled from larger siblings. The current frontier is reasoning distillation — teaching small models to chain-of-thought by training on traces from o-series or Claude with extended thinking. Practitioners filter teacher outputs through quality judges, preserve coverage of rare cases in the transfer set, and re-evaluate the student on held-out tasks, because imitation amplifies whatever biases and gaps the teacher exhibits.
Part 1 of 2
When to use it, and when not
Use it for
- Cost-sensitive inference at high volume.
- Edge / on-device deployment.
Part 2 of 2
Common mistakes
- Distilling from a teacher that itself is wrong — student inherits the errors.
- Skipping evals — distilled models can drift on long-tail tasks.
FAQ
Questions readers ask.
What is distillation?
Distillation trains a smaller "student" model to mimic a larger "teacher" model's outputs, capturing most of the quality at a fraction of the inference cost.
When should you use distillation?
Cost-sensitive inference at high volume. Edge / on-device deployment.
What are the common mistakes with distillation?
Distilling from a teacher that itself is wrong — student inherits the errors. Skipping evals — distilled models can drift on long-tail tasks.
Last updated: 2026-09-18. Raw markdown: https://promtable.com/glossary/distillation.md. Found a mistake? Tell us.