On-Device LLMs: How Models Run on Your Phone and Laptop
On-device LLMs run a small language model on your phone or laptop, so prompts stay private and answers work offline. Learn the sizes, limits and how to pick one.
On this page
Short answer
An on-device LLM is a language model that runs on your own phone, laptop or tablet instead of a remote server. It is usually a small model of 1 to 8 billion parameters, shrunk by quantization so it fits in a few gigabytes, and it works offline with your data staying on the device.
What is an on-device LLM?
An on-device LLM is a large language model that runs directly on a phone, laptop or tablet instead of on a remote server. The model file lives on the device, the prompt never leaves it, and the answer is generated by the device's own processor.
Most chatbots you use today send every question to a data centre. An on-device model does the same kind of work — writing, summarising, answering questions — but the whole round trip happens locally. That is why it can work on a plane, in a tunnel or anywhere with no signal.
The trade-off is size. A model that runs on a phone is much smaller than the models behind cloud chatbots, so it knows less and reasons less deeply. It is a useful helper for everyday tasks, not a replacement for a large server model.
How does an LLM fit on a phone?
A model fits on a phone because it is shrunk before it is shipped. The main technique is quantization, which stores each weight of the model in fewer bits — often 4 bits instead of 16. A 3-billion-parameter model at 4 bits needs about 1.5 gigabytes of storage, which is roughly the size of a long film.
Small models are the second part of the answer. Instead of the hundreds of billions of parameters behind cloud services, on-device models usually have between 1 and 8 billion parameters. They are trained or tuned for a narrow job, such as drafting messages or summarising notes, where a smaller model is enough.
Modern phones also help. Many now include a neural processing unit, a chip built for the maths that models need, alongside the main processor. That chip runs the model faster and with less battery drain than the main processor alone would.
What can on-device LLMs do well?
On-device models are best at short, private, everyday tasks. They can draft a reply to a message, summarise a long note, rewrite a paragraph in a simpler style, or answer questions about documents already stored on the device.
They also work well inside other apps. A keyboard app can suggest the next sentence, a notes app can turn a meeting recording into a short summary, and a photo app can describe what is in a picture — all without sending the content anywhere.
Privacy is the clearest advantage. A diary entry, a medical note or a business document stays on the device while the model works on it. For teams that handle sensitive material, that alone can be the reason to choose on-device over cloud. Small models are a separate topic from the large ones, and the differences are worth knowing before you pick one, as explained in the comparison of small and large language models.
What are the limits of on-device models?
The first limit is knowledge. A small model has read far less text during training, so it knows fewer facts and is more likely to guess when it does not know something. It is weaker at coding, maths and long reasoning than a large cloud model.
The second limit is memory and heat. Running a model uses RAM and processor time, and a phone has both in short supply. A model that is too large for the device will run slowly, drain the battery, or be closed by the operating system to make room for other apps.
The third limit is freshness. A cloud model can be updated on the server at any time. An on-device model only improves when the app ships a new model file, which the user must download. Old knowledge stays old until that update arrives.
How do you pick a model for a device?
Picking a model is a balance between size, speed and quality. A bigger model answers better but needs more memory and runs more slowly, while a smaller model is fast and light but makes more mistakes. The table below shows the usual sizes and where each fits.
| Model size | Memory needed | Speed on a phone | Good for |
|---|---|---|---|
| 1 billion parameters | About 1 GB | Fast | Autocomplete, short replies |
| 3 billion parameters | About 2 GB | Fast | Summaries, rewriting, Q&A |
| 7 billion parameters | About 4 GB | Moderate | Longer drafts, simple reasoning |
| 13 billion parameters | About 8 GB | Slow | Laptops and tablets only |
Start with the device you must support, not the model you want. Check how much RAM the device has free after the operating system and your app, then choose the largest model that fits comfortably with room to spare. A model that fits with margin will feel fast; one that barely fits will feel broken.
Example: a note app that summarises offline
Example (hypothetical): a team builds a note app that summarises meeting notes without an internet connection. They pick a 3-billion-parameter model quantized to 4 bits, which needs about 1.5 gigabytes of storage and about 2 gigabytes of memory while it runs.
Their test phone has 8 gigabytes of RAM. The operating system uses about 3 gigabytes, the app uses about 1 gigabyte, and the model uses about 2 gigabytes while it works. That adds up to 6 gigabytes, leaving 2 gigabytes spare, so the phone does not need to close other apps to make room.
A 2,000-word meeting note takes the model about 20 seconds to summarise on that phone. The team decides that is acceptable for a note app, and they keep the cloud model as an option for longer documents. The same kind of planning applies to server deployments too, but the numbers are very different, as shown in the guide to deploying an LLM on premise.
What are the common mistakes?
The most common mistakes with on-device LLMs are picking a model that is too large for the device, expecting cloud-level answers from a small model, and forgetting that the model goes stale.
- Choosing by quality alone. A 7-billion-parameter model may answer better in tests, but if it barely fits the device it will run slowly and drain the battery.
- Trusting every answer. Small models guess more often. Show the source text next to the answer, or keep a human check for anything that matters.
- Ignoring the update path. A model file shipped in January is still the January model in December. Plan how updates reach the device.
- Sending data to the cloud anyway. Some apps run a small model on the device and still send the prompt to a server for a better answer, which removes the privacy benefit.
- Skipping the cost check. On-device inference looks free, but it costs battery, storage and engineering time. Running a model on your own servers has a different cost shape, covered in the guide to self-hosting LLM costs.
Key takeaways
- On-device LLMs run locally, so prompts stay on the device and work offline
- Quantization shrinks a model to 4 bits, so a 3-billion-parameter model needs about 1.5 GB
- Small models suit short, private tasks like summaries and drafting, not deep reasoning
- Pick the model from the weakest device you must support, not from the best one
- Plan how model updates reach the device, or the model's knowledge goes stale
Frequently asked questions
What is an on-device LLM?
An on-device LLM is a language model that runs on your own phone, laptop or tablet instead of a remote server. The model file lives on the device, so prompts and answers never leave it.
Do on-device LLMs need the internet?
No. Once the model file is downloaded, an on-device LLM works with no connection at all. That is one of the main reasons teams choose it for travel, field work or places with poor signal.
How big is an on-device LLM?
Most on-device models have 1 to 8 billion parameters. Quantized to 4 bits, a 3-billion-parameter model needs about 1.5 gigabytes of storage and about 2 gigabytes of memory while it runs.
Are on-device LLMs as good as cloud chatbots?
No. Small models know less, reason less deeply and guess more often than the large models behind cloud chatbots. They are best for short, everyday tasks where a mistake is easy to spot.
Do on-device LLMs protect privacy?
They keep prompts and documents on the device, which is a real privacy gain. But check the app: some apps still send prompts to a server for better answers, which removes that benefit.
Can I update an on-device LLM?
Yes, but only by shipping a new model file through an app update that the user downloads. The model does not improve on its own, so plan a regular update schedule.