Skip to content
Build your MVP from $299 a month
Back to Blog

Guides

What Are Small Language Models, and Should Your App Run One?

Small language models are AI models small enough to run on a phone or a cheap server. What counts as small, SLM vs LLM, which tasks fit, and when to escalate.

Seif Sgayer

Founder & CEO, MVP Development

17 min read

Small language models compared with large language models: a small model running on the phone, fast, private and narrow, beside a large model in the cloud, broad and metered per call

TL;DR

Small language models (SLMs) are language models small enough to run on a phone, a laptop or a single modest server, usually from a few hundred million to a few billion parameters. They are fast, cheap per call and can keep data on the device, but they know less and reason less than large models. Most apps should use one for narrow, repetitive jobs and send the rest to a large model.

The current small models from Google, Microsoft, Meta, Alibaba and Apple are good at classification, extraction, rewriting, routing and short summaries. Their own model cards say they are weak on facts. So the useful question is not “SLM or LLM” but “which steps can the small model take, and how does the app know when to hand off”. This post gives you that split, the hardware limits that decide it on a phone, and a decision flow you can run before you pick a model.

A free add-on, shown by the author

Before your AI builds your MVP, watch this.

A free add-on that makes your AI coding tool plan, test and get checked before you see the code.

Free and MIT licensed. Claude Code, Codex, Cursor.Free and MIT licensed. Works in Claude Code, Codex and Cursor.

What counts as a small language model?

There is no official cutoff, and anyone who gives you one is choosing it. What the sources actually do is define “small” by where the model can run.

The NVIDIA Research paper Small Language Models are the Future of Agentic AI (Belcak and colleagues, arXiv 2506.02153, first posted in June 2025) ties the definition to deployment: a model that fits on a common consumer device and can serve one user’s requests at practical speed. Google’s Gemma 4 page describes its “small models” as the ones with a 128K context window, which its model card shows are the phone-class E2B and E4B. The Edge AI and Vision Alliance piece of 28 January 2026 lists models from 135 million to 3.8 billion parameters as the ones targeting on-device use, and notes that sub-billion models now handle many practical tasks, where 7 billion once looked like the minimum for coherent text.

So, in practice, here is what you are choosing between today, from the official pages:

Model Sizes for phones or small servers Context window Source, date
Google Gemma 4 E2B (2.3B effective), E4B (4.5B effective) 128K Gemma 4 model card, launched 2 April 2026
Microsoft Phi-4-mini 3.8B 128K Hugging Face model card, February 2025
Meta Llama 3.2 1B (1.23B), 3B (3.21B) 128K, 8K for the quantized versions Hugging Face model card, 25 September 2024
Alibaba Qwen3 0.6B, 1.7B, 4B (dense) 32K Qwen3 announcement, 29 April 2025
Apple on-device model about 3B not stated on the page Apple Machine Learning Research, 9 June 2025
Google Gemini Nano not published not published Android Developers

Two of these you do not ship yourself. Apple’s model sits behind the Foundation Models framework on iOS 26, iPadOS 26 and macOS 26, on devices with Apple Intelligence turned on, according to Apple’s newsroom post of 29 September 2025. Gemini Nano runs inside Android’s AICore system service, which downloads and updates the model for you. The other four are open weights you bundle, download or host.

SLM vs LLM: what you trade

The table below is the honest version. Where a cell has a number, it comes from a source above. Where it does not, it is a direction, because cost and speed depend on your hardware and your provider.

Small language model Large language model
Cost per call Near zero on the user’s device (Apple calls its on-device inference “free of cost”); low on a small server you host Metered per token by a provider, or a large GPU bill if self-hosted
Latency No network round trip on device; speed then depends on the phone’s memory bandwidth Network round trip plus queueing at the provider
Privacy Data can stay on the device; Google says AICore keeps no record of inputs or outputs Data leaves the device; you rely on the provider’s terms
Offline Works offline on device (Apple, Gemini Nano, Gemma 4 edge models all say so) No
Quality on open questions Weaker; the model cards warn about facts Stronger, and the reason to pay
Context 32K to 128K on the cards above, less once quantized for phones Usually larger
Updating You ship a new model file or wait for the OS The provider updates it, sometimes under you
Device coverage Only phones with enough memory, and only some OS versions Any device with a connection

