At a glance

  • “Open weights” means you can download a model’s parameters. It does not mean the model is open source. The license attached to the weights decides what you may do with them.
  • Apache 2.0 and MIT place no limits on use. The Llama 4 Community License requires a separate license from Meta for companies whose products had more than 700 million monthly active users when Llama 4 was released and binds users to an acceptable use policy.
  • Qwen and Mistral publish some models under Apache 2.0 and others under custom licenses. As of November 2026 most of their weights are Apache 2.0; the exceptions carry terms such as a user cap (Qwen License, 100 million monthly active users), a revenue cap (Mistral’s Modified MIT License, US$20 million monthly) or research-only use (Mistral AI Research License).
  • The Open Source Initiative’s Open Source AI Definition 1.0, released October 28, 2024, also requires training code and detailed information about the training data, not just weights.
On this page
  1. What is an open-weight model?
  2. What does “open source” mean for AI?
  3. What do Apache 2.0 and MIT allow?
  4. What does the Llama license require?
  5. What did the Gemma terms require before Gemma 4?
  6. What do the Qwen and Mistral licenses allow?
  7. What are RAIL and OpenRAIL licenses?
  8. How do the main model licenses compare?
  9. Why does the license type matter under the law?
  10. What should you check before building on an open model?
  11. Which way are model licenses heading?

What is an open-weight model?

An open-weight model is one whose trained weights the developer lets the public download. The weights, also called parameters, are a large file of numbers; together with the code that runs them, they are the model.

That is all the term promises. It does not promise that you can use the model commercially, modify it, or build a competing product, and it does not promise that the training data or training code is available. Those questions are answered by the license, and downloading the weights does not by itself settle them.

This guide covers the private licenses on models. Government licensing is covered in AI licensing explained.

What does “open source” mean for AI?

The Open Source Initiative set a test for AI in October 2024: a model is open source only if users may use, study, modify, and share it, and can get its training code, its parameters, and detailed information about its training data.

For software, “open source” has had a fixed meaning for decades, maintained by the Open Source Initiative (OSI). A license qualifies only if it lets anyone use the software for any purpose, without discriminating against people or fields of use.

AI models raised a new question: whether releasing the weights is enough.

OSI answered on October 28, 2024, when it released the Open Source AI Definition 1.0 at the All Things Open conference. It requires four freedoms: to use the system for any purpose, study it, modify it, and share it.

It also sets a “preferred form” for modifying an AI system, with three parts:

  • Data information: “Sufficiently detailed information about the data used to train the system,” so a skilled person could build a substantially equivalent system, including a list of publicly available training data and where to get it.
  • Code: the complete source code used to train and run the system.
  • Parameters: the weights and configuration settings.

The definition does not require releasing the training data itself. Data that cannot legally be shared must be described, not published.

Under this test, many models marketed as open are not open source. In July 2023, OSI said Meta’s Llama 2 license “is not Open Source,” because it restricts commercial use for some users and limits certain purposes through an acceptable use policy.

What do Apache 2.0 and MIT allow?

Apache 2.0 and MIT allow almost any use, including commercial use, provided you keep the required notices.

Apache 2.0 grants a worldwide, royalty-free, irrevocable copyright license to use, modify and distribute the work. It also grants a patent license from each contributor. That patent license ends for anyone who sues claiming the work infringes a patent. To redistribute, you must include the license, mark files you changed, and keep the original notices. It has no field-of-use restrictions.

MIT is shorter. You may use, copy, modify and sell the work, provided you keep the copyright notice and license text. The license text does not mention patents.

Several major model families now use these licenses:

  • OpenAI’s gpt-oss models are listed under Apache 2.0 on their model page.
  • Google moved Gemma 4, released April 2, 2026, to Apache 2.0, replacing the custom Gemma terms used for earlier versions.
  • DeepSeek-R1’s model card says its code and weights are under MIT and expressly permits distillation.
  • Meta released Muse Glimmer, a 30-billion-parameter model, under Apache 2.0 in August 2026, according to Thurrott, while keeping Muse Spark, which Thurrott describes as its most powerful model, closed.

There is one catch: the base model’s license can still matter. Apache 2.0 and MIT do not bind derivatives the way a custom license can, and DeepSeek’s own model card notes that its distilled versions built on Llama are derived from models originally licensed under the Llama 3.1 and Llama 3.3 licenses.

