Key Takeaways
- None of Llama, Qwen, Mistral, or Gemma ships under a single uniform license — the terms are set per model checkpoint, and different sizes of the same family can carry different licenses.
- Llama's Community License permits commercial use up to 700 million monthly active users; above that, Meta requires a separate license it grants at its sole discretion.
- Qwen and Mistral publish most current model sizes under Apache 2.0 (OSI-approved, no usage threshold), but both have also released specific checkpoints under more restrictive research or non-production licenses.
- Gemma uses Google's custom Gemma Terms of Use combined with a separate Prohibited Use Policy — a conduct-based restriction that OSI-approved open source licenses do not impose.
- None of the four licenses includes indemnification for the deploying business against third-party intellectual-property claims — all four are distributed "as is," without warranty.
- "Open weight" is the more accurate term for all four families: the weights are downloadable, but the licenses fail at least one requirement of the OSI Open Source Definition (usage-scale limits, field-of-use restrictions, or conduct policies).
- This article is not legal advice. License texts change between model versions — verify the current license attached to your specific checkpoint and consult counsel before a commercial deployment.
Is This Legal Advice?
No — this guide is not legal advice, and it is not a substitute for reading the license text yourself. It summarizes, at a general level, how the commercial-use terms for Llama, Qwen, Mistral, and Gemma are currently structured, based on publicly published license documents. License terms change between model versions, vendors revise their terms without always renaming the license, and the specific facts of your deployment (revenue, user count, redistribution plans, jurisdiction) change how a given clause applies to you. Before any commercial deployment, read the exact license file shipped with the model checkpoint you intend to use and consult a qualified attorney familiar with software licensing and your jurisdiction.
What Does "Open Weight" Mean vs. "Open Source"?
"Open weight" means the model's trained parameters are downloadable and runnable by anyone; "open source" in the OSI sense additionally requires the license to place no restriction on the field of use or the scale of the licensee's business. The Open Source Initiative's Open Source Definition specifically prohibits licenses that discriminate against fields of endeavor or against persons/groups — a usage-based threshold like Llama's 700 million MAU cap fails that test even though the weights themselves are freely downloadable.
Use "open weight" as the accurate description when a model's license includes any usage-scale threshold, a conduct-based prohibited-use policy, or a restriction tied to a specific business activity — this covers Llama, Gemma, and any Qwen or Mistral checkpoint released under a non-Apache license. Reserve "open source" for the specific model sizes genuinely released under an OSI-approved license text like Apache 2.0 or MIT, which several Qwen and Mistral checkpoints are.
This distinction matters commercially, not just semantically: a procurement or legal team evaluating "open source AI" as a category needs to know that the label does not guarantee unrestricted commercial use, and that the actual terms vary by the specific file being deployed, not by the vendor's marketing description.
📍 In One Sentence
A model is "open weight" if its parameters are freely downloadable; it is "open source" in the OSI sense only if the license also imposes no field-of-use or business-scale restriction, which excludes Llama, Gemma, and several Qwen/Mistral checkpoints.
💬 In Plain Terms
Downloadable does not mean unrestricted. Check whether the license has a usage cap or a rules-of-conduct policy attached — if it does, treat it as "open weight," not "open source," when your legal team asks the question.
What Are Llama's Commercial License Terms?
Meta distributes Llama under its own Llama Community License, which permits commercial use for most businesses but adds a usage-scale threshold that OSI-approved open source licenses do not have. If your product or service — including affiliates — had more than 700 million monthly active users in the month before the specific Llama version was released, the standard license does not authorize you to use it; you must request a separate commercial license directly from Meta, which Meta may grant or refuse at its sole discretion.
Below that threshold, the Community License permits commercial deployment, fine-tuning, and building derivative products. Recent versions have historically required attribution ("Built with Llama" or similar language) in specified circumstances, and have restricted using Llama or its outputs to train or improve a competing large language model outside the Llama family. Meta also maintains a separate Acceptable Use Policy prohibiting specific categories of use, similar in structure to Gemma's Prohibited Use Policy below.
The 700 million MAU threshold is a business-scale restriction, which is why the Llama Community License is not OSI-approved open source even though the weights are freely downloadable below that threshold — it fits the "open weight" category described above.
- Threshold: 700 million monthly active users of the licensee's (or its affiliates') products/services, measured in the month before the specific Llama version's release date
- Above the threshold: a separate license must be requested from Meta directly; Meta grants or denies at its sole discretion
- Attribution: recent Llama versions have required "Built with Llama" or similar credit in specified circumstances — check the version-specific license text
- Training restriction: some versions restrict using Llama outputs to train or improve a separate, competing large language model
- Acceptable Use Policy: a separate document lists prohibited use categories, enforced alongside the license itself
What Are Qwen's Commercial License Terms?
Alibaba releases most current Qwen model sizes under the Apache License 2.0 — a permissive, OSI-approved license with no usage-scale threshold, allowing commercial use, redistribution, and derivative models with only a standard notice-and-attribution requirement. This is the most business-friendly license among the four families for the sizes it covers.
The exception matters: Alibaba has also released specific Qwen checkpoints — historically some of the largest or newest flagship sizes — under a separate, more restrictive custom license (referred to in Qwen's own repositories as the Qwen License) that includes its own usage-scale threshold and, in some versions, a requirement to display the model's name in a derivative product. Because the license is attached to the checkpoint, not the "Qwen" brand as a whole, two different Qwen model sizes released the same week can carry two different licenses.
Before deploying any specific Qwen checkpoint commercially, open the LICENSE file in that exact model's repository (on Hugging Face or ModelScope) rather than assuming Apache 2.0 applies because other Qwen sizes use it.
- Most sizes: Apache License 2.0 — no usage threshold, OSI-approved, commercial use and redistribution freely permitted
- Some flagship/large checkpoints: a separate, custom Qwen License with its own commercial-use threshold — check per checkpoint
- Attribution: Apache 2.0 requires only the standard NOTICE/license retention; the custom Qwen License has, in some versions, required displaying the model name in derivative products
- Where to check: the LICENSE file shipped in the specific model's Hugging Face or ModelScope repository — never assume by brand name alone
What Are Mistral's Commercial License Terms?
Mistral AI has moved most of its current open-weight releases to the Apache License 2.0 — the same permissive, OSI-approved terms Qwen uses for most sizes — but the company's catalog also includes models released under a more restrictive research-only or non-production license. Mistral has publicly signaled a general shift toward Apache 2.0 for new releases, but that shift applies model-by-model, not retroactively to every checkpoint the company has ever published.
A model under Apache 2.0 can be deployed commercially, fine-tuned, and redistributed with only the standard notice requirement. A model still under Mistral's more restrictive research/non-production terms is not cleared for commercial deployment without a separate commercial agreement with Mistral AI — treat any Mistral checkpoint whose license file does not explicitly say Apache 2.0 as non-commercial until confirmed otherwise.
Because Mistral has changed its licensing approach across releases, do not carry forward an assumption from a prior Mistral model you deployed — check the license attached to the specific checkpoint each time you evaluate a new one.
- Current trend: most recent Mistral releases ship under Apache License 2.0 — commercial use, redistribution, and fine-tuning freely permitted
- Exceptions exist: some models remain under a more restrictive research-only or non-production license requiring a separate commercial agreement
- Default assumption: treat a Mistral checkpoint as non-commercial unless its LICENSE file explicitly states Apache 2.0 or an equivalent permissive license
- Recheck each release: Mistral's licensing approach has changed over time — verify per model, not from memory of a prior release
What Are Gemma's Commercial License Terms?
Google distributes Gemma under its own Gemma Terms of Use, paired with a separate Gemma Prohibited Use Policy, rather than a standard OSI-approved open source license. Commercial use is generally permitted under these terms, but the license structure differs from Apache 2.0 or MIT in a way that matters to a procurement or legal review: it includes conduct-based restrictions (the Prohibited Use Policy bars specific categories of use, such as generating content that infringes rights or facilitates illegal activity) and Google reserves the right to restrict usage it believes violates those terms.
A field-of-use or conduct restriction of this kind is exactly the category of clause the OSI Open Source Definition prohibits, which is why Gemma — like Llama — belongs in the "open weight" category rather than "open source" in the strict sense, regardless of how the weights are marketed.
Google has, in public commentary and at various points, discussed more permissive licensing directions for parts of its model lineup. Do not treat any such signal as confirmed for the specific Gemma version or checkpoint you plan to deploy — the terms attached to that exact release are the only ones that govern your use, and Google can revise the Terms of Use and Prohibited Use Policy over time.
- License structure: custom Gemma Terms of Use plus a separate Gemma Prohibited Use Policy, not a standard OSI license
- Commercial use: generally permitted under current terms, subject to the Prohibited Use Policy's conduct-based restrictions
- Enforcement: Google reserves the right to restrict usage it believes violates the Terms of Use or Prohibited Use Policy
- Version sensitivity: licensing terms can change between Gemma versions — read the terms page for the exact release you deploy, not a summary of a prior version
How Do the Four Licenses Compare?
No two of these four license structures are identical, and within Qwen and Mistral, different checkpoints of the same family can carry different licenses. Use this table as an orientation, then verify against the current license file for your specific model before deployment.
| Model Family | License Type | MAU/Revenue Threshold | Redistribution | OSI Approved? |
|---|---|---|---|---|
| Llama (Meta) | Custom (Llama Community License) | 700M+ MAU/mo triggers separate license | Allowed w/ "Built with Llama" credit | No |
| Qwen (Alibaba) | Apache 2.0 (most sizes) / custom (some) | None on Apache sizes / threshold on some | Freely allowed under Apache 2.0 | Yes (Apache-licensed sizes only) |
| Mistral (Mistral AI) | Apache 2.0 (most current) / research-only (some) | None on Apache 2.0 models | Freely allowed under Apache 2.0 | Yes (Apache-licensed models only) |
| Gemma (Google) | Custom Gemma Terms of Use | No published MAU cap; conduct limits instead | Allowed under Terms + Prohibited Use Policy | No |
This table reflects the general license structure as commonly published; specific checkpoints can differ. Always confirm against the LICENSE file in the exact model repository you plan to deploy.
When Do Usage Thresholds Restrict Commercial Use?
A usage threshold converts a license from "commercial use permitted" to "separate license required" once your product crosses a specific scale, and only Llama publishes a hard, well-known number: 700 million monthly active users. Qwen has used comparable threshold structures on some of its non-Apache checkpoints, historically framed around a combination of monthly active users and monthly revenue, though the exact figures are set per license and should be read directly rather than assumed.
Use case: a startup building a customer-facing product on a Llama-licensed model does not need to think about the 700 million MAU threshold at launch — it becomes relevant only if the company later reaches a scale most startups never hit, and legal counsel should revisit licensing at that growth stage, not before.
For Apache 2.0-licensed checkpoints (most Qwen and Mistral sizes), there is no usage-scale threshold at all — the license permits commercial use regardless of company size or revenue. This is a meaningful differentiator when your business model anticipates high growth and you want to avoid revisiting the license question later.
What Attribution and Redistribution Rules Apply?
Attribution requirements range from "none beyond a standard license notice" (Apache 2.0) to "credit the model by name in specified circumstances" (Llama, some Qwen checkpoints). Redistribution — passing the model or a derivative of it to a third party — is permitted under all four license structures for their current mainstream releases, but each attaches its own conditions.
Use Apache 2.0-licensed checkpoints (most current Qwen and Mistral sizes) when your deployment plan involves redistributing a fine-tuned derivative to customers or embedding the model in a product you resell — the attribution burden is limited to retaining the standard notice. Use extra care with Llama and Gemma derivatives: both require the derivative to carry forward the parent license's conditions (including, for Llama, the "Built with Llama" credit in specified circumstances, and for Gemma, adherence to the Prohibited Use Policy), and Qwen's non-Apache checkpoints can impose a similar pass-through requirement.
When NOT to assume redistribution is unrestricted: if your product embeds a fine-tuned Llama, Gemma, or non-Apache Qwen/Mistral derivative inside a SaaS product sold to enterprise customers, confirm whether the license's attribution and pass-through conditions apply to your specific distribution model — API-only access, on-premises delivery, and bundled software each raise slightly different questions under these license texts.
Do These Licenses Include Indemnification or Warranty?
None of the four license families offers indemnification to the deploying business, and all four distribute the model "as is," without warranty of any kind — this is standard for open-weight and open-source licenses generally, not unique to any one vendor. If a third party later asserts an intellectual-property claim related to a model's training data or output, the license text does not obligate Meta, Alibaba, Mistral AI, or Google to defend or reimburse the business that deployed the model.
This differs from how some commercial, closed AI vendors structure enterprise agreements, where limited indemnification against IP claims is sometimes offered as a paid-tier feature. When evaluating open-weight models for a use case with elevated IP-litigation exposure, the absence of indemnification is a genuine business risk factor to weigh against the cost savings and control benefits of self-hosting — this is a business decision, not something a summary article can resolve for you.
Businesses in this position typically manage the risk through their own liability insurance, contractual risk allocation with their own customers, or by limiting deployment to internal/non-customer-facing use cases where third-party exposure is lower — none of which substitutes for a legal risk assessment specific to your situation.
Which License Fits Your Deployment Scenario?
Match your deployment scenario to the license structure that fits it, then verify the exact checkpoint's license file before committing engineering time to it.
- ✅ Startup or mid-size business, well under any usage threshold → Any of the four families works from a threshold standpoint; prefer Apache 2.0-licensed Qwen or Mistral checkpoints if you want to avoid revisiting the license question as you grow.
- ✅ Building a resellable, white-labeled product with a fine-tuned derivative → Apache 2.0-licensed Qwen or Mistral checkpoints minimize attribution and pass-through obligations for the derivative you ship.
- ✅ Internal enterprise tool, no customer-facing redistribution → Attribution and redistribution clauses matter less; the usage threshold and warranty disclaimer are still relevant regardless of internal-only use.
- ❌ Consumer product plausibly approaching hundreds of millions of monthly active users → Do not default to a Llama-licensed model without legal review of the 700 million MAU clause and a plan for what happens if you approach it; Apache 2.0-licensed alternatives avoid the question entirely.
- ❌ Any deployment with elevated IP-litigation exposure and no in-house legal risk tolerance → No open-weight license here offers indemnification; evaluate whether a commercial vendor offering contractual indemnification is a better fit before defaulting to self-hosted open weights.
- If unsure: start with an Apache 2.0-licensed checkpoint (available in most Qwen and Mistral sizes) to eliminate the usage-threshold question, and route any commercial deployment plan through counsel before launch regardless of which family you choose.
What Are the Most Common Licensing Mistakes?
Most licensing problems come from treating a model family's brand name as a proxy for its license, rather than reading the specific file attached to the checkpoint being deployed.
- Mistake: Assuming "Qwen is Apache 2.0" or "Mistral is Apache 2.0" as a blanket fact. Fix: Check the LICENSE file for the specific checkpoint — both companies have released non-Apache models alongside their Apache-licensed ones.
- Mistake: Ignoring the Llama 700 million MAU threshold because the company is currently far below it. Fix: Note the threshold in your compliance calendar and revisit it as part of any major growth-stage legal review, not only when you think you might already be close.
- Mistake: Treating "open weight" and "open source" as interchangeable when describing a model to your own legal or procurement team. Fix: Use "open weight" for Llama, Gemma, and any non-Apache Qwen/Mistral checkpoint; reserve "open source" for genuinely OSI-licensed checkpoints.
- Mistake: Assuming a license summary (including this one) is sufficient sign-off for a commercial launch. Fix: Route the final decision through counsel who reads the current license text for your exact use case — license text changes between versions and a stale summary can be wrong by the time you deploy.
- Mistake: Assuming any of these vendors will indemnify you if a third-party IP claim arises. Fix: Confirm explicitly that no such obligation exists in the license text, and plan your own risk mitigation (insurance, contractual allocation, or a commercial vendor with indemnification) accordingly.
What Is the Pre-Deployment License Checklist?
Work through this checklist before a commercial launch on any Llama, Qwen, Mistral, or Gemma checkpoint.
- 1Identify the exact model checkpoint and its repository page
Why it matters: License terms are set per checkpoint, not per brand — you need the specific file, not a general summary. - 2Read the current LICENSE file (and any separate Terms of Use / Acceptable Use Policy) in full
Why it matters: Summaries — including this article — can miss version-specific clauses or be outdated by the time you deploy. - 3Check whether a usage-scale threshold applies and where your business currently sits against it
Why it matters: Llama's 700 million MAU clause and comparable Qwen thresholds change the license outcome entirely above the line. - 4Confirm the attribution requirement for your specific distribution model (API-only, on-prem, bundled)
Why it matters: Different distribution methods can trigger different attribution or pass-through obligations under the same license. - 5Confirm there is no indemnification clause and document your own risk mitigation plan
Why it matters: None of the four license families indemnifies the deploying business — this needs its own answer, not an assumption. - 6Route the final go/no-go decision through legal counsel familiar with your jurisdiction
Why it matters: This guide is not legal advice; the final sign-off should come from someone who can read the license against your specific facts. - 7Set a calendar reminder to re-check the license before your next major version upgrade
Why it matters: Vendors have changed licensing terms across model versions before — a license valid today is not guaranteed to remain unchanged at your next upgrade.
Frequently Asked Questions
Is this article legal advice about which LLM license to use?
No. This guide summarizes, at a general level, how the commercial-use terms for Llama, Qwen, Mistral, and Gemma are currently structured, based on publicly published license documents. It is not a substitute for reading the exact license text attached to your model checkpoint or for advice from a qualified attorney familiar with your jurisdiction and use case.
Can a small business use Llama commercially without contacting Meta?
Yes, if the business — including its affiliates — has fewer than 700 million monthly active users across its products or services. Below that threshold, the Llama Community License permits commercial use without a separate agreement. Above it, a separate license must be requested directly from Meta, which grants or denies it at its sole discretion.
Are all Qwen models under the same license?
No. Alibaba releases most current Qwen model sizes under Apache License 2.0, which has no usage threshold, but has also released some checkpoints — historically some of the largest or newest flagship sizes — under a separate, more restrictive custom license. The license is attached to the specific checkpoint, not the Qwen brand as a whole, so check the LICENSE file in the exact model repository before assuming Apache 2.0 applies.
Is Mistral always Apache 2.0 licensed?
No. Mistral AI has moved most of its current open-weight releases to Apache License 2.0, but the company's catalog also includes models released under a more restrictive research-only or non-production license. Treat any Mistral checkpoint as non-commercial unless its LICENSE file explicitly states Apache 2.0 or an equivalent permissive license.
Does Gemma's license count as open source?
Not in the strict OSI (Open Source Initiative) sense. Google distributes Gemma under a custom Gemma Terms of Use paired with a separate Prohibited Use Policy, which imposes conduct-based restrictions the OSI Open Source Definition does not permit in a genuinely open source license. Gemma is more accurately described as "open weight" — the parameters are freely downloadable, but the license carries conditions beyond a standard open source license.
What is the difference between "open weight" and "open source" for an LLM?
"Open weight" describes a model whose trained parameters are downloadable and runnable by anyone, regardless of the license terms attached. "Open source" in the OSI sense additionally requires the license to place no restriction on field of use or on the licensee's business scale. Llama, Gemma, and any non-Apache Qwen or Mistral checkpoint are open weight but not open source in this strict sense; Apache 2.0-licensed Qwen and Mistral checkpoints meet both definitions.
Do any of these vendors indemnify me if someone sues over training data or model output?
No. All four license families distribute the model "as is," without warranty, and none includes an indemnification obligation for the deploying business against third-party intellectual-property claims. This is standard for open-weight and open-source licenses generally. Businesses with elevated IP-litigation exposure should weigh this against commercial vendors that sometimes offer indemnification as a paid enterprise feature.
Do I need to credit Meta, Alibaba, Mistral AI, or Google when I use their model?
It depends on the specific license. Apache 2.0-licensed checkpoints (most current Qwen and Mistral sizes) require only a standard notice/license retention, not visible product credit. Llama has, in specified circumstances across recent versions, required a "Built with Llama" credit; Gemma and some non-Apache Qwen checkpoints have carried their own attribution or naming conditions. Check the current license text for the specific checkpoint you deploy.
Does self-hosting one of these models change the license terms?
No — the license governs the model itself, not where you run it. Self-hosting versus using a cloud-hosted API of the same model does not change the underlying license conditions (usage thresholds, attribution, or the absence of indemnification), though it does change other factors like data residency and your own infrastructure obligations, which are separate legal considerations from the model license itself.
How often do these license terms change?
They change more often than most businesses expect — Meta, Alibaba, Mistral AI, and Google have all revised license terms across model versions, and a company's licensing approach for its newest release does not automatically apply retroactively to older checkpoints still in use. This is why this article is set to a semi-annual refresh cycle and why the checklist above recommends re-verifying the license before every major version upgrade rather than relying on a one-time review.
Where Can You Find the Primary License Texts?
- Llama Community License (llama.com/llama3_1/license) — the official license text, including the 700 million MAU clause; always check the version-specific page for the model you deploy
- Qwen model repositories (huggingface.co/Qwen) — each checkpoint's repository includes its own LICENSE file; do not assume Apache 2.0 applies without checking
- Mistral AI model releases (mistral.ai/news) and Hugging Face repositories — check the license attached to the specific model card
- Gemma Terms of Use (ai.google.dev/gemma/terms) and Gemma Prohibited Use Policy (ai.google.dev/gemma/prohibited_use_policy) — the two documents that together govern Gemma use
- Open Source Initiative — Open Source Definition (opensource.org/osd) — the reference standard used in this guide to distinguish "open weight" from "open source"