The quality row is the one founders underestimate. The other rows are why SLMs are worth the trouble.

What the model cards admit

MVP Development read the official model pages of six small-model families on 17 November 2026 (the Gemma 4 model card, the Phi-4-mini-instruct and Llama-3.2-1B-Instruct and Qwen3-1.7B cards on Hugging Face, Apple’s 2025 foundation models update, and the Gemini Nano page on Android Developers) and recorded two things: whether the page publishes a parameter count, and whether it warns in writing about factual accuracy or knowledge. Five of the six publish a parameter count; Gemini Nano’s page does not. Four of the six warn about facts: Gemma 4 says its models “are not knowledge bases”, Phi-4-mini says it lacks the capacity to store much factual knowledge, Llama 3.2 calls its 1B and 3B models “smaller and less capable derivatives” of Llama 3.1, and Apple says its model “is not designed to be a chatbot for general world knowledge”. The Qwen3-1.7B card carries no such warning, which is not the same as not having the problem.

That is the design rule in one line: give a small model the facts, do not ask it for them. Pass the document, the product catalogue or the user’s own text in the prompt, and ask it to classify, extract or rewrite. If your feature needs the model to know things about the world, it needs a large model or a retrieval step.

Which tasks fit small language models?

Tasks fit when the input is bounded, the output has a shape you can check, and a wrong answer is cheap or catchable.

  • Classification. Tagging a support ticket, detecting the intent of a message, flagging content for review. The output is one of a list, so you can validate it.
  • Extraction. Pulling dates, amounts, names or tasks out of text into a structured object. Apple’s framework is built around this: its guided generation returns instances of your own Swift types, and the apps Apple showcases fill in dates, tags and lists from typed or scanned to-dos.
  • Rewriting and short summaries. Google’s ML Kit GenAI APIs on Gemini Nano offer summarization as a bulleted list, proofreading and rewriting of short chat messages. Note the word short.
  • Routing. Deciding which tool, screen, workflow or larger model should handle a request. A router does not need to be right about the world, only about the request.
  • Autocomplete and query rewriting. Meta lists mobile writing assistants and query and prompt rewriting among Llama 3.2’s intended uses.
  • Agent sub-steps. The NVIDIA paper’s argument is that agents mostly run a small number of specialised tasks over and over with little variation, and that small models suit those calls. Parsing a tool’s output, filling a form-shaped argument and checking a step’s result are examples. Planning a whole multi-step job is not. If you are scoping an agent, our guide to the AI agent MVP covers what the first version should and should not try.

What does not fit: open-ended chat about the world, legal or medical answers, long multi-step reasoning, and anything where the user cannot tell the answer is wrong. A small model in a customer-facing chat is where the factual warnings above turn into support tickets, which is the trust problem covered in building an AI chatbot MVP.

On the device or small in the cloud?

A small model does not have to run on the phone. You can host one on a modest server and call it like any API. The choice is about what you need.

Run it on the device when the data is sensitive and you want it never to leave the phone, the feature must work offline, the feature fires so often that per-call cloud cost matters, or you need an answer with no network wait. Google’s Android page lists the same reasons: privacy, offline use and lower inference cost.

Run it small in the cloud when you need the same behaviour on every device including old ones, you want to update the model without an app release, the model is too large for phone memory after quantization, or the feature is on the web. A browser app is a separate question; see PWA vs native app before assuming on-device AI works there.

Health and finance apps often want on-device for privacy reasons. Keeping data on the phone helps, but it does not make an app compliant on its own; the requirements for health data are in our HIPAA-compliant MVP guide.

Why the phone is the hard part

The limit on a phone is not raw compute. It is memory, and specifically how fast the chip can read the model’s weights.

