What Is AI Model Licensing and Open Weights Explained

A lawyer reviewing software licence documents on a desk

What Is AI Model Licensing and Open Weights Explained

A lawyer reviewing software licence documents on a desk

AI model licensing is the set of legal terms that decides what you may do with a trained AI model: download it, run it, fine-tune it, sell a product built on it, or share it with others. Open weights means the model’s trained parameters are published and downloadable.

The two are not the same thing, and confusing them is how teams end up using a model they have no legal right to use.

Here is the short answer. A model can be downloadable and still restricted: the weights may be free to use under Apache 2.0 or MIT, or they may carry a custom licence such as Meta’s Llama 4 Community License, which caps commercial use at 700 million monthly active users.

Always read the licence that governs the weights, not just the download button.

This guide explains the three-license problem, the difference between open source and open weights, and the licences behind the models people actually use. It also gives a practical checklist for checking a model licence before you download it, and explains why the 700 million user threshold matters.

Key Takeaways

  • A single released model can carry three licences: one for the weights, one for the code, and separate terms for the training data.
  • Apache 2.0 and MIT are the most permissive licences for open-weight models, with essentially no user or revenue cap.
  • Meta’s Llama 4 Community License allows commercial use only below 700 million monthly active users, and excludes EU licensees for multimodal models.
  • Always check the licence, the use policy and any thresholds before downloading a model for work.

A developer browsing AI model pages on a monitor
Open Weights vs Open Source: Three Words That Are Not Synonyms

People use the word open for three different things, and they are not synonyms. You can download the weights, which are the finished numbers a training run learned, often stored in a file format called GGUF. You can see how the model was built, which means the training code and data are published.

Or you may use it at work under a licence, which is a permission, and it is neither a price nor a download button.

A true open-source AI system, under the Open Source Initiative’s Open Source AI Definition, published as version 1.0 in October 2024, must give downstream users enough information about the training data, code and architecture to substantially recreate the system, not just a freely downloadable weights file.

By that standard, most widely used open models, including Meta’s Llama family, Google’s Gemma and Alibaba’s Qwen, do not qualify as open source.

The industry term for this middle category is open-weight. The weights are downloadable and usable under some licence, but the system is not reproducible from the published material.

The Three-License Problem

A single released model can carry up to three legally distinct sets of terms, and you need to check all three before assuming you may reuse a model freely. The weights licence governs use, modification and redistribution of the trained parameter file itself.

The software licence governs the training and inference code, often a standard permissive licence such as Apache 2.0 or MIT, even when the weights themselves carry restrictions.

The training-data terms are the third set, and they are the least visible. They are separate constraints on the data used to train the model, which do not automatically pass through to the released weights and are frequently undisclosed entirely.

These three can diverge sharply on the same release: it is common for the inference code to be Apache 2.0 licensed while the weights carry a bespoke, restriction-bearing licence.

The Main Model Licences in 2026

The most permissive licences for open-weight models are the two standard, OSI-approved ones: Apache 2.0 and MIT. Models under Apache 2.0 include Alibaba’s Qwen3, most of Mistral’s open models, OpenAI’s gpt-oss and Ai2’s OLMo 2. Models under MIT include DeepSeek’s R1 and its later checkpoints, Zhipu’s GLM-4.6 and Microsoft’s Phi-4.

With those licences you can download the weights, self-host, fine-tune, ship a commercial product and keep your outputs, with essentially no user or revenue cap.

Custom licences are the second category, and they carry conditions.

The Llama 4 Community License lets you use the model commercially only if the products or services you offer had fewer than 700 million monthly active users in the calendar month before Llama 4’s release; above that you must request a separate licence from Meta, granted at its sole discretion.

The Llama 4 Acceptable Use Policy also withholds the licence grant for the multimodal Llama 4 models from individuals domiciled in, and companies with a principal place of business in, the European Union.

Google’s Gemma 3 is similar: free to use and redistribute, but bound by a Prohibited Use Policy that Google can enforce remotely. Gemma 4, announced on April 2, 2026, left those terms for Apache 2.0.

Other models use RAIL licences, which are responsible AI licences that ban specific uses, such as generating disinformation or surveillance, and can be revoked if you break the rules.

A stack of legal documents beside a laptop
The 700 Million User Threshold, Explained

The 700 million monthly active user threshold in the Llama licence is the number most guides skip, and it is the term that matters most to large companies.

If your product had more than 700 million monthly active users in the month before Llama 4’s release, you cannot use the model commercially under the community licence. You must ask Meta for a separate licence, and Meta may refuse.

The threshold exists to stop the largest platforms, which compete directly with Meta, from building on Meta’s models for free.

It is a business term dressed as a licence clause.

The EU exclusion works the same way. The Llama 4 Acceptable Use Policy withholds the licence grant for multimodal Llama 4 models from EU-domiciled licensees, which means a European company cannot use those models under the community licence at all.

