Model license
A model license is the legal terms under which a model's weights, and sometimes its code and data, may be used, changed and shared. Terms range from permissive open licences to non-commercial or custom restricted ones.
Also called: Apache 2.0, MIT, non-commercial license, model licence
By Divya Sharma · Checked Nov 15, 2026 · How we review
Downloading weights does not mean you may do anything with them. The license sets the rules, and it often differs from the license on the code repository next to it. Read both before building a product on a model.
Common types
Permissive open-source licences such as Apache 2.0 and MIT, originally written for software, allow commercial use, changes and redistribution with few conditions. Apache 2.0 also includes an express patent grant; MIT is shorter and mainly requires keeping the copyright and license notice.
Many popular open-weight models use custom licences instead. These can allow commercial use but add conditions, such as an acceptable-use policy, a limit tied to company size, a requirement to credit the model, or rules about using outputs to train other models. Non-commercial licences, such as some Creative Commons NC terms, rule out commercial use altogether.
Open source vs open weights
The Open Source Initiative's Open Source AI Definition says an open source AI system must let people use, study, modify and share it, and asks for the weights to be under OSI-approved terms along with code and information about the data. Many models described as "open" do not meet that bar. See open-source AI for the difference.
Where to look
The license is usually in the model repository and summarised in the model card. Hosted models are covered by the provider's terms of service rather than a weights license. Our model reviews note the license where it is published.
This page describes what licences are. It is not legal advice; check the actual license text, and ask a lawyer for questions about your use.
Related terms
- Open-weight model
- An open-weight model is a model whose trained weights are published for anyone to download and run, often without the training code or full training data, so it is not necessarily open source.
- Open source AI
- Open source AI is an AI system released under terms that let anyone use, study, modify and share it, with access to the parts needed to change it: training data information, full code and model parameters.
- Model card
- A model card is a short document published with a machine learning model that explains what it is for, how it was trained and evaluated, where it performs poorly, and how it should and should not be used.
- Model weights
- Model weights are the learned numbers inside a neural network, set during training, that decide how it turns input into output. A checkpoint is a saved file or set of files containing those weights.
- Self-hosting (AI models)
- Self-hosting an AI model means running it on hardware you control, such as your own servers, rented GPUs or a laptop, instead of calling a provider's API. You choose the model and keep the data, but you run the infrastructure.