Small Language Model (SLM)
A Small Language Model (SLM) is a compact language model — typically under 10B parameters — designed to run cheaply, on-device, or in latency-sensitive workflows where a frontier LLM would be overkill or too expensive.
Full definition
SLMs are produced by training small models from scratch on high-quality data, by distilling larger models, or by aggressively quantizing them. Examples include Microsoft Phi-4, Google Gemma 2 2B, Apple Intelligence on-device models, and Meta Llama 3.2 1B/3B. On many narrow enterprise tasks, a fine-tuned SLM matches or beats a frontier general-purpose LLM at 10-100× lower inference cost.
Why it matters
SLMs are the fastest path to positive AI unit economics. For high-volume, narrow tasks (classification, extraction, routing, simple Q&A), an SLM can deliver the same quality as GPT-4-class models at one-tenth the cost — turning AI features from cost centers into margin contributors.
Example
A B2B SaaS company replaces GPT-4o with a fine-tuned Phi-4 SLM for ticket classification. Quality stays at 96% accuracy, but inference cost drops 92% and p95 latency improves from 2.4s to 180ms.
Related terms
- Large Language Model (LLM)A Large Language Model (LLM) is a deep neural network — almost always a transformer — trained on hundreds of billions to trillions of words to predict the next token, and to generate, summarize, translate, or reason over text.
- DistillationKnowledge distillation is the practice of training a smaller "student" model to mimic the outputs of a larger, higher-quality "teacher" model — capturing most of the teacher's quality at a fraction of the inference cost.
- QuantizationQuantization is the technique of representing a neural network's weights and activations with fewer bits — 8-bit, 4-bit, or even lower — to dramatically reduce memory footprint, inference cost, and latency, usually with only 0-2% quality loss.
- Edge AIEdge AI is the practice of running AI models on local devices — smartphones, vehicles, sensors, factory equipment, AR/VR headsets — instead of the cloud, in order to deliver lower latency, stronger privacy, and continued operation when offline.
- Inference CostInference cost is the dollar cost of running a trained AI model in production — per request, per user, or per business outcome — and the operating expense that determines whether an AI feature has positive unit economics at scale.
Source & further reading
Primary source: Microsoft Research — "Phi-3 Technical Report" (2024).
Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/nl/glossary/small-language-model/.