AI, Software Development
Open-source LLMs in 2026: what's actually production-ready
TL;DR: Open-source LLMs are production-ready for retrieval, code assistance and private inference, not yet for frontier agentic reasoning. Start with a 7B model, read the licence on the exact checkpoint, and pick the runtime for the job. The stack around the model matters far more than which model you pick.
Open-source LLMs are ready for production, but only for certain jobs.
They are good at retrieval, code assistance, and private inference where the data cannot leave your network. They still trail the closed models on hard agentic reasoning and on long-tail multilingual accuracy.
The hard part is not the model. It is the operational work around it: licence terms, GPU spend, and a serving stack that does not fall over at 3am.
Start with the Open LLMs list. It tracks dozens of models with their licences and checkpoints in one place, which is where most teams look before they touch a GPU. Hugging Face covers discovery and benchmarks after that.
The pattern that works is always the same. Pick the smallest model that clears your accuracy bar. Then spend your engineering budget on the layer around it.
Key takeaways
| Point | What it means |
| Start small | Test a 7B model before you reach for anything bigger. |
| Read the actual licence file | Apache 2.0 and MIT allow commercial use. Custom licences often do not. |
| Match the runtime to the job | vLLM for throughput on GPUs. llama.cpp or Ollama for local and Apple Silicon. |
| Build the stack, not the model | Vector store, retrieval and logging from day one, not after the first incident. |
| Quantise, then check | Smaller memory footprint is real. So is the quality drop. Test it on your data. |
Open source, open weights, open API
In the strict sense, an open-source LLM ships its training code, its data recipe, and its weights under a licence that lets you change and redistribute them.
Most of what gets called open source is really open weights. You can download and run the parameters. The training data and the full pipeline stay private. That difference matters the moment legal asks what you are actually allowed to do.
A third thing gets called open and is not. Open API means a hosted, closed model you call over the network. It does not belong in this conversation, whatever the marketing says.
Licences fall into a few buckets:
- Apache 2.0 and MIT. Permissive. Commercial use allowed. Almost no restrictions.
- OpenRAIL-M. Use restrictions written into the licence, usually around specific applications.
- Custom research licences. Often free to research with, restricted or negotiable for production.
Read the licence file in the model repo. Not the blog post announcing it. Announcement posts routinely oversimplify what the terms allow.
Which one to test first
Match the model to the job before you look at a leaderboard. Here is a shortlist, sorted by what each is actually good at.
- Mistral-7B. Best for light retrieval work and internal tools on one GPU. Apache 2.0, runs on 16GB of VRAM once quantised, and still one of the strongest 7B instruction models for structured output.
- Llama and OpenLLaMA. Best if you want a well-documented, heavily benchmarked baseline. Meta's licence carries commercial conditions worth reading closely. OpenLLaMA is a fully open reproduction, which sidesteps that entirely.
- Mixtral. Best when you need stronger reasoning without frontier pricing. Its mixture-of-experts design only activates a slice of the parameters per token, so throughput holds up well against its capability.
- Qwen. Best for multilingual work and coding. The coder variants have become a default pick for developer-facing tools.
- MPT-7B and MPT-30B. Best if you want a commercially friendly lineage with long-context variants built in. MPT-30B sits in the middle: more capable than 7B, cheaper than 70B.
- GPT-NeoX-20B and BLOOM. Best for teams that want an academically documented model. The GPT-NeoX-20B paper is still a useful read on how parameter count trades off against inference cost.
- gpt-oss. OpenAI's open-weight release, under Apache 2.0, with quantisation guidance published alongside it. That guidance takes a lot of guesswork out of self-hosting.
For a first trial:
- Tight budget, simple task. Mistral-7B. Fastest path to something working.
- Need better reasoning, still watching cost. Try Mixtral before you jump to 30B.
- Coding workload. Put a Qwen coder variant and a quantised gpt-oss build head to head on your own tests.
That last point matters most. A public benchmark tells you how a model does on someone else's tasks. Not yours.
Licences, in practice
Licence text is where good intentions go to die if nobody reads it.
Apache 2.0 and MIT models carry the fewest strings. Change them, redistribute them, ship them commercially. OpenRAIL-M adds use restrictions on top, usually barring specific harmful applications. Custom licences can block redistribution, cap user counts, or demand attribution in your product.
Run this check before you deploy:
- Confirm the licence on the exact checkpoint you are pulling. Not the model family in general.
- Check whether fine-tuning or redistributing your own weights carries separate terms.
- Make sure there is no field-of-use clause that clashes with your product.
Pro tip: the moment a licence mentions an "acceptable use policy" as a separate document, get legal involved. Those clauses change more often than the licence itself, and missing an update is how teams end up in breach without knowing.
Which runtime to serve with
The runtime changes your throughput, latency and memory more than most people expect from what looks like plumbing.
- vLLM is the default for high-throughput GPU serving. Continuous batching and efficient cache management are why production teams pick it over a naive pipeline.
- SGLang earns its spot when you need smarter scheduling, especially prefix caching for workloads with repeated system prompts or shared context.
- llama.cpp and Ollama are right for local development, edge, or Apple Silicon. Neither matches vLLM for raw throughput. Both remove the GPU requirement entirely, which is what you want for laptop prototyping or an air-gapped box.
The trade-off is not subtle. Throughput-first runtimes want dedicated GPU memory and batched traffic to earn back the overhead. Lightweight runtimes trade peak speed for running anywhere.
At real volume, self-hosting on vLLM usually beats a managed API on cost. Below that line, a managed API is often cheaper than the engineering hours it takes to run infrastructure nobody on the team has run before. If you are still weighing that call, our LLM API pricing comparison has the numbers, and this guide to choosing an LLM covers the decision itself.
What the stack looks like
A model on its own answers questions. A stack answers them correctly, cites its sources, and tells you when something breaks.
The shape that works: a model runner serves the LLM, an embeddings model turns documents into vectors, a vector database stores and retrieves them, a retriever assembles the context, and a gateway sits in front of the lot. Qdrant, Chroma and Weaviate are the usual picks for the vector layer.
For orchestration you have three levels:
- One-command stacks provision the runner, vector store, embeddings, cache and logging in a single pass. Good for a reproducible baseline, fast.
- Containers. Docker Compose or Kubernetes, when you need to scale pieces independently.
- Fleet tooling. Once you are running several models or several environments and hand-run scripts stop being safe.
Full-stack thinking beats model-only thinking. Retrieval, observability and a gateway are part of the system, not extras you bolt on after something breaks.
Pro tip: treat the stack as versioned and declarative from day one. Apply-and-prune beats hand patching, and it is what keeps a deployment reproducible six months later when nobody remembers which flag they set by hand.
Security needs the same care as the model choice. Keep endpoints on internal networks. Put authentication on every service rather than trusting the private network alone. Never expose a raw model port to the internet, which is still one of the most common holes in self-hosted setups.
What hardware you actually need
Sizing is where proof-of-concept projects either overspend early or get caught out later. A rough guide:
- 7B models. One consumer GPU with 16GB VRAM once quantised, or Apple Silicon with 16GB+ unified memory via llama.cpp.
- 30B models. Usually 24 to 48GB of VRAM depending on quantisation. That means one high-end data-centre card, or several consumer ones.
- 70B and up. Multi-GPU, unless you quantise hard.
Quantisation moves this the most. Mixed-precision formats like MXFP4 cut memory needs enough to fit a model on a single card that would otherwise need a rack. The cost is quality drift, which you have to measure on your own task rather than trust a general benchmark for.
Renting cloud GPUs makes sense for proof-of-concept work and spiky load. Buying starts to pay once usage is high and predictable, but where that line sits depends on your power costs and your region's instance pricing.
For a first build: one mid-tier GPU instance, a few hundred real queries rather than synthetic ones, and a 7B model. Scale once that tells you where the bottleneck actually is.
How to pick
Run every candidate through the same five checks before you commit engineering time.
- Task fit. Does it do your specific job, not just well on general benchmarks?
- Licence. Does that exact checkpoint allow your commercial use without a negotiation?
- Cost. What does inference actually cost per thousand requests at your volume?
- Context length. Does it hold enough of your documents without expensive chunking work? Our explainer on context windows covers what that limit really means.
- Ecosystem. Is it properly supported in vLLM, SGLang or llama.cpp, or will you be debugging compatibility nobody else has hit?
For a minimum test, build 50 to 100 real examples from your own domain. Run them through two or three shortlisted models. Score on accuracy, latency and cost per response. Not on a leaderboard number.
Ask about maintenance too. How often does the model get updated, is there a deprecation policy, and how much does behaviour shift between versions?
Pro tip: budget for re-testing every time a model family ships a new version. A checkpoint that scored well six months ago can behave differently on your exact prompts after an upstream change.
Why the model is the least interesting decision
Most advice on this topic argues about which model wins which benchmark. That is the wrong fight.
The model choice explains a small share of whether a project works. The stack around it decides nearly everything else. The licence checked properly. The retrieval layer built right. The logging wired in before launch.
"Pick the best model on the leaderboard" also skips a harder truth. Benchmarks measure someone else's tasks. Your 50 real test cases beat a public leaderboard every time, because they show you how the model handles your data and your edge cases.
There is a second reason to care about the layer around the model. If you can swap models without a rewrite, you are not locked to anyone, which is the whole argument in you don't own your AI stack.
We saw this play out on a white-label AI platform build. The interesting engineering was not the model. It was multi-tenant isolation, real auth, and routing between models from one interface so no single vendor could hold the platform hostage.
Model choice is the easy 20% of the project. The stack around it, retrieval, logging, and a gateway that can swap models without a rewrite, is where the real work goes.
So prioritise the boring parts. Get the licence right. Get retrieval working. Get logging in before you scale traffic. The model swap, when it comes, is easy if everything else is solid.
Ready to go from prototype to production?
Everything above gets you a working proof of concept. Turning that into something a business runs on, with the licensing checked, the stack hardened and the logging wired in, is a different scope of work.
Devwiz has shipped 200+ apps and platforms since 2015, for clients including the NSW Government, Briometrix, Vivid and Huskee. We build AI platforms that hold up past the demo.
A typical build runs the same way each time. Shortlist two or three models against real usage data. Stand up the vector store and retrieval layer alongside the chosen model. Wire in logging before the first real user touches it.
If you are starting from a prototype, our AI app development team is where that begins. If you are turning a working model into something you sell to many customers, AI platform builds is the better fit. It is also worth reading how to pick your AI stack before you commit.
Tell us what you are building and what the data rules are, and we will map what self-hosting would actually cost you.
Frequently asked questions
Are there any truly open-source LLMs?
Yes, but they are rarer than the marketing suggests. OpenLLaMA and BLOOM release training data, code and weights under genuinely open licences. Most 'open' models release weights only.
What are the top open-source LLMs to consider in 2026?
Mistral-7B, Mixtral, the Qwen series, MPT-7B and MPT-30B, Llama and OpenLLaMA, and OpenAI's gpt-oss cover most engineering jobs, from light retrieval through to coding and multilingual work.
What is an open-source LLM?
A large language model released with its weights, and ideally its training code and data, under a licence that lets you inspect, change and redistribute it. That is different from a closed model you can only call over an API.
What is the best free open-source LLM to start with?
Mistral-7B is a strong first pick. It is Apache 2.0 licensed, runs on modest hardware once quantised, and handles structured tasks like retrieval well without heavy infrastructure.
Is self-hosting an LLM cheaper than a managed API?
Only above a certain volume. At real scale, self-hosting with vLLM usually wins on cost. Below that line, a managed API is often cheaper than the engineering hours needed to run infrastructure your team has never run before.
About James Killick
10+ years building digital products · 200+ apps shipped since 2015
James is a co-founder of Devwiz and an AI product specialist. Since 2015 he has helped ship 200+ apps for founders, businesses and government, including work for NSW Government, Briometrix and Huskee. He builds AI-first platforms and writes about turning a proven program into software. He also hosts the Up in the AI podcast.
More articles by James · James's personal site · LinkedIn · AI Orchestrators
Tags: AI Platforms, AI Integration, RAG


