AI & prompting

Small Language Models vs LLMs: When a Small Model Is Enough

A small language model (SLM) is a language model compact enough to run on a phone, laptop or single consumer GPU, typically around 1 billion to 15 billion parameters, while large language models (LLMs) run to hundreds of billions of parameters on data-centre hardware. Small models are cheaper, faster and can run offline; large models know more and handle harder reasoning, so the right choice depends on how narrow your task is.

What counts as "small"?

No standard defines the boundary. The term is used by model vendors for their compact families, and the sizes they apply it to are a useful guide:

ModelParametersWhat the vendor says about it
Llama 3.2 1B / 3B (Meta)1.23B and 3BQuantized versions suit "on-device use-cases with limited compute resources"; 128k-token context
Phi-3-mini (Microsoft)3.8B"Small enough to be deployed on a phone"
Gemma 4 E2B / E4B (Google)2B / 4B effectiveGoogle's small models, with a 128K context window and mobile builds
Phi-4 (Microsoft)14BPart of what Microsoft calls its family of small language models

So in 2026 "small" in practice means roughly 1B to 15B parameters. Models above that range, up to hundreds of billions of parameters, are what people usually mean by a large language model. If parameter counts are new to you, what does 7B mean in an LLM explains them.

Small vs large language models compared

Small language modelLarge language model
Typical size~1B to ~15B parametersTens to hundreds of billions
Where it runsPhone, laptop, single GPU, or cheap cloud instancesData-centre GPUs, usually via an API
Works offlineYesOnly open-weight models on very large hardware
Data leaves your deviceNo, when run locallyYes, when used through an API
General knowledgeLimited; more factual gapsBroad
Multi-step reasoning, long complex tasksWeakerStronger
Narrow tasks (classify, extract, summarise short text)Often good enough, especially fine-tunedGood, but may be overkill
Cost per requestYour hardware's electricity, or low API pricesHigher per-token API prices

Memory: why small models fit on a laptop

The weights alone need roughly parameters × bytes per parameter. At 16-bit precision each parameter takes 2 bytes, so a 3.8B model needs about 3.8 × 2 = 7.6 GB just for weights. Quantized to 4 bits (0.5 bytes per parameter) it needs about 1.9 GB. Google publishes measured figures for Gemma 4, covering weights plus about 20% loading overhead but not the KV cache that grows with context length:

Gemma 4 model16-bit (BF16)8-bit (SFP8)4-bit (Q4_0)
E2B11.4 GB5.7 GB2.9 GB
E4B17.9 GB8.9 GB4.5 GB
12B26.7 GB13.4 GB6.7 GB
31B69.9 GB34.9 GB17.5 GB

The pattern is what matters: a 4-bit 12B model's weights fit in the 8 GB of a mid-range graphics card with a little room left for context, while the 31B model at 16-bit needs data-centre hardware. Google also lists mobile builds of E2B at about 1.1 GB. For the details of 4-bit formats, see LLM quantization and GGUF; for sizing a GPU, how much VRAM you need to run an LLM locally.

How small models got good

Small models used to be much weaker than their parameter count alone would suggest. Two training choices changed that:

  • Much more and better training data per parameter. Microsoft's Phi-3 report describes phi-3-mini as a 3.8B model trained on 3.3 trillion tokens, and reports that it reached 69% on the MMLU benchmark and 8.38 on MT-bench, which the authors say rivals Mixtral 8x7B and GPT-3.5. Meta's Llama 3.2 1B and 3B models were pretrained on up to 9 trillion tokens.
  • Learning from a larger model (distillation). Meta's model card says Llama 3.2's small models used "logits from the Llama 3.1 8B and 70B models" as training targets, so the small model learns to imitate a bigger one's output distribution.

Treat benchmark comparisons with care. A score like 69% on MMLU measures multiple-choice knowledge questions, not how well a model follows your instructions, and the larger models it is compared with have since been superseded.

When a small language model is the right choice

  • The task is narrow and repeatable: classify support tickets, extract fields from invoices, tag sentiment, route requests, summarise short texts. You can describe success precisely and test it.
  • Data must stay on the device: medical notes, legal documents, source code you can't send to a third party. A local model never sends the text anywhere.
  • It must work offline or at the edge: field devices, phones, laptops on planes. Microsoft pitches Phi for running AI "directly on a device without the need for cloud connectivity".
  • Latency or volume matters: autocomplete, real-time features, or millions of requests a day where large-model API prices add up.
  • You want to fine-tune: fine-tuning a 3B model is feasible on one GPU; doing the same to a frontier model isn't possible outside the vendor's own service.

When you still need a large model

  • Open-ended questions across many subjects, where breadth of knowledge matters.
  • Multi-step reasoning: planning, debugging unfamiliar code, maths with several steps, agents that call tools over many turns.
  • Long, messy inputs: synthesising 50 pages into a decision, or following a long system prompt with many interacting rules.
  • Writing quality where tone and nuance matter to the reader.

A common pattern combines both: a small model handles the high-volume easy cases (classification, routing, extraction) and passes only the hard ones to a large model. Another is retrieval: giving a small model the right documents can close much of its knowledge gap, because it no longer has to know the facts, only read them.

How to try a small model in five minutes

With Ollama installed, one command downloads and starts a small model in your terminal, for example ollama run llama3.2 (the 3B model, a 2.0 GB download as of October 2026) or ollama run phi4-mini (3.8B, 2.5 GB). Model names in Ollama's library change over time, so check the library for current tags. Then test it on 20 or so real examples from your task and compare the answers with a large model's. That comparison, on your own data, is the only benchmark that answers "is a small model enough?".

Frequently asked questions

How many parameters does a small language model have?
There is no official cut-off. Vendors use the label for models from about 1 billion up to roughly 15 billion parameters: Microsoft calls Phi-4, at 14 billion parameters, a small language model, while Meta's Llama 3.2 small models have 1 and 3 billion. In practice, 'small' means it runs on a laptop, phone or single consumer GPU.
Can a small language model run without internet?
Yes. Once the weights are downloaded, a small model runs entirely on your device, which is one of the main reasons to use one. Microsoft describes Phi as letting developers run AI directly on a device without cloud connectivity, and tools like Ollama and llama.cpp run open small models offline on ordinary computers.
Are small language models less accurate?
On broad knowledge and complex reasoning, generally yes: fewer parameters means less stored knowledge. On narrow, well-defined tasks the gap can be small, and a small model fine-tuned for one task can beat a general large model at that task. Measure on your own examples rather than relying on general benchmarks.
Is a 7B model small or large?
By today's standards a 7B or 8B model sits at the top end of 'small': it runs on a single consumer GPU or a recent laptop when quantized, which is the practical meaning of small. The label is relative and shifts as hardware improves.

Sources