top of page

Choosing an Open-Weight Model for Your Use Case

  • Shawn West
  • Apr 23
  • 12 min read

Updated: Aug 20

There are hundreds of open-weight language models available right now. New ones drop every week. If you've decided to run models locally or self-host them, the next question is which model — and that question is harder than it looks. The benchmarks are confusing, the marketing is loud, and the right answer depends entirely on what you're actually trying to do.

This guide cuts through the noise. We'll walk through the major model families, explain what size and quantization actually mean for your experience, talk about which benchmarks matter and which ones don't, and help you match a model to your specific task.

The Major Model Families

As of early 2026, these are the model families that matter for practical use. There are many others, but these are the ones with the broadest support, the best tooling, and the most real-world validation.

Meta's Llama

Llama is the model family that kicked off the open-weight revolution. The Llama 3 series (and its successors) set the standard that other open models are measured against.

Strengths: Broad general capability, excellent instruction following, huge community and fine-tune ecosystem, strong multilingual support in larger sizes, well-tested across every inference framework. When you're not sure what to pick, Llama is the safe default.

Available sizes: 1B, 3B, 8B, 70B, 405B. The 8B is the sweet spot for most local use. The 70B is genuinely impressive but requires serious hardware. The 405B exists but you're probably not running it locally.

Best for: General-purpose tasks, chat applications, content generation, summarization, anything where you need a reliable all-rounder.

Mistral

Mistral, the French AI company, has consistently punched above their weight class. Their models tend to be efficient — delivering more capability per parameter than you'd expect.

Strengths: Strong reasoning for their size, good code generation, efficient architecture, Mixture of Experts (MoE) models that give you big-model capability with smaller-model resource requirements. Mistral's MoE models (like Mixtral) only activate a subset of parameters per token, so a model with 47B total parameters might only use 13B per inference step.

Available sizes: 7B (Mistral), 8x7B and 8x22B (Mixtral MoE), and newer dense models. The 7B is competitive with models twice its size on many tasks.

Best for: Teams that need strong performance on limited hardware, code-related tasks, situations where you want the best quality-per-VRAM-dollar.

Microsoft's Phi

Phi models are Microsoft's small language model bet. The thesis is that you can get surprisingly good performance from small models if you train them on high-quality data.

Strengths: Remarkably capable for their size. Phi-3 and Phi-4 models in the 3-14B range perform tasks that you'd expect to require much larger models. Low resource requirements. Fast inference.

Available sizes: 3B, 7B, 14B. The 3B is genuinely useful for simple tasks, which is unusual at that size. The 14B competes with many 70B models on specific benchmarks.

Best for: Resource-constrained environments, edge deployment, tasks where speed matters more than maximum quality, mobile and embedded applications. If you need something that runs well on a laptop CPU, Phi is worth testing first.

Google's Gemma

Gemma is Google's open-weight offering, built on the same research that powers their Gemini models.

Strengths: Strong reasoning, good instruction following, competitive benchmarks especially in the 7B-27B range. Google's training infrastructure means these models benefit from massive, well-curated training data.

Available sizes: 2B, 7B, 27B. The 27B model is particularly strong relative to its size class.

Best for: Reasoning-heavy tasks, question answering, analysis work. If your use case involves understanding and reasoning about information rather than creative generation, Gemma is worth benchmarking against Llama.

Alibaba's Qwen

Qwen has quietly become one of the best open model families available. If you're not paying attention to it, you should be.

Strengths: Excellent multilingual performance (especially CJK languages, but English is strong too), strong coding capability, competitive with Llama across most benchmarks, good long-context support. Qwen 2.5 models are genuinely impressive.

Available sizes: 0.5B to 72B, with many size options in between. The 7B and 14B models are the practical sweet spots.

Best for: Multilingual applications, coding tasks, situations where you want an alternative to the Llama ecosystem with comparable quality.

DeepSeek

DeepSeek's models, particularly DeepSeek Coder and the DeepSeek V2/V3 family, have earned a reputation for strong technical and coding performance.

