You do not need GPT-4 in your pocket. Models with billions of
parameters, quantized and well chosen, solve most local tasks without
the user noticing the difference — and without draining the battery.
# Small Language Models (SLMs): Local AI Without Draining the Battery
You do not need GPT-4 in your pocket. Models with billions of
parameters, quantized and well chosen, solve most local tasks without
the user noticing the difference — and without draining the battery.
Introduction
Yesterday we saw the engine: the NPU, the piece of silicon that makes it
possible to run AI on the device. But an engine without fuel goes nowhere.
And the fuel of Edge AI is not electricity: it is the model.
Here is the problem that almost every conversation about local AI skips:
the models people know — GPT-4, Claude, Gemini — weigh trillions of
parameters, were trained with military budgets and run in data centers
with thousands of GPUs. They do not fit on a phone. They will never fit
on a phone. And yet, the Edge AI paradigm promises real-time
translation, contextual assistants and document analysis… in the
pocket.
How is that contradiction resolved? With a class of models that a year
ago seemed niche and today is the center of the strategy of Apple,
Microsoft, Google, Qualcomm and Meta: SLMs (Small Language Models) —
language models from hundreds of millions to a few billion parameters —
combined with quantization, the technique that reduces the model’s
weight without losing the precision the task needs.
Today’s thesis: the right model for the edge is not the big model
“shrunk”; it is a model designed small from the start, quantized for the
silicon and chosen for the task. And the difference between “an SLM”
and “the right SLM” is the difference between a product that responds
and one that does not.
The Problem
A laptop manufacturer wants its “AI PC” to stand out: a local assistant
that summarizes, answers about the user’s documents and drafts — no
cloud. Its engineering proposes the obvious thing: take the smallest
frontier model that exists, quantize it to 4 bits and put it in the
laptop.
The prototype works. And then QA does its job:
- The summarization task works well. The code task, which marketing
had already announced, fails: the small model hallucinates APIs that do
not exist. - Spanish, which was the target market, sounds like machine
translation: the model was evaluated almost entirely in English. - First-token latency is acceptable; the average token, not so much:
the model generates 8 tokens per second, and drafting a paragraph is
watching someone type with one hand. - Memory: the model quantized to 4 bits occupies 4.5 GB. In a laptop
that also has to run the system, the app and the browser, 4.5 GB
permanently reserved is a product problem, not an engineering one.
The error was not technical: it was a selection error. The model was
chosen before the tasks, the language and the budget were defined. And a
poorly chosen SLM is not “a mediocre SLM”: it is a product with a broken
marketing promise.
The Concept
An SLM (Small Language Model) is a reduced-scale language model:
typically between 300 million and 15 billion parameters, versus the
hundreds of billions of frontier models. The class’s references today:
- Phi-3 / Phi-4 (Microsoft). 3.8B-14B. The “small but mighty” family:
densely trained on high-quality data to maximize capability per
parameter. The 3.8B runs on smartphones; the 14B on AI PCs and
laptops. - Llama 3 / Llama 3.2 (Meta). 1B-8B (and 70B for powerful edges).
The 8B is the workhorse of the edge: reasonable quality, open license,
immense ecosystem. The 1B/3B for wearables and mid-range. - Gemma / Gemma 2 / Gemma 3 (Google). 1B-27B. Optimized for local
deployment; the 3B and 9B are the typical entry points. Base of
Gemini Nano, Android’s on-device model. - OEM on-device families. Apple Foundation Models (~3B, in the
iPhone), Gemini Nano on Android, Qwen in the Chinese mid-range. The
pattern: every ecosystem already has its native SLM.
And the technique that makes them viable: quantization. A model is
stored and executed in floating-point numbers (FP16: 16 bits per
parameter). Quantization rounds them to representations of fewer bits —
INT8, INT4, even ternary — with a precision cost that, well done, is
small:
- FP16 → INT8: the model weighs half; the quality loss is marginal
(1-3% on benchmarks, often imperceptible in concrete tasks). - FP16 → INT4 (GPTQ, AWQ, bitsandbytes): the model weighs a quarter;
the loss remains modest if the quantization is done with calibration
(a small reference dataset from the domain). - INT4 → ternary/binarized: the model weighs an eighth or less; here
the loss is noticeable, and it is only justified in very limited
hardware (wearables, sensors).
The industry’s practical rule: for an 8B SLM, well-calibrated 4-bit
quantization is the sweet spot — a quarter of the weight, acceptable
quality, speed multiplied by the lower memory movement. And the fine
point almost nobody mentions: quantization is not free or universal.
A model quantized for one domain (code) can degrade more in another
(minority languages); calibration is done with data from the target
domain, and the target domain is yours.
Size is not the metric: the task is
The temptation is to compare SLMs by parameters. The error is comparing
ships by cylinder count. What matters is:
- The task. Summarizing, classifying, extracting, answering over a
short context: a well-chosen 3B-8B delivers 90% of a big model.
Programming, multi-step reasoning, following complex instructions:
there the gap is noticeable. - The language. An SLM evaluated in English can be mediocre in
Spanish; multilingual benchmarks exist and, above all, you have to
evaluate in the product’s language. - The context. The sustainable context window at the edge is smaller
(memory is not infinite); an SLM with 8K-32K of context covers the
vast majority of local tasks. - Speed (tokens/second). At the same quality, the model that
generates twice as fast is a better product: the perception of
“intelligent” is linked to the perception of “fast”.
Architecture
A local SLM system has a fixed anatomy:
USER
│
▼
┌────────────────────────────────────────────┐
│ LOCAL APP │
│ orchestration · UI · permissions · memory│
└──────────────┬─────────────────────────────┘
│
▼
┌────────────────────────────────────────────┐
│ INFERENCE RUNTIME (llama.cpp, MLC, │
│ Core ML, NNAPI, OpenVINO) │
│ loads the quantized model in memory │
│ layer dispatch: NPU / GPU / CPU │
└──────────────┬─────────────────────────────┘
│
▼
┌────────────────────────────────────────────┐
│ QUANTIZED SLM (3B-8B, INT4/INT8) │
│ on NPU (day 3) + device memory │
└────────────────────────────────────────────┘
│ (optional)
▼
LOCAL RAG: embedding index + documents
(the model reasons over what is yours)
Three architecture decisions define the system:
- Model + quantization coupled to the silicon. The runtime chooses
the quantization according to the NPU and available memory: 4 bits on
an 8B for an AI PC, 8 bits on a 3B for a smartphone. The same “AI
product” has different models depending on the hardware — and the
user does not notice it, which is the success. - Local RAG as the natural extension. The SLM by itself knows what
it knows; with a local embedding index and the user’s documents, it
answers about what is yours, without anything leaving the device.
(The RAG of the previous series, running at the edge: same
technique, different guarantee.) - Elegant degradation. If the battery drops, if memory is tight,
the runtime switches to a smaller model or a lower-quality mode,
instead of killing the function. The product does not have two states
(works / does not work): it has a continuum.
Use Case
The laptop manufacturer from the introduction, redesigned:
- Problem. Local assistant (summarization, answering about
documents, drafting) in Spanish, with first token under 500 ms and
fluid generation, on a heterogeneous installed base (with and without
NPU). - Decision. Two configurations: 8B-INT4 for laptops with NPU;
3B-INT4 for the mid-range. Code tasks out of marketing’s reach until
the 8B demonstrates the benchmark in the domain. - Knowledge needed. The user’s documents (local RAG), preferred
drafting style, interaction history. - Data. The user’s documents and notes (sensitive: do not leave).
- Relationships. Document → embedding → neighborhood; query →
context → response; interaction → preference. - Context. Session language (es/EN), task type, battery level,
available NPU. - Memory. Persistent embedding index; drafting profile.
- Reasoning. Embeddings + local retrieval on the NPU; generation on
the NPU (or GPU/CPU if there is no NPU); fallback to 3B if memory
tightens. - Action. Response under 500 ms; local logging; incremental index
updates. - Infrastructure. 8B quantized to 4 bits calibrated in the
domain’s Spanish (company documents) + multi-backend runtime (NPU
first, GPU/CPU fallback) + anonymous telemetry.
The result: the same laptop that promised “local AI” now delivers it in
the target market’s language, at the speed the user perceives as
intelligent, with a memory budget the operating system does not suffer.
And the code promise, which was the one going to break the product, was
pulled from marketing before the product broke it.
Trade-offs
- Real capability gap. An 8B does not program like a frontier model;
it does not reason in 20 steps; it does not follow 50-line
instructions. The product must know what it promises; marketing that
promises “GPT in your laptop” is signing a death sentence. - Domain evaluation. Public benchmarks do not say how your model
performs in your language, your domain, your tasks. Domain evaluation
is work, not a downloaded benchmark. - Quantization calibration cost. A well-calibrated INT4 quantization
requires a reference dataset from the domain and engineering time;
generic quantization is free and mediocre. - Runtime fragmentation. Each backend (llama.cpp, Core ML, NNAPI,
OpenVINO) performs differently on the same model. Multi-platform
deployment multiplies the validation work. - Honest limit. For frontier tasks (deep reasoning, complex code,
low-resource multilingual), the cloud still wins. The hybrid is not a
transition: it is the definitive production state.
Implications for the Business
For the CTO, the SLM turns “local AI” from a slogan into a
specification: size, quantization, language, domain benchmark,
tokens/second. Five numbers, and the debate stops being philosophical.
For the AI team, the lesson is of selection: the model is chosen
after defining tasks, language and budget — never before — and is
evaluated in the domain, not on a leaderboard. 90% of the local AI
failures that are going to happen are selection failures, not silicon
failures.
For the product team, the message is of honesty: a well-chosen SLM
covers the vast majority of everyday tasks with sufficient quality.
Promising 100% is what breaks the product; promising 90% with speed and
privacy is what makes it.
Conclusion
Edge AI does not run models with trillions of parameters: it runs
quantized SLMs, chosen by task, calibrated in language and domain, and
coupled to the silicon. Phi-3, Llama 3 8B, Gemma and each ecosystem’s
on-device families are the class of models that makes the promise
credible: useful, private and fast AI, on the device. And quantization —
from 16 to 4 bits — is the trick that makes “small” not mean
“impossible”.
And if the engine (NPU) and the fuel (SLM) already exist, the question
that remains is the one the user asks: for what, in real life?
Tomorrow: the cases where Edge AI is no longer a demo — smartphones,
cars, health and smart homes.
Next Article
Tomorrow: Edge AI in practice: smartphones, cars, health and smart homes.
The closing of the series: the four domains where Edge AI is already
producing value today — and what it means for the company that is going
to build on them.
Sources
- Microsoft (2024-2025). Phi-3 and Phi-4 Technical Reports. — “Small but
mighty” design. - Meta (2024). Llama 3 and Llama 3.2 Model Cards. — Reference of open
1B-8B SLMs. - Google (2024-2025). Gemma 2/3 and Gemini Nano. — SLMs optimized for
local and on-device deployment. - Frantar, E. et al. (2023). GPTQ. — Post-training 4-bit quantization
with calibration. - Lin, J. et al. (2023). AWQ. — Activation-aware quantization for
inference hardware.