End users of products that incorporate the models are not affected, but the company building the product is.

ModelLicenceCommercial UseThe Catch
Qwen3, gpt-oss, OLMo 2Apache 2.0Yes, no capKeep the licence and notice files
DeepSeek R1, Phi-4MITYes, no capKeep the copyright notice
Llama 4Llama 4 CommunityYes, under 700M MAUEU exclusion for multimodal models
Gemma 3Gemma Terms of UseYes, with restrictionsProhibited Use Policy
Gemma 4Apache 2.0Yes, no capNone named in the licence
RAIL modelsOpenRAILYes, with use bansLicence can be revoked

How to Read a Model Licence: A Practical Checklist

Reading a model licence is a skill, and it takes ten minutes once you know the steps. Start on the model page, usually on Hugging Face, and check the licence field in the model card and the LICENSE file.

If the field says other, the licence text belongs in LICENSE and its name in the licence name field. Then read the grant, the use policy, the redistribution terms, any user or location thresholds, and the termination clause.

The grant tells you what you may do: is it perpetual and irrevocable, or limited and non-transferable? The use policy tells you what you may not do: many custom licences pull in a list of prohibited uses, such as disinformation, surveillance or illegal activity.

Redistribution terms tell you what you must include when you share the model, usually a copy of the licence and a notice of changes.

Thresholds and termination are the terms that surprise people. A user cap, such as Llama’s 700 million, or a location exclusion, such as the EU rule for multimodal Llama 4, can make a model unusable for your company even though it is free for everyone else.

Termination clauses can end the licence if you sue the publisher or break the rules, so read them before you build on the model.

Model Licence Checklist: Before You Download

Work through this checklist before you download any model for work. It takes ten minutes and saves a legal headache later, and it is the habit that separates teams that use open models safely from teams that do not.

  1. Find the licence text: check the licence field on the model page and read the LICENSE file in the repository.
  2. Name the type: is it a general open-source licence such as Apache 2.0 or MIT, or a custom model licence?
  3. Read the grant: is it perpetual and irrevocable, or limited, non-transferable or revocable?
  4. Read the use policy: does it ban specific uses, and does it apply to your planned use?
  5. Check thresholds: is there a user cap, a revenue cap or a location exclusion that affects you?
  6. Check the other two licences: what governs the code, and what governs the training data?
  7. Re-check every licence the week you download, because they change, and keep a copy of the text you relied on.

Frequently Asked Questions

What is AI model licensing?

AI model licensing is the set of legal terms that governs what you may do with a trained AI model: download it, run it, fine-tune it, sell a product built on it, or share it.

The licence that governs the weights is the document that decides whether downloading and using a given model is lawful, and on what terms.

What does open weights mean?

Open weights means the trained parameters of a model are published and downloadable. It does not mean the model is open source, and it does not mean you may use it however you like. The licence attached to the weights decides what you may do with them, and many open-weight models carry restrictions.

Is Llama open source?

No, by the Open Source Initiative’s definition. Llama’s weights are downloadable, but the training data and training code are not disclosed, so the system cannot be substantially recreated. Llama is open-weight under a custom community licence, not open source, and the licence caps commercial use at 700 million monthly active users.

What is the 700 million user threshold in Llama licences?

The Llama 4 Community License allows commercial use only if your products or services had fewer than 700 million monthly active users in the calendar month before Llama 4’s release. Above that, you must request a separate licence from Meta, granted at its sole discretion. The threshold only affects the largest platforms.

Which AI models are free for commercial use?

Models under Apache 2.0 or MIT are free for commercial use with essentially no user or revenue cap, including Qwen3, gpt-oss, OLMo 2, DeepSeek R1 and Phi-4. Llama 4 is free for commercial use below 700 million users, and Gemma 3 is free but bound by a Prohibited Use Policy.

Always read the licence before you build.

What is a RAIL licence?

A RAIL licence, or Responsible AI Licence, is a licence that bans specific uses of a model, such as generating disinformation, surveillance or illegal content. It is a middle ground between a permissive open-source licence and a closed commercial licence, and it can be revoked if you break the rules.

Can I use an open-weight model at work?

Usually, yes, but check the licence first. Apache 2.0 and MIT models are the safest for work, with few conditions beyond keeping the licence notice. Custom licences such as Llama’s may exclude your company by size or location, so send the licence document to whoever signs contracts before you build on the model.

Conclusion

AI model licensing comes down to one habit: read the licence that governs the weights, not just the download button. Open weights means downloadable, not free to use however you like, and a single model can carry three licences for weights, code and data.

Apache 2.0 and MIT are the most permissive, Llama’s 700 million user threshold only bites the largest platforms, and a ten-minute licence check saves a legal headache later.

For more on using AI responsibly, see our guides to what AI ethics is and why it matters, how to use AI for writing without losing your voice and the best AI productivity tools explained.

on this page