Strengths: Excellent at code generation and understanding, strong mathematical reasoning, MoE architecture in larger models for efficiency. DeepSeek Coder models are among the best open-weight options for programming tasks.

Best for: Code generation, code review, technical analysis, math-heavy applications.

The families at a glance

A summary of the sections above, for when you are choosing rather than reading. Treat every row as a starting hypothesis to test on your own task, not a ranking — the release cadence in this space means any specific claim about which family leads is stale within months.

Family

Behind it

Where it tends to be strong

Reach for it when

Llama

Meta

Broad general capability, and by far the largest ecosystem of fine-tunes, quantisations and tooling

You want the safest default and the most community support when something breaks

Mistral

Mistral AI

Strong capability per parameter; efficient at small and mid sizes

You are constrained on memory or latency and want the most capability that fits

Phi

Microsoft

Punches above its size on reasoning benchmarks for a very small footprint

You are targeting a laptop CPU, edge hardware or embedded deployment

Gemma

Google

Comprehension and reasoning over supplied information

Your task is understanding and extracting from documents more than open-ended generation

Qwen

Alibaba

Multilingual strength, particularly CJK, plus solid coding

You have non-English workloads, or want a strong coding model outside the usual two

DeepSeek

DeepSeek

Coding and reasoning

Code generation and problem decomposition are the core of the workload

The selection method that survives new releases: pick two families at the size your hardware allows, assemble twenty examples from your real workload with known-good outputs, and run both. That comparison tells you more than any leaderboard, and it stays valid when the leaderboard changes.

Size vs. Capability: The Real Tradeoffs

The relationship between model size and capability is not linear. A 70B model is not 10x better than a 7B model. Here's how to think about it practically.

The Size Tiers

1-3B models: Useful for simple, well-defined tasks. Classification, basic extraction, short summarization, simple chat. They'll struggle with complex reasoning, nuanced writing, or tasks that require broad knowledge. Think of them as fast, cheap, and limited.

7-8B models: The practical sweet spot for most local deployment. Good at a wide range of tasks. Capable of genuine reasoning, decent writing, solid code generation. They make mistakes that larger models don't, but for most applications the tradeoff of speed and resource efficiency is worth it.

13-14B models: A meaningful step up from 7B in quality, but roughly double the resource requirements. Worth it if you have a 24GB GPU and your task demands it. The improvement over 7B is most noticeable in complex reasoning, multi-step tasks, and nuanced content.

30-34B models: Entering serious hardware territory (need 24GB+ VRAM even with quantization). These models are notably better at complex tasks, long-form content, and tasks requiring deep knowledge. But they're 4x slower than 7B models.

70B+ models: Approaching cloud-model quality on many tasks. Require 48GB+ VRAM or multi-GPU setups. If you need this level of capability, you need to seriously evaluate whether self-hosting is more cost-effective than an API.

The Honest Rule of Thumb

For most teams running models locally: start with a 7-8B model. If it's not good enough for your specific task, move to 13-14B. If that's still not enough, you're probably better served by a cloud API for that particular task. The 70B+ models make sense only when you have the hardware already and your data sensitivity requirements rule out cloud.

Quantization: What It Is and Why It Matters

Quantization is how you fit models that shouldn't fit on your hardware into your hardware. Understanding it will save you from bad choices.

The Basics

Model weights are normally stored as 16-bit floating point numbers (FP16). A 7B parameter model at FP16 takes about 14GB of memory. Most consumer GPUs can't handle that, let alone the overhead needed for inference.

Quantization converts those 16-bit values to lower precision — 8-bit, 5-bit, 4-bit, even 2-bit. A 7B model at 4-bit quantization fits in about 4GB. That's the difference between "need a $1000 GPU" and "runs on a laptop."

Common Quantization Formats

