Small language models (SLMs) are language models compact enough to run on an ordinary phone, laptop or single server, usually with fewer than about 10 billion parameters. This guide explains how they differ from large models, which SLMs matter in 2026, how on-device AI uses them, and when a small model is the better choice.
- There is no official size cutoff, but most people call models under about 10 billion parameters small; NVIDIA researchers define an SLM as one that runs on a common consumer device fast enough for one user.
- Small models are good at narrow, repeated tasks such as classification, extraction, summarization, rewriting and simple tool calls, and weak at broad world knowledge and long, complex reasoning.
- On-device AI in phones and laptops runs on SLMs: Apple's on-device model has about 3 billion parameters, and Android apps reach Gemini Nano through ML Kit and AICore.
- Open SLMs such as Gemma 4 E2B and E4B, Phi-4-mini and the Qwen3.5 small models run locally with tools like Ollama.
- The practical pattern is a mix: small models for high-volume, private or offline steps, a large model for the hard parts.
What are small language models?
Small language models (SLMs) are language models with few enough parameters to run on everyday hardware, such as a phone, a laptop or a single modest server, instead of a cluster of data-center GPUs. In practice that usually means a few hundred million to about 10 billion parameters.
There is no official cutoff. A 2025 position paper by NVIDIA researchers, Small Language Models are the Future of Agentic AI, defines an SLM by where it runs: a model that "can fit onto a common consumer electronic device" and answer one user's requests with practical latency. The authors add that, as of 2025, they would consider most models below 10 billion parameters to be SLMs. Anything bigger is a large language model, which our guide to what a large language model is covers in depth.
A parameter is one of the learned numbers (weights) inside the model. More parameters let a model store more knowledge and handle more varied tasks, but also need more memory and compute for every token it reads or writes. SLMs trade some breadth for speed, cost and the ability to run where the data is.
How are small language models different from large ones?
SLMs run locally and cheaply but know less; LLMs know more and reason better but need data-center hardware and usually a network round trip. The table shows the typical trade-offs.
| Small language model | Large language model | |
|---|---|---|
| Typical size | Up to about 10B parameters | Tens to hundreds of billions |
| Where it runs | Phone, laptop, edge device, one GPU | Data-center GPU clusters, via API |
| Latency | Low, no network needed | Network plus queueing |
| Cost per request | Very low or zero after setup | Pay per token |
| Privacy | Data can stay on the device | Data goes to the provider |
| World knowledge | Limited | Broad |
| Complex, multi-step reasoning | Weak to moderate | Strong |
| Customizing | Cheap to fine-tune | Expensive to fine-tune; often prompt only |
Model cards say the same thing in their own words. Microsoft's Phi-4-mini card warns that the 3.8-billion-parameter model lacks the capacity to store much factual knowledge and suggests pairing it with search or retrieval. Apple says its on-device model is "not designed for world knowledge or advanced reasoning."
How do small models get so capable?
Modern SLMs are much stronger than older models of the same size because of how they are trained and packed, not because size stopped mattering. Four techniques do most of the work.
- Distillation. A small "student" model learns from the outputs of a large "teacher." Apple describes using a distillation loss for its on-device model, and the DeepSeek-R1-Distill models (1.5 to 8 billion parameters) are distilled from a large reasoning model.
- Better training data. Carefully filtered and synthetic data teaches more per parameter than raw web text.
- Quantization. Weights are stored in fewer bits, for example 4 bits instead of 16, which cuts memory and speeds up inference at a small quality cost. Apple's on-device model has about 3 billion parameters, "each quantized to 2 bits."
- Efficient architectures. Google's Gemma 4 E2B and E4B use "effective" parameter counts of 2 and 4 billion, and mixture-of-experts designs activate only part of the model for each token.
Which small language models matter in 2026?
The best-known SLMs in 2026 come from Google, Microsoft, Alibaba's Qwen team, Meta and Hugging Face, plus the models built into phone operating systems. The table lists the main families as of November 2026; check each model card for current versions.
| Model family | Small sizes | License | Notes |
|---|---|---|---|
| Gemma 4 (Google) | E2B, E4B (effective 2B and 4B) | Apache 2.0 | Text, image and audio input; 128K context; built for mobile and browser |
| Phi-4-mini (Microsoft) | 3.8B | MIT | 128K context; aimed at memory- and latency-bound use and math and logic |
| Qwen3.5 (Alibaba) | 0.8B, 2B, 4B, 9B | Apache 2.0 | Image input; long native context |
| Llama 3.2 (Meta) | 1B, 3B | Llama 3.2 Community License | Meta targets mobile devices and writing assistants |
| SmolLM2 and SmolLM3 (Hugging Face) | 135M to 3B | Apache 2.0 (SmolLM3) | Fully open small models for experiments and edge use |
| Apple on-device model | About 3B | Built into Apple platforms | Available to apps through the Foundation Models framework |
| Gemini Nano (Google) | Not published | Built into Android | Available to apps through ML Kit GenAI APIs and AICore |
Larger open models, the ones you need a serious GPU for, are covered in our guide to open-source LLMs.
What is on-device AI, and how do SLMs power it?
On-device AI means the model runs on the phone or computer itself, so prompts and outputs never leave the device and features work offline. On-device AI features run on small models because phones have a few gigabytes of memory to share with everything else.
The two big platforms expose their built-in SLMs to developers:
- Apple: the Foundation Models framework gives apps access to the on-device model. Apple says it is "optimized for use cases like summarization, extraction, classification," runs offline, keeps data on the device and doesn't increase app size because it ships with the operating system.
- Android: Gemini Nano runs in the AICore system service, and apps reach it through ML Kit's GenAI APIs for summarization, proofreading, rewriting and image description. Google recommends a hybrid setup that routes requests to a cloud Gemini model when Nano is unavailable on a device.
The hybrid pattern is the norm: a small local model handles quick, private, frequent requests, and the app escalates to a large cloud model for anything it can't handle.

