Edge AI Explained: On-Device Models vs Cloud AI
Quick answer
What edge AI is, when on-device models beat the cloud, how to size a model for a phone, and a small experiment to try, based on Google and Apple sources.
Edge AI means running an AI model on the device that produces the data, such as a phone, laptop, car or sensor, instead of sending every request to a data centre. On-device models trade raw size for speed, offline use and control over where data goes. This guide explains the idea as of late November 2026.
Key takeaways
- Edge AI runs inference on the device itself; training usually still happens elsewhere.
- Small models, such as the 3-billion-parameter on-device model in Apple's tech report, are built to fit in limited memory.
- On-device does not always mean fully private: Apple's own design pairs its on-device model with a server model on Private Cloud Compute.
- For a developer, the practical start is a runtime such as Google's LiteRT and one small model you can time on a real phone.
On this page:
- On-device or cloud: which should you choose?
- What is edge AI in plain words?
- What does an edge runtime do?
- Can a phone hold a language model?
- Does on-device mean private?
- What does this look like in India?
- How can a learner try it?
- Next step
- Frequently asked questions
| Question | On-device model | Cloud model |
|---|---|---|
| Response time | No network round trip, but limited by the device chip | Depends on network and server load |
| Works offline | Yes, once the model is installed | No |
| Data leaving the device | Can be none, if the design keeps it local | Request goes to a server by design |
| Model size and quality | Small, so narrower tasks | Large, so broader tasks |
| Cost per request | Paid in battery and memory, not a server bill | Paid to the provider or your own servers |
The rows are a qualitative guide written for this post, not measurements. Your own timing on your own device is the only number that counts.
On-device or cloud: which should you choose?
Choose on-device when the task is narrow, must work without a network, or handles data you would rather keep local. Choose cloud when the task needs a large model or shared data. Many products use both.
Apple's design is a useful example. Its technical report, published on arXiv on 17 July 2025, describes two models: a 3B-parameter on-device model optimised for Apple silicon, and a scalable server model built on a Parallel-Track Mixture-of-Experts transformer. The phone handles what it can, and the server model exists for heavier work. That split is a pattern you can copy in your own apps.
A simple decision rule: if a wrong or slow answer is annoying, run it locally and fall back to the cloud when needed. If a wrong answer is costly and needs the best model available, send it to the cloud and check the result. Our explainer on AI, machine learning, generative AI and agentic AI helps if the terms are new.
What is edge AI in plain words?
Edge AI is inference at the edge of the network: the model sits on the device where the camera, microphone or sensor data appears. Inference means using a trained model to produce an answer. Training, which builds the model, normally happens on larger machines.
Models suited to this are usually small. According to a survey of small language models on arXiv (submitted 25 October 2024), such models are suited to on-device, mobile and edge devices because they can run with minimal computational resources. See the A Survey of Small Language Models for the research view. The key idea is a trade: you give up some breadth to gain speed, offline use and control.
What does an edge runtime do?
A runtime loads a model file and runs it efficiently on the hardware in your device. According to Google, LiteRT is its high-performance, cross-platform inference runtime for deploying models on edge devices, and the LiteRT page shows an update date of 18 October 2026.
The same page lists supported platforms as Android, iOS, Web, Linux, macOS and Windows, with CPU, GPU and NPU hardware acceleration. An NPU is a chip block built for neural-network arithmetic. The page also says large language models are handled by LiteRT-LM, an orchestration layer built on the LiteRT runtime. It describes iOS Swift Package Manager support as in progress, so check the page before you plan an iPhone build.
A runtime is only one piece. You also need a model that fits, a way to feed it inputs, and a plan for updating it. If you are comparing roles around this work, read AI engineer vs data scientist vs ML engineer.
Can a phone hold a language model?
It can hold a small one, and arithmetic tells you how small. Memory for the weights is roughly the number of parameters times the bytes used per parameter. This is an illustration, not a benchmark.
params = 3_000_000_000 # a 3-billion-parameter model
for bits in (16, 8, 4):
gb = params * (bits / 8) / 1e9
print(f"{bits}-bit weights: about {gb:.1f} GB")Running it prints 6.0 GB for 16-bit, 3.0 GB for 8-bit and 1.5 GB for 4-bit. On a phone with 4 GB of memory shared with the operating system and other apps, 16-bit weights do not fit, while 4-bit weights might. Lowering the bits per weight is called quantisation, and it usually costs some accuracy. Real memory use is higher, because the model also needs working memory while it runs.
That is why Apple's report describes a 3B on-device model rather than a model hundreds of times larger. The design target is the device, not the leaderboard.
Does on-device mean private?
Not automatically. It means the data does not have to leave the device for tasks the local model can handle. If the app also calls a server model, those requests do leave.
Apple's report states that its server model runs on Apple's Private Cloud Compute platform. So the honest summary of that design is: some requests stay on the phone, and others go to a server built with extra privacy protections. When you evaluate any product, ask which requests go where, and read the vendor's own documentation for the details. For checking AI output itself, see what AI hallucination means.
What does this look like in India?
Take an illustrative scenario. A health worker in a village uses an Android app to classify symptoms. The network drops for hours. A small model on the phone still gives a first-pass answer, the worker records the visit, and the app syncs to the server later, after the patient agrees. A cloud-only design would fail at exactly the moment it is needed.
The same logic applies to vehicles, which cannot wait for a network round trip. If that interests you, see our post on autonomous vehicle technology in India. This is a thought exercise, not a report on any real deployment.
How can a learner try it?
Build one small experiment and measure it yourself. Do not copy a number from a chip vendor.
- Pick a task with a small model, such as image classification or short-text classification.
- Convert or download a compact model and load it with a mobile runtime, following the LiteRT documentation.
- Run 10 inputs on a mid-range phone and note the time for each.
- Report the median, the phone model and the quantisation level, not the best run.
- Repeat on the cloud model for the same inputs and compare accuracy and time.
A write-up of that comparison, with your measured numbers, is a stronger portfolio piece than a list of buzzwords. For where this fits in a syllabus, see the AI engineer course syllabus.
Next step
Read the LiteRT page, choose one small model and time it on a phone you own. If you want a structured path into machine learning first, the Certification in AI & ML (Launchpad) from Vishlesan i-Hub, IIT Patna runs for 12 weeks. For the current state of the tools, check the official pages linked above, since this area changes often.
Frequently asked questions
What is edge AI in simple words?
Edge AI means running a trained AI model on the device that collects the data, such as a phone, camera, car or sensor, instead of sending each request to a remote data centre.
Can a phone run a language model without internet?
Yes, a small one. Apple's tech report describes a 3-billion-parameter on-device model for Apple silicon. Larger models need more memory than most phones have, so they run on servers.
Why would a company run AI on the device instead of the cloud?
Common reasons are lower waiting time, offline use, keeping data local and avoiding a server cost per request. The trade-off is a smaller model and limits on memory and battery.
What is the difference between on-device AI and cloud AI?
On-device AI runs the model on the user's own hardware. Cloud AI runs it on remote servers, which can host larger models. Many products combine both, as Apple's two-model design does.
What is LiteRT?
According to Google, LiteRT is its high-performance, cross-platform inference runtime for deploying models on edge devices, with CPU, GPU and NPU acceleration on platforms including Android, iOS, Web and desktop.
Is edge AI a career path for developers in India?
It can be, as a specialism inside ML or mobile engineering. Start with a small model, a mobile runtime and your own timing results, and check current job listings for skills employers ask for.