To produce each token of output, the model reads its weights from memory. The Edge AI and Vision Alliance article puts mobile memory bandwidth at 50 to 90 GB/s against 2 to 3 TB/s for data-centre GPUs, a gap of 30 to 50 times, and says this gap dominates real speed during generation. It also says the memory available to an app is often under 4 GB after the operating system takes its share.

Memory bandwidth on a phone compared with a data-centre GPUA horizontal bar chart on one scale from 0 to 3 terabytes per second. The data-centre GPU bar runs from 2 to 3 terabytes per second, shown as a long grey bar to 2 and a lighter extension to 3. The phone bar, highlighted, runs from 50 to 90 gigabytes per second and is a sliver at the left edge of the same scale. A note says the gap is 30 to 50 times, and that a model generating text on a phone is limited by how fast it can read its own weights. Source: Edge AI and Vision Alliance, 28 January 2026.How fast the chip can read the model, on one scale01 TB/s2 TB/s3 TB/sData-centre GPU2 to 3 TB/sPhone50 to 90 GB/s30 to 50 times lessGenerating each token means reading the weights, so on a phone memory speed sets the pace. Source: Edge AI and Vision Alliance, 28 Jan 2026.
Phone NPUs are fast at arithmetic. They are slow to feed. That is why phone models are small and compressed.

The arithmetic follows from that. If each token requires reading the whole model once, the ceiling on tokens per second is roughly bandwidth divided by model size. Google’s own memory table for Gemma 4 E2B gives about 0.84 GB on mobile for text only. At 50 GB/s, that is a theoretical ceiling of around 60 tokens a second before any other overhead; a real phone will do less, and a larger model proportionally less again. This is our back-of-envelope calculation, not a benchmark, but it explains why the industry advice is to compress.

That advice is consistent: the Edge AI article sums it up as “Train in 16-bit, deploy at 4-bit.” Meta’s quantized Llama 3.2 models use 4-bit weights, and Apple compresses its on-device model’s weights to 2 bits each. The cost of compression shows up in the cards too: Llama 3.2’s quantized versions drop the context window from 128K to 8K tokens.

What this means for a founder:

  • Your feature will not run on every phone. Apple’s framework needs Apple Intelligence hardware and the 26 releases. Android’s hybrid guide tells you to fall back to cloud models when Gemini Nano is unavailable on the device. Plan the fallback from day one.
  • App size matters if you bundle a model. Google’s own table puts Gemma 4’s edge models at 0.84 to 2.5 GB on mobile, a real download for an app. The OS-provided models (Apple’s, Gemini Nano) avoid this because the system ships them.
  • Battery and heat are real. Sustained generation on a phone drains both. Short, bounded tasks suit the hardware; long chats do not.

How do you run a small model in an app?

You will choose between the model the OS gives you and a runtime that runs a model you ship.

  • Apple Foundation Models framework. Swift access to Apple’s on-device model, with guided generation into your own types and tool calling, per Apple’s research update. The simplest path on iOS if your users have the hardware.
  • Gemini Nano through ML Kit GenAI. Task APIs for summarization, proofreading, rewriting and image description, plus a Prompt API for custom prompts, running in AICore.
  • LiteRT (with LiteRT-LM). Google describes LiteRT as its cross-platform runtime for edge devices, covering Android, iOS, desktop, web and embedded, with CPU, GPU and NPU backends; LiteRT-LM adds the language-model layer (conversation, cache, streaming). LiteRT docs, updated 18 October 2026.
  • ExecuTorch. Meta’s PyTorch runtime for mobile, which the Edge AI article credits with a 50 KB footprint.
  • llama.cpp. The usual choice for CPU inference and prototyping, per the same article.
  • Core ML and MLC LLM. Apple’s general model framework and a compiler-based engine for deploying models across platforms. Both are options for open models on Apple hardware and beyond; check current model support before you commit.

The runtime is the engineering choice. The product choice is the one above it: OS model (free, managed, only on supported devices) or your own model (any device with the memory, but you ship and update it). It fits into the rest of your stack the same way any other dependency does, which is covered in choosing an MVP tech stack.

Should you fine-tune a small model?

