Short answer

GLM models use MIT; Gemma 4, Qwen3.8 and gpt-oss-20b use Apache 2.0. Both let you use, modify and sell the weights if you meet their notice conditions. The Llama 3.3 and 3.1 licenses add attribution, a naming rule, a 700-million-user threshold and an acceptable use policy. Gemma 3's terms add a prohibited use policy that must travel with every copy. A refusal-reduced variant carries its base model's terms. Not legal advice.

Not legal advice. This page summarizes license texts as published on 14 November 2026, with short quotes. Licenses and use policies change, and how a clause applies depends on your facts and jurisdiction. For commercial or legal decisions, have a lawyer read the full terms.

Which license covers which model

The base models covered on this site fall under five licenses. The license fields below were checked on each base model’s Hugging Face repository on 14 November 2026.

Base model License Variants on this site
GLM-5.3-Flash MIT GLM-5.3-Flash variants
GLM-4.7-Flash MIT GLM-4.7-Flash variants
Gemma 4 26B A4B Apache 2.0 Gemma 4 variants
Qwen3.8 27B Apache 2.0 Qwen3.8 variants
gpt-oss-20b Apache 2.0 —
Llama 3.3 70B Instruct Llama 3.3 Community License Llama 3.3 70B abliterated
Llama 3.1 models Llama 3.1 Community License —
Gemma 3 27B Gemma Terms of Use —

Llama 3.3 70B Instruct and Gemma 3 27B are also gated on Hugging Face, so downloading them requires accepting the terms and waiting for manual approval.

Comparison: using the model

Question MIT Apache 2.0 Llama 3.3 / 3.1 Community License Gemma Terms of Use
Commercial use Yes; the grant includes the right to “sell copies” Yes Yes, below the user threshold Yes, within the terms
User-count threshold None None Above 700 million monthly active users on the version’s release date (6 December 2024 for 3.3, 23 July 2024 for 3.1), you must request a license from Meta None
Use policy None None Version-specific Acceptable Use Policy, “incorporated by reference” Gemma Prohibited Use Policy, “incorporated by reference”
Licensor’s extra powers None Patent license ends if you bring a patent suit claiming the work infringes All licenses end if you sue Meta or anyone else alleging the materials or outputs infringe your rights Google “reserves the right to restrict (remotely or otherwise) usage” it reasonably believes violates the terms
Outputs Not addressed Not addressed No ownership clause; outputs appear in the naming rule and the AUP “Google claims no rights in Outputs you generate using Gemma”

Comparison: redistributing and naming

Duty when you share weights MIT Apache 2.0 Llama 3.3 / 3.1 Community License Gemma Terms of Use
Include the license Include the copyright and permission notice Give recipients “a copy of this License” “Provide a copy of this Agreement” Provide “a copy of this Agreement”
Attribution The same notice Keep copyright, patent, trademark and attribution notices; pass on any NOTICE file’s attributions A Notice file with Meta’s attribution text, and “Built with Llama” displayed prominently on a related website, interface or documentation A Notice file stating that Gemma “is provided under and subject to the Gemma Terms of Use”
Mark your changes Not required Modified files must “carry prominent notices” Not required by the text Modified files must “carry prominent notices”
Naming No rule No trademark rights beyond describing the origin of the work “Llama” at the beginning of the name of any model built, trained or improved with Llama materials or outputs that you distribute or make available No trademark rights; you must not suggest endorsement by Google
Pass on restrictions No No The agreement travels with the materials, and the AUP binds use The use restrictions must appear “as an enforceable provision” in your terms with recipients
Add your own terms Allowed (the grant includes “sublicense”) Allowed for your modifications, if you meet the license’s conditions for the original Not addressed; as between you and Meta, you own your derivatives Allowed if they do not conflict with the Gemma terms
Hosted service Not addressed Not addressed Duties apply to anything you “distribute or make available” Counts as “Distribution”, though no Notice file is required for a hosted service

Notes on each license

MIT: GLM-5.3-Flash and GLM-4.7-Flash

The GLM-5.3-Flash LICENSE file is the standard MIT text with “Copyright © 2026 Z.AI Co., Ltd”. It grants the rights “to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies” on one condition: “The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.” It has no use policy, no naming rule and no explicit patent clause.

Apache 2.0: Gemma 4, Qwen3.8 and gpt-oss-20b

Apache 2.0 adds more process than MIT. When you redistribute, Section 4 requires you to give recipients the license, mark modified files, keep existing notices and carry forward any NOTICE file. Section 3 grants a patent license that ends if you sue claiming the work infringes a patent. Section 6 grants no trademark rights beyond “reasonable and customary use in describing the origin of the Work”.

Google publishes the Gemma 4 license as the Apache License 2.0 text. Gemma 4 does not fall under the Gemma Terms of Use.

Llama 3.3 Community License

The Llama 3.3 license grants a “non-exclusive, worldwide, non-transferable and royalty-free limited license” to use, copy, modify and distribute. In return, Section 1.b requires a copy of the agreement, a “Built with Llama” display, the Notice text “Llama 3.3 is licensed under the Llama 3.3 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved.” and the naming rule. Section 2 sets the 700-million-user threshold. Section 5(a) grants use of the “Llama” mark only as needed for the naming rule.

