8 Open Source LLMs Worth Running in Production
Open-weight models now cover chat, code, reasoning and on-device work. Compare eight strong open source LLMs by licence, size and best fit.
On this page
Short answer
The open source LLMs worth running in production are Qwen 3, DeepSeek V3 and R1, Llama 4, Mistral Large 3, Gemma 4, gpt-oss, GLM-5.2 and OLMo 3.1. They cover chat, coding, reasoning and on-device work under Apache 2.0, MIT or vendor community licences, and the right pick depends on your hardware, licence needs and workload.
Which open source LLM should you compare first?
Open source LLMs are models whose weights you can download, run on your own hardware and fine-tune for your own data. Most ship under Apache 2.0 or MIT licences, while a few use vendor community licences with conditions, so check the licence before you commit. For the wider picture of running models yourself, see LLM development.
Use this comparison to shortlist. Model releases move fast, so confirm the current version and licence on the model card before you build on it.
| Model | Developer | Licence | Best for |
|---|---|---|---|
| Qwen 3 | Alibaba | Apache 2.0 | Multilingual and coding |
| DeepSeek V3 / R1 | DeepSeek | MIT | Reasoning |
| Llama 4 | Meta | Community licence | Ecosystem and tooling |
| Mistral Large 3 | Mistral AI | Apache 2.0 | European deployment |
| Gemma 4 | Apache 2.0 | On-device and multimodal | |
| gpt-oss | OpenAI | Apache 2.0 | Single-GPU serving |
| GLM-5.2 | Z.ai | MIT | Agentic coding |
| OLMo 3.1 | Ai2 | Apache 2.0 | Fully open research |
Pick two or three models that fit your hardware and test them on your own tasks. Public leaderboards rank general ability, but your workload is what matters.
Qwen 3 and DeepSeek V3: the two workhorses
1. Qwen 3: best for multilingual work and coding
Qwen 3 is Alibaba's open model family, with dense models from 0.6B to 32B parameters and a mixture-of-experts model at 235B total parameters. It supports 119 languages, offers a thinking mode for reasoning and ships under Apache 2.0, which makes legal review simple.
Its strength is range: one family covers a phone-sized model and a large server model with the same chat format, so a team can standardise on one stack. The coder variant is a strong pick for code generation and tool use.
Pros:
- Apache 2.0 licence with no usage gate
- Wide size range with one format
- Strong multilingual coverage
Cons:
- Very large variants need multi-GPU servers
- Thinking mode adds latency on simple tasks
2. DeepSeek V3 and R1: best for reasoning
DeepSeek V3 and its reasoning sibling R1 are 671B-parameter mixture-of-experts models with 37B active parameters per token, released under MIT. They are the open models most often cited for frontier-class reasoning, maths and code.
The catch is hardware: serving the full model at native precision needs a multi-GPU node. Distilled versions from 1.5B to 70B parameters run on a single GPU and keep much of the reasoning behaviour for narrower tasks.
Pros:
- MIT licence with few restrictions
- Strong reasoning and code ability
- Distilled versions for smaller hardware
Cons:
- Full model needs serious GPU capacity
- Large context work needs careful memory planning
Llama 4 and Mistral Large 3: ecosystem and Europe
3. Llama 4: best for ecosystem and tooling
Llama 4 is Meta's open model family, with Scout at about 109B total parameters and Maverick at about 400B, both mixture-of-experts designs with 17B active parameters. It handles text and images and ships with the largest community, the most fine-tunes and the broadest tooling of any open family.
The licence is a community licence, not Apache 2.0, and it carries conditions that legal teams should read before commercial use. For teams that want the most examples, integrations and hosted options, that trade-off is often worth it.
Pros:
- Largest community and fine-tune base
- Multimodal input in the main models
- Broad serving and hosting support
Cons:
- Community licence needs a legal read
- Largest variant needs multi-GPU serving
4. Mistral Large 3: best for European deployment
Mistral Large 3 is the large open model from Mistral AI, built in Europe with strong coverage of European languages. It ships under Apache 2.0, which suits teams that need a permissive licence and data residency inside Europe.
Mistral also offers smaller models, including Mistral Small and Ministral, for teams that want a cheaper assistant or an on-device model. The family is a good default when sovereignty and licence simplicity matter more than raw size.
Pros:
- Apache 2.0 licence
- Strong European-language coverage
- Smaller siblings for cheap serving
Cons:
- Smaller community than Llama or Qwen
- Fewer ready-made fine-tunes
Gemma 4 and gpt-oss: small footprints, real work
5. Gemma 4: best for on-device and multimodal work
Gemma 4 is Google's open model family, with sizes up to 31B parameters and smaller variants down to a few billion. It handles text, images and audio in one design and ships under Apache 2.0, which makes it a clean pick for products that run on a phone or a single GPU.
Its strength is efficiency: a small Gemma model can run where a large model cannot, and it is a good base for fine-tuning on a narrow task. It is not the pick for frontier reasoning, but it rarely needs to be.
Pros:
- Apache 2.0 licence
- Runs on modest hardware
- Multimodal in one model
Cons:
- Not a frontier reasoning model
- Smaller context than the largest models
6. gpt-oss: best for single-GPU serving
gpt-oss is OpenAI's open model, offered in 120B and 20B versions under Apache 2.0. The 20B version runs in about 16 GB of memory, so it fits on one consumer GPU, while the 120B version runs on a single 80 GB GPU.
It suits teams that want an OpenAI-style model they can run themselves, with tool calling and reasoning built in. The context window is 131K tokens, which covers most document and chat workloads.
Pros:
- Apache 2.0 licence
- 20B version fits one GPU
- Tool calling and reasoning included
Cons:
- Newer family with a smaller fine-tune base
- 120B version still needs a large GPU
GLM-5.2 and OLMo 3.1: agents and full openness
7. GLM-5.2: best for agentic coding
GLM-5.2 is Z.ai's large open model, a 754B-parameter mixture-of-experts design with 40B active parameters and a context window of up to 1M tokens. It ships under MIT and is aimed at long agentic coding sessions, where the model plans, writes and tests code over many steps.
It is a heavy model to serve, so it suits teams with multi-GPU capacity and a real agent workload. For shorter tasks, the smaller GLM flash variant offers similar behaviour at lower cost.
Pros:
- MIT licence
- Very long context for agent work
- Strong coding focus
Cons:
- Needs multi-GPU serving
- Overkill for simple chat tasks
8. OLMo 3.1: best for fully open research
OLMo 3.1 is Ai2's open model, a 32B-parameter dense model with training data, code and checkpoints published alongside the weights. It ships under Apache 2.0 and is the most transparent model on this list.
That openness matters for research teams and regulated work, where you need to show what the model trained on and how it was built. If you plan to run it yourself, how to deploy an LLM on premise covers the setup. For pure production chat, other models on this list are stronger, but none is as open.
Pros:
- Training data and code published
- Apache 2.0 licence
- Clear audit trail for research
Cons:
- Less capable than the largest models
- Smaller community than Llama or Qwen
How to choose an open source LLM
Choose an open model by testing it on your own work, not by reading a leaderboard. A model that tops a general ranking can still fail on your documents, your language mix or your latency budget.
- List your workloads. Chat, code, reasoning and on-device work need different models.
- Check the licence. Apache 2.0 and MIT are simple; community licences need a legal read.
- Match the size to your hardware. A model you cannot serve is not a real option.
- Run your own evaluation. Twenty real tasks with known good answers beat any public score.
- Plan the serving stack. Pick the runtime, the GPU setup and the monitoring before launch.
Keep the shortlist to two models for the trial. More than that slows the decision without improving it. For help picking the right base model, see how to choose an LLM for business.
What are the common mistakes?
The most common open source LLM mistakes are picking by leaderboard, ignoring the licence, and underestimating the serving cost.
- Choosing the largest model when a small one passes your tests.
- Skipping the licence read on community-licensed models.
- Serving a model without an evaluation set, so quality drifts unnoticed.
- Fine-tuning before testing the base model with good prompts.
- Running a model on hardware that cannot hold it, then blaming the model.
An open model is only cheap if it runs well on hardware you already have. Test on your tasks, read the licence and size the serving stack before you commit. For the cost side of running models yourself, read self-hosting LLMs cost.
Key takeaways
- Most open models ship under Apache 2.0 or MIT; a few use vendor community licences
- Qwen 3 and DeepSeek V3 are the workhorses for coding, multilingual work and reasoning
- Llama 4 has the largest community; Mistral Large 3 suits European deployment
- Gemma 4 and gpt-oss run on modest hardware; GLM-5.2 suits long agent sessions
- Test two models on your own tasks before you commit to one
Frequently asked questions
What is the difference between open source and open-weight LLMs?
Open-weight models let you download and run the weights, but the training data and code may stay private. Fully open models publish the data, code and checkpoints too. OLMo is fully open, while most others on this list are open-weight under Apache 2.0 or MIT.
Which open source LLM is best for coding?
Qwen 3, DeepSeek V3 and GLM-5.2 are the strongest picks for coding among open models. Qwen 3 has a dedicated coder variant, DeepSeek V3 is strong on reasoning-heavy code, and GLM-5.2 suits long agentic coding sessions. Test all three on your own code tasks.
Can I run an open source LLM on one GPU?
Yes, for smaller models. Gemma 4 and the 20B gpt-oss version run on one consumer GPU, and distilled DeepSeek versions run on a single GPU too. The largest models need several GPUs, so match the model size to the hardware you have.
Are open source LLMs free to use commercially?
Most are, under Apache 2.0 or MIT, but check each licence. Llama 4 uses a community licence with conditions, including limits for very large services. Read the licence text for the exact model version before commercial use.
How do I fine-tune an open source LLM?
Start with the base model and a small set of your own examples, then use a standard fine-tuning framework and evaluate on real tasks. Fine-tuning helps when you need a consistent format or tone, but test the base model with good prompts first.
Do open source LLMs keep my data private?
Running a model on your own hardware keeps prompts and documents inside your systems, which is the main privacy advantage over a hosted API. You still need to secure the server, the logs and any fine-tuning data yourself.