Model Distillation Services

When a large model does the job but costs too much or answers too slowly at your volume. We train a smaller model on your task from a teacher you're allowed to learn from, then measure quality, cost per call and speed against the large model on your own test set.

Bring your monthly volume and current cost per call. We'll tell you whether a smaller model is worth testing.

Every engagement starts with a written go/no-go, including which teacher models your licences allow.

We build and hand over the model. Running it in production is a separate engagement.

What is model distillation?

Model distillation trains a small “student” model to copy what a large “teacher” model does on one task. The teacher answers thousands of your real inputs; the student learns from those answers. Because the student only has to be good at that one job, it can be many times smaller, which makes it cheaper to run, faster to answer, and small enough for your own servers or devices. It works for language models, vision models and search rerankers. What it can't do is make the student better than the teacher at things it was never shown, so we measure exactly where it falls short. It's one of three methods in our custom AI model development work.

When a large model is more than the job needs

  • “The bill grows with every call.” A narrow task such as classification, extraction or routing runs millions of times a month on a frontier model.
  • “It answers too slowly.” The output arrives after the moment it's needed: autocomplete, live suggestions, routing a call.
  • “It doesn't fit where it has to run.” A camera on a production line, a phone, an on-premises server without large GPUs.
  • “Our search reranker is too slow.” Re-ordering results with a large model blows the latency budget.

If none of these applies, distillation probably isn't your next step.

Distillation, fine-tuning or quantization?

Distillation compared with fine-tuning and quantization
QuestionDistillationFine-tuningQuantization
What it doesTrains a new, smaller model to copy a larger one on your taskFurther trains a model on your examples so it learns a behaviourStores the same model's numbers at lower precision
Changes the model's sizeYes, a lotNoYes, moderately
Changes its behaviourIt learns the teacher's behaviour on your taskYesVery little, if done well
Needs labelled dataNo: the teacher labels your inputsYesNo
Use it whenA large model already does the task wellNo model does the task well yetYou want a cheaper run of the same model

They're often combined: distil, then quantize the student. Pruning (removing parts of a model that contribute little) is a related technique we use less often. For behaviour no model has yet, see AI model fine-tuning. For cost work that doesn't involve training, such as caching, batching and routing, see AI inference cost reduction.

Is distillation legal? Which teachers are allowed

Distillation is legal when the licences allow it, and two licences always matter: the teacher's, and the base model the student is built on. DeepSeek is a clear example. DeepSeek-R1 is MIT-licensed and explicitly allows “distillation for training other LLMs”, yet DeepSeek's own distilled models stay under the licences of the models they were built on: Apache 2.0 for the Qwen-based ones, the Llama licences for the Llama-based ones (DeepSeek-R1 model card).

Teacher model terms for distillation, checked November 2026
ModelWhat its terms sayUse as a teacher?
OpenAIOutput may not be used “to develop models that compete with OpenAI”Not for a competing model
Anthropic (Claude)No training on outputs (“model scraping” or “model distillation”) without authorisationNot without authorisation
DeepSeek-R1MIT; allows “distillation for training other LLMs”Yes
Llama 3.3Allowed; a model trained on its outputs and distributed or made available must start its name with “Llama”, and show “Built with Llama”Yes, with conditions
Gemma 1–3A distilled model is a “Model Derivative” under Gemma's terms and use policyYes; Gemma's terms carry over
Gemma 4Apache 2.0Yes
Your own labelled dataYoursYes

We check the teacher and the student base in the Fit Sprint and write the conditions into the fit memo: what you can ship, under what name, and with what attribution. Licences change, so the memo records the version and the date checked. This is an engineering review, not legal advice; your legal team signs off. (Checked November 2026.)

What we distil

Language models

  • Teacher → student: a permitted large model → a small open-weight model, then quantized.
  • Measured: task accuracy vs the teacher on held-out inputs, cost per call, P50/P95 latency.
  • Research: a fine-tuned 770M-parameter model outperformed the few-shot prompted 540B PaLM model on a benchmark, using 80% of the available data (Distilling Step-by-Step, ACL Findings 2023). Small fine-tuned models came close to GPT-4 quality at 1/5 to 1/29 of the cost (arXiv 2312.14972). Cleo cut median response time by 53%, from 1,310 ms to 631 ms, with a smaller fine-tuned model (Cleo engineering blog).

Vision models

  • Teacher → student: large vision foundation models → a compact detector or segmenter that runs on a camera or edge device.
  • Measured: recall and false alarms per class vs the teacher, frames per second on the target device.
  • Research: one 2024 study (revised 2026) distilled compact detection and segmentation models from SAM2 and OpenCLIP for fruit detection “without manual annotation”, and they “nearly match” models trained with abundant labels (arXiv 2411.16196). That's one domain. We test it on yours.

Search rerankers

  • Teacher → student: a slow, accurate reranker (a cross-encoder, which reads the query and each document together) → a faster, smaller one.
  • Measured: retrieval scores (Recall@k, nDCG) vs the teacher, latency per query.
  • Note: this is newer practice with less published evidence. The Fit Sprint measures whether it holds up on your queries. See also embedding model fine-tuning.

