Project6 minutes to read

Open weights vs open source: what the difference is in AI

What open weights means, why a model you can download isn't always open source, and the three layers of openness, told with a cake.

A bakery puts a cake on the counter and says anyone may take one home. You can eat it, slice it, add icing, even sell slices at your own café, depending on what the label on the box says. What you can't do is bake that cake again from scratch. You don't have the recipe, you don't know which flour went in, and you never saw the oven.

That's the difference between an AI model with open weights and one that's open source. Most of the models people call "open" are cakes on the counter. A few come with the recipe card and the shopping list too. This post walks through the layers, so the next time you read "open model" you know which one you're looking at.

What the weights are

A language model is, in the end, a very large file of numbers. During training, a computer reads an enormous amount of text and keeps nudging those numbers until the model gets good at guessing the next piece of a word. When training stops, the numbers are fixed. Those fixed numbers are the weights (also called parameters).

The sizes are big. Meta's Llama 2, released in 2023, came in sizes of 7, 13 and 70 billion parameters. Each parameter is one number the model learned.

The weights are the finished cake. With them, and a program that knows how to read them, you can run the model on your own computer, ask it questions, and even train it a little further on your own text to change how it behaves. That's a lot of freedom, and it's why open weights matter so much.

But a cake is the result of baking. It doesn't tell you how the baking was done.

The three layers of openness

It helps to think of an AI model as three things that can each be shared or kept back.

The cake: the weights

This is the layer most "open" models share. You can download the file and use it. Whether you may use it in a business, change it, or pass it on is set by its licence, which is the label on the box. Some labels are short and allow nearly anything. Others come with conditions.

The recipe: the code

There are two kinds of code here, and they're easy to mix up. One is the code that runs the model, reading the weights and producing an answer. That's usually public, partly because many independent programs can run the same weights. The other is the code that trained the model: how the text was cut up, in what order it was fed in, how long training lasted, which settings were used. That's the actual recipe, and it's often kept private, or only described in a paper in general words.

The shopping list: the data

The text a model learned from shapes almost everything about it: what it knows, which languages it handles well, what habits it picked up. Training data is the layer that's shared least often. Sometimes it's because the collection is huge and messy, sometimes because of copyright questions, sometimes because a company sees it as its advantage. Whatever the reason, without the data nobody outside can check where a model's knowledge came from, or bake the same cake again.

A model that shares all three, with a licence that lets anyone use, study, change and share them, is open source in the full sense. A model that shares only the first is open weights.

Why the two get confused

In ordinary software, "open source" has a settled meaning. The source code is the program, more or less. Publish the code and anyone can rebuild the program exactly, study it and change it.

AI models broke that neat picture. The weights look like the program, because they're what you run. But they're the output of a process, and the process is what you'd need to understand or repeat the work. So companies started calling their models "open" or even "open source" when they published the weights alone, and the words drifted.

The Open Source Initiative, the organisation that has looked after the definition of open source software for decades, published an Open Source AI Definition in 2024. It asks for the weights, the code, and enough information about the training data that a skilled person could build a similar model. By that measure, many well-known "open" models fall short.

So, is Llama open source

Meta describes its Llama models as open source. You can download the weights, and the code to run them is public. But the weights come under Meta's own community licence, which adds conditions about who may use them and how. The training data isn't published, and the full training process isn't something you could repeat from what's shared. The Open Source Initiative has said Llama's licence doesn't meet its definition.

In cake terms, Llama is a very good cake on the counter, with a label that has some small print. It's open weights. Calling it open source is a stretch, and that's a fair thing to know before you build anything on it.

There are models that go further. The Allen Institute for AI's OLMo models, for example, were published with their training data and training code as well as the weights. BLOOM, from the BigScience project in 2022, was also built with its process made public. These are closer to a cake that comes with the recipe card, the shopping list and a tour of the kitchen.

How to check a model for yourself

You don't have to take anyone's word for how open a model is. On the page where a model is published, look for three things.

  1. The licence. Read its name, and if it isn't a well-known one, read the conditions. This tells you what the label on the box allows.
  2. The training code. Look for a link to the code that trained the model, beyond the code that runs it. A paper that describes training in general words isn't the same thing.
  3. The data. Look for the actual dataset, or at least a detailed list of what went in. "A mix of public web text" doesn't count as a shopping list.

If you find only the first, you're holding open weights. If you find all three, you're holding something you could, with enough computers, bake again.

Where DeepNile fits

DeepNile is a network of ordinary home computers that run large open AI models together. For that to work at all, we need the cake on the counter. The program, which isn't released yet, is planned to cut a model's weights into parts and fetch a part to each computer. A model whose weights stay locked in one company's data centre can't be cut up and shared between homes.

Our own code is a separate matter. When this was written, in November 2026, the program was not released yet and the code was not open yet. It will be under the Apache-2.0 licence when it opens. What is public already is the work behind it. The Lab lists every idea we tried, the failed ones too: 226 of them, counted on 25 November 2026. That's our version of showing the kitchen as well as the cake.

If you'd like to see what was tried, what was kept and what was closed, the Lab.org has every entry with its numbers, and Why DeepNile.org sets out what we mean by everything in the open.

More about the Project

All posts about the Project