Skip to content

Guides

SLM vs LLM

A small language model (SLM) is cheap and fast, but narrow. A large language model (LLM) like GPT or Claude knows a great deal, and costs more on every call. For the jobs an app does many times a day, the useful question isn’t which one is smarter. It’s whether a small model gives the same answer, for less.

The short answer

  • Use an LLM when the job is open-ended, like writing, research or reasoning across many topics, when it needs knowledge from outside the call, or when it runs too rarely for cost to matter.
  • Use an SLM when your app asks the same kind of question many times a day, the answer has a shape (a label, yes or no, fields, a score), and there is a right answer you can check.
  • You don’t have to choose up front. A common path is to start with an LLM, keep its answers, and train a small model on them once you have enough calls. That’s called distillation.

How small and large models differ

There’s no official cutoff for small. In practice it means a model with a few billion parameters, small enough to run on a single GPU. The Qwen models Sous trains run from 2 to 27 billion parameters.

Small language modelLarge language model
SizeA few billion parametersFar larger, and often not disclosed
Cost per callA fraction of a large model’sThe highest per token
SpeedFast, most of all for short answersSlower, more so with long reasoning
RangeNarrow: the job it was trained forBroad knowledge and skills
Where it runsOne GPU, in your cloud or a host’sThe provider’s API
How you change itFine-tune it on your own examplesMostly through the prompt

When a large model is the right call

  • Open-ended writing, like drafting replies, summaries or reports.
  • Questions that need knowledge from outside the call, like today’s prices or news.
  • Reasoning across many steps or topics, where the path changes from one call to the next.
  • Jobs that run a few times a day. A small model saves money on each call, so low volume leaves little to save.
  • Anything new, where you don’t yet know what a good answer looks like.

When a small model wins

The best fit is a decision your app makes again and again, where the answer has a shape. These are the decisions Sous trains small models for:

  • Route. Send each item to the right queue, team or tool.
  • Flag. Say yes or no, and why: what needs a person and what doesn’t.
  • Check. Hold a message, document or reply up to your policy.
  • Tag. Apply labels from your own list, one or several.
  • Redact. Find what must not leak, in text and in images.
  • Extract. Pull fields out into the JSON your app expects.
  • Score. Put a grade on each item, on your own scale.
  • Match. Decide whether two records are the same thing.

On jobs like these, a small model answers in a few tokens, so it’s quicker and costs less on every call. An open model can also run on hardware you choose, instead of a provider’s. See examples by team in use cases.

How to tell for your own job

Four questions settle most cases:

  1. Does your app ask the same kind of question many times a day?
  2. Does the answer have a shape: a label from your list, yes or no, fields, a score?
  3. Is there a right answer, one that two careful people would mostly agree on?
  4. Do you have examples? Sous starts training at 30 calls, and 50 or more train better.

If the answers are yes, a small model is worth testing. Test it rather than guess: the number that matters is how often it gives the large model’s answer on your own calls.

How to get a small model that matches a large one

The usual method is distillation: the large model teaches the small one, using your real calls.

  1. Keep the large model’s answers on the calls your app already makes. They become the training data.
  2. Fine-tune a few small open models on most of those calls.
  3. Hold some calls back. Sous keeps 20% of them out of training, then checks how often each small model gives the large model’s answer on them.
  4. Switch only when one matches well enough, and send the answers it’s unsure of to a person.
  5. Keep retraining as new calls come in, so the small model stays matched.

Sous runs these steps for you. The docs show how to connect your app.

What it looks like in practice

Two runs as the Sous trainer logged them. Cost is per 1,000 calls, and answers are scored on calls each model never saw in training.

JobCheaper than the frontier modelSame answer as the frontier modelLearned from
PII redactor8.5×84%128 calls from an app
Support ticket router6.2×92%300 past tickets

You can try both in the sandbox, with no sign-up.

Questions people ask

Is a small language model always cheaper than an LLM?

Per call, yes, because it does far less work for each token. Overall it depends on volume: training costs something once, so the more calls you run, the sooner it pays for itself.

Can a small model be as accurate as GPT or Claude?

On a narrow job it can come close. In two runs logged by Sous, small models gave the frontier model’s answer on 84% and 92% of calls they never saw. On open-ended work it won’t. Measure on your own calls before you switch.

How many examples does a small model need?

Sous starts training at 30 calls, and 50 or more train better.

Do I need to know machine learning to train one?

No. You write the question, show it examples and check a few answers. Sous picks the base models, trains and compares them, and tells you which one won and why.

Train your first model

Wrap your client and keep calling your model. Sous trains a small one on your calls and switches you over when it’s ready. Every account starts with $20 of credit, and a training that fails costs nothing.

Four steps, from your app’s calls to a small model

  1. 1Make a model and an API keyin the app
  2. 2Wrap your clientSous(OpenAI(), model=…)
  3. 3Use your app as usualSous keeps each call
  4. 4Let it switchwhen a student is ready