When does a small model beat a large one?
A small model wins when the task is narrow and repeated, when data must stay local, when latency matters or when volume makes per-token pricing expensive. In those cases its lower knowledge and reasoning ceiling doesn't matter, and its speed and cost do.
Typical wins:
- Classification and routing. Tagging support tickets, detecting language or intent, choosing which tool or model handles a request.
- Extraction into structure. Pulling names, dates and amounts from documents into JSON with a fixed schema. Our guide to structured output shows the technique.
- Summarizing and rewriting short text on the device, such as notifications, messages and notes.
- Private or regulated data that must not leave a device or a company network.
- Offline use in the field, on planes or in places with poor connectivity.
- High-volume pipelines where millions of simple calls would cost real money on a frontier model.
- Agent sub-steps. The NVIDIA paper argues that most calls inside agent systems are "a small number of specialized tasks" done repeatedly, which an SLM, possibly fine-tuned, can handle while a large model takes the open-ended parts. It estimates serving a 7-billion-parameter SLM is 10 to 30 times cheaper in latency, energy and compute than a 70 to 175-billion-parameter LLM, while noting that real economics depend on the case.
Small models are also the cheapest models to fine-tune for one job. If you are deciding between fine-tuning and retrieval, read fine-tuning vs RAG first.
When should you still use a large model?
Use a large model when the task needs broad knowledge, careful multi-step reasoning or long, open-ended output. Small models fail on these in ways that are hard to spot: confident wrong facts, lost threads in long contexts, and plausible but broken plans.
- Questions that depend on wide world knowledge, unless you supply the facts through retrieval.
- Complex analysis, math proofs, legal or medical reasoning that has to be right.
- Long documents where details from far apart must be connected.
- Coding beyond autocomplete: multi-file changes, debugging and long agentic tasks. Coding agents such as Claude Code run on large frontier models for this reason.
- Writing that needs nuance, tone control and judgment over many pages.
The Phi-4-mini card lists the usual small-model weak spots: factual errors, hallucinated function names or URLs in tool calls, weaker performance outside English, and repetition in very long conversations. Test a small model on your real inputs before you rely on it.
How do I try a small language model on my computer?
The quickest way is Ollama, a free local runner that downloads a quantized model and gives you a chat prompt and a local API. At 4-bit quantization the 2B to 4B models below need roughly 1 to 3 GB of memory, so most recent laptops can run them.
- Install Ollama from ollama.com (macOS and Windows have installers; on Linux use the install script).
- Pull and run a small model.
- Test it on the actual task you care about, with 20 or 30 real examples.
- Compare the results with a large hosted model on the same examples.
- Keep the small model for the cases where it is good enough.
# Linux install (macOS and Windows: download the app from ollama.com)curl -fsSL https://ollama.com/install.sh | sh# Try a few small modelsollama run gemma4:e4bollama run qwen3.5:4bollama run phi4-miniA copyable test prompt for an extraction task:
Extract these fields from the email below and answer with JSON only:{"customer_name": string, "order_number": string, "problem": string, "wants_refund": boolean}Email:"Hi, this is Dana Lee. Order 48213 arrived with a cracked screen.I'd like a replacement rather than my money back. Thanks."To estimate memory, multiply parameters by bytes per weight: at 4-bit quantization a 4B model needs about 2 GB for its weights, plus extra for the context. Our guide to running an LLM locally covers hardware, quantization formats and other runners such as llama.cpp and LM Studio.
If your small model has a "thinking" or reasoning mode, test your task with it on and off. Reasoning adds output tokens and latency, and on short classification or extraction jobs it may not change the answer.
How to choose between small and large models
Decide per task, not per product. Use this checklist:
- Write down the task in one sentence. If it fits "classify, extract, summarize or rewrite short text," start with a small model.
- Check constraints: does the data have to stay on the device, or must it work offline? If yes, you need a small local model.
- Count volume. Thousands of calls a day make a small model's cost advantage real.
- Test 20 to 30 real examples on a small and a large model side by side.
- Route the hard cases to the large model and keep the rest local.
- Re-test when new small models ship; the families above update several times a year.
Coding agents remain large-model territory, and if you run those for hours, Orkio keeps Claude Code and Codex working on an always-on cloud box while your laptop is closed.
Frequently asked questions
What is the difference between an SLM and an LLM?
The main difference is size and therefore where the model can run. An SLM has up to a few billion parameters and runs on a phone, laptop or modest server; an LLM has tens or hundreds of billions and usually runs in a data center. LLMs know more and reason better across open-ended tasks, while SLMs are faster, cheaper and can keep data on the device.
Is ChatGPT a small language model?
No. ChatGPT runs on large models served from OpenAI's data centers. Phones and laptops can include small on-device models, such as Apple's roughly 3-billion-parameter model or Google's Gemini Nano, and some apps combine them with large cloud models for harder requests.
Can a small language model run without internet?
Yes. Once the model file is on the device, inference happens locally, so it works offline. Google says Gemini Nano delivers generative AI without a network connection, and Apple says its on-device model can run offline because inference happens on the device.
How much memory does a small language model need?
Roughly the parameter count times the bytes per weight, plus room for context. A 4-billion-parameter model quantized to 4 bits needs about 2 GB for the weights; Google lists about 2.5 GB of mobile memory for Gemma 4 E4B and 1.1 GB for E2B.
Are small language models good for coding?
They handle autocomplete, short functions and simple explanations, and are useful as cheap helpers inside larger pipelines. Multi-file changes, debugging across a codebase and long agentic tasks still go much better with large frontier models.
SOURCES
- Belcak et al. (NVIDIA Research): Small Language Models are the Future of Agentic AI
- Google AI for Developers: Gemma 4 model overview
- Android Developers: Gemini Nano
- Apple WWDC25: Meet the Foundation Models framework
- Hugging Face: Phi-4-mini-instruct model card
- Hugging Face: Qwen3.5-4B model card
- Hugging Face: Llama 3.2 1B Instruct model card


