Running Open-Weight LLMs Without a Datacenter

The first instinct when a company decides to run AI privately is to buy a GPU server. The second is to discover that the server is idle, the bill is fixed, and the model still answers slowly because the software stack was never tuned. Most private-AI projects are not hardware projects. They are inference and context problems wearing a hardware costume.

Here is the order in which the decisions actually matter.

Start with the constraint, not the model

Three questions decide almost the entire architecture:

  1. How many people or requests at once? One analyst using a chat window and forty engineers hitting an endpoint need different engines, not just different GPUs.
  2. How long is the context? A 4K-token support ticket and a 200K-token code review have wildly different memory profiles.
  3. What may leave the network? Full offline, or is a hosted API acceptable for the 10% of hard requests?

Write those three answers down before reading a single benchmark chart. They eliminate most of the options for you.

Choosing the engine

EngineFits whenWatch out for
OllamaYou want a working endpoint today, one or a few users, easy model managementDefaults are not tuned for high concurrency
llama.cppCPU-only, Apple Silicon, tight memory, GGUF quantisation, edge boxesYou manage the serving layer yourself
vLLMMany concurrent users, a latency SLO, multi-tenant servingNeeds a GPU; complexity rises with tensor parallelism
MTPLXApple Silicon where single-stream speed matters (multi-token prediction)One machine’s memory ceiling is the real limit

The mistake is treating these as competitors. A sensible setup often uses two: llama.cpp or MTPLX for individual workstations, vLLM for the shared endpoint behind the internal app.

Quantisation: the cheapest performance decision

Quantisation is where most of your cost and memory savings live, and where most teams either over- or under-do it.

  • Q4/Q5 GGUF — fits a ~14B model in a laptop or a single 24 GB card, with quality loss that is invisible on summarisation and noticeable on precise code edits.
  • AWQ / GPTQ — 4-bit for GPU serving; better throughput per unit of memory than full precision, and usually the right default for vLLM.
  • FP8 / BF16 — keep full quality where the task is sensitive; use when memory allows and the eval set says the smaller quantisation hurts.

The rule that matters: quantise to fit, then prove it with an eval set. Not the leaderboard, not a vibe check on three prompts — a fixed set of twenty to fifty real tasks scored before and after. If 4-bit loses two points of accuracy and triples your concurrency, that is a trade you can defend in a budget meeting.

The memory maths nobody does

Model weights are only part of the footprint. The KV cache grows with context length and concurrency, and it is what actually OOMs your server at 3am.

A rough budget for a single machine:

memory ≈ weights + KV cache + overhead
weights ≈ parameters × bytes-per-weight   (4-bit ≈ 0.5 GB per 1B params)
KV cache ≈ grows with batch × context length × layers

So a 14B model at 4-bit is roughly 8 GB of weights; leave the rest of a 32 GB machine for KV cache, the OS and a safety margin. If you want eight concurrent 16K-token sessions, you are not memory-bound by the model — you are memory-bound by the cache. That is a software setting (context limit, concurrency cap, prefix caching), not a reason to buy another machine.

Where token cost actually comes from

Teams routinely blame the model for a cost problem caused by the prompt. In practice, cost per answer is driven by:

  • Pasted context. Dumping a whole document into every request instead of retrieving the three relevant chunks. Retrieval is usually the single largest saving.
  • Long system prompts. A 2,000-token instruction block sent on every call, on every request, adds up faster than the model choice does.
  • No caching. Engines that support prefix or prompt caching can reuse the unchanged head of a conversation; without it you pay to re-read the same instructions every turn.
  • One model for everything. Routing classification and simple lookups to a 4B model, and escalating only the hard cases, is often a 5–10× cost reduction at equal perceived quality.
  • Re-reading history. Context compaction, summarising older turns and keeping tool output out of the conversation are what keep long agent sessions from collapsing under their own token bill.

Speculative decoding — and on Apple Silicon, multi-token prediction with MTPLX — attacks a different axis: latency. A small draft model proposes tokens, the large model verifies them in one pass. It does not reduce cost per token on a fixed machine, but it can meaningfully reduce wall-clock time per answer, which is what users actually feel.

The harness matters more than the model

A better model with a bad harness loses to a worse model with a good one. The harness is the part that decides what the model sees, which tools it can call, what happens when a call fails, and when a human has to approve something.

What to get right before upgrading the model:

  • Context assembly — the right documents, ranked, with citations; not everything that matched a keyword.
  • Tool permissions — read versus write, scoped credentials, approval gates for destructive actions.
  • Loop control — step limits, token budgets per run, and a plan that survives a failing tool.
  • Auditability — a log of every tool call and its result, so a wrong answer can be traced.

Open WebUI is a pragmatic front end for a team; DeepSeek Harness and MCP servers are how you give a local model real tools without handing it the keys to production.

When you genuinely need the cluster

Being honest about this is part of the job. You need real GPU capacity when:

  • you train or fine-tune at a scale where a single card is too slow for the iteration loop,
  • you serve many tenants with hard latency SLOs and sustained queueing,
  • you need long-context inference at high concurrency (KV cache again),
  • regulation requires the capacity to be physically yours.

Those are legitimate reasons. A chatbot for twelve internal users is not one, and neither is “we might need it later”.

A sane starting stack for a small team

  1. One Apple Silicon machine or one GPU workstation running Ollama, for evaluation and individual work.
  2. The same model served with vLLM on rented GPU hours for the shared internal endpoint.
  3. Open WebUI in front, with retrieval over your documentation and per-user rate limits.
  4. An eval set of real tasks, run on every model or prompt change.
  5. Dashboards for tokens per request, cost per answer, latency and error rate — so the next decision is made on numbers.

That stack gets a team to private, auditable, affordable AI in weeks, and it scales into Kubernetes later if it earns the right to.


If you are deciding between buying hardware and tuning the stack you already have, bring the workload and the machine — the honest answer is often cheaper than the server quote.