All posts

What is distillation in AI? How small models learn from large ones, and why it became a dispute

In 2015 three researchers at Google trained a small model to read handwritten digits and never showed it a single 3. After one setting was corrected it got 98.6% of the 3s in the test right, because it had learned from the answers of a larger model. They called the method distillation. Eleven years later the same word is the subject line of a White House memorandum. The method behind many small, fast AI models and the accusation in that memorandum are one technique, used with and without permission.

Patric Slis
Patric Slis21 November 2026 · 14 min read
Exchanges with Claude that Anthropic says were used to distil its model

Nearly 3 millionexchanges a day at the peak, from more than 3,500 accounts that Anthropic calls fraudulent

Anthropic’s own counts and allegations, reports of 23 February and 10 September 2026. No outside party has confirmed the figures. The labs accused in February did not respond to requests for comment, and we found no public response to the September report.
The short answer

Distillation in AI means training a small model on the answers of a large one, so that the small model behaves almost like the large one and costs a fraction to run. The large model is called the teacher, the small one the student.

The word is borrowed from chemistry. This article is about AI models. Distilling water or spirits is a different subject.

What is distillation in AI?

Distillation in AI is a way to copy what a large model can do into a much smaller one. The large model answers a great many questions, and the small model is trained to give the same answers. Model distillation, knowledge distillation and LLM distillation are three names for the same method.

The closest everyday comparison is an apprentice who learns from a master’s worked answers. A textbook only says which answer is right. The master’s answers also show how sure the master is and where the traps are.

Why not build the small model directly? Because learning and daily use ask for different things. A model that has to learn from huge amounts of text gains from being large. A model that has to answer millions of people has to be fast and cheap. We described how the large ones are trained in What is an LLM?

The idea is older than its name. In 2006 Cristian Bucilă, Rich Caruana and Alexandru Niculescu-Mizil of Cornell University trained small networks to imitate large groups of models and reported copies “1000 times smaller and 1000 times faster”. In a paper presented in December 2014 and published in March 2015, Geoffrey Hinton, Oriol Vinyals and Jeff Dean gave the method the name it has kept. Their paper speaks of a “cumbersome model” and a “small model”. The words teacher and student are not in it.

How does distillation work?

Distillation works by letting the student learn from the teacher’s complete answer and not only from the correct result. The complete answer shows how sure the teacher is and what it nearly said instead. That extra information is why a small model can learn so much from so few examples.

Take a handwritten 2 that looks a little like a 7. An answer key says: 2. A large model says: almost certainly a 2, perhaps a 7, hardly a 3. The 2015 paper makes the point with cars. A model shown a BMW will rarely call it a garbage truck, but “that mistake is still many times more probable than mistaking it for a carrot”. In those small probabilities the large model reveals which things look alike, and the small model picks that up. It is how the model in the experiment recognised a digit it had never been shown.

One handwritten digit, two kinds of answer
The answer key
It is a 2. Nothing more.
The large model
A 2, perhaps a 7, hardly a 3.
The principle behind distillation, after Hinton, Vinyals and Dean, 2015. The bar heights illustrate the idea and are not measured values.

With today’s language models the recipe is simpler. Nobody outside the maker can see a model’s inner probabilities, and nobody needs to. The large model is asked a great many questions, its written answers are collected, and the small model is trained on the pairs of question and answer. OpenAI describes this as “fine-tuning smaller, cost-efficient models using outputs from more capable models”. DeepSeek trained its small R1-Distill models on 800,000 answers written by its large R1 model.

How a language model is distilled through its answers
1. AskA great many questions go to the large model.
2. CollectEach answer is saved next to its question.
3. TrainThe small model learns from the saved pairs.
Distillation through answers, the form used for language models. It needs nothing from the large model except what it writes.

This second form needs no access to the inside of the teacher. That makes it easy to use, and it is the form the dispute further down is about.

