SysArt
Book a briefing
SysArt

Private LLMs and RAG

Achieving Real Results with Small Language Models On-Premises

When small language models are the right default for on-premises AI, which tasks they suit, how to escalate harder requests and how to measure the results.

Last reviewed by SysArt AI Architecture Team5 min readHow we review

In short

A small language model (SLM) is a language model compact enough to run with low latency on modest hardware. There is no formal size limit, but models below about 10 billion parameters are commonly treated as small. On-premises, SLMs suit bounded, high-volume tasks such as classification and extraction, with harder requests escalated to a larger model.

Key takeaways

  • There is no formal definition of a small language model; one 2025 position paper treats most models below 10 billion parameters as small.
  • On fixed on-premises capacity, small models suit bounded, high-volume tasks such as classification, extraction, triage and policy checks.
  • Small models work best with well-shaped context, fixed output schemas and an explicit escalation path to a larger model.
  • Published gains from small models and model routing come from public benchmarks; measure accuracy, escalation rate, latency and GPU time on your own tasks.
Data-driven visualization representing efficient AI model selection

What is a small language model?

A small language model (SLM) is a language model compact enough to run with low latency on modest hardware. There is no formal size threshold. In a 2025 position paper, Belcak and colleagues define an SLM as a model that fits on a common consumer device and responds quickly enough to serve one user’s agentic requests, and they treat most models below 10 billion parameters as small.

On-premises, the practical test is memory. A model must fit in GPU memory together with its key-value cache, the working memory that grows with context length and with the number of simultaneous requests. llama.cpp’s published measurements for Llama 3.1 8B show the scale: about 16 GB of weights at 16-bit precision and about 4.9 GB in its 4-bit Q4_K_M format. At the same 2 bytes per parameter, a 70-billion-parameter model needs about 140 GB for its 16-bit weights alone. You can estimate weights, cache and overhead for your own models with the LLM GPU sizing calculator.

Why do small models matter more on-premises?

On-premises, capacity is bought up front and shared between workloads. Every request served by a larger model than it needs uses GPU memory and throughput that another workload could have used, so the question is not only cost per request but how many workloads your hardware can carry.

Two published data points show why small models are worth testing:

  • The Phi-3 technical report (Abdin et al., 2024) stated that the 3.8-billion-parameter phi-3-mini rivalled much larger models, such as Mixtral 8x7B and GPT-3.5, on the academic benchmarks and internal tests it reported, while being small enough to run on a phone.
  • The Belcak position paper cites estimates that serving a 7-billion-parameter model is 10 to 30 times cheaper in latency, energy and computation than serving a model of 70 to 175 billion parameters.

Benchmarks are not your workload, and model generations move quickly. Treat these figures as reasons to run your own comparison, not as a forecast of savings.

Which tasks suit small language models?

Small models do best on work that is bounded, repetitive and checkable. Typical candidates are:

  • classifying and triaging requests, tickets or documents;
  • extracting fields into a fixed schema;
  • summarising a single document or a few retrieved passages;
  • rewriting or translating text within approved terminology;
  • policy and guardrail checks on inputs and outputs;
  • choosing a tool, or filling in tool arguments, in a predefined agent workflow.

They are weaker candidates for open-ended reasoning across many long documents, for ambiguous requests, and for tasks where an error is costly and hard to detect automatically. Belcak and colleagues argue that many calls inside agent systems are narrow and repetitive, which is why they favour agents that combine several models of different sizes.

QuestionSmall model by defaultEscalate to a larger model
Is the output format fixed?Yes: labels, fields, JSONNo: open-ended text or plans
How much context does the task need?One document or a few passagesMany long documents at once
How clear is the request?Clear and repetitiveAmbiguous or novel
What does an undetected error cost?Little, or validation catches itA lot, and errors are hard to check

How should harder requests escalate to a larger model?

Use the small model as the default and escalate on explicit rules first, then on signals of low confidence. Research on routing and cascades suggests the approach can pay off. FrugalGPT (Chen, Zaharia and Zou, 2023) tried cheaper models before more expensive ones and reported matching the best individual model it tested with up to 98% lower cost on the tasks it evaluated. RouteLLM (Ong et al., 2024) trained routers on preference data and reported cost reductions of more than two times in certain cases without compromising response quality. Both studies used public benchmarks and commercial model APIs, so the figures show what is possible, not what you will save.

