Model Distillation

What is Model Distillation?

Model distillation is a technique for training a smaller, cheaper AI model to reproduce the behavior of a larger model on specific tasks, by learning from the larger model's outputs.

Updated November 2026 · 5 min read


Model distillation transfers knowledge from a large, capable model, called the teacher, to a smaller model, called the student. The teacher is used to generate answers, labels or reasoning for a large set of examples, and the student is trained on those outputs until it can produce similar results on its own. Because the student is much smaller, it costs far less to run and responds faster. The technique, also known as knowledge distillation, is widely used both by model developers to create smaller versions of their models and by organizations to build compact models for their own tasks.

Distillation is one of the most powerful ways to reduce inference costs for high-volume, well-defined tasks. A frontier model may be needed to perform a task well at first, but once its outputs have been captured, a distilled model can often handle the same task at a small fraction of the cost. For IT financial management, distillation turns a recurring, usage-driven expense into a one-time training investment followed by much lower running costs, which can transform the economics of AI at scale.

Definition of Model Distillation

Model distillation is the process of training a smaller student model to imitate a larger teacher model, using the teacher's outputs as training data. The goal is to retain most of the teacher's quality on target tasks while greatly reducing model size and inference cost.

Distillation can produce general-purpose small models, but organizations most often use it to create models specialized for one task or a narrow set of tasks, where a small model can match a large one closely.

How Distillation Works

First, a set of representative inputs is collected, such as real customer questions or documents to be classified. The teacher model processes these and its outputs are recorded.

The student model, usually a small open-weight model, is then trained on the inputs and the teacher's outputs, a process similar to fine-tuning. Some approaches also use the teacher's reasoning or probability scores to teach the student more effectively.

Finally, the student is evaluated against the teacher on a separate test set to confirm that its quality is acceptable before it replaces the teacher in production.

Distillation and Other Techniques

Distillation reduces cost by making the model smaller. Quantization reduces cost by storing the same model's numbers at lower precision. The two are often combined.

Distillation differs from fine-tuning a small model on human-labeled data, although the training process is similar. Its distinctive feature is that the labels come from a larger model, which can generate large training sets quickly and cheaply.

Distilled models are a common route to small language models that perform well on specific business tasks.

Importance of Model Distillation in IT Financial Management

For high-volume tasks, inference cost dominates the lifetime cost of AI. Distillation shifts spending from ongoing inference toward a one-time training effort, often with a fast payback.

Smaller models are also faster and can run on cheaper hardware or even on devices, which can improve user experience and allow AI to be used where large models would be too slow or expensive.

However, distillation requires engineering skill, evaluation discipline and ongoing maintenance, so it is best reserved for workloads large and stable enough to justify the effort. Small or rapidly changing workloads rarely do.

The Economics of Distillation

The costs of distillation include generating training data with the teacher model, training the student, evaluating it and the engineering time involved. These are usually one-time or periodic costs.

The savings come from the difference in inference cost between teacher and student, multiplied by the volume of requests. At high volumes, payback can come within weeks or months.

Ongoing costs include hosting the student model, monitoring its quality and repeating distillation when tasks change or better teachers become available.

Risks and Considerations

A distilled model may perform well on familiar inputs but poorly on unusual ones that the training data did not cover. Monitoring is needed to detect these cases.

Some model providers' terms restrict using their outputs to train other models, particularly competing ones. Organizations must check the terms of the teacher model before distilling from it.

Distilled models need to be updated if the task changes, and they may lag behind improvements in the latest large models.

How to Apply Model Distillation

Applying distillation involves choosing suitable tasks, generating good training data, training and evaluating the student and planning for its upkeep.

The best candidates are tasks that are narrow, high-volume, stable and already performed well by a larger model.

Choosing Tasks and Building Data

Identify AI workloads with high volume and well-defined outputs, such as classification, extraction, routing or standard responses, and estimate the savings from moving them to a smaller model.

Collect a large, representative set of real inputs, including unusual cases, and generate teacher outputs for them. Review a sample to confirm the teacher's answers are correct.

Confirm that the teacher model's terms permit the intended use of its outputs.

Training, Evaluating and Maintaining

Train the student model and compare it with the teacher on a separate test set using the measures that matter for the task, such as accuracy or agreement with the teacher.

Deploy gradually, routing a share of traffic to the student and escalating uncertain cases to the teacher if needed.

Monitor quality in production and plan periodic retraining as inputs change or better teacher models become available.

Examples of Model Distillation in IT Financial Management

The examples below show distillation reducing costs.

Both use illustrative figures. The first distills a classifier for support tickets, and the second weighs distillation for a smaller workload.

In each, the decision depended on volume and the stability of the task.

Distilling a Ticket Classifier

A company uses a frontier model to classify 5 million support tickets a month into 40 categories, at about $0.004 per ticket, or $20,000 a month.

It generates labels for 200,000 past tickets with the frontier model, at a cost of about $800, and distills a small open-weight model. Engineering and training cost about $25,000. The student matches the teacher's category on 96% of a held-out test set, and most disagreements are borderline cases.

Hosting the student costs about $1,800 a month. Monthly savings of about $18,000 pay back the investment in under two months.

Deciding Not to Distill

Another company considers distilling a model for drafting legal clause summaries, which costs $1,500 a month in API fees.

Estimated distillation costs are about $30,000, plus ongoing hosting and maintenance, and the clause types change frequently as the business enters new markets.

With a payback period of more than two years and a changing task, the company keeps using the API and instead routes simpler clauses to a cheaper model, saving about $600 a month.

Conclusion

Model distillation trains a smaller student model to reproduce a larger teacher model's behavior on specific tasks, using the teacher's outputs as training data. The result is a model that costs far less to run and responds faster, with quality close to the teacher's on the tasks it was trained for.

In IT financial management, distillation turns high, recurring inference costs into a one-time investment with lower running costs, but it is worthwhile only for large, stable workloads. Choosing suitable tasks, building representative data, checking teacher model terms, evaluating carefully and planning for retraining help organizations capture the savings distillation offers.