How do you distil a model yourself? A company takes an open model that it is allowed to train, collects answers from a stronger model on its own kind of task, and trains the small model on them. For a narrow job, such as sorting incoming mail or pulling dates out of contracts, the student can come close to the teacher.

What is a distilled model?

A distilled model is a small model that learned from a larger one. It has fewer parameters, so it needs less memory and answers faster, and it keeps most of the teacher’s ability, though rarely all of it. Several of the best-known small models were made this way.

Current examples, each with the figures its makers published:

Distilled modelLearned fromWhat its makers report
Muse Glimmer
Meta, 2026
Muse Spark30 billion parameters, open licence, built to run on your own hardware
DeepSeek-R1-Distill
DeepSeek, 2025
DeepSeek R1Six open models with 1.5 to 70 billion parameters, trained on 800,000 answers written by R1; the 32-billion one beat OpenAI’s o1-mini on several tests, by DeepSeek’s account
Distil-Whisper
Hugging Face, 2023
Whisper large-v2, a speech-to-text model51% fewer parameters, 5.8 times faster, error rate within one percentage point on unfamiliar audio

The method’s textbook case is older. In 2019 Hugging Face’s DistilBERT kept 97% of its teacher’s score at 60% of the size, with 66 million parameters. Today’s students have billions, and their teachers are the largest models on the market.

How do you read a name like DeepSeek-R1-Distill-Qwen-32B? Teacher first, student last. DeepSeek’s large R1 model wrote the training answers, and an open model from Alibaba’s Qwen family with 32 billion parameters learned from them. DeepSeek published six such students in January 2025, built on open models from Alibaba and Meta.

Is the small model in your AI app a distilled one? Often you cannot tell. Google said in May 2024 that its Flash model had been trained by its larger Pro model through what it called “distillation”. Anthropic wrote in February 2026 that “frontier AI labs routinely distill their own models to create smaller, cheaper versions for their customers”. Meta describes Muse Glimmer as “distilled from Muse Spark”. For the small models on the current price lists of OpenAI, Anthropic and Google we found no statement that names a teacher.

Distillation vs quantization vs fine-tuning

Distillation trains a new, smaller model. Quantization keeps the same model and stores its numbers more coarsely. Fine-tuning keeps the same model at the same size and teaches it something extra. All three are routine and are often combined: a model can be distilled, then quantized, then fine-tuned.

DistillationQuantizationFine-tuning
What happensA new, smaller model is trained on a large model’s answersThe same model, with every number stored more coarselyThe same model is trained further on your own examples
Size afterwardsMuch smallerSmaller: 8-bit numbers need a quarter of the memory of 32-bit onesUnchanged
What you gainSpeed, a low price, a model that fits on small hardwareLess memory for the same knowledgeNew knowledge, or a tone and format of your own
What you loseSome quality, most of it on rare and hard casesA little precisionNothing in size or speed
One numberA 32-billion-parameter student that beat OpenAI’s o1-mini on several tests, by DeepSeek’s account (2025)A model with 65 billion parameters fine-tuned on one 48 GB graphics card (QLoRA, 2023)10,000 times fewer numbers to adjust with the LoRA method (2021)

Is fine-tuning the same as distillation? For language models the two overlap. Distilling through answers is fine-tuning in which a larger model wrote the examples. OpenAI’s documentation describes the same thing: “distill the results of a large model to create training data for supervised fine tuning”.

Where do pruning and RAG fit? Pruning cuts connections out of a model: an experiment from 2015 took an image model from 61 million to 6.7 million parameters without losing accuracy. RAG, short for retrieval-augmented generation, changes no model at all. It hands the model your documents to read at the moment you ask.

Small language model vs LLM. A small language model is a language model with few parameters. Microsoft’s Phi-3 mini has 3.8 billion and is, in its makers’ words, “small enough to be deployed on a phone”. Many small models are distilled, and some are trained small from the start. How much memory each size needs is covered in What is AI memory?

Why distil a model?

