The reader’s task

Compare on-device, self-hosted and managed AI with a memory estimate and a practical workload test.

Start with where the work happens

“Local” and “hosted” describe where inference happens: where the model turns your input into an answer. A desktop app can send a prompt to a remote server; a browser tab can connect to a model on your own machine. Start with the computation, not the interface.

On-device inference
The model runs on the computer you’re using. It can suit one person doing bounded work if there is enough memory and optional tools do not send inputs elsewhere.
Self-hosted inference
The model runs on a server you operate. Several people may share a GPU, but someone has to manage updates, demand and access. A rented server still involves a remote host, even if your team operates the model.
Managed hosted inference
The provider runs the model and serving infrastructure. That can save setup time and make expensive hardware available for occasional jobs. Compare capacity, price and documented input handling.

For privacy, trace the whole workflow

A local model can generate text on-device while its app calls a remote document service, web search, or another feature. A self-hosted model can keep inference within a network while making prompts visible to those who administer it. The key question is which people and services can access each part of the task. Ollama’s cloud-model documentation shows why one client can have both local and remote execution.

Draw the route: input → attachments and tools → model → output. Mark where each step takes place. A hosted provider may be appropriate for material already public and inappropriate for an internal draft. If you cannot tell where an attachment is processed, use invented content rather than guessing.

Will it fit? Estimate weights and leave working room

Start with parameter count × bits per parameter ÷ 8. For a hypothetical dense 7-billion-parameter model, that is about 14 GB at 16 bits or 3.5 GB at 4 bits, using decimal gigabytes. These are idealized payloads, not predictions of actual GPU use. Formats can add overhead or leave some weights at higher precision. The Hugging Face memory estimator guide distinguishes loading a model from running it.

Next account for the key-value (KV) cache, intermediate information the transformer retains instead of recomputing it. For a simplified 32-layer architecture with eight key-value heads, 128 values per head, and two bytes per value, a conventional cache uses 2 × 32 × 8 × 128 × 2 bytes per token for both keys and values. At 8,192 tokens that is about 1 GiB for one sequence; at 16,384, about 2 GiB. Cache precision, sliding attention and the engine can change actual use. See the Transformers cache guide.

A nominally 3.5 GB model can therefore be uncomfortable on a 6 GiB device with a long context, runtime overhead, or additional requests. Test free and peak memory with a sample of the longest job you expect. If it only just fits, try a smaller model, a shorter input, or a different approved hosting option.

Measure the first word and the last word separately

A chat that starts promptly can still be slow to finish a report. Measure time to first token, total finish time and completed jobs during the concurrency you actually need. vLLM’s serving metrics distinguish first-token delay, time per output token and total latency.

Compare the same public or synthetic input at the same requested output length. Try cold and warm runs, then repeat under normal use. A local runtime can spend time loading weights; a hosted service can add network or queue time. Count failures and redos too. A fast reply that misses the brief is not faster in practice.

A practical choice: a small museum’s notes and public guides

Suppose a museum needs daily summaries of internal meeting notes and a weekly summary of 40 pages of already-public material. Test a small local model on invented meeting notes. If it consistently identifies decisions and owners within the time you need, keep that workload local. If long notes are an issue, use a focused excerpt or an approved internal server rather than sending the entire file out by default.

For the weekly public material, benchmark an approved hosted option if the local task ties up your only workstation. Compare time, effort and unsupported claims. The two jobs do not need the same route. Meet the privacy requirement first, fit the workload second, and then compare speed and quality.

Keep exploring

Browse the other guides or preview SYN. Check the live site for current availability and terms.

PREVIEW SYN BROWSE RESEARCH