What does the Llama license require?

The Llama 4 Community License allows commercial use but adds conditions Apache 2.0 and MIT do not: a separate license from Meta for companies above 700 million monthly active users at release, Llama branding, and Meta’s acceptable use policy.

The agreement, effective April 5, 2025, is a custom license. Five of its conditions matter in practice:

  • The 700 million user clause. If, on the Llama 4 release date, the products of you or your affiliates had more than 700 million monthly active users in the preceding calendar month, you must request a license from Meta, which Meta may grant at its sole discretion, and you have no rights under the agreement until it does.
  • Attribution. If you distribute Llama or a product containing it, you must prominently display “Built with Llama.”
  • Naming. A model you build with Llama and distribute must have “Llama” at the beginning of its name.
  • Acceptable use policy. Your use must follow Meta’s policy, which bars uses such as weapons development, operation of critical infrastructure, fraud and disinformation.
  • EU multimodal limit. For Llama 4’s multimodal models, the policy withholds the license from individuals domiciled in the EU and companies with a principal place of business there. End users of a product built on them are not covered by that limit.

The agreement is governed by California law.

For almost every business, the 700 million clause never applies. Its practical effect is to stop the largest technology companies from using Llama without a deal. The acceptable use policy, by contrast, applies to everyone.

What did the Gemma terms require before Gemma 4?

Before Gemma 4, Gemma models were released under Google’s own Gemma Terms of Use, which pass Google’s use restrictions down to every user and treat distilled models as derivatives. The terms were last modified April 1, 2026. They are still worth knowing: the terms’ appendix continues to list Gemma 1 through 3n, and Google’s Gemma 4 announcement cites more than 100,000 Gemma variants.

  • Use must follow Google’s Prohibited Use Policy.
  • Anyone redistributing Gemma or a derivative must make those restrictions enforceable on downstream users.
  • Google reserves the right to restrict usage it reasonably believes violates the terms.
  • “Model Derivatives” include models trained by distillation from Gemma or on synthetic data Gemma generated. Outputs alone are not derivatives.

The terms have no user cap. The distillation clause is the unusual part: it can reach a model that never copied a single Gemma weight.

What do the Qwen and Mistral licenses allow?

As of November 2026, most Qwen and Mistral weights are Apache 2.0 and allow almost any use. The exceptions range from small research releases to flagship models, and they sit beside Apache 2.0 checkpoints inside the same model family, so the family name settles nothing; the license file on the exact checkpoint does.

Qwen2.5 through Qwen3.6. Alibaba’s Qwen team released Qwen2.5 on September 19, 2024, and wrote that “all our open-source models, except for the 3B and 72B variants, are licensed under Apache 2.0.” The 3B weights carry the Qwen Research License Agreement, which permits use “FOR NON-COMMERCIAL PURPOSES ONLY” (section 2(a)). The 72B weights carry the Qwen License Agreement, which allows commercial use but says in section 4 that if your product or service has more than 100 million monthly active users, you shall request a license from Alibaba Cloud. Like the Gemma terms, it reaches past the weights, though only with a labeling duty: section 5(b) requires “Built with Qwen” or “Improved using Qwen” in the product documentation of any model you distribute or make available after creating, training, fine-tuning or improving it with Qwen or its outputs. Section 9(a) applies the laws of China. Qwen3, released April 29, 2025, is Apache 2.0, and the Qwen3.5 (February 2026) and Qwen3.6 (April 2026) model cards checked for this guide show the same license tag.

Qwen3.8. The August 2026 generation split again. Qwen3.8-27B ships under Apache 2.0. Qwen3.8-2.4T-A95B, the open-weight model on which the official Qwen3.8-Max is based, carries the Qwen3.8-Max License, and Qwen3.8-Flash-Next carries the Qwen Community License 1.0. Both are short MIT-style grants that let you sell, deploy and host the model, with two conditions. The first concerns naming: a commercial product with more than 100,000,000 monthly active users or US$20,000,000 monthly revenue must display the model name prominently on its user interface (condition 1). The second reaches only certain businesses, but for them it starts lower. If a licensee or any of its affiliates conducts a “Model as a Service” or “AI Work Assistant” business, the licensee must obtain a separate license from Qwen before using the model for any commercial purpose (condition 2). The Max license applies that condition only when the aggregate revenue of the licensee and its affiliates exceeds US$50,000,000 in any consecutive twelve months, a group-wide figure rather than the revenue of one product. The Community License sets no revenue floor, so under it the condition reaches a business of any size. Internal use is exempt under both, but only if it does not make the model, its outputs or its underlying capabilities available to any third party. Neither license names a governing law.

