Category leaders

Guide

What Is a Small Language Model?

A plain-English guide to small language models: what an SLM is, how small models differ from large ones, examples of small language models, how they are made smaller, why they matter for cost, speed and privacy, what they are worse at, and how much memory they need.

November 26, 2026 · The AI Rankings

Definition: A small language model (SLM) is a language model compact enough to run on a phone, a laptop or a single graphics card, rather than only in a data centre. It works the same way as a large language model, predicting text one token at a time, but has far fewer parameters, so it is cheaper, faster and more private to run, and knows less.

There is no agreed size cut-off. IBM puts small language models at “a few million to a few billion” parameters, against hundreds of billions or more for the largest models, while Microsoft calls its 14-billion-parameter Phi-4 a small language model. The small models people meet most often run on their phones: Google’s Gemini Nano runs inside Android (Android Developers), and Apple’s 3-billion-parameter on-device model runs Apple Intelligence features (Apple).

This page explains what small language models are, how they are made and where they fit. It does not rank models. For small models you can download and run, see best local LLMs. For how language models work in general, see what is an LLM. For one-line definitions of the surrounding terms, see the AI glossary.


What is a small language model?

A small language model is a large language model built at a much smaller scale. It is the same kind of neural network, usually a transformer, trained to predict the next token of text. What changes is the number of parameters, the learned numbers that hold what the model knows.

Microsoft, which publishes the Phi family of small models, describes the difference this way: small language models “offer many of the same capabilities found in LLMs but are smaller in size and are trained on smaller amounts of data”, and the biggest large models are “many orders of magnitude larger” (Microsoft).

“Small” is relative. A model of a few billion parameters is small next to a frontier model, but it was large by the standards of a few years ago, and the line moves as phones and laptops get more memory. In practice, a model is called small when it fits on hardware a person or a small business already owns.

Small vs large language models

Small language modelLarge language model
Typical sizeUnder 1 billion to about 15 billion parametersHundreds of billions to trillions of parameters
Where it runsA phone, a laptop, a single graphics card or a cheap cloud serverClusters of data-centre chips
Cost per answerLow; free once it is on your own deviceHigher; usually paid per token through an app or API
SpeedFast on modest hardware, with no network round trip when run locallyDepends on the provider and the network
PrivacyData can stay on the deviceData is sent to the provider’s servers
KnowledgeNarrower; fewer facts stored in the parametersBroader; more facts and more languages
Hard reasoningWeaker on long, multi-step problemsStronger
ExamplesGemini Nano, Apple’s on-device model, Phi-4-mini, Gemma 4 E2BThe Claude, GPT and Gemini Pro families, DeepSeek V4

The size ranges are typical, not a rule. DeepSeek’s V4-Pro model has 1.6 trillion parameters, more than 400 times the 3.8 billion of Microsoft’s Phi-4-mini (Hugging Face).


Examples of small language models

Many small language models are open-weight: anyone can download the model and run it on their own hardware. The open-source AI guide explains what open weights allow. The on-device models from Google and Apple are the exception: they ship inside the phone’s operating system and are not downloadable.

ModelMakerParametersOpen weightsBuilt forSource
Gemini NanoGoogle1.8 billion and 3.25 billion in the first version (2023); not published for later versionsNoAndroid phones, through the AICore system serviceAndroid Developers, Gemini report
AFM 3 CoreApple3 billionNoApple devices; Apple Intelligence and SiriApple
Phi-4-miniMicrosoft3.8 billionYes (MIT licence)Memory- and compute-limited settingsHugging Face
Phi-4Microsoft14 billionYes (MIT licence)Reasoning at a small sizeHugging Face
Gemma 4 E2B and E4BGoogleAbout 2 billion and 4 billion effectiveYesPhones, edge devices and the browserGoogle
Llama 3.2 1B and 3BMeta1 billion and 3 billionYes, on llama.com and Hugging FaceSummarising, rewriting and following instructions on the deviceMeta
Qwen3 0.6B to 14BAlibaba0.6 billion to 14 billionYes (Apache 2.0)A range of sizes from phones to single GPUsQwen
Ministral 3Mistral3 billion, 8 billion and 14 billionYes (Apache 2.0)Edge and local useMistral
SmolLM3Hugging Face3 billionYes, with the training recipeEfficient deployment; a fully open modelHugging Face

Model families often come in several sizes, so the same name can cover both small and large models. Alibaba’s Qwen3 release, for example, ran from 0.6 billion to 32 billion parameters in its dense models (Qwen).