Not first. Start with the stock model, a tight prompt, a few examples in the prompt and a structured output format. Most extraction and classification features get most of the way there.

Fine-tune when three things are true: the task is narrow and stable, you have a few hundred real labelled examples from your own product, and the stock model is consistently wrong in a way you can measure. Small models are the cheapest to fine-tune, and the common method is a LoRA adapter (a small set of extra weights trained on top of the model). Google’s AICore architecture diagram shows LoRA adapters managed alongside Gemini Nano, and Meta used LoRA-based quantization-aware training for its quantized Llama 3.2 models.

Whether to train or fine-tune a model of your own at all, versus buying an API, is a bigger decision about the business. That argument lives in our AI MVP guide and we will not repeat it here.

The hybrid pattern: small model first, large model when it is unsure

Most products that use small models well do not choose one size. They send every request to the small model first and escalate the ones it cannot handle. The NVIDIA paper calls this a heterogeneous system: agents invoking multiple different models. Google ships the same idea for Android through its hybrid inference API, which falls back to Gemini Flash or Pro in the cloud when Nano is unavailable.

Hybrid pattern: a small model handles requests first and escalates to a large modelA left-to-right flow. A user request goes to the small model, highlighted, running on the device or on a small server. Its answer goes to a check box: does the output match the expected schema, is the label in the allowed list, is the request inside the task scope. If the check passes, the answer goes straight back to the user, labelled fast, private, near-zero cost. If the check fails, or the device has no model, the request goes to a large model in the cloud, labelled slower, metered, broader, which answers the user. A note at the bottom says to log every escalation, because the escalation rate tells you whether the small model is earning its place.Small model first, escalate on a failed checkRequestfrom the userSmall modelon device orsmall serverCheck the outputvalid schema?label in the list?inside task scope?PASSAnswerfast, private, cheapFAILLarge modelin the cloud: slower,metered, broaderno model on this deviceLog every escalation. The escalation rate tells you whether the small model is earning its place.
The check is code, not another model: a schema, an allowed list, a scope rule. That keeps the routing cheap and predictable.

Three details make the pattern work:

  1. The check is deterministic. Validate the small model’s output against a schema, an allowed set of labels or a length rule. Asking the small model whether it is confident is not a check; small models are confidently wrong.
  2. The escalation is logged. If a small share of requests escalate, the small model is doing its job. If most do, you are paying for two models to do one model’s work, and you should either narrow the task or skip the small model.
  3. The fallback exists before launch. Devices without the model, old OS versions and failed downloads all hit the cloud path. If there is no cloud path, those users have no feature.

A decision flow for founders

Answer these in order. Stop at the first one that decides it.

  1. Does the feature need knowledge of the world, open conversation or long reasoning? If yes, use a large model. A small model can still route or pre-process, but it should not answer.
  2. Can you check the output in code? A label, a schema, a field, a short rewrite. If no, you cannot safely trust a small model with it, so use a large model or redesign the output.
  3. Must the data stay on the phone, or must it work offline? If yes, on-device small model, with a plan for unsupported devices.
  4. Does it run very often, per keystroke or per message? If yes, a small model (on device or on your own server) usually pays for itself against per-call pricing. Measure it on your own traffic before deciding.
  5. Are your users mostly on recent Apple Intelligence or AICore devices? If yes, start with the OS model and skip shipping your own. If not, a small model on your own server gives every user the same feature.
  6. Otherwise: start with a large model behind an API, log the requests, and move the repetitive, checkable ones to a small model once you can see which they are.

The last line is the most common answer for an MVP. You learn which requests are repetitive by shipping, not by guessing.

Conclusion

A small language model is a model small enough to run where your user is: on the phone, on the laptop, or on one modest server. The official model cards are clear that these models are good at narrow, checkable work and weak on facts, and the hardware is clear that phones are limited by memory speed, not arithmetic. Put those together and the shape of a good product follows: the small model handles classification, extraction, rewriting and routing; a deterministic check decides when to escalate; a large model handles the rest; every device has a fallback.