The Llama 3.3 Acceptable Use Policy has a clause that matters for refusal-reduced models. Item 1 prohibits using Llama 3.3 to “Violate the law or others’ rights”, and its sub-item h names any action “to intentionally circumvent or remove usage restrictions or other safety measures, or to enable functionality disabled by Meta”. Whether making or using an abliterated Llama 3.3 falls under that clause is a legal question this page does not answer. It is a reason to read the policy with your own use case in mind.

The policy also withholds the Section 1(a) rights “with respect to any multimodal models included in Llama 3.3” from individuals and companies based in the European Union, though not from end users of products that incorporate them. Llama 3.3 70B Instruct accepts text only.

Llama 3.1 Community License

Apart from the version number and the policy it links to, the Llama 3.1 license text from Section 1 to Section 6 matched the 3.3 text word for word when we compared them. The Llama 3.1 Acceptable Use Policy is shorter. As published on 14 November 2026, it did not contain the 3.3 policy’s clause about circumventing safety measures. Both policies say the most recent copy is on Meta’s site, so check the current text rather than relying on this summary.

Gemma Terms of Use: Gemma 3

The Gemma Terms of Use apply to the models listed in their appendix: Gemma 1, 1.1, 2, 3 and 3n. Two definitions reach further than in other licenses. “Distribution” includes making Gemma available “as a hosted service via API, web access, or any other electronic or remote means”. “Model Derivatives” include models trained on Gemma’s synthetic outputs “to cause that model to perform similarly to Gemma”, though outputs themselves are not derivatives.

The Prohibited Use Policy lists “Attempts to override or circumvent safety filters” under dangerous, illegal or malicious activities. As with the Llama clause, how that applies to a refusal-reduced Gemma 3 variant is a question for your own legal review.

What changes with a third-party variant

A refusal-reduced variant is a modification of its base model. Abliteration edits the weights, a fine-tune trains them further, and a GGUF quantization converts them. The base license does not disappear in any of these steps.

  • Using a variant brings in the base license’s use terms: the AUP or Prohibited Use Policy, the user threshold, and the law.
  • Redistributing one, whether by uploading it, quantizing and re-uploading it, or serving it to others, brings in the redistribution duties in the table above.
  • Permissive licenses let the variant author add terms, but only for their own changes. Under Apache 2.0, they may set different terms for their modifications provided the original work’s conditions are still met. The base notices stay.

When variant metadata disagrees with the base

A Hugging Face license tag is a one-word field filled in by whoever uploads the model. It is not a license file, and it can be wrong.

One example: the HauhauCS Gemma 4 26B A4B QAT variant names google/gemma-4-26B-A4B-it as its base model and carries the license tag gemma, which refers to the Gemma Terms of Use. Google publishes Gemma 4 under Apache 2.0, and the Gemma Terms of Use themselves say “For Gemma 4 terms, see the Gemma 4 license”. The card does not explain the tag.

When a variant’s metadata and its base disagree:

  1. Follow base_model to the base repository and read its license file.
  2. Look for a separate license file in the variant’s repository. A tag alone does not state terms.
  3. Treat the disagreement as a reason to check, not as a new license. The base model’s license governs what the variant may be used for.
  4. If it matters for your use, ask the variant’s author and record the answer.

For a walk-through of reading a variant’s card, see uncensored vs abliterated. For the difference between a permissive license and an open source model, see open-weight vs open source.

A checklist before you ship

  1. Identify the base model and its version. Llama 3.1 and 3.3 have different use policies.
  2. Read the base license file and every policy it incorporates by reference.
  3. Check your use against the use policy, and your company’s size against any threshold.
  4. If you redistribute, include the license, the required notices and any required display text.
  5. If you publish a new model built from Llama 3.3 or 3.1, start its name with “Llama”.
  6. If you serve a Gemma 3 model to others, include the use restrictions in your terms.
  7. Save dated copies of the license and policy versions you relied on.

None of this replaces legal advice. It shows where the obligations are written, so you can ask a lawyer precise questions.

Questions

Can I use an abliterated Llama 3.3 commercially?

The Llama 3.3 license allows commercial use below its 700-million-user threshold, and an abliterated variant carries the same license. Its Acceptable Use Policy still applies, including a clause on circumventing safety measures, so read it against your use case and get legal advice if the stakes are real.

Do I have to put 'Llama' in my model's name?

If you use Llama 3.3 or 3.1 materials, or their outputs, to create, train or improve a model that you distribute or make available, both licenses say its name must begin with 'Llama'.

Is Gemma 4 under the Gemma Terms of Use?

No. Google's Gemma Terms of Use cover Gemma 1, 1.1, 2, 3 and 3n and point to a separate Gemma 4 license, which is the Apache License 2.0.

Does the MIT license require attribution?

Yes, in a minimal form: the copyright notice and the permission notice must be included in all copies or substantial portions. It has no naming rule and no use policy.

Sources

  1. Apache License, Version 2.0, Apache Software Foundation
  2. GLM-5.3-Flash LICENSE (MIT), Hugging Face (zai-org)
  3. Llama 3.3 Community License Agreement, Meta
  4. Llama 3.3 Acceptable Use Policy, Meta
  5. Llama 3.1 Community License Agreement, Meta
  6. Llama 3.1 Acceptable Use Policy, Meta
  7. Gemma Terms of Use, Google AI for Developers
  8. Gemma Prohibited Use Policy, Google AI for Developers
  9. Gemma 4 license (Apache License 2.0), Google AI for Developers
  10. Gemma4-26B-A4B-QAT-Uncensored-HauhauCS-Balanced-MTP model card, Hugging Face (HauhauCS)

Found an error? Report it. We log material corrections publicly.