Models and training

Small language model

A small language model is a compact language model with far fewer parameters than leading large models, built to be cheaper and faster to run, often on modest hardware or devices, while handling focused tasks well.

Not every task needs the most capable model available. Sorting support tickets, extracting a few fields from short text or rewriting a sentence can often be done well by a much smaller model. A small language model gives up some breadth of knowledge and reasoning in exchange for speed, low running cost and the ability to run on a laptop, phone, edge device or a single modest server. For a buyer, it is a lever for keeping running costs and response times down once a build reaches real volume.

How it works

There is no fixed size threshold; "small" is relative to the largest models of the day. Small models are typically produced by training a compact architecture on carefully selected data, by distillation from a larger model, or by both. They are frequently released as open-weight models, and quantization can shrink them further.

Their strengths are narrow, well-defined tasks, especially after fine-tuning on examples from the business. Their weaknesses are broad general knowledge, long multi-step reasoning and tasks that need nuanced judgement across many domains.

A common pattern is to combine sizes. In a support build, a small model might classify each incoming message and handle routine replies, while harder or sensitive cases go to a larger model. This split, often managed by model routing, keeps the expensive model for the work that needs it.

What it means for cost

Small models reduce running costs and latency, and can remove the need to send data outside a device or network. They can add build cost, though. Getting a small model to perform reliably usually takes more careful prompting, a labelled set of examples, sometimes fine-tuning, and more thorough testing than simply calling a large model. Self-hosting brings its own infrastructure work.

The case for a small model is strongest at high volume, where per-request savings add up, or where privacy and offline use matter. Ask a builder to compare quality on your real examples between a small and a large model, and to show the volume at which the extra build effort pays off.

Common questions

When should a build use a small model instead of a large one?

When the task is narrow and repetitive, volume is high, responses must be fast, or data must stay on a device or private network. For open-ended conversation or complex reasoning, larger models are usually the safer choice.

Can a small language model run on a phone?

Some can, particularly after quantization, and device makers increasingly support on-device models. Performance depends on the device's memory and processor, so a mobile build should be tested on the oldest devices it needs to support.

Are small models less accurate?

On broad, difficult tasks, generally yes. On a focused task with good examples, a tuned small model can match a much larger general model, which is why testing on the actual job matters more than size alone.

Related terms

Pricing a build that involves Small language model? Send the brief and get a fixed price set next to the market range.Get a quote