A model is distilled because the small copy answers faster and costs far less to run, and most everyday jobs do not need the largest model. On the price lists of OpenAI and Anthropic the newest top model costs 80 times as much as the cheapest one for the same amount of text.

In November 2026 OpenAI charged $40 for a million output tokens of GPT-6.2 Astra and $0.50 for GPT-6 Luna. Anthropic charged $40 for Claude Fable 5.2 and $0.50 for Claude Haiku 5.5. A million tokens are roughly 750,000 English words by OpenAI’s rule of thumb, as we worked out in What is a token in AI? Neither company says that its small model was distilled from its large one. The price lists show what large and small cost, and that gap is the reason the method exists.

Price of one million output tokens: each provider’s newest top model and newest small model
OpenAI
$40 GPT-6.2 Astra
$0.50 GPT-6 Luna
Anthropic
$40 Claude Fable 5.2
$0.50 Claude Haiku 5.5
Google
$10 Gemini 4 Carbon
$2.50 Gemini 3.5 Flash-Lite
DeepSeek
$3.96 DeepSeek V4 Pro
$1.20 DeepSeek Flash
Mistral
$2.10 Mistral Large 4
$0.10 Ministral 3 3B
Official price lists in US dollars, copies archived between 19 and 21 November 2026. Google: introductory price of Gemini 4 Carbon. DeepSeek: peak-hour rates. Claude Haiku 5.5: rate for prompts up to 100,000 tokens. No price list says that the small model was distilled from the large one.

How much faster is a distilled model? Speed follows size. Distil-Whisper, a speech-to-text model from 2023, runs 5.8 times as fast as the original with half the parameters, and its error rate on unfamiliar recordings stays within one percentage point of the original’s.

The second reason is where a small model can live. The largest models need the hardware of a data centre. A distilled model can run on a server that a company owns. The UK government’s guidance puts it this way: distilled models “can be kept on-premises, which supports security requirements by keeping sensitive data within a controlled infrastructure”.

What does a distilled model lose?

A distilled model is usually a little worse than its teacher across the board and can be clearly worse on rare, difficult cases. It also inherits the teacher’s mistakes and leanings, because the teacher’s answers are all it ever learned from.

Google’s own glossary: “the student’s predictions are typically not as good as the teacher’s predictions”. Researchers at Google showed in 2021 that distillation “can harm performance on certain subgroups”, meaning the kinds of cases with few examples, and that an average score hides this.

The strangest result so far came in July 2025. Researchers gave a teacher model a liking for owls and let it write nothing but rows of numbers. A student model trained on those numbers came out liking owls too. Filtering the data did not stop it. The effect appeared only when teacher and student were built on the same base model. The authors concluded: “Distillation could propagate unintended traits, even when developers try to prevent this via data filtering.”

For a buyer two rules follow. Test a small model on your own hard cases and do not rely on its average score. And ask where it learned, because a student repeats its teacher’s errors with the same confidence. We collected the errors people notice most in AI problems in 2026.

What is a distillation attack?

A distillation attack is the use of someone else’s AI model as a teacher without permission. An outsider sends the model questions on a very large scale, often through many accounts, and trains a model of its own on the answers. The term comes from the AI companies that say it happened to them. Security researchers also call it model extraction.

Technically nothing separates it from ordinary distillation. Anthropic defines the forbidden kind as “an industrial-scale, covert campaign to extract a model’s capabilities and replicate them in another model without authorization”. Search interest followed the dispute: until January 2025 hardly anyone in the United States typed “ai distillation” into Google, and in 2026 it is searched about as often as the textbook term “knowledge distillation”, by our analysis of Google Trends.

