Start with a cloud API if you want to add AI to an occasional task without running a model yourself, and the data is suitable for that provider. Try a local model if working offline or keeping processing on your own computer is a priority. For a shared team service, consider a self-hosted server only when someone can maintain it.
The useful question is: which setup completes your actual task reliably, with acceptable data handling, waiting time, and total cost?
Level: Basic. Review scope: Documentation-based comparison, checked on November 4, 2026. The examples below are proposed uses, not results from our own model benchmark or deployment.
- Trace the whole data route, including document search, model calls, tools, logs, and backups, before deciding that processing stays local.
- Compare candidates on the same task and record factual errors, missing details, correction effort, waiting time, and total cost.
- For a hybrid setup, define which requests may leave your environment before routing them; use known data labels instead of sending private text to a cloud model for classification.
1. Three places your AI can run
On your computer: an application loads a downloaded model and generates answers using your hardware. LM Studio, for example, documents offline chat, document processing, and a local server after the required models are downloaded. Searching for and downloading models still needs connectivity. See LM Studio’s offline-operation guide.
On a server you manage: the model runs on a separate machine that your applications contact. That might be an office server or rented computing capacity. It can serve a team while individual laptops are turned off, but you take responsibility for operating it. A rented server is self-hosted software; it is not processing on your laptop.
Through a cloud API: your app sends a request to a provider’s model service and receives a response. You select the service and manage your application; the provider operates the model infrastructure. An API is the connection used by software. Its usage costs are a separate comparison from the advertised price of a consumer chatbot subscription.
These choices describe where computation happens, not how intelligent an answer will be. Compare particular models on your task rather than assuming that every cloud model beats every local one.
2. A quick way to choose
Swipe or scroll horizontally to view all columns.
| Your situation | First option to evaluate | Check before relying on it |
|---|---|---|
| Occasional summaries of public material | Cloud API | Output quality, usage charges, and provider limits |
| Personal work without an internet connection | Local model | Downloaded resources, usable speed, and offline dependencies |
| Documents that must stay within your environment | Local or self-hosted model | The complete data route, including search, logs, and connected tools |
| A team needs one managed internal service | Self-hosted server or approved cloud API | Who operates it, who can access it, and concurrent demand |
| Routine tasks plus occasional difficult requests | A hybrid arrangement | Explicit routing rules and which requests may leave your environment |
3. Compare the same task on both paths
Document summaries
Give each candidate the same short report and ask for five findings with supporting passages. Check names, numbers, and missing qualifications. For personal offline reading, a local document-chat app is a reasonable first experiment. For occasional public reports, an API may avoid maintaining a model.
A long document is a different test from a short note. Check whether the app processes the whole file, retrieves selected passages, or truncates input. A polished summary does not prove that every page was considered.
Internal search
Suppose staff ask where an equipment procedure describes a maintenance interval. Separate finding the relevant passage from writing the answer. An embedding model helps search by meaning; a language model can then explain the retrieved material. Our Kanana embedding introduction explains that distinction.
Keep the document store and search local if required, but remember that sending retrieved passages to a cloud model still transfers that text. Check the cited passage and preserve document access permissions whichever generation option you choose.
Coding support
Use a small, representative change: explain a function, fix a reproducible bug, or add a focused test. Compare whether the proposed change works, how much correction it needs, and whether the agent can use the tools your project requires. A model fitting in memory does not establish compatibility with every coding agent.
For private code, check where the editor sends file contents and tool results. An editor installed on your computer can still call a remote model.
4. Count hardware, waiting time, and maintenance
There is no single memory requirement for “local AI.” The model, its precision, the amount of context, the runtime, and simultaneous requests affect the setup. Quantized models represent weights with fewer bits, reducing their memory footprint; evaluate the resulting quality on your task. n8n’s self-hosting overview discusses these tradeoffs.
Context means the information available to the model for a request. Increasing it can require more memory, as Ollama’s context-length documentation explains. Avoid buying hardware based only on a model’s download size.
To plan a comparison on your own hardware, use our vLLM, SGLang, and Ollama measurement guide. It provides a proposed protocol for memory, latency, concurrency, and failures, with no GPU benchmark results of our own.
For a local setup, include hardware you need to purchase, electricity, storage, and time spent maintaining the service. Existing hardware can make experimentation inexpensive, but it does not make every workload free.
For an API, estimate input and output usage separately, then include any paid tools or additional services. Caching and batch processing can change the calculation; Anthropic’s API pricing documentation is one example of these separate charges and options. Use the rates of the service you will actually call.
Compare the cost of a usable result, including retries and review. A cheaper individual response can become an expensive workflow if it regularly needs correction.
5. Follow the data through the whole workflow
“Local” should describe the complete route you intend to keep local. Ollama supports both local execution and cloud features, and documents a local-only setting. The application’s name alone does not tell you where a particular request runs. See Ollama’s FAQ.
Check the model connection, document search, external tools, logs, and backups. Similarly, self-hosting n8n or Dify does not turn a connected cloud model into a local one. Our n8n versus Dify comparison separates the workflow application from its model provider.
For cloud services, inspect the policy for the specific product, endpoint, and account arrangement. Retention, training use, and regional processing are separate questions. For example, Anthropic’s commercial-data retention policy describes exceptions and distinctions between services. Do not apply a consumer-chat policy to every API product.
Account access needs a separate plan. If you use a personal ChatGPT account, our passkey and Advanced Account Security guide explains the documented sign-in and recovery choices. Stronger sign-in does not make cloud processing local or determine what connected tools may do.
6. A simple hybrid example
An editorial team could summarize private meeting notes locally and send approved public source material to a cloud API for a more demanding comparison. Route by a known label such as “internal” or “public”; do not send private text to a cloud model just to ask whether it is private.
n8n’s Model Selector can select among connected models using defined conditions. This supports a routing design; it does not automatically establish the right privacy or quality policy.
Begin with one task and a few representative examples. Record accuracy, waiting time, correction effort, and cost before expanding. If local execution looks suitable, continue with our Basic workflow, Run your first local AI chat.
A small comparison record
For a document summary, use the same public document and request on each path. Copy the blank fields below into a note. This is an editorial recording template, not a report of measurements we performed.
Swipe or scroll horizontally to view all columns.
| Record | What to write down |
|---|---|
| Setup | Model and version, local hardware or API, settings, document, and date |
| Evidence | Which stated facts match their supporting passages, and which do not |
| Omissions | Required findings, exceptions, names, or numbers left out |
| Human correction | What you changed and how long it took to reach a usable result |
| Task cost and wait | Total waiting time, retries, usage charges, and relevant local operating costs |
A single successful summary is a reason to try another representative document, not proof that one deployment path is always better.