If you are deciding where the AI in your product should run, that is part of what we scope with founders in AI MVP development, and for apps where the model must run on the phone, in mobile app MVP development. Our guide to building a mobile app MVP covers the rest of the first version.

Frequently Asked Questions

What is a small language model?

A small language model is a language model small enough to run on a consumer device or a single modest server, typically from a few hundred million to a few billion parameters. Examples include Google’s Gemma 4 E2B and E4B, Microsoft’s Phi-4-mini (3.8B), Meta’s Llama 3.2 1B and 3B, Qwen3’s 0.6B to 4B models, and Apple’s roughly 3B on-device model.

How many parameters does a small language model have?

There is no official cutoff. The NVIDIA paper defines small by what fits on a consumer device rather than by a number. The models aimed at phones today range from 135 million parameters (SmolLM2, per the Edge AI and Vision Alliance) to about 4.5 billion effective parameters (Gemma 4 E4B, per Google’s model card).

What is the difference between an SLM and an LLM?

An SLM is cheaper per call, faster with no network trip, can work offline and can keep data on the device. An LLM knows more, reasons better and handles open-ended requests. Most good products use both: the small model for narrow, checkable tasks, the large model when the small one fails a check.

Can a small language model run on a phone?

Yes, if the phone has the memory and the model is compressed. Apple’s Foundation Models framework and Google’s Gemini Nano give apps an on-device model on supported devices. Open models such as Gemma 4 E2B need about 0.84 to 1.1 GB on mobile by Google’s figures. Speed is limited by memory bandwidth, which on phones is 30 to 50 times lower than on data-centre GPUs.

Are small language models the future of agentic AI?

That is the title and position of a 2025 NVIDIA Research paper (arXiv 2506.02153). It argues that agents mostly repeat a few specialised tasks, which small models handle more cheaply, and that systems should call large models only when needed. It is a position paper, not a benchmark, and NVIDIA sells the hardware both kinds of model run on.

Can I fine-tune a small language model?

Yes, and small models are the cheapest to fine-tune, usually with a LoRA adapter. Do it only after a stock model with a good prompt and examples has failed on a narrow, stable task, and only when you have a few hundred real labelled examples to train and test on.

Is a small language model accurate?

On narrow tasks where you give it the facts, often accurate enough. As a source of facts, no. Four of the six official model pages MVP Development read on 17 November 2026 warn about factual accuracy in writing, including Google’s statement that Gemma 4 models “are not knowledge bases”.

Seif Sgayer

Written by

Founder & CEO, MVP Development

Seif Sgayer is the Founder & CEO of MVP Development, a software studio he started in 2020. He works hands-on with startup founders to scope and ship investor-ready MVPs, and leads the senior engineering team that builds them.

Connect on LinkedIn

Keep reading

Similar articles

More insights from the MVP Development team on building, launching, and scaling investor-ready MVPs.

GuidesNov 17, 2026Which AI Model Should a Startup Build Its Product On?The best LLM for startups is the one that passes an eval on your own data at the lowest cost per task. The method, vendor facts as of 17 Nov 2026, 2-week test.Read articleGuidesSep 13, 2026App Maintenance Cost: What an MVP Costs to Run in Year OneWhat it costs to keep an MVP running after launch: 15 to 20 percent of the build cost a year for maintenance proper, $2,000 to $5,500 a month all-in for a typical web MVP, more for mobile and AI products. The six cost buckets, a worked year one for a $50k build, and what pushes the bill up.Read articleMVP TypesJun 25, 2026Concierge MVP: How to Run One, with ExamplesA concierge MVP delivers your service manually and openly to learn what to build. How it works, when to use it, real examples, and a step-by-step playbook.Read article

Ready when you are

Ready to build your MVP?

We build your MVP on Build With Me (from $299 a month) or Dedicated Engineer (from $1,416 a month) hours, up to 80 hours a month, or Build For Me (quoted). Full code ownership, and a senior team that ships.

The call is with Seif Sgayer, Founder & CEO.
Plans from $149 a month. No commitment. Your code stays yours.