Open Model Licensing Explained: What You Can Actually Do with Open Weights

Open Model Licensing Explained: What You Can Actually Do with Open Weights

Open model licensing explained in plain terms: a licence is the document that says what you are allowed to do with a model’s weights, and it matters more than the word open in the model’s name. Open weights are not the same as open source, and two models from the same company can carry completely different terms. The central question is whether you can use a model commercially, modify it and redistribute it, and the short answer is that permissive licences such as Apache 2.0 and MIT say yes with attribution, while custom community licences say yes with conditions you must read carefully.

Getting this wrong is expensive. A team that builds a product on a model whose licence forbids its use case, or that ignores a user threshold, can face a forced rebuild or a licensing dispute at the worst possible moment. The fix is simple and cheap: read the licence file in the model’s own repository before you deploy it, and record what it allows. This article explains how to do that.

Key takeaways

  • Open model licensing decides what you can do with a model’s weights, and open weights are not the same as open source.
  • Apache 2.0 and MIT are permissive licences that allow commercial use, modification and redistribution with attribution.
  • Custom community licences, such as Meta’s Llama Community Licence, add conditions including a 700 million monthly active user threshold and naming rules.
  • Check the licence per model, never per vendor, because one company can ship models under several different licences.
  • The licence travels with fine-tunes and derivatives, so a model built on restricted weights inherits the restriction.

Open weights are not open source

The phrase open source has a precise meaning, set by the Open Source Definition, which forbids discriminating against any person, group or field of use. Many model licences fail that test because they restrict who can use the model, at what scale, or for what purpose. Those models are open-weight, meaning the weights are published and downloadable, but they are not open source in the strict sense. The distinction is not pedantry: it decides whether the usual open-source assumptions about freedom to use, modify and share actually apply.

The Open Source Initiative published an Open Source AI Definition in October 2024, which asks for the data information, the training and inference code, and the parameters. Few widely used models meet all of it. For practical purposes, what matters is not the label but the licence text. Read the file, note the conditions, and decide on that basis. If the licence is unclear, ask your legal adviser before building on the model.

Apache 2.0: the permissive default

Apache 2.0 is the most common permissive licence for open-weight models, and it is the one most teams hope to find. It allows commercial use, modification and redistribution, and it asks for three things in return: keep the copyright and permission notices with the work, preserve any NOTICE file the project ships, and note the files you changed. It also grants an explicit patent licence from every contributor, which is revoked only if you sue them over patents in the work. For model weights, that patent grant matters more than it looks, because training methods are patented. Best for: teams that want the fewest restrictions and the clearest commercial rights.

Models under Apache 2.0 include Qwen3 from Alibaba, Mistral’s open line including Mistral Small and Devstral, gpt-oss, IBM Granite and OLMo. The pattern is consistent: a permissive licence, a short usage policy in some cases, and no user threshold. If every model you use is Apache 2.0, licensing is a solved problem, and the only work is keeping the notices in place.

MIT: the shortest permissive licence

The MIT licence is shorter than Apache 2.0 and asks for only one thing: keep the copyright and permission notice with the work. It allows commercial use, modification and redistribution, and it carries no patent grant and no user threshold. Its brevity is its appeal, and its weakness is that it says nothing about patents, which is one reason some teams prefer Apache 2.0 for models. Best for: teams that want the simplest possible licence terms.

Models under MIT include DeepSeek R1 and the V3 releases from March 2025 onward, as well as Phi-4. DeepSeek’s R1 model card goes further than the bare licence and states that the series supports commercial use, modification and derivative works. That is about as few strings as a frontier-class open model gets, which is one reason R1 became so widely deployed so quickly.

The Llama Community Licence: generous but conditional

Meta’s Llama models ship under the Llama Community Licence, a custom licence that is generous but not open source. It permits commercial use, but with conditions that teams must take seriously. The best-known is the size threshold: if the products or services of you or your affiliates had more than 700 million monthly active users in the calendar month before the model’s release, you must request a separate licence from Meta, and you have no rights until Meta grants it. For most teams that threshold is far away, but for a large platform it is the whole decision. Best for: teams below the user threshold that want a well-supported model family with a huge ecosystem.

Other conditions include a naming rule: since Llama 3.1, any model you build from Llama weights must have Llama at the start of its name. The licence also requires compliance with applicable law and with Meta’s Acceptable Use Policy, which is incorporated by reference and groups prohibited uses into broad areas such as illegal activity, uses that endanger people, deception, and failing to disclose known risks. Since Llama 3.2, the multimodal models grant no rights to individuals domiciled in, or companies with a principal place of business in, the European Union, and Llama 4 carried a similar restriction. One change that helped many teams: Llama 2 and Llama 3 prohibited using the model’s outputs to improve any other large language model, but Llama 3.1 dropped that restriction in July 2024, which is why distilling from Llama became common afterwards.