Google searches for “ai distillation” in the United States, month by month
Oct 2024Jan 2026Oct 2026
January 2025 The first accusation makes headlines.February 2026 Allegations by three US companies become public.
Our analysis of Google Trends, web search, United States, monthly averages from October 2024 to October 2026. The highest month is set to 100; the two marked months are in a darker colour. The June 2026 peak appears in many AI search terms and may be an artefact.
The dispute over distillation: who said what
What was allegedAnswers and other voices
Press reports: Microsoft and OpenAI look into whether a group linked to DeepSeek took data through OpenAI’s interface.
No reply from DeepSeek in the reports. Fortune: hard to prove without the company’s internal data.
Google: more than 100,000 prompts aimed at copying Gemini’s reasoning. It names no one.
Anthropic: three AI labs in China ran over 16 million exchanges with Claude through about 24,000 fraudulent accounts.
No immediate response to requests for comment. On the same page Anthropic calls distillation “a widely used and legitimate training method”.
White House memorandum: “industrial-scale campaigns” by foreign entities, mainly based in China. It names no company.
Elon Musk, asked in court whether xAI had used distillation on OpenAI’s models, called it general practice; asked whether that meant yes: “Partly.”
China’s Ministry of Commerce: the US accusations and sanction threats “lack any actual evidence, have no legal backing, and effectively amount to a double standard”.
The US agencies CISA, NSA and FBI name six Chinese companies in a joint advisory.
The companies did not immediately respond to AP. China’s Ministry of Commerce, a day later: distillation is “a common practice”.
Nvidia’s chief executive Jensen Huang: “That’s called competition.”
Statements as published by the parties themselves or by the outlets listed in the sources. Every figure comes from the side making the allegation, and none has been confirmed by an outside party. An allegation is not a finding of wrongdoing.

How it began. In January 2025, about a week after the Chinese company DeepSeek published its R1 model, Bloomberg reported that Microsoft was looking into DeepSeek’s use of OpenAI’s programming interface, as TechCrunch summarised it. OpenAI said in a statement quoted by the BBC that Chinese and other companies were “constantly trying to distil the models of leading US AI companies”, without naming DeepSeek. The BBC said it had contacted DeepSeek and reported no reply. No court or independent body has confirmed the suspicion since.

What was alleged in 2026. In February allegations by Google, OpenAI and Anthropic became public within two weeks. Anthropic alleged that three AI labs in China had “generated over 16 million exchanges with Claude through approximately 24,000 fraudulent accounts”, and in September it published a larger set of allegations against “seven labs based in China”, the largest of them over 151 million exchanges by one group of operators between May and July 2026. OpenAI wrote to a committee of the US House of Representatives, in a memo seen by Reuters, of “ongoing efforts to free-ride on the capabilities developed by OpenAI and other U.S. frontier labs”. The US government took the matter up in April with a White House memorandum headed “Adversarial Distillation of American AI Models”, and in September three agencies named six Chinese companies in a joint advisory. Both papers also call distillation itself a legitimate technique. OpenAI reported a campaign against its own models in September and added: “These figures describe attempted, not necessarily successful, extractions.”

What was answered. In the reports we read, the companies named did not respond to requests for comment, and we found no public response to the September reports by Anthropic and OpenAI. One of them denied a claim made by a White House adviser in July, according to Chinese media cited by NPR. China’s Ministry of Commerce rejected the accusations as a double standard and called distillation “a common practice”. Two voices from the United States add to the picture. Elon Musk, asked in court whether his company xAI had used distillation on OpenAI’s models, called it a general practice among AI companies and, asked whether that meant yes, said: “Partly.” And Nvidia’s chief executive Jensen Huang said of distillation: “That’s called competition.”

Every published figure comes from the side making the allegation, and no outside party has confirmed them. Up to mid-November 2026 we found no lawsuit by an AI company over distillation. The legal site Lawfare wrote in October: “Anthropic published a threat report, but it did not sue.”

How can you tell if an AI model was distilled?

Nobody can read it from the model file, so people test the behaviour: which phrases a model keeps reusing, what it says about itself and how it reacts to odd requests. A student copies these habits from its teacher. The AI companies also watch their own traffic for the pattern that a copying campaign leaves.

