AI
Open Weights vs Open Source AI: What It Means
Open weights vs open source AI: what each releases, the OSI definition, licences like Llama, Apache and MIT, fully open models and what it means for you.
In open weights vs open source, the difference is how much of the model you get. An open-weight model publishes its trained parameters (the weights), so you can download, run and often fine-tune it, but usually not the training data or full training code, and often under a licence with restrictions. A truly open source AI model, under the Open Source Initiative's definition, also gives you enough information about the training data, plus the code used to train and run it, under terms that let anyone use, study, modify and share it for any purpose. Most popular "open" models, including Meta's Llama family, are open weights rather than open source in that strict sense.
This guide explains what each term means, compares them with closed models, explains the main licences, lists examples, and shows what the differences mean in practice for developers and businesses.
What Are Open Weight Models?
A model's weights are the billions of numbers learned during training; together with the model architecture, they're what you need to run it. Open weight models publish these weights for anyone to download, usually through platforms like Hugging Face.
With open weights you can typically:
- run the model on your own hardware or cloud,
- fine-tune it on your own data,
- quantize it to run on smaller machines,
- inspect its outputs and behaviour in detail.
What you usually don't get:
- the full training data, or detailed information about it,
- the complete training code and recipes,
- intermediate checkpoints and training logs,
- always-permissive licence terms: some open-weight licences restrict commercial use, large companies or certain uses.
Our guide on how to run an LLM locally shows what you can do with open weight models on your own computer.
What Is Open Source AI?
The Open Source Initiative (OSI), which maintains the definition of open-source software, published the Open Source AI Definition 1.0 in October 2024. It says an open source AI system must grant the freedoms to use, study, modify and share it for any purpose, and must provide the "preferred form" for making changes, which includes:
- Data information: detailed information about the training data, including its sources, characteristics and how it was processed, so a skilled person could build a substantially equivalent system. It doesn't require publishing all data, since some can't legally be shared, but it does require detailed descriptions.
- Code: the complete source code used to train and run the system.
- Parameters: the model weights and other parameters, under open terms.
Under this definition, a model with downloadable weights but secret training data and a restrictive licence isn't open source. Some critics argue the OSI definition is still too permissive because it doesn't require releasing all training data; others think it's a practical compromise.
Open Weights vs Open Source vs Closed Models
| Closed models | Open weight models | Open source AI (OSI) | |
|---|---|---|---|
| Weights available | No; access through an app or API | Yes | Yes |
| Run on your own hardware | No | Yes | Yes |
| Fine-tune | Only through the provider's tools, if offered | Yes | Yes |
| Training data | Not disclosed | Usually not disclosed | Detailed information required |
| Training code | No | Sometimes partial | Yes |
| Licence | Terms of service | Varies: from permissive to restricted | Must allow any use, study, modification and sharing |
| Examples | Leading commercial assistants accessed by API | Llama, Gemma, many Mistral, Qwen and DeepSeek models, OpenAI's gpt-oss | Fully open research models such as AI2's OLMo and EleutherAI's Pythia |
In the wider debate over open vs closed models, the middle column is where most real choices happen. Many open weight models use licences that are open source in the software sense, such as Apache 2.0 or MIT, but still don't release their data or full training process, which keeps them short of the OSI's AI definition.
Open Weight Model Licences
The licence matters more than the label. Common types:
- Permissive open-source licences (Apache 2.0, MIT): allow commercial use, modification and redistribution with minimal conditions. Examples include OpenAI's gpt-oss models (Apache 2.0), many Mistral and Qwen models (Apache 2.0) and DeepSeek-R1 (MIT).
- Custom community licences: for example, Meta's Llama licences allow broad use, including commercial use, but add conditions such as an acceptable use policy and a requirement for a separate licence for companies above a very large monthly active user threshold (700 million). The OSI has said such restrictions mean these models aren't open source.
- Custom terms with use restrictions: such as Google's Gemma terms, which allow commercial use but prohibit certain uses.
- Research or non-commercial licences: allow experimentation but not commercial products.
Always read the licence for the exact model version you plan to use, including any acceptable use policy, attribution requirements, and terms for derived models.
Open Weights vs Open Source: Why It Matters
For developers and businesses
- Commercial use: permissive licences are simplest; custom licences may restrict who can use the model or for what.
- Control and privacy: both open weights and open source let you run models on your own infrastructure, keeping data private.
- Customization: both allow fine-tuning; our guide to LoRA vs QLoRA explains how to fine-tune open models on modest hardware.
- Vendor independence: you aren't dependent on one provider's API, prices or model retirement schedule.
For researchers and auditors
- Understanding and safety research often needs the training data and process, not just the weights, to study bias, memorization or capabilities.
- Reproducibility: only fully open models can be retrained and independently verified.
- Data rights: knowing what data was used matters for copyright and privacy questions.
For regulation
Under the EU AI Act, providers of general-purpose AI models released under free and open-source licences get some exemptions from documentation obligations, unless the model is considered to pose systemic risk. How "open source" is defined therefore has legal consequences, which is one reason the terminology debate matters.
Open Source LLM Examples
The best-known open source LLM examples in the strict sense come from research groups that release everything:
- AI2's OLMo models: weights, training code, training data and logs.
- EleutherAI's Pythia suite: models trained on public data with released checkpoints, for research into how models learn.
Most models people call an open source LLM in everyday conversation, such as Llama, Qwen, Mistral, Gemma, DeepSeek and gpt-oss, are more precisely open weight models, with varying licences.
A Short History of Open Models
The debate over open weights vs open source grew with the models themselves:
- 2019: OpenAI released GPT-2 in stages, worried at first about misuse, before publishing the full weights.
- 2021–2022: EleutherAI released GPT-J and GPT-NeoX, trained on its public Pile dataset, and the BigScience research collaboration released BLOOM under a licence with use restrictions.
- 2023: Meta's first LLaMA models went to researchers under a non-commercial licence, and the weights quickly spread online. Llama 2 followed with a custom licence that allowed commercial use, and Mistral 7B arrived under Apache 2.0.
- 2024: the Open Source Initiative published its Open Source AI Definition, and fully open models such as AI2's OLMo released their data and training code.
- 2025: DeepSeek-R1 was released under the MIT licence, and OpenAI published its first open weight models since GPT-2, gpt-oss, under Apache 2.0.
Each step made strong models easier to download and run, while the question of what counts as open became a matter of licences and data rather than just access to weights.
Is Open Weight the Same Thing as Open Source?
No. Open weights means the trained parameters are published. Open source, as the OSI defines it for AI, also requires the code and detailed information about the training data, and terms that allow any use. Some open weight models come close, with permissive licences, but most don't release their data.
How to Choose an Open Model
- Check the licence for commercial use, user-count thresholds and prohibited uses.
- Check the size and hardware needs: can you run it on your GPU or server, perhaps quantized? Our guide to GGUF vs Safetensors covers the common file formats.
- Test on your own tasks, not just public benchmarks.
- Check language support and context length for your use case.
- Consider transparency needs: if you must explain training data to regulators or customers, a fully open model may be worth the trade-off in capability.
- Plan updates: open models don't update themselves; you decide when to switch versions.
Where to Download Open Weight Models
Most open weight models are published on Hugging Face, usually with a model card that describes the model, its intended use and its licence. Tools such as Ollama also keep their own libraries of ready-to-run versions. Before you download, read the licence file rather than the headline, prefer the safetensors format over older pickle-based files, and get the model from the developer's official account rather than a re-upload.
To run them on your own computer, apps such as Ollama, LM Studio and llama.cpp load quantized versions: compressed copies that need far less memory, often in the GGUF format. Those versions are usually made by community members rather than the original developer, so check who published them and that the licence carries over. The largest open weight models still need a GPU server or a cloud host.
Common Misunderstandings
- "Open weights means I can do anything with it." Not always; licences can restrict use.
- "Open source AI means I get the training data." Under the OSI definition you get detailed information about it, not necessarily the data itself.
- "Closed models are always better." The gap has narrowed a lot; open weight models are competitive for many tasks, especially when fine-tuned.
- "Open models are unsafe and closed ones are safe." Both have risks; openness enables independent safety research but also removes provider-side controls once weights are released.
FAQ
What is the difference between open weights and open source?
Open weights means a model's trained parameters are published for download and use, often under a licence with conditions. Open source AI, under the OSI definition, also requires the training and inference code and detailed information about the training data, with terms that allow anyone to use, study, modify and share the model.
Is Llama open source?
Llama models are open weight models released under Meta's custom licences, which include an acceptable use policy and a separate-licence requirement for very large companies. The Open Source Initiative says these restrictions mean Llama isn't open source by its definition.
What are examples of open weight models?
Popular examples include Meta's Llama, Google's Gemma, models from Mistral, Qwen and DeepSeek, and OpenAI's gpt-oss. Their licences range from permissive (Apache 2.0, MIT) to custom terms with restrictions.
What is a truly open source AI model?
A model that releases its weights, the code used to train and run it, and detailed information about its training data, under terms allowing any use and modification. Research models like AI2's OLMo and EleutherAI's Pythia are common examples.
Can I use open weight models commercially?
Often yes, but it depends on the licence. Apache 2.0 and MIT licensed models allow commercial use with few conditions; custom licences may add restrictions. Always read the licence for the specific model version.