← Blog

Document processing

How to read a model license: open weights are not all open

Reading a model license: find the text that governs the weights, then check the grant, use policy, redistribution terms, thresholds, and termination.

Oct 12, 2026 · Updated Nov 9, 20265 min read10 sources

Why it matters

A model license sets the terms of use. The Llama 4 acceptable use policy lists prohibited uses, and one item names military and warfare.

The short version

  1. 1Open weights can ship under the Apache License, Version 2.0 or the MIT License, which name no fields of use, or under a custom license such as the Llama 4 Community License Agreement.
  2. 2Custom licenses put use limits in an incorporated policy. The Llama 4 Acceptable Use Policy names military, warfare, nuclear industries or applications, and espionage.
  3. 3The Open Source AI Definition needs data information, complete code, and parameters. A download of weights supplies one of the three.

To read a model license, first find which text governs the weights, then check five things: the grant, any incorporated use policy, redistribution terms, user or location thresholds, and termination. Open weights only means the parameters are published. The license decides what you may do with them.

Some open-weights models use a general license such as the Apache License, Version 2.0, which names no fields of use. Others use a custom text such as the Llama 4 Community License Agreement, which pulls in a list of prohibited uses.

Common model licenses at a glance

ModelGoverning textHugging Face identifierUse limits
Llama 4Llama 4 Community License Agreementllama4Llama 4 Acceptable Use Policy
Gemma 1 through Gemma 3n and others in the appendixGemma Terms of UsegemmaGemma Prohibited Use Policy
Gemma 4Apache License 2.0Not checkedNone named in the license
gpt-oss-20bApache License, Version 2.0apache-2.0A USAGE_POLICY file: comply with applicable law
Mistral-Nemo-Base-2407Apache 2 License, per its cardapache-2.0None named

Sources: Hugging Face license list; Gemma Terms of Use; Gemma 4 license; gpt-oss-20b; Mistral-Nemo-Base-2407.

Note the gpt-oss case: an Apache-licensed model can still ship a separate policy file. Read every file in the repository, not just the license tag.

How to read a model license, step by step

  1. Find the text. On Hugging Face, check the license: field in the model card and the LICENSE file. If the field says other, the license text belongs in LICENSE and its name in license_name (Hugging Face licenses).
  2. Name the type. General open-source license, or a custom model license written by the publisher?
  3. Read the grant. Is it perpetual and irrevocable, or limited and non-transferable?
  4. Find incorporated policies. Search for "incorporated by reference" and "Acceptable Use Policy." Read the prohibited-use list.
  5. Read redistribution terms. Notices, naming rules, and whether restrictions must pass to your users.
  6. Check thresholds and geography. User counts, regions, or model types excluded from the grant.
  7. Read termination. What ends the license, and can the publisher restrict use remotely?
  8. Save a dated copy of the license and every policy, since policy pages can change.

Apache and MIT: what they grant

Apache License, Version 2.0MIT License
GrantPerpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license (Section 2)Permission to deal in the software without restriction
PatentsPatent license that ends if you file patent litigation over the work (Section 3)Not addressed
ConditionsInclude the license, mark modified files, keep notices (Section 4)Keep the copyright and permission notice in all copies or substantial portions
Fields of useNone namedNone named
TrademarksNot granted (Section 6)Not addressed

Sources: Apache License, Version 2.0; The MIT License.

Neither text mentions model weights. The Open Source AI Definition says parameters may be free by their nature or may need a license or other legal instrument, and expects this to become clearer over time.

Custom licenses: the Llama 4 example

The Llama 4 Community License Agreement, Llama 4 Version Effective Date April 5, 2025, has these key terms:

TermWhat it says
Grant (Section 1.a)Non-exclusive, worldwide, non-transferable, royalty-free limited license
Redistribution (Section 1.b)Provide a copy of the agreement, display "Built with Llama," and start any distributed model's name with "Llama"
Use policy (Section 1.b.iv)Comply with applicable laws and adhere to the Acceptable Use Policy
Scale threshold (Section 2)Over 700 million monthly active users in the month before release: request a license from Meta
Termination (Sections 5.c and 6)Ends if you sue Meta or others claiming the materials or outputs infringe; Meta may terminate for breach

The Llama 4 Acceptable Use Policy adds a geographic limit. For multimodal models in Llama 4, the Section 1(a) rights are not granted to individuals domiciled in, or companies with a principal place of business in, the European Union. The limit does not apply to end users of a product that incorporates those models.

What an acceptable use policy adds

The use policy is where the field-of-use limits live. The Llama 4 policy lists prohibited uses under headings including violating the law, activities that present a risk of death or bodily harm, deceiving others, and failing to disclose known dangers of an AI system.

