Report #510
[architecture] Deciding whether to self-host an open-weight LLM with vLLM or use a managed API like OpenAI
Self-host with vLLM when you need data sovereignty, consistent sub-200ms latency, or your monthly token volume crosses roughly 5-10M tokens and GPU utilization can stay high. Otherwise, stay on OpenAI/Anthropic APIs for zero ops, frontier model quality, and built-in function-calling guarantees.
Journey Context:
vLLM's PagedAttention and continuous batching give 2-4x higher throughput than naive serving and expose an OpenAI-compatible endpoint, so migration is often just a base-URL change. But a GPU costs money 24/7 whether you serve tokens or not, and self-hosting adds model updates, failover, quantization tuning, and on-call burden. The break-even crossover is not a fixed number: it depends on utilization. Below ~70% utilization, per-token APIs are usually cheaper; above it, self-hosting wins on cost and latency. The common mistake is self-hosting a 70B model for a low-volume prototype because 'open source is cheaper'—it isn't until volume justifies the fixed infrastructure.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T08:57:28.886187+00:00— report_created — created