How small language models are made

A small model is not just a large model with layers cut off. Labs use four main techniques, often together.

Distillation: learning from a bigger model

Distillation trains a small “student” model to copy the outputs of a large “teacher” model, so the student picks up much of what the teacher learned at a fraction of the size (IBM). The idea was set out by Geoffrey Hinton, Oriol Vinyals and Jeff Dean in a 2015 paper, “Distilling the Knowledge in a Neural Network”. Meta used it for its Llama 3.2 1B and 3B models, feeding outputs from its 8-billion and 70-billion-parameter Llama 3.1 models into their training (Meta).

Pruning: removing parts that matter least

Pruning removes weights, neurons or whole layers that contribute little, then fine-tunes the model to recover lost accuracy (IBM). Meta’s Llama 3.2 1B and 3B models began as pruned copies of Llama 3.1 8B (Meta).

Better training data

Microsoft’s Phi work showed that carefully chosen data can make up for size. Its first Phi model, phi-1, had 1.3 billion parameters and was trained on “textbook quality” web data plus synthetic textbooks and exercises written by GPT-3.5 (“Textbooks Are All You Need”, June 2023). The Phi-4 technical report (December 2024) says the 14-billion-parameter model “strategically incorporates synthetic data throughout the training process” and, on Microsoft’s figures, “substantially surpasses its teacher model on STEM-focused QA capabilities”, meaning science, technology and maths questions.

Quantisation: storing numbers with fewer bits

Quantisation stores each parameter with fewer bits, for example 8 bits instead of 32, which cuts the memory a model needs and speeds it up (IBM). Apple compressed its 2025 on-device model to “2 bits per weight” (Apple). Quantisation is also how people fit open-weight models onto their own graphics cards; best local LLMs compares the common formats.

Mixture of experts: big model, small running cost

Some models are large in total but use only a small part of themselves for each token, a design called mixture of experts. Google’s Gemma 4 26B model uses about 4 billion of its 26 billion parameters per token (Google), and Apple’s AFM 3 Core Advanced on-device model has 20 billion parameters but activates “just 1 to 4 billion parameters at a time depending on the request” (Apple). These models run at close to the speed of a small model but still need memory for every parameter.


Why small language models matter

Small models trade some capability for four practical gains.

Small models are also cheaper to customise. Fine-tuning a few-billion-parameter model takes far less memory and time than fine-tuning a large one, so a business can train one for a single narrow job.

Small models and AI agents

Some researchers argue that small models will do much of the work inside AI agents. In a 2025 position paper, researchers at Nvidia argued that small language models are “sufficiently powerful, inherently more suitable, and necessarily more economical for many invocations in agentic systems”, because agents repeat “a small number of specialized tasks repetitively and with little variation”. It is a position, not a settled finding. Mistral described a similar split for its 2024 Ministral models, which it said can act as efficient helpers for parsing input and calling tools alongside a larger model such as Mistral Large (Mistral). The agentic AI guide explains how agents work.


What small language models are worse at

A smaller model has less room to store facts and less capacity for long chains of reasoning. The makers say so themselves.

That hybrid pattern is common: the small model handles quick, private, everyday requests on the device, and harder ones go to a large model in the cloud.

Vendors often say a small model matches a much bigger older one. Alibaba says “even a tiny model like Qwen3-4B can rival the performance of Qwen2.5-72B-Instruct” (Qwen), and Microsoft said Phi-3-mini “performs better than models twice its size” (Microsoft). These are the vendors’ own claims. For independent results across models, see AI benchmarks and best AI models.


How much memory does a small language model need?

A model’s memory need is roughly its number of parameters multiplied by the space each parameter takes. At 16 bits, each parameter takes 2 bytes; at 4 bits, half a byte.

ParametersAt 16 bitsAt 8 bitsAt 4 bitsAt 2 bits
1 billion2GB1GB0.5GB0.25GB
3 billion6GB3GB1.5GB0.75GB
8 billion16GB8GB4GB2GB
14 billion28GB14GB7GB3.5GB

These figures cover the weights alone. Running the model needs extra memory for the conversation so far, which grows with the context window. This is why Apple’s 2025 on-device model of about 3 billion parameters, at 2 bits per weight, fits alongside everything else in a phone’s memory, and why a 14-billion-parameter model such as Phi-4 suits a laptop or desktop graphics card more than a phone. OpenAI says its larger open-weight gpt-oss-20b model “can run on edge devices with just 16 GB of memory” (OpenAI).