Item 2.a, under risk of death or bodily harm, names military, warfare, nuclear industries or applications, espionage, and materials or activities subject to what the policy calls the "International Traffic Arms Regulations (ITAR)" maintained by the U.S. Department of State (Llama 4 Acceptable Use Policy). The policy says its most recent copy is kept online, so a saved copy can go out of date.

The Gemma Terms of Use, last modified April 1, 2026, work the same way:

  • Section 3.1: You must include the Section 3.2 use restrictions as an enforceable provision in any agreement governing downstream use or distribution.
  • Section 3.2: You may not use Gemma for the restricted uses in the Gemma Prohibited Use Policy, which is incorporated by reference. Google reserves the right to restrict usage, remotely or otherwise, if it reasonably believes the terms are violated.

Open weights vs open source AI

The Open Source Initiative's Open Source AI Definition 1.0 grants 4 freedoms: use for any purpose without asking permission, study, modify, and share. Exercising them requires the preferred form for making modifications, which has 3 parts:

ElementWhat the definition requires
Data informationEnough detail about training data for a skilled person to build a substantially equivalent system
CodeThe complete source code used to train and run the system
ParametersThe model weights or other configuration settings

Each must be under OSI-approved terms. A weights download supplies one of the three. A prohibited-use list is a different kind of term from the freedom to use for any purpose.

What to do next

  • Open the model's LICENSE file and every policy file in the repository, and save dated copies.
  • Write down the exact license name and version from the file itself, not from a summary site.
  • Check your use against each item in any prohibited-use list.
  • Check user thresholds, geographic limits, and naming rules before you ship.
  • Pass required restrictions to your own users if the license says to.
  • Have counsel review any custom license before a defense or government deployment.

The long read on model provenance goes further.

Questions people ask

How do I find a model's license?

On Hugging Face, look at the license field in the model card's YAML metadata and at the LICENSE file in the repository. Hugging Face lists identifiers such as apache-2.0, mit, llama4, and gemma. If the field says other, the Hub's documentation says the license text should be in a LICENSE file and named in license_name. Also look for a separate use policy file.

Can I use Llama 4 for military or defense work?

The Llama 4 Acceptable Use Policy, which the Llama 4 Community License Agreement incorporates, lists prohibited uses. Under activities that present a risk of death or bodily harm, it names military, warfare, nuclear industries or applications, espionage, and materials or activities subject to what it calls the International Traffic Arms Regulations. Read the current policy text and get legal review before any defense use.

Is an open-weights model the same as open source?

Not necessarily. Open weights means the parameters are published. The Open Source Initiative's Open Source AI Definition 1.0 also requires detailed information about the training data and the complete source code to train and run the system, each under OSI-approved terms. Its first freedom is to use the system for any purpose without asking permission, which a prohibited-use list does not give.

What does the Apache License, Version 2.0 allow for model weights?

Section 2 grants a perpetual, worldwide, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works, display, perform, sublicense, and distribute the work. Section 3 adds a patent license that ends if you sue over patents in the work. Section 4 requires a copy of the license, notices on modified files, and kept notices. It names no fields of use.

What is the 700 million user limit in the Llama license?

Section 2 of the Llama 4 Community License Agreement says that if your products or services, or your affiliates', had more than 700 million monthly active users in the calendar month before the Llama 4 version release date, you must request a license from Meta, which Meta may grant at its sole discretion. Until then you may not exercise the agreement's rights.

Does the Gemma license restrict use?

The Gemma Terms of Use, last modified April 1, 2026, bar use for the restricted uses in the Gemma Prohibited Use Policy, require those restrictions in downstream agreements, and let Google restrict usage remotely or otherwise if it believes the terms are violated. They cover the Gemma models in their appendix. Google lists Gemma 4 under the Apache License 2.0 instead.

Sources

  1. 1Apache License, Version 2.0 · Apache Software Foundation
  2. 2The MIT License · Open Source Initiative
  3. 3The Open Source AI Definition - 1.0 · Open Source Initiative
  4. 4Llama 4 Community License Agreement · Meta Platforms (Llama 4 version effective April 5, 2025)
  5. 5Llama 4 Acceptable Use Policy · Meta Platforms
  6. 6Gemma Terms of Use · Google (last modified April 1, 2026)
  7. 7Apache License 2.0 (Gemma 4 license) · Google AI for Developers
  8. 8Licenses · Hugging Face Hub documentation
  9. 9openai/gpt-oss-20b · OpenAI, Hugging Face model repository
  10. 10Model Card for Mistral-Nemo-Base-2407 · Mistral AI, Hugging Face model repository

Where this shows up in our work

More on document processing