What changes when it works

  • Lower cost per call, measured on your hardware next to the teacher's.
  • Faster answers, reported as P50 and P95 latency.
  • It runs where you need it: a smaller instance, your own servers, or a device.
  • Clean to ship: the licence conditions are known and written down before training.
  • A known trade-off: the report shows where the student is worse than the teacher, so you can route those cases to the large model if you want to.

We don't quote savings before measuring your current cost per call.

How a distillation runs

Distillation stages
StageWhat happensYou decide
1. FitMeasure the teacher's quality, cost and latency on your task; check both licences; size the studentGate 1: sign the go/no-go
2. BaselineBuild a held-out test set, including your hard cases, approved by your domain expertApprove the bar the student must reach
3. DataRun the teacher on your real inputs to create training data; clean and de-duplicate it—
4. TrainTrain two or three student candidates of different sizes, then quantize—
5. ProveScore students against the teacher on the held-out set; measure cost and latency on your hardwareGate 2: accept the report
6. Hand overPackage, document, train your team; your team re-runs the pipeline once—

Generating teacher outputs costs money too, so the fit memo includes it.

How you buy it: free fit call → Fit Sprint → Build. The Fit Sprint and the Build are each priced per scope.

What you receive

Fit memo (with both licences and their conditions) · held-out test set and teacher baseline · teacher-generated dataset and pipeline · student model (weights, quantized files, configurations, run log) · evaluation report (student vs teacher: quality, where it loses, cost per call, latency) · deployment package and retraining runbook.

You own the trained model, the dataset and the evaluation set once the work is paid for; we keep our own reusable tooling, and the base model's licence still applies. Need it connected to your product? We can scope that integration into the Build.

What we need from you

A defined task the large model already does well · a sample of real inputs, and the right to use them · your current cost per call and volume, if known · a domain expert to approve the test set · where the student must run and its latency target · a cloud account for compute (including teacher calls), and an owner after handover.

Not included

Hosting and monitoring the student after handover (your team runs it, with the runbook we hand over) · distilling from a model whose terms forbid it · making the student better than the teacher at tasks it wasn't trained on · legal sign-off (your legal team decides; we supply the facts).

Managed alternative: AWS Bedrock offers distillation for Amazon Nova and Llama models, within one provider (e.g. Llama 3.3 70B → Llama 3.2 3B). The student then runs on Bedrock. The fit memo compares it with an open-weight build.

What can go wrong, and how we catch it

Distillation risks and how they are caught
RiskHow it's caught
The student handles typical inputs and fails on rare onesHard cases are kept in the held-out set and reported separately
The teacher was wrong, and the student learns its mistakesExpert review of a sample of teacher outputs before training
A licence changes after trainingThe fit memo records the licence version and date
Quantization costs too much qualityScored before and after quantization; you choose the trade-off

How to judge us

Crescent AI compared with managed distillation and a distillation agency
QuestionCrescent AIManaged distillation (e.g. Bedrock)Distillation agency
Licence check on teacher and studentYes, in writingWithin one provider's modelsRarely mentioned
Choice of teacher and studentAny permitted pairFixed pairsVaries
Language, vision and reranker modelsYesLanguage onlyUsually language
Student runs in your environmentYesOn the platformVaries
Best whenYou need the decision, the licence answer and a model you can runYou already run on that cloud and its pairs fitYou want a long-running retainer

Who leads this work

Yash Amin, founder of Crescent AI. About Crescent AI

Common questions

Is distillation of AI models legal?

Yes, when both licences allow it: the teacher's and the student base model's. OpenAI's and Anthropic's terms restrict it for competing models; DeepSeek-R1's MIT licence allows it. We check yours before any data is generated.

Does DeepSeek allow distillation?

DeepSeek-R1's model card says its MIT licence allows "distillation for training other LLMs". The student's own base model licence still applies.

What's the difference between distillation and quantization?

Distillation trains a new, smaller model. Quantization stores the same model at lower precision. We often do both.

Will the small model be as good as the large one?

On the task it's trained for, it can come close, and published studies show cases where it matches or beats a prompted large model. On everything else, it won't. The report shows exactly where it falls short.

How do you distil an AI model?

Run the teacher on many real inputs, train the student on its answers, then test the student on inputs neither has seen. The process section above shows each stage.

Can you distil Claude or GPT?

Not into a model that competes with them, under their terms. We use a teacher whose licence allows it, or your own labelled data.

Do you host the distilled model?

No. We hand it over with a runbook; your team runs it.

Bring us your monthly volume and cost per call.

We'll tell you whether a smaller model is worth testing, and which teachers your licences allow.

Book a free fit call(opens scheduling widget)Free · You talk to an engineer · No slide deck

Mutual NDA before you share data · Fixed-scope Fit Sprint · Licences checked before any data is generated

Part of Custom AI Model Development · AI Model Fine-Tuning · Embedding Model Fine-Tuning · AI Inference Cost Reduction

We use analytics cookies to understand how visitors use the site. No ads or retargeting. Learn more