On phones and laptops, much of this work runs on a neural processing unit, a chip built for AI maths. The NPU guide explains how those chips work. For devices, see best AI phones and best AI laptops.


A short history of small language models

DateEvent
9 March 2015Hinton, Vinyals and Dean publish “Distilling the Knowledge in a Neural Network”, the method behind many small models
23 January 2020Jared Kaplan and colleagues publish “Scaling Laws for Neural Language Models”, finding that performance improves predictably with model size, data and compute, which pushes labs towards ever larger models
20 June 2023The paper “Textbooks Are All You Need” introduces Microsoft’s 1.3-billion-parameter phi-1, trained on curated and synthetic data
23 April 2024Microsoft announces Phi-3, with the 3.8-billion-parameter Phi-3-mini described in its technical report as “small enough to be deployed on a phone”
25 September 2024Meta releases Llama 3.2 1B and 3B for phones and edge devices
16 October 2024Mistral releases Ministral 3B and 8B for on-device and edge use
2 December 2025Mistral releases Ministral 3 in 3, 8 and 14 billion parameter sizes, with open weights under Apache 2.0
12 December 2024Microsoft publishes the Phi-4 technical report for its 14-billion-parameter model
2 June 2025Nvidia researchers post a position paper arguing that small models suit most of the work inside AI agents
8 June 2026Apple introduces its third generation of foundation models, including the 3-billion-parameter AFM 3 Core for its devices

Frequently asked questions

What is a small language model in simple terms?

A small language model is a compact AI text model that can run on a phone, a laptop or a single graphics card instead of in a data centre. It works the same way as the large models behind ChatGPT or Claude, predicting text one token at a time, but has far fewer parameters, so it is cheaper, faster and more private to run, and knows less.

What is the difference between an SLM and an LLM?

The difference is size and what follows from it. A large language model has hundreds of billions to trillions of parameters and runs on data-centre chips; a small language model typically has under 1 billion to about 15 billion and can run on a personal device. Microsoft describes small models as offering “many of the same capabilities found in LLMs” while being smaller and trained on less data. Large models are stronger at complex reasoning and broad knowledge.

How many parameters does a small language model have?

There is no agreed cut-off. IBM describes small language models as having “a few million to a few billion” parameters, while Microsoft calls its 14-billion-parameter Phi-4 a small language model. Most models described as small have under 15 billion parameters, and the line moves upwards as devices get more memory.

What are examples of small language models?

Common examples are Google’s Gemini Nano, which runs on Android phones; Apple’s 3-billion-parameter AFM 3 Core, which runs Apple Intelligence; Microsoft’s Phi-4-mini (3.8 billion) and Phi-4 (14 billion); Google’s Gemma 4 E2B and E4B; Meta’s Llama 3.2 1B and 3B; the smaller Qwen3 models from Alibaba; Mistral’s Ministral 3 models; and Hugging Face’s SmolLM3.

Can I run a small language model on my own computer?

Yes. Open-weight small models such as Phi-4-mini, Gemma 4, Llama 3.2 and Qwen3 can be downloaded and run with free tools such as Ollama or LM Studio. A model of a few billion parameters, compressed to 4 bits, needs only a few gigabytes of memory, so it fits on most recent laptops. The best local LLMs page matches models to hardware.

Are small language models as good as large ones?

Not at everything. Small models are weaker at general knowledge and at long, complex reasoning, and Apple says its own on-device model is not designed to be a chatbot for general world knowledge. They can do well on narrow tasks such as summarising, rewriting or classifying text, and vendors such as Alibaba and Microsoft say their small models match much larger older ones on their own benchmarks.

Why are small language models important?

They make AI cheaper, faster and more private. A small model costs less to run per answer, responds quickly on modest hardware, can work offline and can keep data on the device instead of sending it to a server. They are also cheaper to fine-tune for a single job. Nvidia researchers argued in a 2025 position paper that small models will do much of the work inside AI agents.

Is Gemini Nano a small language model?

Yes. Gemini Nano is the model Google built to run on Android devices, through a system service called AICore, so features work without sending data to the cloud. Google’s 2023 Gemini report gave its first two versions 1.8 billion and 3.25 billion parameters, distilled from larger Gemini models; it has not published sizes for later versions. When a request is too hard for the phone, apps can hand it to Google’s cloud Gemini models instead.

← All guides