Mistral: Apache 2.0 and two licenses that limit purpose. Mistral 7B, Devstral Small 2, Mistral Small 4 and the Mistral 3 family are Apache 2.0. When Mistral released the Mistral 3 family, Mistral Large 3 and Ministral 3, on December 2, 2025, it said “All models are released under the Apache 2.0 license.” Two other Mistral licenses limit what a model may be used for. Mistral-Large-Instruct-2411 and Pixtral-Large-Instruct-2411 carry the Mistral AI Research License, which limits use to “Research Purposes” (section 3.2). Section 9 defines those as personal, scientific or academic research for non-profit and non-commercial purposes. Any other use needs a license that Mistral “may grant to You in Mistral AI’s sole discretion,” and French law governs (section 8.1). Codestral 22B carries the Mistral AI Non-Production License, which allows only testing, research, personal or evaluation use in Non-Production Environments (section 3.2). The Non-Production License has the same rule as the Research License: any other use needs a license you request from Mistral AI, which it may grant at its sole discretion (section 3.3).

Mistral: two modified MIT licenses. Two newer Mistral licenses start from MIT and allow commercial use, then shut out one kind of licensee. In the Modified MIT License used by Devstral 2 (123B) and Mistral Medium 3.5, that licensee is a large company. Under condition 2, a company whose global consolidated monthly revenue exceeded US$20 million in the preceding month loses every right under the license, including the right to use the model internally; it needs a commercial license, which Mistral may grant at its sole discretion, or it can use the model through Mistral’s hosted services. Mistral Large 4, announced October 6, 2026 with weights published October 29, uses the Mistral Ecosystem Open-Weight License, also a modified MIT. Commercial and non-commercial use are allowed, but a licensee or affiliate that “operates a Model as a Service business” must enter into a separate commercial license with Mistral before using the model for any commercial purpose (section 2). Internal use and use through Mistral’s official products are exempt (section 3). Like the Qwen3.8 licenses, neither modified license names a governing law.

What are RAIL and OpenRAIL licenses?

Responsible AI Licenses (RAIL) are the main attempt to combine open access with use restrictions.

The OpenRAIL-M license was announced on August 26, 2022, adapted from the license BigScience used for its BLOOM language model. It permits free access, reuse and redistribution. It attaches a list of restricted uses, and those restrictions must carry forward to derivative works. Redistributors may choose their own license as long as they include the use restrictions.

That carry-forward rule makes RAIL licenses resemble copyleft, but for behavior instead of source code. Because they restrict fields of use, they do not meet OSI’s definition of open source.

How do the main model licenses compare?

Apache 2.0 and MIT carry no use restrictions; every custom license adds a restriction, a cap or both. The Qwen and Mistral rows each cover several licenses, because both families ship some models under Apache 2.0 and others under custom terms.

