Can I run a model on my phone?

4 min readMarkdown

Yes. A recent phone with 8 GB of memory runs a small model at reading speed or close to it. A single-board computer runs one more slowly. Both are good for short, private, offline tasks and not much else.

What runs

Memory sets the limit, as on any machine. A phone shares its memory with the operating system and every open app, so only part of it is free for a model.

DeviceMemoryWhat fits at 4-bitHow it feels
Phone with 6 to 8 GBA few GB freeModels up to about 3 to 4B, such as Llama 3.2 3BShort answers at a usable pace. Gets warm
Phone with 12 to 16 GBMore headroomUp to about 8B, such as Qwen3 8BUsable for chat. Battery drops fast
Raspberry Pi 5, 8 or 16 GBAll of it, minus the OS1 to 4B comfortably, 8B slowlyBelow reading speed on larger models
Small GPU board, such as NVIDIA Jetson8 GB and up, sharedUp to about 8BFaster than a Pi, thanks to the GPU

Phone chips have wide, fast memory for their size, so a flagship phone often outruns a Raspberry Pi by a large margin. The How do I judge a machine for local AI? apply here too: capacity decides what fits, bandwidth decides the speed.

Several apps run models on a phone. PocketPal AI and Google's AI Edge Gallery let you download small open models and chat offline on iOS and Android. Phones also ship with a built-in small model for system features, and some operating systems let apps call it.

On a Raspberry Pi or any small Linux board, use the same tools as on a desktop. Ollama and llama.cpp both run on 64-bit ARM.

Try it
shell
curl -fsSL https://ollama.com/install.sh | sh
ollama run llama3.2:3b

This installs Ollama on a Raspberry Pi 5 running 64-bit Raspberry Pi OS and starts a 3B model. Expect the first answer to take a while.

Rule of thumb

On a phone or a board, stay at 4B or below. Use the smallest model that does the job, because every extra billion parametersParameterOne learned number inside a model. An 8B model has about eight billion of them.Read more costs speed, heat and battery.

Useful or a party trick

Small models on small devices are useful for a short list of jobs. They work offline, the data never leaves the device, and they answer in seconds.

  • Rewriting or summarising a short message.
  • Translating a few sentences when you have no signal.
  • Turning a voice command into an action in a home automation setup. See Can I transcribe and talk to a model locally?.
  • Pulling fields out of short, predictable text, such as a receipt or a note.
  • A private assistant on a trip, with no data roaming.

Everything else is a party trick. Small models make things up more often, so facts need checking.

Long documents fill a phone's memory and take minutes to read. Coding agents and multi-step tools need 27B and up, which no phone holds. See Which size of model do I need? for what each size can do.

The catch

Sustained inference drains a phone battery fast and makes it hot, and the phone slows itself down as it heats. A few short questions are fine. A long session is not.

For real work away from your desk, use the phone as a client. A desktop at home runs a mid-class model, and the phone talks to it over a VPN. How do I share one model with my household or office? covers the setup, and you get a much better model with no battery cost.

Go deeperThat's enough

Why phones are faster than you expect

Phone chips use LPDDR memory on a wide bus, close to the chip. Their bandwidth is often close to a desktop PC's dual-channel memory, and well above a Raspberry Pi's. DecodeDecodeThe phase where the model writes its answer one token at a time. Limited by memory bandwidth.Read more speed follows bandwidth, so a flagship phone can match a desktop CPU on a small model.

NPUs on phones

Phones have had neural engines for years. They run the built-in system models, camera features and speech recognition. Most open-model chat apps run on the phone's GPU or CPU instead, for the same reasons as on laptops. Can I run models without a GPU? covers the details.

Storage and downloads

A 3B model at 4-bit is about 2 GB. That is a big download on mobile data and a lot of phone storage. Download over Wi-Fi, and delete models you are not using.

Small boards as always-on helpers

A Raspberry Pi draws a few watts, so it can stay on all day as a home helper. It suits small jobs such as tagging, routing voice commands or watching a folder. For anything with a long prompt, send the job to a bigger machine on your network. What does it cost to run? covers idle draw.