If you're using Ollama or llama.cpp (which is most people running models locally), you'll see GGUF quantization formats:

  • Q8_0 — 8-bit. Minimal quality loss, biggest file size. Use when you have plenty of VRAM and want maximum quality.

  • Q6_K — 6-bit. Very close to Q8 quality, noticeably smaller. A good choice when Q8 barely doesn't fit.

  • Q5_K_M — 5-bit. The sweet spot for most people. Quality loss is minimal for most tasks, and the size reduction is significant.

  • Q4_K_M — 4-bit. Noticeable quality reduction on demanding tasks, but perfectly fine for chat and simple tasks. This is where most people end up because it fits on affordable hardware.

  • Q3_K_M — 3-bit. Quality starts dropping enough to notice on regular use. Use only when 4-bit doesn't fit.

  • Q2_K — 2-bit. Significant quality loss. The model will work but it will make more mistakes, especially on nuanced or complex tasks. Last resort.

The Quality-Size Tradeoff

Here's the thing most guides won't tell you clearly: a smaller model at higher quantization often outperforms a larger model at lower quantization. A Llama 8B at Q5 will frequently beat a Llama 8B at Q2 on the same task. A well-quantized 7B model can outperform a poorly-quantized 13B model.

If you have 8GB of VRAM, you're better off running a 7B model at Q5_K_M than trying to cram a 13B model at Q2_K. The larger model loses too much capability from aggressive quantization.

Benchmarks: What to Trust and What to Ignore

The open model space loves benchmarks. Leaderboards get updated daily. New models "top the charts." Here's how to navigate this without being misled.

Benchmarks That Tell You Something Useful

MMLU (Massive Multitask Language Understanding) — Tests knowledge across many domains. Useful as a rough proxy for general capability, but it's heavily gamed. Models are increasingly trained to do well on MMLU specifically.

HumanEval / MBPP — Code generation benchmarks. If your use case involves coding, these are relevant. But "passes unit tests" and "writes good, maintainable code" are different things.

MT-Bench — Measures multi-turn conversation quality. More representative of real chat use than single-turn benchmarks.

Arena ELO (LMSYS Chatbot Arena) — Based on human preferences in blind comparisons. This is the most trustworthy ranking because it's hard to game and represents what actual humans prefer. Check this first.

Benchmarks to Be Skeptical Of

Any benchmark where the model was likely trained on the test data. This is rampant. When a small model mysteriously outperforms models 10x its size on a specific benchmark, contamination is usually why.

Synthetic benchmarks the model creator designed. Model creators pick benchmarks that make their model look good. Always look at independent evaluations.

Single-number scores without context. "Scores 87.3 on MMLU" means nothing without knowing the quantization, prompt format, and evaluation methodology.

The Only Benchmark That Really Matters

Test the model on your actual task. Seriously. Take 20-50 examples of real inputs you'll be sending to the model, run them through your top 2-3 candidates, and evaluate the outputs yourself. No benchmark will tell you how a model performs on your specific data, with your specific prompts, for your specific quality bar.

This takes a few hours. It will save you weeks of frustration from picking the wrong model based on a leaderboard.

Matching Model to Task

Here are concrete recommendations based on common use cases.

Coding Assistant

First choice: DeepSeek Coder V2 (16B) or Qwen 2.5 Coder (7B/14B) Budget option: CodeLlama 7B or Phi-3 (if hardware is very limited)

Coding models are fine-tuned on code and understand programming patterns better than general-purpose models. The difference is noticeable. Don't use a general chat model for coding if a code-specific model is available in your size class.

Internal Chat / Q&A

First choice: Llama 3.1 8B Instruct or Qwen 2.5 7B Instruct Better quality: Llama 3.1 70B Instruct (if you have the hardware)

General instruction-following models do well here. The instruct/chat fine-tune matters — use the instruct version, not the base model.

Document Analysis / Summarization

First choice: Gemma 2 27B or Llama 3.1 8B with extended context Key consideration: Context length. Make sure the model supports enough context for your documents. A model that truncates your input is worse than a smaller model that sees all of it.

Embedding for RAG / Search

First choice: nomic-embed-text or mxbai-embed-large Note: Embedding models are completely different from generation models. They're small (under 1GB usually), fast, and purpose-built. Don't try to use a chat model for embeddings.

Multilingual Applications

First choice: Qwen 2.5 (any size) — best CJK support Alternative: Llama 3.1 (good multilingual, but Qwen leads for Asian languages)

