Open-source LLMs have closed the gap with closed-source APIs dramatically. Llama 3.1 405B competes with GPT-4o on most benchmarks. The question is no longer 'is open source good enough?' but 'when does the ops overhead pay off?'
Top open-weight models in 2026
- Llama 3.1 405B — Meta's flagship, competes with GPT-4o on most tasks, 128K context
- Llama 3.1 70B — Best quality/compute ratio, 128K context, most deployed
- Llama 3.2 Vision 90B — Best open-source multimodal
- Qwen2.5 72B — Strong reasoning and multilingual, competitive with Llama 3.1 70B
- Qwen2.5 Coder 72B — Best open-source coding model
- Mistral Large — Commercial open-weights, strong multilingual
- DeepSeek V3 — Frontier-quality reasoning, open weights
- Phi-4 — Microsoft 14B model, surprisingly strong on reasoning tasks
When to self-host
Self-hosting makes sense when: (1) you have data privacy requirements that preclude sending data to external APIs, (2) your API spend exceeds ~$1,000/month and traffic is predictable, (3) you need to fine-tune on proprietary data, or (4) you need sub-50ms latency that cloud APIs can't reliably deliver.
Tip
Before self-hosting, try Together AI or Groq — managed open-source inference with no ops overhead at 50–80% of OpenAI prices. Only switch to self-hosting when scale justifies it.
Hardware requirements
Llama 3.1 8B: runs on a single 16GB GPU (RTX 4080), good for local dev. Llama 3.1 70B: needs 2× A100 80GB or 4× RTX 4090 for fp16; use 4-bit quantization for a single A100. Llama 3.1 405B: needs 8× A100 80GB minimum, typically deployed on a multi-node cluster.
Recommended serving stack
vLLM is the production standard for high-throughput inference — continuous batching, PagedAttention, OpenAI-compatible API endpoint. Ollama is the simplest option for local development. For managed inference without self-hosting, Together AI and Fireworks AI both serve major open models with low latency at competitive prices.
Fine-tuning
Open weights enable fine-tuning — a major advantage over closed APIs. For task-specific fine-tuning, QLoRA (4-bit quantized LoRA) lets you fine-tune a 70B model on a single A100 in a few hours. Datasets of 1,000–10,000 labelled examples are typically sufficient for strong task adaptation. See the ModelStop fine-tuning guide for a full walkthrough.
