Small language models explained: what an SLM can do for writing

A small language model (SLM) runs on a laptop or phone. How small is small, current examples with sizes, SLM vs LLM, and what small models do for writing.

By Strokes Team · · 6 min read

The words Small language model set large in serif type beside a phone showing a short chat with a sparkled AI reply, tagged 3B in gold, standing in front of a tall grey server tower tagged 700B.
The model that fits in your pocket.
Table of contents
  1. How small is small
  2. Small models you can run
  3. What small models write well
  4. SLM vs LLM
  5. Local AI in Strokes
  6. Frequently asked questions

A small language model (SLM) is a language model compact enough to run on a laptop or a phone instead of in a data center. It is built and trained the same way as a large language model and has far fewer parameters, usually a few billion or fewer. For writing, a small model handles short, bounded jobs such as fixing a paragraph or summarizing a page, and it can do them offline. It knows less than a large model and is less dependable on long documents.

This page gives the definitions researchers and vendors use, current examples with sizes from their makers' model cards, and what the documentation says small models do well and badly for drafting, summarizing and grammar. Model facts were read on November 18, 2026.

How small is small

There is no fixed threshold. Parameters are the numbers a model learns in training; more of them means more capacity and more memory to run. IBM's explainer puts small models at a few million to a few billion parameters, against hundreds of billions or more for the largest. A 2024 survey of small models drew the line at 100 million to 5 billion, because 7-billion-parameter models were then still mostly served from the cloud, and noted that the definition could drift over time. A 2025 position paper by NVIDIA researchers defines the term by where the model runs: an SLM fits on a common consumer device and answers fast enough to be practical for one user. Its authors were comfortable, as of 2025, calling most models under 10 billion parameters small.

A small model is often a large one compressed. Among the techniques IBM describes, pruning removes the parameters that matter least, quantization stores the numbers at lower precision, and distillation has a small "student" model learn from a large "teacher".

Small models you can run

ModelMakerSizeContext windowFrom the maker
ModelGemma 4 E2B and E4BMakerGoogleSizeAbout 2 and 4 billion effective parametersContext window128K tokensFrom the makerBuilt for ultra-mobile, edge and browser deployment
ModelPhi-4-mini-instructMakerMicrosoftSize3.8 billionContext window128K tokensFrom the makerFor memory- and compute-constrained environments; MIT license
ModelMinistral 3MakerMistral AISize3, 8 and 14 billion versionsContext window256K tokens (8B)From the maker8B version built for edge deployment; Apache 2.0
ModelLlama 3.2 1B and 3BMakerMetaSize1.23 and 3.21 billionContext window128K tokensFrom the makerFor highly constrained environments such as mobile devices
Sizes and limits from each maker's model card or documentation, read November 18, 2026. Released: Gemma 4, March 2026; Ministral 3, December 2025; Phi-4-mini, February 2025; Llama 3.2, September 2024.

The memory a model needs depends on the precision its weights are stored at. Google's Gemma 4 page shows the effect: E4B needs about 17.9 GB to load at 16-bit precision and about 4.5 GB at 4-bit. Licenses differ too: Phi-4-mini is MIT, Ministral 3 8B is Apache 2.0, and Llama 3.2 comes under Meta's own community license; see open-weight and open-source models. For which of these to install, see local AI models for writing; for the setup, see local LLMs explained.

What small models write well

TaskWhat to expectDocumented basis
TaskGrammar and rephrasing a paragraphWhat to expectA good fit: the text is in front of the model and the job is narrowDocumented basisApple tuned its on-device model of about 3 billion parameters for writing and refining text (2024)
TaskSummarizing an email or a pageWhat to expectA good fit at this lengthDocumented basisMeta's Llama 3.2 card lists summarization and mobile writing assistants as intended uses
TaskDrafting from a short briefWhat to expectThin on facts unless you supply themDocumented basisMicrosoft's Phi-4-mini card says the model cannot store much factual knowledge
TaskA long document in one passWhat to expectUneven between models, and weakest on the middle of the textDocumented basisIn the 2024 survey's find-the-sentence test, average accuracy ran from 22% for a half-billion-parameter model to 92% for the best 3-billion one
TaskLanguages other than EnglishWhat to expectWeaker, and uneven between languagesDocumented basisThe Phi-4-mini card says so directly
What the makers' own pages and one independent survey report, read November 18, 2026. These are documented properties, not test results.

Two habits follow. Give a small model the facts and the outline instead of asking it to recall them, and check any claim it adds; see AI hallucinations. Work through a long manuscript one chapter at a time, even when the context window on the card looks large enough for all of it. The Phi-4-mini card also warns that answers can turn repetitive or inconsistent in very long chat sessions.

SLM vs LLM

The two are the same kind of system at different scales. A large model runs in a data center, and you pay for it by subscription or by the token. It brings broader knowledge and steadier handling of long or complex work; the 2024 survey found small models still well behind on complex reasoning. A small model can run on hardware you own, with no connection to the cloud, and your text then stays on the machine. Choose small for narrow, repeated edits on text you would rather keep local. Choose large for research, long manuscripts and anything that depends on what the model knows.

Local AI in Strokes

We make Strokes, a desktop writing app for macOS and Windows. Its Plus and Pro plans include Local AI, which runs on your computer. With it, improving a passage, summarizing, translating, reader reviews and autocomplete work offline, and nothing you write is sent to an AI service while you use it. The app does not train AI models on your content.

Frequently asked questions

Is a small language model the same as a local LLM?

No, though they overlap. A local LLM is any model you run on your own hardware, and it need not be small: Google lists about 17.5 GB of memory to load the 31-billion-parameter Gemma 4 at 4-bit precision and presents that model for local use. Small describes the size of the model, and a small model can also be served from the cloud.

How much memory does a small language model need?

Google publishes figures for Gemma 4 that give a sense of scale. At 4-bit precision, E2B needs about 2.9 GB to load, E4B about 4.5 GB and the 12-billion-parameter version about 6.7 GB. The mobile build of E2B is listed at about 1.1 GB. These numbers exclude the memory used by the text you feed in, so leave headroom for long documents.

Is GPT-6 Luna or Claude Haiku a small language model?

Only loosely. OpenAI, Anthropic and Google sell fast, low-cost models such as GPT-6 Luna, Claude Haiku 5.5 and Gemini 3.5 Flash-Lite, and the model pages for them give no parameter counts. They are offered through the vendor's own services, not as downloads. The research definitions of an SLM are about models that fit on a device you own.

Read next