Hosting Open Weights: Runtimes and Setup
Downloading weights is the easy part. Serving them behind an API — with sane memory use and predictable latency — is where self-hosting decisions get real. Here’s the runtime landscape in one page.
The Three Runtimes You’ll Actually Consider
| Runtime | Sweet spot | Why you’d pick it |
|---|---|---|
| llama.cpp | Laptops, edge, single-user | CPU-friendly, quantized GGUF builds, zero ceremony |
| Ollama | Local dev, quick experiments | llama.cpp with a friendly model manager; pulls and runs in one command |
| vLLM | Production serving | High-throughput batching, OpenAI-compatible API, multi-GPU |
The fork in the road is concurrency. One user on a laptop: llama.cpp or Ollama. Many simultaneous requests: vLLM — its batching keeps throughput from collapsing under load, which changes the latency math entirely.
The Setup Path, Honestly
- Size the memory: parameters × bits (see quantization), plus KV cache for your context length. Long contexts are memory-hungry at runtime.
- Pick the precision: 8-bit if it fits, 4-bit if it doesn’t, below 4-bit only with benchmarking.
- Serve an OpenAI-compatible endpoint: all three runtimes speak it (vLLM natively; llama.cpp’s server mode; Ollama similarly) — which keeps your application code swappable between self-hosted and hosted providers.
- Benchmark with your traffic: tokens/second at your prompt lengths, not the README’s.
The Operations You Signed Up For
Self-hosting moves the stack from a provider’s plate to yours: model updates (re-download, re-benchmark), security patches for the runtime, capacity planning, and observability. None is hard; all recur. The honest accounting: run both sides of the pricing math — per-token API rates versus hardware + your ops time — before committing.
What the Sheets Tell You Before You Start
On open-weights sheets: the openWeights and license fields (can you legally run this, and quantize it — see licenses explained), parameters (memory math), and the airgap field (whether offline deployment is documented). The servers directory covers the MCP layer on top — tools, not inference.
Related Reading
- Quantization Explained — the memory math.
- Model Licenses Explained — what you may ship.
- Latency Explained — what to measure once it’s running.
Keep reading
Field reports: what people actually run (usage signals, Nov 2026)
Curated usage-signal reports from public spend and preference data — which models people pay to run, per task, and where the surprises are. Editorial, fully sourced.
Long-Context Retrieval: What MRCR Actually Measures
Multi-Round Co-reference Resolution explains why a 1M-token context window is not the same thing as a 1M-token memory. How to read the MRCR rows on our spec sheets.