Open models

Open-source AI models explained: open weights vs open source

Many "open" AI models are open weights, not open source. Here is what a model is, what the OSI definition asks for, and why licences differ.

By Laner Labs Learning teamPublished 5 min read

The friendly Laner helper

Short answer: "open-source AI" and "open-weight AI" are different things, and many models people call open are only open weight. Open weight means you can download the trained model files. Open source, as the Open Source Initiative (OSI) defines it for AI, asks for much more. This guide explains the words in plain English so you can read a model page with confidence.

What an AI model actually is

An AI model is a file, or a set of files, that has learned patterns from a large amount of training data. You send it an input, such as a question, and it produces an output, such as an answer. The OSI describes a model as made of three parts: the model architecture, the model parameters (including the weights), and the inference code used to run it.

The weights are the learned numbers inside the model. Think of them as everything the model "remembers" from training. To run a model on your own computer, you need its weights. LM Studio's documentation says this directly: to run a model locally you need access to its weights, often shared as one or more files ending in .gguf or .safetensors.

Training data and training code are separate things. The data is what the model learned from. The training code is the recipe used to turn that data into weights. A company can share the finished weights without sharing the data or the recipe.

Open weights: you can download and run the model

An open-weight model is one whose weights are published so that anyone, subject to the licence, can download them. You can usually run the model on your own hardware, test it, and sometimes adapt it to your own needs. That is a real benefit. It gives you more control than a service you can only reach through a website.

Open weight does not tell you what data the model was trained on, how it was filtered, or whether you may use it for any purpose. Those answers sit in the licence and in the model card, which is the documentation page that comes with the model.

Open source AI: what the OSI definition asks for

The OSI published the Open Source AI Definition, version 1.0. It says an Open Source AI is a system made available under terms that give people four freedoms: to use the system for any purpose without asking permission, to study how it works and inspect its components, to modify it for any purpose, and to share it with or without modifications.

To make those freedoms real, the definition says people must have access to the preferred form for making modifications. For a machine-learning system, it lists three elements:

  • Data information: detailed enough information about the training data that a skilled person could build a substantially equivalent system.
  • Code: the complete source code used to train and run the system, under OSI-approved licences.
  • Parameters: the model parameters, such as weights, under OSI-approved terms.

So a model whose weights are downloadable, but whose training data information or code is not shared, does not meet this definition. That is why careful writers say "open weight" for those releases. The OSI also publishes an FAQ and a checklist on its site if you want to read the detail.

Why licences differ and why you must read them

A licence is the legal permission that comes with a model. Two downloadable models can have very different permissions. Some use well-known licences such as Apache 2.0 or MIT. Others use a custom licence written by the model's maker, which may add conditions about how you may use or share it. Some model pages also ask you to log in and accept terms before the files are released to you.

For example, on Hugging Face the page for Meta's Llama 3.1 8B Instruct shows a Llama 3.1 licence and uses a gated download. Google's Gemma 4 31B page, at the time we checked, links to a Gemma licence page and tags the model Apache 2.0. Licence wording and tags can change, so treat this as a reminder to read the live page rather than a ruling.

We are not lawyers, and this article is not legal advice. If you plan to use a model in a product or in a business, have someone qualified read the licence for your case.

A simple checklist for reading a model page

  1. Find the licence name on the model page and open the full text.
  2. Check whether you must accept terms or request access before downloading.
  3. Look for limits on commercial use, on the size of your user base, or on what you may build with the outputs.
  4. Read the model card for the training data information it gives, and for stated limits and risks.
  5. Note who made the model and where the files are hosted, and download only from the official page.
  6. Test the model on your own examples before you rely on it.

What this means for you

If you want to learn, experiment, or keep your data on your own machine, open-weight models are a good place to start. If your work depends on clear legal freedom to modify and share, look more closely at the licence and at how much of the system is shared. Neither label is a quality mark. A smaller open model can be a good fit for a narrow job, and a larger one can still make mistakes.

Features, licences and model pages differ by maker and change over time. Check the current page before you decide.

Official pages to check

  • Official pages to check: opensource.org/ai/open-source-ai-definition (the OSI definition), huggingface.co/docs/hub/en/repositories-licenses (how licences work on Hugging Face), and lmstudio.ai/docs/app/basics (a plain note on open-source and open-weights terms).

Good to know

When a model is called "open", ask one more question: open how? Weights, code, data information, or all three?

Our open model courses walk through these ideas step by step, with practice reading real model pages.

Common questions

Is an open-weight model the same as an open-source model?

No. An open-weight model lets you download its trained weights. An open-source AI system, as the Open Source Initiative defines it, must also share the data information and the code used to train and run it, under approved terms. A model can be open weight without meeting that bar.

Can I use any downloadable model for work?

Not automatically. Each model comes with its own licence, and some have extra conditions or require you to accept terms before you download. Read the licence on the model page and ask your legal or IT team if the use is for a business.

Does the word "open" mean the model is safe or accurate?

No. Open describes how the model is shared, not how good, safe or fair it is. You still need to test it on your own tasks and check its answers.

Who decides what counts as open source AI?

There is no single law. The Open Source Initiative, which maintains the Open Source Definition for software, published the Open Source AI Definition 1.0. Other groups and companies use the word "open" in their own ways, so always check the licence itself.

Official pages to check

AI tools change quickly. Check the vendor's current help page before you act, and review anything an AI tool produces before you rely on it.

Share this article