LicenseCommercial useUse restrictionsUser capAttribution or namingExpress patent grantMeets OSI definition?
Apache 2.0YesNoneNoneKeep notices; mark changesYesLicense qualifies; full system also needs code and data information
MITYesNoneNoneKeep noticeNoLicense qualifies; same caveat
Llama 4 Community LicenseYes, below capAcceptable use policy; EU limit on multimodal models700M monthly active users at release“Built with Llama”; “Llama” name prefixCheck license textNo (OSI, 2023, on Llama 2)
Gemma Terms of Use (pre-Gemma 4)YesProhibited Use Policy, flowed downNonePass on terms; Notice fileCheck license textNo
Qwen (Alibaba): Apache 2.0 on most weights; Qwen License (including Qwen2.5-72B); Qwen Research License (including Qwen2.5-3B); Qwen3.8-Max License and Qwen Community License 1.0 (two Qwen3.8 models)Yes on Apache 2.0 weights; yes below cap under the Qwen License; Qwen2.5-3B is non-commercial only; Qwen3.8 custom licenses need a separate license for Model as a Service or AI Work Assistant businessesQwen License: export controls (section 5(a)); Qwen3.8 licenses: Model as a Service clauseQwen License: 100M monthly active users; Qwen3.8 licenses: name display above 100M users or US$20M monthly revenue; Max license: Model as a Service or AI Work Assistant businesses need a separate license above US$50M licensee-and-affiliate revenue in any 12 months“Built with Qwen” or “Improved using Qwen” (Qwen License 5(b)); model name on the user interface above the Qwen3.8 thresholdsYes on Apache 2.0 weights; check license text for the custom licensesApache 2.0 weights: license qualifies, same caveat; custom licenses: no, on this guide’s reading of OSI’s no-discrimination test
Mistral: Apache 2.0 on many models (Mistral 7B, Mistral 3, Mistral Small 4); Mistral AI Research License (including Mistral Large 2411 and Pixtral Large); Non-Production License (Codestral 22B); Modified MIT (Devstral 2, Medium 3.5); Ecosystem Open-Weight License (Mistral Large 4)Yes on Apache 2.0 models; no under the Research and Non-Production licenses without a separate license; Modified MIT yes below the revenue cap; Ecosystem license yes, except that a licensee whose group operates a Model as a Service business needs a separate commercial licenseResearch License: Research Purposes only (3.2); Non-Production License: non-production use only (3.2); Ecosystem license: a licensee or affiliate operating a Model as a Service business needs a commercial license for any commercial use (section 2)None by users; Modified MIT: US$20M global monthly revenue cap (condition 2)Research License: “Licensed by Mistral AI under the Mistral AI Research License” (2.2); Modified MIT and Ecosystem license: keep the noticeYes on Apache 2.0 models; check license text for the othersApache 2.0 models: license qualifies, same caveat; Research, Non-Production, Modified MIT and Ecosystem licenses: no, on this guide’s reading of OSI’s no-discrimination test
OpenRAIL-MYesListed restricted uses, flowed downNoneInclude use restrictionsCheck license textNo

Why does the license type matter under the law?

License type matters because the EU AI Act gives models released under a free and open-source license a lighter documentation load, and U.S. export rules controlled only closed weights.

The EU AI Act exempts general-purpose models released under a free and open-source license from two documentation duties, if the weights, the model architecture and information on model usage are public. The exception does not cover the copyright policy or the training-data summary. It does not apply at all to models with systemic risk, which the Act presumes for models trained with more than 10²⁵ operations. See frontier AI laws.

A license with use restrictions may not count as “free and open-source” for this purpose. Whether a custom license qualifies is a legal question the AI Office and courts have not fully settled as of November 2026.

U.S. export controls also drew the line at openness. The 2025 AI Diffusion Rule controlled only closed model weights, and BIS removed that control on November 19, 2026. See AI export controls.

What should you check before building on an open model?

Before building on an open model, check eight things, starting with the license on the exact version you download:

  • The license file on the exact model version you download, not the family name
  • Any acceptable use or prohibited use policy incorporated by reference
  • User or revenue caps
  • Attribution and naming rules for products and derived models
  • Whether distillation or synthetic data from the model is covered
  • The license of any base model your chosen model was built on
  • Where you and your users are located, for territorial limits
  • Whether the license can change, and whether earlier versions stay valid

The data a model was trained on carries its own legal questions. See AI training data licensing.

Which way are model licenses heading?

Several major model families now ship under plain Apache 2.0, including Gemma 4, gpt-oss, Muse Glimmer and most Qwen and Mistral releases. Custom licenses remain common, and their terms differ in ways that matter, so the license to read is the one on the exact model you download.

License terms quoted here are current as of November 2026; developers revise them. This guide is general information, not legal advice.

Last updated Nov 2, 2026 by ZSKFL Management. Time-sensitive facts on this page are stated as of that date.

Common questions

Is Llama open source?

Not under the Open Source Initiative’s standard. In July 2023 OSI said Meta’s Llama 2 license is not open source because it limits commercial use for some users and restricts purposes through an acceptable use policy. The Llama 4 license keeps both features.

Does the Open Source AI Definition require releasing training data?

No. OSI’s definition requires detailed information about the training data, including a list of publicly available data and where to get it, plus the full training code and the parameters. Data that cannot legally be shared must be described, not published.

Is Qwen open source under Apache 2.0?

