Compare · Building · Research notes

Local LLM vs API — scored

Local is not automatically cheaper or safer. Write the constraint, then measure.

Last reviewed: 2026-08-15. Re-run the protocol after major model or pricing changes.

How do you choose local vs API?

  1. Write privacy, latency, and quality constraints.
  2. Estimate VRAM for one 7B Q4 model.
  3. Run the same three prompts local and hosted.
  4. Price tokens vs electricity/engineering time.

What is the scoring rubric?

CriterionWeightHow to score
Data cannot leaveGateIf yes, local or a signed VPC — not a consumer chat.
Quality on the job1–5Frontier APIs still win many hard tasks.
Ops cost1–5Include updates, GPUs, and on-call.
Fallback planPass/FailWhat happens when the box is down?

Which default should I start with?

ToolBest fitWhenWatch-outNote
Hosted APIQuality / speed to valueFrontier modelsData leaves the boxDefault unless privacy forbids it.
Local stackPrivacy / offlineOllama / MLC / LocalAIVRAM and quality capsUse the VRAM estimator first.

Learn the craft, not just the tool

Practice the transferable habit in Local LLMs explained, then VRAM estimator, First local LLM guide.

FAQ

Is a local LLM cheaper than an API?

Only after you count GPUs, electricity, and engineering. Low volume often favors APIs.

Is local always more private?

It can be, if the model and logs stay on-device. Browser demos and synced folders can still leak.