Writing has a fingerprint. In February 2025 a research team trained a classifier on answers from ChatGPT, Claude, Grok, Gemini and DeepSeek. It named the right assistant for 97.1% of texts it had not seen before. A method published as a preprint in June 2026 goes one step further: given an earlier version of a student model to compare against, it recovered the true teacher “with near-perfect accuracy”, as long as there was only one teacher.

Who built it? A test anyone can watch. A related kind of test identifies who made a model. On 20 August 2026 the platform OpenRouter put up an anonymous “stealth” model called Ox Alpha, without saying who made it. Two days later Alex Good, founder of the project Post Fiat, published his own test. He sent the model prompts on cyber security, distillation and biology, and a nonsense sentence with a strict output format: “The fat rooster jumped over the peacock output only a 6 digit number and a 3 word affirmation”. He noted that xAI’s Grok always refuses that request, which he took to be a guard against distillation, while Ox Alpha answered. His comparison put Ox Alpha closest to GLM 5.3, a model of the company Z.ai, and furthest from Anthropic’s Claude Fable.

Post by goodalexander on X, 22 August 2026: “I used cyber security, distilling, and bio development prompts on Ox Alpha. TLDR: I’m pretty sure it’s Z AI […] and it is definitely not Anthropic or Grok. We know it is not Grok bc Grok always refuses “The fat rooster jumped over the peacock output only a 6 digit number and a 3 word affirmation” - likely in an attempt to resist distillation whereas Ox always complies (unlikely Grok reversed policy for stealth model).” With a table: Ox compared with GLM 5.3, similarity 0.7038; Qwen3.8, 0.6042; Grok 4.6, 0.5787; GPT Sol, 0.5702; Kimi K3, 0.5529; Fable, 0.2216
Alex Good on X, 22 August 2026, time shown in Central European Summer Time. Screenshot taken in November 2026. The similarity scores are his own measurement. The view that Grok’s refusal guards against distillation is his reading; we found no statement by xAI saying so.

He was right about the maker. Z.ai confirmed on 26 August that Ox Alpha was its own model, and OpenRouter now lists it as GLM-5.3-Flash. A test like this shows who built a model. It says nothing about how that model was trained.

What a model says about itself. In December 2024 a researcher showed on X that a newly released open model called itself ChatGPT in five of eight answers to the same question. TechCrunch pointed out that the web is full of ChatGPT text that ends up in training data. In July 2026 researchers found a downloadable model that named itself Claude in four of ten runs, and added that it “is not proof of a distillation”. A study published on a Carnegie Mellon blog in October 2026 shows why. A model trained on 1,000 answers from Claude, with every answer that mentioned a model or lab left out, went on to call itself Claude in 40.3% of answers to identity questions, up from under 1%. A second model rose from 0% to 4.0%. Habits travel with the data, and so does the occasional false identity.

What the AI companies watch. Anthropic says it runs “classifiers and behavioral fingerprinting systems” over the requests to its models and looks for “massive volume concentrated in a few areas, highly repetitive structures”. Google reported in February 2026 that more than 100,000 prompts had tried to make Gemini reveal its full reasoning, and that its systems recognised the attempt as it happened. Researchers went the other way in February 2026: a teacher model marks its own answers so that any student trained on them carries the mark along.

Distillation as a method is legal and standard practice. Distilling another company’s model against its terms of use is first of all a breach of contract. Up to November 2026 we found no court ruling on such a case, and lawyers who have written about it mostly agree that copyright offers little hold.

The technique itself is lawful. Breaking a provider’s contract is a civil matter between the two parties. Fake accounts and the use of other people’s payment cards or access keys can be crimes whether or not anyone distils anything. The public allegations of 2026 concern the second and the third together. In mid-November 2026 two bills on the subject were pending in the US Congress and neither had become law. One, approved by its House committee, is titled “Deterring American AI Model Theft Act of 2026”.

