Open Source LLMs

By 2026, open-weights LLMs are competitive with frontier commercial models on most tasks below the absolute frontier. The 6-12 month gap to GPT-class / Claude-class quality persists for the hardest reasoning tasks, but for most production work, open-weights is a credible choice.

This page is the state of the field, the decisions, and the operational reality of running these models.

"Open source" is overloaded

Three distinct things often called "open source":

  1. Open weights — model parameters published, usable for inference. License terms vary.
  2. Open training code — the code used to train the model is published; reproducible.
  3. Open data — the training data is published.

Most "open source" LLMs are open-weights only. Truly open (weights + code + data) models exist (OLMo, Pythia) but lag in capability. For practical use, "open weights" is what matters.

License variations matter:

Read the license. Treat "open weights" as a starting point; check the specific model.

The 2026 leaders

Meta Llama family

Strengths: ecosystem maturity (every tool supports Llama format); broad community fine-tunes; strong baseline.

Weaknesses: license has commercial restrictions for very large deployments; not the absolute strongest at any given size.

Mistral

Strengths: efficient; Apache 2.0 (in most variants); European data sovereignty option.

Qwen (Alibaba)

Strengths: regularly tops open-weights leaderboards; strong Chinese capabilities; permissive license for most variants.

DeepSeek

Strengths: aggressive on reasoning; open R1 was a notable release. License is permissive.

Smaller specialists

For a given size point, the leader rotates. Check leaderboards monthly during active eval.

Picking by use case

Use caseReasonable picks (early 2026)
General chat, mid-qualityMistral Small, Qwen 2.5 7B
General chat, high-qualityLlama 70B, Mistral Large, Qwen 72B
Frontier reasoningDeepSeek R1, Qwen reasoning variants
Code generationQwen Coder, DeepSeek Coder, Codestral
Multimodal (image)Qwen-VL, Llava family, MoE-VL
Edge / mobileGemma 2B, Phi-3.5-mini
On-device assistantLlama 3.2 1B / 3B, Phi-3.5
Truly open (weights+code+data)OLMo
Multilingual non-EnglishQwen, Aya (Cohere)

These rotate every few months. Recheck before adopting.

When self-hosting wins

The economic break-even depends on traffic shape:

For these, self-hosting is the right call.

When commercial APIs win

For these, pay for the API. The self-host operational cost outweighs the API savings.

Hardware sizing

Approximate VRAM for inference:

ModelFP16Int8Int4
7B~14 GB~8 GB~5 GB
13B~26 GB~14 GB~8 GB
70B~140 GB~80 GB~40 GB
405B~810 GB~440 GB~220 GB
MoE 8x22B~280 GB (all loaded; ~80 GB activated)scaled

These are rough; concrete numbers depend on context size, KV cache, batching.

Hardware:

For most teams: an A100 80 GB or H100 serves a 70B at INT8 with reasonable batching. ~$3-5/hour cloud, or ~$30k purchase.

Serving stacks

For most production GPU serving in 2026: vLLM is the safe default. TensorRT-LLM if you've maxed vLLM and need more throughput.

Fine-tuning open models

LoRA / QLoRA fine-tuning on top of open-weights base. Standard tooling: HuggingFace trl, peft, axolotl, unsloth. See LLMFineTuning.

The full-finetune path (modify all weights) is rare unless you have unusual budget. LoRA suffices for nearly every domain adaptation use case.

A LoRA adapter is small (tens of MB); deploy alongside the base model. Multiple LoRAs per base = multiple specialised models from one inference setup.

Quantisation in production

Most production self-hosted serving uses 4-bit or 8-bit quantisation. AWQ or GPTQ for GPU serving; GGUF for CPU / Apple Silicon. See ModelQuantization.

Quality cost: 1-3% on most benchmarks at 4-bit. Memory savings: 4×. Throughput gain: 2-4× (memory-bandwidth-bound LLM inference).

What's coming

Trends through 2026:

The cadence of new releases is fast; lock in for 6 months at most before re-evaluating.

A pragmatic recipe

For a team adopting open-weights:

  1. Pilot with a few models — Llama 70B, Mistral Large, Qwen 72B at minimum.
  2. Run your eval on each.
  3. Pick the strongest for your task (often surprises; not always the latest).
  4. Quantise to 4-bit AWQ or 8-bit GPTQ.
  5. Serve via vLLM on appropriate hardware.
  6. Set up observability — see AiObservabilityInProduction.
  7. Build a periodic re-eval habit — check new model releases monthly.

Two weeks of work; production-grade open-weights serving.

Further reading