What Are AI Model Weights, and Why Do Companies Guard Them Like Trade Secrets

What Are AI Model Weights, and Why Do Companies Guard Them Like Trade Secrets

🔒 What are AI model weights, and why do companies guard them like trade secrets

Model weights are the billions of numbers an AI learns during training, and those numbers are what decide how the AI answers any given question. Weights plus the network's blueprint are enough to run a whole model, no retraining needed. That is why some AI companies lock their weight files away on private servers, while others publish them for anyone to download.

🧠 A quick everyday analogy

Picture a chef who spends twenty years perfecting a bowl of pho. Through tens of thousands of attempts, tasting, and adjusting, the chef ends up with an extremely precise recipe: exactly how many grams of bone, how many minutes to simmer at what temperature, the exact ratio of each spice. That precise recipe is the chef's "weights", the distilled result of a long learning process.

If the chef writes that recipe down and hands it to someone else, that person can cook the exact same bowl of pho without spending twenty years practicing. AI weights work the same way: they are a "recipe" distilled from learning on trillions of words of text, saved as a data file. Anyone who has that file, and a machine powerful enough to read it, can run that exact AI without training it from scratch.

⚙️ How it actually works

  1. Training produces numbers, not sentences. When a model learns from a huge pile of data, it does not store the sentences it read. It only keeps adjusting billions of numbers inside its neural network so it gets better at guessing the next word. The final numbers, once training ends, are the weights.
  2. A model equals architecture plus weights. The architecture is the "blueprint" of the neural network (how many layers, how they connect), and it is usually published openly in research papers. The weights are what fills in that blueprint, and that part is what costs the real money and time to train.
  3. Running an AI means doing math on its weights. When you type a question, the AI multiplies that question against billions of weight values through many computation steps, then produces an answer. Without the weight file, the architecture blueprint alone does nothing.
  4. "Open weight" means the file is published for download. Anyone can download it, run it on their own machine, and modify it further. Meta's Llama, Alibaba's Qwen, DeepSeek, and Mistral are examples of open-weight models.
  5. "Closed weight" means the file stays only on the company's own servers. You can only send questions through an API or app and get answers back; you never hold the original file. Claude, commercial GPT, and Gemini are closed-weight models.

🎯 What this means for you

  • Why you cannot download Claude or GPT but can download Llama, Qwen, or DeepSeek: the difference comes down to whether the company published its weight file, not which model is "stronger" or "weaker". The post on open source versus closed source in AI explains this distinction in more depth.
  • If you want to run AI on your own machine without sending data anywhere: you need to pick an open-weight model, download the file, then use the right inference software to run it. The original file is often huge, so it is usually compressed with a technique called quantization to fit on an ordinary computer.
  • If you only use AI through an app or website: you are always using a closed-weight model through an API; the company keeps the original file and you only receive the result. This does not affect the quality of the answers you get, only whether you can run that same model somewhere else yourself.
  • When you read news that a company "open-weighted" a new model: understand this is a big deal, because the company just made public the result of training that may have cost millions of dollars, not just a routine software update.

⚠️ Common misunderstandings

  • "Open source AI means you can see all the code." The most important part of a model is actually the weight file, not the code that runs it. The neural network architecture code is usually published openly in a paper long before release, even for closed-weight models.
  • "Having the weight file means you can read what the AI is thinking." Billions of raw numbers carry no meaning when you look at them directly, much like looking at millions of neural connections in a human brain does not immediately tell you what that person is thinking. Understanding what happens "inside" a model is still a hard open problem AI researchers are working on.
  • "Companies keep weights closed just to hide things, with no transparency." The real reasons are usually more complex: training a large model can cost tens of millions of dollars, and the company needs to recoup that cost through paid API access. On top of that, once someone has the raw weights, they can strip away the safety layers added during training, making the model answer dangerous requests that the public API version always refuses.

❓ Frequently asked questions

How are weights different from parameters? Parameters are the "blank slots" in a neural network's math formula, while weights are the specific values filled into each slot after training finishes. Read more in what are AI parameters.

Why does Meta open up Llama while OpenAI keeps GPT closed? This comes down to different business strategies, not technical limitations. Some companies choose open weights to attract a developer community, spread their brand, and benefit indirectly from the ecosystem around the model. Others choose closed weights to sell access through a paid API, charging directly per use.

If I download the weights, can I run the AI right away? Not quite. You still need inference software to read that file, and your machine needs enough memory and processing power. The more parameters a model has, the heavier its weight file, and the more powerful a machine you need, unless you use a quantized, lighter version.

How big is a weight file? It depends on the model's parameter count. A seven-billion-parameter model can be around a dozen gigabytes in full precision, while a seventy-billion-parameter model can reach hundreds of gigabytes, before being compressed down.

Can I keep training a model further once I have its weights? Yes, this is called fine-tuning: you start from existing weights and train further on your own data so the model gets better at one specific task, much faster and cheaper than training an entirely new model from scratch. The original training process that produces the base weights is explained in how AI learns.

Understanding what weights are helps you read AI news with a clearer head: whether a model is "open" or "closed" does not tell you which one is better, only how that company chose to share the result of its training. To understand the whole picture of AI from the ground up, you can start with the foundation guide what is AI.

#AI #ModelWeights #MachineLearning #OpenSource

More articles