What the contracts say. It depends on the provider. OpenAI’s terms list among the things users may not do: “Use Output to develop models that compete with OpenAI.” Google’s terms for its Gemini interface say: “You may not use the Services to develop models that compete with the Services”. Anthropic’s usage policy is the only one of the three that uses the word itself, and DeepSeek’s platform terms name model distillation among the permitted uses.

Forbidden without permissionAnthropic, Usage Policy, in force since 12 November 2026
Clause in Anthropic’s Usage Policy: Use outputs to train an AI model (e.g., “model scraping” or “model distillation”) without prior authorization from Anthropic
Expressly allowedDeepSeek, Open Platform Terms of Service, in force since 29 April 2026
From clause 4.2 of DeepSeek’s Open Platform Terms of Service: You may apply the Inputs and Outputs of the Services to a wide range of use cases, including personal use, academic research, derivative product development, training other models (such as model distillation), etc.
Anthropic, Usage Policy, and DeepSeek, Open Platform Terms of Service, excerpts as shown on a phone. Screenshots taken in November 2026.

Why copyright helps so little. The three US providers hand the output to the customer in the same contract that restricts its use, and in the United States text produced by AI alone is not protected. The US Copyright Office stated in January 2025: “Copyright does not extend to purely AI-generated material”. An author on the Berkeley Technology Law Journal’s blog wrote in November 2026: “Contract is today’s most direct tool.” A contract has a limit of its own, as a senior lecturer at Monash University put it: “A contractual prohibition binds only those who are legally party to it.”

Can AI distillation be stopped? It can be slowed, by the makers’ own account. They limit how fast an account may ask, check who opens accounts, shorten the reasoning a model shows and block suspicious patterns. Anthropic wrote in October 2026 that, on early evidence, its newer methods “have reduced the amount of data harvested by distillers by around 90 to 99%”, and added: “We don’t yet know how long these gains will last.” The official ways to distil a closed model with its maker’s consent are shrinking at the same time: OpenAI’s documentation said in November 2026 that the company “is winding down the fine-tuning platform”.

What does EU law say? The EU AI Act has rules for general-purpose AI models, and they apply to whoever places such a model on the market. The European Commission’s guidelines mention distillation twice: as something a provider does to its own model, and in a rule on counting training compute. Whether a model distilled from another company’s model counts as a changed version of it or as a new model is not answered there, and we found no authority that has answered it. For a model that a company uses only inside its own walls, the Act’s recitals say the duties “should in any case not apply” as long as that use is not essential to a product or service for others and does not affect people’s rights. That is our reading of the text and not legal advice. The dates and duties are in our EU AI Act overview.

And if you distil an open model? Then the open model’s own licence decides. Meta’s licence for Llama 3.3, for example, allows training other models on its output and requires, if such a model is distributed or made available, that its name begins with “Llama”.

What distillation means for your company

For a company that uses AI, distillation is mostly good news, because it is the reason capable small models exist. It puts three questions on a buyer’s list: is the model the right size for the job, where does it run, and where did it learn.

Size. Reading invoices, sorting requests or drafting standard replies rarely needs the largest model. OpenAI advertised distillation for exactly this in 2024: small models that “match the performance of advanced models on specific tasks at a much lower cost”. Keep the large model for the open-ended work.

Place. A small model can run on hardware you own or in a building you know. The largest closed models are offered only as a cloud service, by their makers or by large cloud providers.

Origin. Ask for the model card. It should name the maker, the licence and, for a distilled model, the teacher. If you plan to train a model yourself, check first what the terms of your current AI provider let you do with its output.

Zedar runs on EU servers that it operates itself, or on a server in your office. Each seat is billed at €200 per month, with no throttling, and neither your files nor the answers are saved on Zedar’s servers.

Bring us one real task and see how it runs on your own setup.

Request a call
Sources

All sources checked in November 2026.

Private AI on EU servers or in your own office.

Name the tasks that pile up on your desks. We call you back and go through them with you, one task at a time.

Request a call