2026 comparison: the best open-source LLMs to self-host
The performance gap between proprietary and open-source models keeps narrowing, especially for structured agent tasks (extraction, classification, summarization).
Selection criteria
- Model size vs. available hardware: a 7B-14B model runs comfortably on most entry-level GPU servers, or even on CPU for lighter use cases.
- Tool support (function calling): essential for agentic use cases.
- License: some licenses restrict commercial use, worth checking before any production deployment.
Our picks for self-hosting via Ollama
The Llama and Qwen model families remain solid choices for local deployment, offering a good quality-to-inference-cost ratio on reasonable hardware.
We'll keep updating this comparison as new models ship.
Read next
Claude Haiku 5.5 and GPT-6 Luna: the small-model price war hits $0.10 per million tokens
Anthropic and OpenAI now list the same entry price for their small models. What it changes for agents, and the token-consumption trap.
Mistral Large 4: a 1-trillion-parameter European model with open weights on the way
Mistral unveils Large 4, a ~1T multimodal MoE, in API preview. Weights are promised for October 27 under a still-unknown license: what we know and what to wait for.
Claude Sonnet 5.5: what the benchmarks and pricing really mean
Anthropic ships Sonnet 5.5 at $2/$10 per million tokens. The scores look strong but depend on the effort level: how to read the numbers before you migrate.