Large models give strong results but are slow and expensive to run at volume. Distillation transfers what a large model does on a task into a smaller one. The big model acts as a teacher, generating answers or probabilities for many examples, and the smaller student model is trained to reproduce them. Many compact models released by providers are made this way, and businesses can use the same idea to cut running costs once a task is well defined.
How it works
A distillation project for a business task usually looks like this:
- Choose the task. Something narrow and repeated at high volume, such as classifying support tickets or extracting fields from emails.
- Generate teacher outputs. Run a capable large model over a large set of real or synthetic inputs and record its answers, sometimes including its confidence for each option.
- Review the outputs. Teacher mistakes become student mistakes, so a sample is checked and errors are corrected.
- Train the student. Fine-tune a smaller model on the teacher's outputs, which serve as its training data.
- Compare. Measure the student against the teacher on held-out examples, and decide whether the quality drop is acceptable for the savings.
Some providers offer built-in workflows for this, where stored outputs from a large model are used to fine-tune a smaller one from the same provider. Model licences and provider terms may restrict using one company's model outputs to train a competing model, so that needs checking.
Distillation is often combined with quantization to shrink the student further.
What it means for cost
Distillation is an investment made to reduce running costs. It adds work up front: generating and reviewing teacher outputs, training, evaluating and deploying the student. It pays off when volume is high and the task is stable, because each request then goes to a cheaper, faster model.
For low-volume or fast-changing tasks, the effort rarely pays back. Ask a builder to show the expected volume, the current per-request cost on the large model, the quality gap on your examples, and how the student will be retrained when the task changes.
Common questions
Is a distilled model as good as the original?
Usually slightly less capable overall, but often close on the specific task it was distilled for. The aim is not to match the teacher everywhere, only on the job that matters.
How is distillation different from fine-tuning?
Distillation is a kind of fine-tuning where the training examples come from a larger model rather than from people. The training step is similar; the source of the examples is what differs.
Can I distil a model from any provider?
Not always. Some providers' terms limit using their outputs to train other models, and open-weight licences vary. Check the terms before planning a distillation project.