A practical escalation design has four parts:

  1. Route by task type first. Deterministic rules send each task type to an approved model.
  2. Escalate on signals. A failed schema check, low classifier confidence or missing retrieval evidence sends the request to the larger model.
  3. Cap retries. One escalation per request avoids loops that consume capacity.
  4. Log every escalation with its reason. The escalation rate per task shows where the small model is not good enough.

Our post on intelligent model routing covers router design in more depth.

What makes small models reliable in production?

The system around a small model does much of the work. Four habits matter most:

  • Well-shaped context. Clean prompts, controlled retrieval-augmented generation and a fixed output schema leave a small model less room to go wrong.
  • Fine-tuning where prompting is not enough. Parameter-efficient methods such as LoRA train small adapter matrices while the base weights stay frozen. The LoRA authors reported 10,000 times fewer trainable parameters and a third of the GPU memory compared with fully fine-tuning GPT-3 175B. Our post on fine-tuning small models on domain data covers when it is worth the effort.
  • Licence review. Open-weight models come with different terms on use, redistribution and attribution. Check them before a model enters production; our guide to open-weight model licences explains what to look for.
  • Measurement. Track task accuracy on your own test set, escalation rate, latency (time to first token and total response time) and GPU time per request. Those numbers show where the small model creates value and where it should hand work off.

How do you start using small models on-premises?

Start with an inventory of tasks rather than with a model.

  1. Map AI tasks by volume, output format and the cost of an error.
  2. Build a test set per task from real, approved examples, with expected outputs.
  3. Shortlist two or three small models that fit your hardware with room for the cache. Our post on hardware-aware model selection explains the memory calculation.
  4. Compare each candidate with a larger model on the same test set and under realistic load.
  5. Deploy the small model as the default with an escalation rule, and monitor escalation rate and quality.
  6. Repeat the comparison when new models are released or your workload changes.

The aim is not to avoid large models. It is to stop sending every request to one model size. SysArt designs model portfolios for private LLM platforms: which tasks run on small models, how requests escalate, and how quality and capacity are measured.

Frequently asked questions

What counts as a small language model?

There is no formal standard. A 2025 position paper by Belcak and colleagues defines a small language model as one that fits on a common consumer device and responds quickly enough to serve one user's agentic requests, and treats most models below 10 billion parameters as small. On-premises, the practical test is whether the model fits your GPU memory with room for the key-value cache.

When are small language models better than large models?

They are usually the better fit for bounded, high-volume tasks: classification, extraction into a fixed schema, triage, short summaries, policy checks and tool selection in predefined workflows. They respond faster and use less GPU memory, which matters on fixed on-premises capacity. Larger models remain the better choice for ambiguous requests, open-ended reasoning and tasks where errors are costly and hard to detect.

Do small models still need a larger model?

Usually, yes. A practical design uses a small model as the default and escalates to a larger model when rules or confidence signals call for it, such as a failed schema check or missing retrieval evidence. Research on routing and cascades, including FrugalGPT and RouteLLM, reported large cost reductions on public benchmarks with this kind of approach; measure the effect on your own tasks.

How much GPU memory does a small language model need?

At 16-bit precision, weights need about 2 bytes per parameter, so an 8-billion-parameter model needs roughly 16 GB. In llama.cpp's published measurements, a 4-bit format brought Llama 3.1 8B down to about 4.9 GB. Add the key-value cache, which grows with context length and the number of concurrent requests, plus runtime overhead. The SysArt LLM GPU sizing calculator estimates all three.

Can small language models be fine-tuned on-premises?

Yes, and parameter-efficient methods reduce the hardware needed. LoRA freezes the base model and trains small low-rank matrices; its authors reported 10,000 times fewer trainable parameters and a third of the GPU memory compared with fully fine-tuning GPT-3 175B. Fine-tune only when prompting, retrieval and output schemas are not enough, and evaluate the result on a held-out test set.

Related insights

Plan your private AI with people who build it

Book a briefing. We look at your use case, data and constraints, and you leave with the deployment options and governance steps that fit.