Creative Writing

First choice: Llama 3.1 8B or 70B Note: Creative tasks tend to benefit more from model size than technical tasks. If quality matters, this is where stepping up to a larger model or using a cloud API makes the most difference.

Practical Decision Framework

When you're choosing a model, work through these questions in order:

  1. What's my hardware? This determines your size ceiling. Check your VRAM, pick the largest model tier that fits at Q4_K_M or better quantization.

  2. What's my primary task? If it's code, pick a code model. If it's general, pick a general model. Don't use a generalist for a specialist task.

  3. What's my latency requirement? Real-time chat needs fast inference (smaller models, higher quantization). Batch processing can tolerate slower models (bigger models, lower quantization).

  4. Does it need to be one model? You can run different models for different tasks. A small fast model for simple classification plus a larger model for complex generation is often better than one medium model for everything.

  5. Test it. Pull your top 2 candidates, run your real examples, and pick the one that performs better on your actual data. Don't trust the leaderboard. Trust your results.

The open-weight model space moves fast. What's best today might be second-best in three months. But these fundamentals — matching size to hardware, task to specialization, and validating on your own data — will stay relevant regardless of which new model drops next week.

Sources

The model families — release notes, licences and model cards change frequently; go to the source rather than to a summary:

The benchmarks named above:

On reading benchmark scores at all. Contamination — benchmark data leaking into training sets — is a known and unresolved problem, and it inflates exactly the scores most often quoted in launch posts. A score is evidence that a model does well on that benchmark, not that it will do well on your task. The twenty-example comparison described above is worth more than any published figure.

Related reading

Keep learning. This article is part of the Requirements & Business Process Improvement path in the ShiftQuality Learning Center. Elicit, prioritize, and trace requirements that survive reality.

Frequently Asked Questions

What's the best open-weight LLM in 2026?

There's no single best — it depends on your task and hardware. For general use, Llama 3.1 8B is the safe default. For efficient quality on modest hardware, Mistral and Mixtral MoE models. For code-specific tasks, DeepSeek Coder or Qwen 2.5 Coder. For multilingual (especially Asian languages), Qwen. For small/edge deployments, Microsoft's Phi family. Test your top 2-3 candidates on your actual data — leaderboard rankings don't predict performance on your specific task.

What size LLM should I use?

For most local deployment, start with a 7-8B model. It's the practical sweet spot — capable enough for real work, fast enough to be usable, fits in modest VRAM. Move to 13-14B if your task demands more reasoning and you have a 24GB GPU. Step up to 30B+ only when 13B isn't enough, and at that point seriously evaluate whether a cloud API isn't more cost-effective. 70B+ models make sense only when data sensitivity rules out cloud.

What is quantization and which level should I use?

Quantization compresses model weights from 16-bit to lower precision (8-bit, 5-bit, 4-bit, 2-bit) so big models fit on small hardware. Q5_K_M is the practical sweet spot for most people — minimal quality loss with significant size reduction. Q4_K_M is fine for chat and simpler tasks when you need it to fit. Avoid Q2_K unless desperate — the quality drop is noticeable. A smaller model at Q5 usually beats a larger model at Q2.

How do I choose between Llama, Mistral, Qwen, and Gemma?

Llama is the safe general default — broad capability, largest ecosystem, most fine-tunes available. Mistral excels at capability-per-parameter, particularly with their MoE models for hardware-constrained setups. Qwen is excellent for multilingual work (especially CJK) and coding, and is genuinely competitive with Llama on most benchmarks. Gemma is strong on reasoning and analysis tasks in the 7-27B range. Test the top two for your specific task — the differences within a size class are smaller than the differences between size classes.

How do I evaluate an open-weight model for my use case?

Build a test set of 20-50 real examples from your actual workload — the inputs you'll be sending in production. Run them through your top 2-3 candidate models with your real prompts and evaluate the outputs yourself. This takes a few hours and is more reliable than any leaderboard. Public benchmarks are often contaminated (the model was trained on the test data) or measure something other than what you care about. The only benchmark that matters is performance on your data.

bottom of page