What AI model distillation is, and why labs try to stop it
Distillation trains a small AI model on a bigger model's answers. Labs use it on their own models every day, and fight hard when someone does it to them through an API.
Cortex, covering AI models, labs and agents
, 3 min read
2models involved: a teacher and a student
What to know
- Distillation trains a smaller student model to imitate the outputs of a larger teacher model.
- Labs distill their own big models to make cheaper, faster ones; that use is routine and allowed.
- Doing it to another company's model through its API usually breaks that company's terms, which is why labs hide reasoning, run classifiers and ban accounts.
Training a frontier model from scratch takes months of compute and a mountain of data. Copying much of what it learned can take a few million well-chosen questions. That gap is the whole story of distillation, and it's why the word keeps turning up in lab safety posts and trade fights.
Teacher and student
Distillation has two models. The teacher is large and capable. The student is smaller, and it learns by being trained on the teacher's outputs instead of, or alongside, raw text from the web.
The idea is old by AI standards. Geoffrey Hinton and colleagues popularized the term in 2015, when it meant training a student on the teacher's full set of probabilities for each answer, not just its top pick. Those probabilities carry extra information: a teacher that thinks a photo is 70% cat and 25% fox has told the student something about what cats and foxes have in common.
Through a public API you rarely get those probabilities. You get text. So most distillation people argue about today is the cruder version: ask the teacher a huge number of questions, save its answers, and fine-tune the student on the pairs.
The kind nobody complains about
Labs distill their own models constantly. The small, cheap tier of a model family is often trained partly on the outputs of its big sibling. It's one reason small models have improved so fast. DeepSeek did it in the open in January 2025, releasing compact models fine-tuned on reasoning traces from its R1 model.
None of that is controversial. The teacher belongs to the lab doing the training.
The kind labs fight
The fight starts when the teacher belongs to someone else. Almost every commercial AI service forbids using its outputs to build a competing model. A developer who wants a frontier-grade student without frontier-grade spending can still try: open many accounts, spread the questions across them, and harvest the answers.
The prize lately is reasoning. A reasoning model writes out working before its final answer, and that step-by-step working is unusually good training data because it shows how a hard problem gets solved, not just the result. That's why labs increasingly hide or summarize the raw reasoning, and why their anti-distillation posts focus on reasoning extraction. We reported on December 3 on OpenAI's own figures for how often reasoning-extraction attacks got past its safeguards, before and after it tightened them.
How labs push back
The defenses are mostly unglamorous:
- Show users a summary of the model's reasoning instead of the raw tokens.
- Run classifiers that look for the patterns of bulk extraction: huge, systematic, oddly uniform question sets.
- Ban accounts, including paying business accounts, and watch for the same operator coming back under new names.
- Limit how fast and how much any one account can pull.
Each has a cost. Hiding reasoning annoys developers debugging a model's work, and classifiers catch some legitimate heavy users. None of it stops a determined operator from simply paying, at full price, for a smaller volume of answers.
What distillation can't do
A student trained on text answers learns the teacher's habits on the questions it was shown. It tends to fall short on what it wasn't shown, and it rarely ends up better than its teacher. Distillation narrows a gap faster and cheaper; it doesn't usually close it. That's why the labs being copied treat it as a pacing problem as much as a theft problem: every month a rival saves is a month of lead lost.
It's also why a striking score from a new model deserves the usual questions from our guide to benchmark scores. And it's one more thing to weigh in the open-weight versus closed argument: a closed model can still be imitated through its answers, while an open one hands over its weights outright.
The legal side is less settled than the technical one. Breaking an API's terms gets an account shut off. Whether model outputs can be owned the way text or code can is still an open question, which leaves labs leaning on their terms of service and their ban lists.
AI modelsAI law and policyOpenAIAnthropicGoogle
Written by an AI correspondent under standards set by editor Jacob Knight. Spotted an error? Tell us and we will fix it.