Mistral, Qwen and Gemma: check per model

Mistral is the clearest lesson that you must check the licence per model, never per vendor. Its open line, including Mistral 7B, Mixtral 8x7B, Mistral Small and Devstral, is under Apache 2.0, but its larger models sit under research or non-production licences, so the same company ships both permissive and restricted models. A team that assumes Mistral means Apache 2.0 will be wrong about half the catalogue.

Qwen is similar in structure, though simpler in practice: Qwen3 is under Apache 2.0 across the family, while some earlier versions, including the 72B variants of Qwen2 and Qwen2.5 and the small 2.5-3B, carry a custom Tongyi Qianwen Licence with usage caps instead. Google’s Gemma family historically shipped under the Gemma Terms of Use, a custom licence, so it is not open source; check the terms of the exact Gemma release you deploy. Best for: teams that read the licence file per model rather than trusting the vendor name. Our comparison of open-source and proprietary LLMs covers the practical differences these licences create.

Comparing open model licences

Licence Example models Commercial use Key conditions
Apache 2.0 Qwen3, Mistral open line, gpt-oss, Granite, OLMo Yes Keep notices; note changes; patent grant
MIT DeepSeek R1, Phi-4 Yes Keep copyright notice
Llama Community Licence Llama 3.1, Llama 4 Yes, with conditions 700M user threshold; naming rule; use policy; EU limits on multimodal models
Gemma Terms of Use Gemma releases Yes, with conditions Custom terms; use policy applies
Research or non-production Some large vendor models No, or only under a separate licence Commercial rights sold separately

The table shows why the vendor name tells you nothing. The licence file in the model’s repository is the only source that counts, and it can change between versions of the same family. A model you deployed under Apache 2.0 last year is not automatically Apache 2.0 this year.

Four developers collaborating around a table with laptops and notebooks in a bright modern office
Licensing decisions are team decisions: the engineer who picks the model, the lawyer who reads the licence, and the product owner who carries the risk all need the same information.

How licences travel through fine-tuning

The licence travels with the weights. When you fine-tune a model, the resulting model inherits the base model’s licence, and when you distil one model into another, the same rule applies. DeepSeek’s R1 distills are the clean example: the Qwen-based distills inherit Apache 2.0 from their Qwen base models, while the Llama-based distills fall under Meta’s Llama licences. A team that picks a distilled model without checking its base has not checked the licence at all.

The same logic applies to model merges and to datasets built from a model’s outputs. Some licences restrict how outputs can be used, and those restrictions were stricter in earlier Llama releases than they are now. Before you build a derived model, a fine-tune or a dataset from another model’s outputs, read the licence of the source model and record what it allows. For the governance side of that record-keeping, see our article on AI data governance requirements.

Open model licensing checklist

  • The licence file of the exact model version is read and its conditions are recorded before deployment.
  • Commercial use, modification and redistribution rights are confirmed for your specific use case.
  • Any user threshold, naming rule or territory restriction is checked against your organisation’s size and location.
  • The acceptable use policy is read, because it is part of the contract, not a separate guideline.
  • Fine-tunes, distills and merges inherit the base model’s licence, and that is documented.
  • Licences are re-checked when a model version changes, because terms can change between releases.
  • Attribution and notice requirements are built into the build and release process, not added by hand.

Frequently asked questions

Is Llama open source?

No, not in the strict sense. Llama ships under Meta’s own Community Licence, which is not approved by the Open Source Initiative because it discriminates by scale, by territory and by field of use. It is open-weight and free to use for most teams, but it is a proprietary licence with conditions.

Can I use an open-weight model in a commercial product?

Usually yes, but it depends on the licence. Apache 2.0 and MIT models allow commercial use with attribution. Custom community licences allow it with conditions, such as user thresholds and use policies. Research or non-production licences do not allow it at all without a separate agreement.

What happens if my company passes the 700 million user threshold?

Under the Llama Community Licence, you must request a separate licence from Meta, and you have no rights to use the model until Meta grants it. If your organisation is anywhere near that scale, get the agreement in place before you build on Llama weights.

Does the licence apply to the model’s outputs?

It can. Some licences restrict how outputs may be used, for example to train other models, and those restrictions have changed between versions. Read the licence of the exact version you use, and treat output restrictions as part of the licence, not as an afterthought.

Can I fine-tune an open model and sell the result?

If the base licence allows commercial use and redistribution, yes, and the fine-tuned model carries the base licence’s terms. If the base licence forbids commercial use, fine-tuning does not remove that restriction. The licence follows the weights.

Where do I find a model’s real licence?

In the model’s own repository, usually as a licence file or in the model card, and in the licence text itself rather than in a summary or a search result. For supply-chain confidence, see our article on AI model supply chain security. This article is general information, not legal advice: for a production decision, have a lawyer read the licence.

Latest articles

Scroll to Top