On-device AI
On-device AI runs an AI model directly on a phone, laptop or other personal device rather than in a remote data centre, so data can stay on the device and features can work without a connection.
Most chatbots send each prompt across the internet to a data centre, where a large model produces the answer. On-device AI does the inference on the device's own chips instead. The model has to be small enough to fit in the device's memory and fast enough to run on its processors without draining the battery, which in practice means models of a few billion parameters, compressed to use fewer bits per weight.
Apple's approach shows the trade-offs. In June 2024 it described a roughly 3 billion parameter on-device model for Apple Intelligence, compressed to an average of 3.7 bits per weight. On an iPhone 15 Pro it reported about 0.6 milliseconds of time to first token per prompt token and a generation speed of 30 tokens per second. Harder requests go to a larger model running on Apple's own servers through a system it calls Private Cloud Compute. In June 2025 Apple opened the on-device model to app developers through its Foundation Models framework, having compressed it to 2 bits per weight.
On Android, Google's Gemini Nano runs inside a system service called AICore. Google says running prompts locally keeps sensitive data on the device, works offline and lowers inference costs, while warning that speed depends on the device's hardware and that the model has token limits and narrower abilities than cloud models. Google recommends a hybrid design that falls back to cloud models such as Gemini Flash or Gemini Pro when Nano is unavailable or a task is too demanding.
That hybrid pattern is the common one. A phone might summarise notifications or rewrite a message locally, where speed and privacy matter and the task is simple, and send a complex research question to the cloud. The small local model cannot match a frontier model in a data centre; its advantages are that it is always available, lowers the cost of each request and keeps the input on the device.
Privacy claims are worth reading closely. On-device processing means a prompt need not leave the phone, but a product that also uses cloud models may send some requests elsewhere. The useful question is which features run where, and what happens to data when a request does go to a server.
Edge AI is the broader idea of running AI close to where data is produced, which can include local servers, gateways and factory equipment. On-device AI is the case where the model runs on the end user's own device, such as a phone or laptop. It can be, because a prompt processed on the device does not need to be sent to a server. Many products combine local and cloud models, though, so privacy depends on which tasks stay on the device and how any cloud processing is handled. Phones can run smaller language models of a few billion parameters, compressed to use only a few bits per weight. Apple's on-device model has about 3 billion parameters. The largest frontier models still need data centre hardware. The parts that run locally can. Google says Gemini Nano on Android enables offline use. Features that rely on larger cloud models still need a connection, and many products fall back to the cloud for harder requests.Common questions
What is the difference between on-device AI and edge AI?
Is on-device AI more private?
Can a phone run a large language model?
Does on-device AI work without the internet?
Search for "on-device LLM", "Gemini Nano AICore" or "Apple Foundation Models framework" to see how local models are built and offered to developers. The most reliable sources are platform makers' developer documentation and research posts, which give model sizes and measured speeds. Marketing pages often blur which features run locally and which in the cloud, so check the technical documentation for each feature.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.