Which AI belongs on the phone, which belongs on a server, and which does not belong in the product at all.
Adding AI to a mobile app is three separate engineering decisions wearing one word: where inference runs, what data leaves the device, and what happens when the model is wrong. Get those right and a feature feels like magic. Get them wrong and you ship a slow, expensive wrapper that leaks data.
“AI-powered” is not one engineering decision. It is three, and they are usually made separately by different people at different times, which is how products end up slow, expensive or quietly leaking data. Settle all three before a line of code is written and the rest of the work is ordinary software engineering.
An AI feature you cannot adjust without a store release is one you cannot fix for a week.
Grouped by where they run, because that is the decision that constrains everything else.
Invoices, prescriptions, identity documents, meter readings, barcodes. Optical character recognition plus a small extraction model turns a photograph into structured fields in under a second, offline, with nothing leaving the handset.
Damage assessment from a delivery photo, product recognition on a shelf, defect spotting on a line, face matching for attendance. Fast, private, and free of per-call cost.
Dictation for field notes and voice commands for hands-busy work. On-device for privacy and offline use; cloud when you need accuracy across heavy accents and technical vocabulary.
A natural-language question answered from your records rather than the model’s memory. Retrieval first, generation second, citation always. This is where most genuine business value sits.
Visit notes into a report, a thread into a summary, a form into a first draft. Useful precisely because a human reviews the output before it matters.
Demand, churn, delivery delay, next best action. Not a language model at all — ordinary machine learning on your own data, which is cheaper, faster and more defensible than it sounds.
On-device inference answers in tens of milliseconds. A cloud round trip is hundreds at best and seconds on a weak connection. For anything in a tight interaction loop — a camera viewfinder, a typing assist — the device wins and it is not close.
Data that never leaves the handset cannot be intercepted, retained or subpoenaed. For health, identity and financial workflows this frequently decides the architecture on its own, regardless of what the cloud model could do better.
On-device is free per call after the build. Cloud is priced per token, so a popular feature has a bill that grows with its popularity. Model it at ten times your expected volume before committing.
This is where cloud wins decisively. Reasoning over long context, nuanced language, and anything genuinely open-ended needs a frontier model. Small on-device models are excellent at narrow, well-defined tasks and poor at open ones.
An on-device model occupies storage, warms the handset and runs slower on the four-year-old phone half your users carry. Test on the floor of your device matrix, not the ceiling.
These are not policy statements. They are implementation constraints that change the code.
Text from a user, text extracted from a scanned document, a record pulled from a database, content fetched from a link — any of it can contain instructions aimed at your model. Prompt injection is not hypothetical, and the defence is architectural: the model never sees privileged instructions in the same channel as untrusted content.
No model output triggers a consequential action directly. It drafts the message, fills the form, suggests the classification — and your validation logic and your user stand between that and anything irreversible.
Answer from retrieved records, show which record the answer came from, and make it tappable. A user who can check one answer trusts the next ten. A user who catches one fabrication stops trusting all of them.
The most important response an AI feature gives is the one where it declines. “I could not find that in your records” is a feature. A confident, plausible, wrong answer is a liability, and in a regulated workflow it is a reportable one.
Screens from two shipped apps, annotated with the AI feature each one is a natural home for — and, in a couple of cases, why it belongs on the device rather than in the cloud. Tap any image to enlarge it.
Ownership, accounts, handover and the questions that separate proposals.
Why on-device inference and offline-first architecture tend to arrive together.
How native AI runtimes are reached from a shared codebase, and when that becomes the constraint.
The same conversation-layer idea applied to the business systems behind the app.
Describe what you want the app to work out on its own. We will tell you whether it runs on the phone, and prove it free.