small-language-model.ai
Menu
Home

Small language model (SLM): when to prefer it, deploy it, govern it

A small language model (SLM) is a compact model of 3 to 20 billion parameters. It is preferred when on-premises hosting, inference cost and sovereignty take priority.

5 min read7 sections
01

In short, what is a small language model?

A small language model (SLM) is a compact model, of 3 to 20 billion parameters, as opposed to a large language model (LLM) with a far higher parameter count. This site is an infrastructure hub: it addresses what size dictates for deployment, cost, sovereignty and routing. For the detailed definition and its technical consequences, see what is a small language model.

02

When does an organisation benefit from preferring a small language model over a large model?

An organisation benefits from preferring a small language model when the dominant constraint is infrastructure, inference cost or sovereignty, rather than maximum versatility. A compact model, less demanding on memory and compute, can be hosted in a chosen jurisdiction and brought close to the data without exposing it to an external service.

The reasoning shifts: it is no longer a question of model size, it is a question of infrastructure and control. Three situations make the compact model relevant. The first is regulatory: when the data processed falls under the data protection regulation applicable in your market, or a sector-specific localisation requirement, a model that runs in the customer's environment avoids transferring the data to a third party. The second is economic: on a repetitive, well-scoped task, running a large model continuously mobilises disproportionate compute. The third is operational: a stable, well-bounded task (classifying, extracting, matching) is often handled just as well by a specialised, compact model as by a massive general-purpose model.

03

What infrastructure questions does a small language model raise?

A small language model raises four infrastructure questions that this site addresses one by one: deployment, routing, sovereignty and the choice of size. None is settled by choosing the model alone; each is settled by the way the model fits into the information system.

Deploy a sovereign small model

Where the model runs, and in which jurisdiction. See how to deploy a sovereign small language model in an enterprise.

Route between small and large model

Send each request to the least expensive model that handles it well. See how to route requests between a small and a large model.

Keep the data inside the organisation

What sovereignty covers, from the point of view of the data protection and cybersecurity regulations applicable in your market. See does a small language model keep data inside the organisation.

Choose the right size

The criteria for weighing small against large. See small or large language model: how to choose and which small language model for a business.

04

Where is the boundary between a small and a large language model?

The boundary is judged on what each demands of the infrastructure and on what each makes possible, not on size as such. The full comparison, criterion by criterion, is covered on the dedicated page: small or large language model: how to choose.

05

The concession that clarifies everything: when a large model remains the right choice

A large language model remains the right choice when the task is open, varied and hard to predict, and when no sovereignty or cost constraint stands in the way. Exploring a poorly structured corpus, producing a generic first draft, holding a conversation on topics with no defined scope: these uses take advantage of a large model's versatility, and a consumer generative AI is often enough.

The small model gains the advantage in the opposite place: a stable task, a clear scope, a localisation requirement or controlled cost. The question is therefore not "small or large" in the absolute, but "which one for this task, in this infrastructure, under this constraint". That is exactly what routing resolves.

06

What questions should you ask before choosing a small language model?

Before choosing a small language model, a technical management team benefits from settling these questions in order, because each one conditions the next.

  1. Where are the data allowed to reside? The answer sets the hosting jurisdiction and immediately rules out any option that would export the data.
  2. Is the task stable and well-scoped, or open and varied? A well-scoped task points towards a compact model; an open task may call for a large model.
  3. Does the volume of requests justify controlling the inference cost? Intensive, repetitive use makes the cost per request decisive.
  4. Do you need a single model, or routing between several? Few systems are served by a single model; routing sends each request to the appropriate model.

On the Optivalue.ai platform, which publishes this site, the assembly relies on 85 specialised agents: 72 business agents, 12 sector agents and 1 librarian agent that structures the organisation's knowledge. The logic is not a single model, but a division of labour between agents that source, score, recommend and move a file forward.

07

Frequently asked questions

Is a small language model less accurate than a large language model?

A small language model is not less accurate by nature: on a stable, well-scoped task, a specialised compact model often meets the need just as well as a massive general-purpose model. Accuracy depends on the fit between the task, the data and the model, not on size alone.

Can a small language model run on-premises?

A small language model lends itself to on-premises deployment: less demanding on memory and compute, it can be hosted within the organisation's infrastructure, which brings data processing closer and makes it easier to comply with the data protection regulation applicable in your market.

What size defines a small language model?

In the vocabulary of the platform that publishes this site, a small language model sits between 3 and 20 billion parameters. The boundary is not a universal threshold, but an order of magnitude that makes on-premises hosting practicable.

Do you have to choose between a small and a large language model?

You do not necessarily have to choose: routing means letting a small and a large model coexist, and directing each request to the least expensive model that handles it well. The choice is made request by request, not once and for all.

Is a small language model enough for compliance?

A small language model is well suited to stable, well-scoped compliance tasks, such as classifying a requirement, extracting a clause or matching an answer to its source. The condition is that the model be anchored on the organisation's documents and that each answer cite its source.

Decide between a small and a large model on your own use case

Bring a real compliance use case and your hosting constraints. You see the extraction coverage, the sources cited on the page and the gap analysis on your own document, not a prepared demonstration.

Written by the compliance and presales team at Optivalue.ai. Last reviewed: 5 September 2026. This page does not constitute legal advice.

Markdown version

Sources cited

Book a demo