Most Qwen weights are Apache 2.0, including Qwen3, Qwen3.5, Qwen3.6 and Qwen3.8-27B. The exceptions include Qwen2.5-72B (Qwen License, separate license above 100 million monthly active users), Qwen2.5-3B (Qwen Research License, non-commercial only) and two Qwen3.8 models, Qwen3.8-2.4T-A95B and Qwen3.8-Flash-Next, whose licenses require the model name on the user interface above 100 million monthly active users or US$20 million monthly revenue, and a separate license for Model as a Service or AI Work Assistant businesses (under the Max license, only once group revenue tops US$50 million in twelve months). Check the license file on the exact checkpoint.

Sources

  1. The Open Source AI Definition 1.0, Open Source Initiative.
  2. The Open Source Initiative Announces the Release of the Industry’s First Open Source AI Definition, Open Source Initiative, October 28, 2024.
  3. Meta’s LLaMa license is not Open Source, Open Source Initiative, July 2023.
  4. Apache License, Version 2.0, The Apache Software Foundation.
  5. The MIT License, Open Source Initiative.
  6. openai/gpt-oss-120b model card, Hugging Face.
  7. Gemma 4: Byte for byte, the most capable open models, Google, April 2026.
  8. Bring state-of-the-art agentic skills to the edge with Gemma 4, Google Developers Blog, April 2, 2026.
  9. deepseek-ai/DeepSeek-R1 model card, Hugging Face.
  10. Meta Releases Open Source, Open Weight Version of its Most Powerful AI Model, Thurrott, August 10, 2026.
  11. Llama 4 Community License Agreement, Meta, effective April 5, 2025.
  12. Llama 4 Acceptable Use Policy, Meta.
  13. Gemma Terms of Use, Google, last modified April 1, 2026.
  14. BigScience Open RAIL-M License, Responsible AI Licenses, August 26, 2022.
  15. Article 53: Obligations for Providers of General-Purpose AI Models, artificialintelligenceact.eu.
  16. Qwen2.5: A Party of Foundation Models!, Qwen Team, September 19, 2024.
  17. Qwen LICENSE AGREEMENT, Alibaba Cloud, release date September 19, 2024, on the Qwen2.5-72B-Instruct repository, Hugging Face.
  18. Qwen RESEARCH LICENSE AGREEMENT, Alibaba Cloud, release date September 19, 2024, on the Qwen2.5-3B-Instruct repository, Hugging Face.
  19. Qwen3: Think Deeper, Act Faster, Qwen Team, April 29, 2025.
  20. QwenLM/Qwen3, License Agreement section, GitHub.
  21. Qwen/Qwen3.5-397B-A17B model card, Hugging Face.
  22. Qwen/Qwen3.6-27B model card, Hugging Face.
  23. Qwen/Qwen3.8-27B LICENSE (Apache License, Version 2.0), Hugging Face.
  24. Qwen3.8-Max License, Qwen, 2026, on the Qwen3.8-2.4T-A95B repository, Hugging Face.
  25. Qwen Community License 1.0, Qwen, 2026, on the Qwen3.8-Flash-Next repository, Hugging Face.
  26. mistralai/Mistral-7B-Instruct-v0.3 model card, Hugging Face.
  27. Introducing Mistral 3, Mistral AI, December 2, 2025.
  28. mistralai/Mistral-Small-4-119B-2603 model card, Hugging Face.
  29. mistralai/Devstral-Small-2-24B-Instruct-2512 model card, Hugging Face.
  30. Mistral AI Research License, Mistral AI.
  31. mistralai/Mistral-Large-Instruct-2411 model card, Hugging Face.
  32. mistralai/Pixtral-Large-Instruct-2411 model card, Hugging Face.
  33. Mistral AI Non-Production License, Mistral AI.
  34. mistralai/Codestral-22B-v0.1 model card, Hugging Face.
  35. Modified MIT License, Mistral AI, 2025, on the Devstral-2-123B-Instruct-2512 repository, Hugging Face.
  36. Modified MIT License, Mistral AI, 2026, on the Mistral-Medium-3.5-128B repository, Hugging Face.
  37. Introducing Mistral Large 4, Mistral AI, October 6, 2026.
  38. Mistral Ecosystem Open-Weight License, Mistral, 2026, on the Mistral-Large-4-1T-A52B repository, Hugging Face.
  39. mistralai/Mistral-Large-4-1T-A52B commit history, “Initial release” commit, October 29, 2026, Hugging Face.