Local or cloud AI: how to choose for your app or company
In short
A cloud model offers a wide range of tasks and simplicity, but data goes to the provider. A model on your own server or on the phone limits data flow, but has a narrower range and needs upkeep. The choice depends on the data, the task and measured quality.
When you add AI to an app or to a team's work, you have to decide where the model runs: with a provider in the cloud, on your own server, or on the user's device. There is no single right answer, because it depends on what data you process, what the model is for and how much work you want to put into running it. Below I describe the criteria for choosing, not a ranking of models, because a ranking stops making sense after a few months. This describes the situation on 7 November 2026.
Three places where a model can run
- A provider's cloud. You send data through an API to the company that runs the model. The simplest to put in place.
- Your own server or computer. You run the model yourself, for example with the Ollama tool. You are responsible for hardware, updates and security.
- The user's device. The model runs on the phone, and the data does not have to leave the device. This has the narrowest choice of tasks and devices.
Privacy: what really happens to data
In the cloud the rules differ between providers, so they have to be read. OpenAI says that data sent through the API since 1 March 2023 is not used to train models unless you opt in yourself. By default, abuse-monitoring logs are kept for up to 30 days, and excluding them requires OpenAI's prior approval (OpenAI). Anthropic deletes API data from its systems within 30 days, with exceptions: a zero-data-retention agreement, the Files API, enforcement of its usage policy and legal requirements (Anthropic). So "in the cloud" means neither "the data stays with the provider forever" nor "nothing is stored".
Locally the data usually stays with you, but not always. Ollama says it does not see your prompts when you run locally. The same tool also has cloud models and web search, though, and then the company processes your requests. Local-only mode has to be switched on in a setting. By default the server listens only on the same computer, and exposing it on the network is a separate configuration decision (Ollama).
On the phone Apple and Google state that the model runs on the device and user data stays private. These are the manufacturers' statements, worth checking in the documentation of the specific feature.
GDPR. The European Data Protection Board said in Opinion 28/2024 of 17 December 2024 that models trained on personal data cannot in all cases be considered anonymous and that this has to be assessed case by case. It also said that legitimate interest can be a legal basis, but only after an assessment in the specific case (EDPB). The fact that a model runs locally does not settle GDPR compliance. This is not legal advice.
On the phone: what on-device models can do
- Apple. The Foundation Models framework gives apps access to a model of about 3 billion parameters. Apple describes it as good at summarisation, information extraction, understanding and refining text and short dialogue, and at the same time "not designed to be a chatbot for general world knowledge" (Apple). The model works offline, and inference is free of cost for the developer. The features are available on supported devices set to a supported language (Apple Newsroom).
- Google. The ML Kit GenAI APIs use Gemini Nano through the AICore system service and offer ready-made tasks: image description, summarisation, proofreading and rewriting text. The list of supported devices is specific models (among them Pixel 9 and 10 and selected phones from other makers). Each app has a request quota, and exceeding it returns an error. Inference works only when the app is in the foreground (Google).
These are my conclusions: an on-device model suits narrow, clearly defined tasks, not general questions. Not every user has one, so the app has to check whether the model is available and have a plan B: an answer from the cloud, or the feature switched off. That plan has to be tested just like the main feature.
How to compare the three options
This is my generalisation, not a study result. Specific models and devices can differ.
| Criterion | Cloud | Own server | Phone |
|---|---|---|---|
| Data leaves the device | yes, to the provider | depends on configuration | usually not |
| Range of tasks | wide | depends on model and hardware | narrow |
| Cost | you pay for use | you pay for hardware and upkeep | no charge for inference to the developer (Apple), with quotas (Google) |
| Works offline | no | depends | yes |
| Upkeep | the provider | you | the system and device maker |
| Availability | anywhere with internet | on your server | supported devices only |
Model size and hardware requirements matter a lot and change quickly. Check them on the page of the specific model, not in general tables.
A common mistake: "local, so safe"
A local model does not solve everything:
- a local tool can have cloud features that you have to switch off deliberately,
- a server exposed to the network without protection is a new attack surface (I write about keys and permissions in the text on the Binance attack),
- the model needs updates, and its answers have to be checked just as with a cloud provider.
Where to start
This is my approach, not a conclusion from data:
- List what data goes into the model. Personal and confidential data change the choice.
- Start with a small case. One task, one group of users.
- Build your own set of examples and measure quality. A model working in a demo does not mean it will answer well on your data.
- Plan a fallback: no model, a quota hit, a provider outage.
- Read the provider's terms and your agreement. If there are legal doubts, ask a lawyer.
- Consider a mixed approach: a sensitive, simple step locally, a hard one in the cloud. It is an option, not a rule.
I can check your AI feature
I test software, including features with AI: answer quality on your examples, behaviour when the model is unavailable, and the paths where something goes wrong. I do not promise a model will never be wrong. I promise to tell you what I checked and how. I describe the scope on the Testing and consulting page.
If you want to choose where the model runs in your app or company, write to me. We start with a short conversation, and I agree the scope and price individually.
Sources
- Your data, OpenAI, API documentation.
- How long do you store my organization's data?, Anthropic Privacy Center.
- Ollama FAQ, Ollama documentation.
- Updates to Apple's On-Device and Server Foundation Language Models, Apple Machine Learning Research, 2025.
- Apple Intelligence gets even more powerful with new capabilities across Apple devices, Apple Newsroom, June 2025.
- Overview of the ML Kit GenAI APIs, Google, ML Kit documentation.
- Opinion 28/2024 on certain data protection aspects related to the processing of personal data in the context of AI models, EDPB, 17 December 2024.
Questions
Is a local model always more private?
Usually the data stays with you, but not always: local tools can have cloud features that you have to switch off deliberately. Privacy also does not automatically mean GDPR compliance, and this text is not legal advice.
Does an API provider train its model on my data?
OpenAI says API data is not used for training unless you opt in. Logs may be kept for a limited time, and Anthropic deletes API data within a set period. Each provider's terms have to be read separately.
Will an on-device model replace the cloud?
Not for every task. Apple describes its model as good at summarising and refining text but not as a chatbot with general knowledge. On Android the list of supported devices is limited, so you need a fallback plan.