Skip to content
AGI Fans

Open weights vs open source: what “open” means in AI

The difference between open-source, open-weight and closed AI models, what the Open Source AI Definition requires, and what common model licences let you do.

Updated · 4 min read · How guides are written

When a headline says a lab has “open-sourced” a model, it almost always means the lab has released the weights: the file of numbers that is the trained model, which anyone can download and run. That is a real and useful thing. It is usually not open source in the sense the term has had in software for decades, and the licence attached decides what you may actually do with it.

Three kinds of model

ClosedOpen weightsOpen source (OSI definition)
How you use itThrough the maker’s app or APIDownload and run it yourselfDownload and run it yourself
Weights availableNoYesYes
Training code availableNoSometimesYes
Information about training dataLittleVariesEnough to build an equivalent system
Restrictions on useSet by terms of serviceSet by the licence, sometimes manyNone beyond a standard open licence
Can the maker change or withdraw it?YesNo, once you have the fileNo

Closed models are available only as a service. You send text and get text back; the model itself never leaves the company’s servers.

Open-weight models can be downloaded. You can run them on your own hardware, fine-tune them, and inspect them. What you may do with them legally depends on the licence.

Open-source models, strictly, meet a published definition, described next.

What the Open Source AI Definition requires

The Open Source Initiative, the body that maintains the definition of open source for software, released version 1.0 of its Open Source AI Definition in October 2024. It says an open-source AI system must grant the freedoms to use it for any purpose, study how it works, modify it, and share it, and that this requires three things to be available:

  • Data information: “sufficiently detailed information about the data used to train the system so that a skilled person can build a substantially equivalent system”. Not necessarily the data itself.
  • Code: the complete source code used to train and run the system.
  • Parameters: the model weights.

Most models described as open provide the third and not the first two. That gap is why “open weights” exists as a separate, more accurate term.

The licence decides what you can do

Released weights always come with a licence. They fall into two groups.

Standard permissive licences. Apache 2.0 and MIT are long-established software licences. They allow commercial use, modification and redistribution with minimal conditions. DeepSeek, for example, published its R1 reasoning model under the MIT licence.

Custom licences. Many labs write their own. These typically allow free use but add conditions: an acceptable-use policy, limits on commercial use, rules about naming derived models, or the right to terminate. Meta’s Llama models ship under a Llama Community License, and Google’s Gemma models under the Gemma Terms of Use. When Meta described Llama 2 as open source in 2023, the Open Source Initiative responded that it was not, because the licence restricts some uses.

A lab can also use different licences for different models, releasing small ones permissively and keeping stricter terms for larger ones. The licence is always stated on the model’s page on Hugging Face, where most weights are published. It is worth thirty seconds of reading before you build anything.

Why labs release weights

The reasons are a mix of principle and strategy:

  • Adoption. A model that anyone can run becomes a standard that tools and other companies build on.
  • Research. Outside researchers can study and improve it.
  • Competition. Giving away what a rival sells is an effective way to weaken that rival.
  • Trust and control. Governments and businesses that will not send data to another company’s servers can run the model themselves.

Why it matters to you

You can run it yourself. No per-token bill, no data leaving your machine, and it works offline. How to run an LLM on your own computer explains how.

It cannot be taken away. A closed model can be changed, repriced or retired. A downloaded file stays the same.

It can be adapted. Open weights can be fine-tuned on your own data in ways an API rarely allows.

The trade-off. The most capable models at any given moment have usually been closed, and running a large open model well needs serious hardware.

Open weights and safety

Openness cuts both ways, and it is a live argument in safety and policy coverage. Anyone can test an open model for flaws, which closed models do not permit. Equally, anyone can remove the safeguards from an open model, and a released model cannot be recalled.

Regulation has started to draw the line. The EU’s AI Act exempts providers of general-purpose models released under a free and open-source licence from some documentation duties, provided the weights, architecture and usage information are public. The exemption does not apply to models classed as posing systemic risk.

How to read “open” in a headline

  1. What was released? Weights only, or code and training details too?
  2. Under which licence? Apache 2.0 or MIT, or the lab’s own?
  3. Does it allow your use? Especially commercial use and redistribution.
  4. How big is it? A model you are free to run is only useful if you have hardware that can run it.

New open releases appear on the open models and local AI page, and new versions of the tools that run them in the Releases lane. For what else to check in an announcement, see How to read a model release.

Common questions

Is Llama open source?

Meta has called its Llama models open source, but the Open Source Initiative has said the Llama licence does not qualify, because it places restrictions on use. Open weights under a custom licence is the more accurate description.

Can I use an open-weight model commercially?

It depends entirely on the licence. Models under Apache 2.0 or MIT can be used commercially with few conditions. Custom licences vary: some allow commercial use with an acceptable-use policy attached, some restrict it. Read the licence on the model’s page before building on it.

Are open models safer or more dangerous than closed ones?

Both arguments are made. Open weights can be inspected and tested by anyone, and cannot be withdrawn or changed by the maker. For the same reason, safeguards built into them can be removed by whoever downloads them.