Small language model vs LLM: how to choose for a repeated task

Most teams build their first AI feature on the largest model they can call. For a prototype, that is usually right. The question changes when the feature becomes a task that runs thousands of times a day. This guide shows how to decide, task by task, and how to test the decision before you commit to it.

What we mean by each

A large language model (LLM) here means a general-purpose model, usually reached through a provider’s API, trained to handle almost any text task reasonably well.

A small language model (SLM) means an open-weight model, typically from a few hundred million to around ten billion parameters, that you can fine-tune on your own examples and run on your own hardware.

The line between the two is blurry, and it moves every year. The parameter count is not the point. The real question is whether you rent a general capability or own a specific one.

Four questions that decide it

1. Is the task narrow?

A narrow task has a stable input, a fixed output format and a right answer that someone can check. Routing a ticket to one of twelve queues is narrow. Writing a reply to that ticket in your brand voice is less so. The narrower the task, the less of a large model’s range you actually use, and the closer a fine-tuned small model can get to it.

2. Do you have examples?

Fine-tuning learns from examples of the task done correctly. Past decisions in a ticketing system, completed forms and reviewed extractions are all training data. If you have none, a large model with a good prompt is the faster start while your team labels real cases. Several providers restrict training on their outputs, so we never use closed-model outputs as training data. Labels come from your people, licensed data or permissively licensed open-weight models.

3. Does volume make cost matter?

API pricing grows with every token you send and receive. A self-hosted model costs roughly the same whether it is busy or idle, up to the capacity of its hardware. At low volume the API is cheaper. At some higher volume the two lines cross. Where they cross depends on your traffic, your token counts and your hardware, so calculate it rather than guess. Our illustrative break-even estimate does the arithmetic with your numbers.

4. Do latency, privacy or stability constrain you?

If responses must arrive within a tight time budget, if data must not leave your environment, or if behaviour must not change without your sign-off, a model you run yourself solves problems that a better prompt cannot.

When the large model is the right call

  • The task is open-ended, or its shape changes often.
  • It needs broad world knowledge or long, original writing.
  • You have no examples yet and are still learning what good looks like.
  • Volume is low enough that per-call pricing stays cheap.
  • You are prototyping and the requirements are still moving.

This is a perfectly good answer. A well-prompted large model is often the right production system, and a test that shows it saves you from model work you do not need.

When a small model wins

  • The task is narrow and repeats at volume.
  • The output has a fixed format that can be validated.
  • You have, or can create, examples with correct answers.
  • Data must stay inside your environment.
  • Latency budgets are tight.
  • The same input must get the same behaviour next quarter.

The hybrid pattern: small first, large as fallback

You rarely have to choose all or nothing. A common production design sends every request to the small model first. The small model returns an answer and a confidence score. Above a threshold, the answer is used. Below it, the request goes to a larger model or to a person.

  1. Request
  2. Small modelanswer plus confidence
  3. Confidence above your threshold?

Yes Use the answer

No Send to a larger model or a person

The small-first, fallback pattern. Tune the threshold on held-out data.

Routine traffic gets the speed and cost of the small model, and hard cases still get the judgment they need. Tune the threshold on your held-out evaluation set, so you know the trade-off between coverage and quality before launch, not after.

Test the decision before you make it

  1. Write down the task: the inputs, the outputs and what a correct answer means.
  2. Build an evaluation set from real examples. Keep it out of all training and prompt tuning.
  3. Score your current approach on it. That is your baseline.
  4. Fine-tune a small candidate on separate training examples.
  5. Score the candidate on the same evaluation set, then read its failures one by one.
  6. Estimate the cost per 1,000 requests for both, at your real volume.

If the small model clears your bar at a lower cost, you have your answer. If it does not, you still have a reusable test set and a clear, documented reason to stay with the large model. For the training itself, read how to fine-tune a small language model. If the problem is missing facts rather than size, read fine-tuning vs RAG.

A quick checklist

  • The task runs every day, at meaningful volume.
  • Inputs and outputs have a stable shape.
  • A domain expert can say whether an answer is right.
  • You have examples, or a way to label them.
  • API cost, latency, privacy or stability is a real constraint.
  • You can host a model, or are willing to.

Four or more ticks: a small model is worth testing. Fewer: start with a large model, and revisit when volume grows.

Test it on your task.

Tell us what the task is, how often it runs and what handles it today. We reply with questions or a fixed-scope Sprint proposal.

hello@simpleoperations.ai
Draft a brief first