Compare Llama 4, Gemma 4, Qwen3 and gpt-oss Licenses for SaaS

Apache 2.0 checkpoints such as Gemma 4, Qwen3 and gpt-oss are the safe default for products. Llama 4's naming rule, display line, use policy and EU multimodal exclusion all reach your customers.

By Rajesh Beri·November 24, 2026·13 min read
Share:
A conference-room table with several thick printed license agreements fanned out, one held open by a red binder clip with a paragraph circled in pen, next to a laptop showing a file download progress bar and a server rac

Illustration generated using AI

If your legal team approved an open-weight model as "open source", check the checkpoint: its license may require you to rename your fine-tune, show vendor branding and bind customers to its use policy.

The short answer for a company that ships AI features to customers: default to checkpoints under Apache 2.0 or MIT (Gemma 4, Qwen3, gpt-oss, Mistral Small 3.1, DeepSeek-R1). They carry a copy-the-license-and-keep-the-notices obligation and almost nothing else. Llama 4 is the loser of this comparison for product work. Its license is free at nearly any scale, but it attaches a naming rule to every model you train with it, a "Built with Llama" display duty, an acceptable use policy that Meta hosts and can revise, and an exclusion for EU-based companies on its multimodal models. Anything labelled research-only or non-production is a hard no for a live system.

All license text below was read on the vendor's own page or Hugging Face repository on November 25, 2026. Licenses are set per checkpoint, so re-check the exact repository you deploy even when you know the family.

License Example checkpoints Commercial use Scale gate Use policy you must flow down Naming or attribution Verdict for a product team
Apache 2.0 Gemma 4, Qwen3-235B-A22B, gpt-oss-120b, Mistral Small 3.1 Yes None None in the license (gpt-oss adds a two-sentence usage policy) Keep LICENSE and NOTICE files Default choice
MIT DeepSeek-R1, DeepSeek-V3-0324 Yes None None Keep the copyright notice Fine, but check what each distill inherits
Llama 4 Community License Llama 4 Scout, Llama 4 Maverick Yes 700M MAU, counted with affiliates, on the release date Yes, Llama 4 AUP incorporated by reference "Built with Llama" plus a "Llama" prefix on derived model names Loser for customer-facing products
Gemma Terms of Use Gemma 3 and earlier Yes None Yes, as an enforceable provision in your contracts Notice file; derivatives include models trained on Gemma's synthetic data Acceptable, with contract work
Qwen License Agreement Qwen2.5-72B-Instruct Yes 100M MAU No separate policy "Built with Qwen" or "Improved using Qwen" Avoid when a Qwen3 Apache checkpoint fits
Mistral Non-Production License Some Mistral research releases No n/a n/a Notice line required Never in production

How We Compared Them: One Defined Workload

Each license was tested against the same buyer: a SaaS company with 5 million monthly active users and a parent group several times larger, which fine-tunes an open-weight model, serves it to paying customers through an API inside its product, hosts it on Amazon Bedrock or its own GPUs, and sells into the European Union. That profile hits every clause that bites in practice: scale thresholds counted across affiliates, derivative models, hosted access, flow-down to customers and EU residency.

An open-weight model is a model whose trained parameters you can download and run yourself. The term describes the file and says nothing about the license. The Open Source Initiative said in February 2025 that Meta's Llama terms "continue to fail the Open Source Definition", and most custom model licenses would fail it for the same reasons: field-of-use bans and conditions on who may use the model.

What the Llama 4 Community License Requires

Llama 4 is free for commercial use, but four obligations travel with it, and two of them reach your customers. The Llama 4 Community License (effective April 5, 2025) is short enough to read in ten minutes, and counsel should read all of it.

The scale gate. Section 2 says that if, "on the Llama 4 version release date," the monthly active users of products made available "by or for Licensee, or Licensee's affiliates" exceeded 700 million in the preceding calendar month, you must request a license that Meta "may grant to you in its sole discretion." Two details matter. Affiliates count, so a subsidiary inherits its parent group's user base. And the test is pinned to the release date, which on a plain reading makes it a one-time snapshot. Section 1.b.ii also exempts anyone who receives Llama as part of your integrated end-user product from Section 2, so your customers do not inherit the gate.

The naming rule. Section 1.b.i says that if you use Llama "or any outputs or results" of it to "create, train, fine tune, or otherwise improve an AI model, which is distributed or made available," you must "include 'Llama' at the beginning of any such AI model name." Your fine-tuned support model, if exposed to customers, becomes "Llama-something". The words "outputs or results" mean a model trained on synthetic data generated by Llama is caught too, even if no Llama weights are in it.

The display rule. The same section requires you to "prominently display 'Built with Llama'" on a website, user interface, blog post, about page or product documentation whenever you distribute or make available a product or service that contains Llama materials. Marketing teams rarely expect a third party's brand line in their docs.

The acceptable use policy. Section 1.b.iv incorporates the Llama 4 Acceptable Use Policy "by reference into this Agreement." It bans uses that violate the law, uses that risk death or bodily harm (including military, weapons and critical infrastructure), deception, and failure to disclose known dangers of the AI system. The policy page points to "the most recent copy," so the terms your product is bound by are hosted by Meta and can change. The same policy says the Section 1(a) rights for multimodal Llama 4 models "are not being granted to you" if you are "a company with a principal place of business in, the European Union," while exempting "end users of a product or service that incorporates" them. The Llama 3.2 policy carries the same EU clause.

Governing law is California, with exclusive jurisdiction in California courts (Section 7). For a European buyer that is one more reason to prefer a permissive checkpoint.

Who should not pick Llama: an EU-headquartered company that needs image input, any team that will distill or fine-tune and serve the result under its own brand, and anyone in defense, weapons or critical infrastructure operations. Teams running Llama internally for their own staff, with no distributed model and no customer-facing product, carry the lightest version of these duties. The Llama 3.3 tool page covers the older generation, which uses a similar community license.

Why Gemma 4's Apache 2.0 Switch Changes the Answer

Gemma 4 is the easiest Google model to approve because it carries plain Apache 2.0 with no Google-specific use restrictions attached. Google announced on April 2, 2026 that Gemma 4 models are "the first in the Gemmaverse to be released under the OSI-approved Apache 2.0 license". The Gemma 4 31B repository lists apache-2.0, and Google's Gemma 4 license page shows the standard Apache License 2.0 text with no added policy.

Earlier Gemma generations are different. The Gemma Terms of Use (last modified April 1, 2026) say they apply to the models listed in their appendix and send Gemma 4 users to the Gemma 4 license. For Gemma 3 and earlier, three clauses need counsel:

  • Flow-down into your contracts. Section 3.1 says you "must include the use restrictions referenced in Section 3.2 as an enforceable provision in any agreement" governing use or distribution, and give recipients a copy of the terms. That means editing your customer agreement.
  • Synthetic data counts. "Model Derivatives" include any model created through "methods based on the generation of synthetic data Outputs by Gemma for training that model." Outputs themselves are not derivatives, and "Google claims no rights in Outputs," but a model trained on Gemma 3 outputs inherits the Gemma terms.
  • Remote restriction. Section 3.2 says Google "reserves the right to restrict (remotely or otherwise) usage" it reasonably believes violates the agreement. The restrictions themselves sit in the Gemma Prohibited Use Policy, which Google can update.

Who should not pick Gemma 3 now: anyone starting a new project, since Gemma 4 exists under Apache 2.0. Keep Gemma 3 only where a validated deployment would cost more to re-test than the contract edits cost.

Apache 2.0 and MIT: What You Still Owe

Permissive licenses still carry obligations, and your engineering team can meet all of them without touching customer contracts. The Apache License 2.0 requires you to give recipients a copy of the license, keep NOTICE files, and mark modified files. It grants a patent license that terminates if you sue claiming the work infringes a patent, and Section 6 grants no trademark rights, so the license gives you no right to use a vendor's model name as your product name.

Three families show how licenses split inside one vendor:

  • gpt-oss. The gpt-oss-120b repository is Apache 2.0, and OpenAI's help center says the weights are free to use "under the Apache 2.0 license and gpt-oss usage policy". The usage policy is two sentences: OpenAI's aim that its tools be used "safely, responsibly, and democratically," and your agreement to comply with applicable law. It adds no category bans and no flow-down clause.
  • Qwen. Qwen3-235B-A22B is Apache 2.0. Qwen2.5-72B-Instruct uses the Qwen License Agreement instead, which requires a separate license above 100 million monthly active users, a "Built with Qwen" or "Improved using Qwen" label on models you train with its outputs, and disputes in the Hangzhou courts under Chinese law. Same vendor and family name, two very different approvals.
  • Mistral. Mistral Small 3.1 is Apache 2.0. The Mistral AI Non-Production License limits use to "testing, research, Personal, or evaluation purposes" and excludes "commercial operations, revenue-generating activities." Mistral Large 4 uses a third license, a modified MIT license that requires a separate commercial agreement if you or an affiliate run a Model as a Service business.

MIT is simpler still. DeepSeek-R1 is MIT and explicitly allows distillation, but its distilled checkpoints are built on other vendors' base models: the Qwen-based ones derive from Qwen2.5, originally licensed under Apache 2.0, and the Llama-based ones from models originally under the Llama 3.1 and 3.3 licenses. A model with "DeepSeek" in its name can arrive with Meta's naming rule attached. The DeepSeek V3 tool page covers the main line.

Who should not pick a permissive checkpoint: a team that needs a vendor indemnity. Apache 2.0 and MIT disclaim all warranties, so legal cover has to come from a hosted contract.


Custom "Open" Licenses: Read the Service Clause

A newer group of licenses starts from MIT and adds a commercial trigger, usually aimed at companies that resell hosted access. The Kimi K3.1 Pro license is free for internal use but requires products above 100 million monthly active users or $20 million in monthly revenue to display the model name. Meta's Muse Spark Open, which we covered in October, bans operating critical infrastructure in its usage exhibit. Each vendor writes its own clauses, so each one needs its own read.

Do Bedrock, Vertex AI or Azure Terms Replace the Model License?

No. Every major cloud adds its own terms on top of the model license and leaves the model license in force. The AWS Service Terms (Section 50.12.1) say third-party models on Bedrock are "Third-Party Content" and "by using a third-party model, you agree to the applicable terms." AWS's Bedrock third-party model page describes the OpenAI offerings it sells as "subject to open-weight licenses." On Microsoft Foundry, the model catalog documentation says models from other providers "are subject to the terms provided with the models" and that "model providers define the license terms." Google's Model Garden documentation does not state the rule in one sentence, so for Vertex AI get your account team's answer in writing.

A managed endpoint removes the redistribution duties, since you never ship weights. The acceptable use policy stays, and so do the naming rule for models you train on outputs and Meta's "Built with Llama" line if you make available a product that contains Llama. You also pick up the cloud's own acceptable use and responsible AI policies.

How to Decide: The Criteria That Predict Regret

The questions that cause trouble a year later concern distribution and derivative models.

  1. Will you train a model on this model's outputs? If yes, Llama 4, Gemma 3 and the old Qwen license all reach the new model. Apache and MIT checkpoints do not.
  2. Will customers or partners get access, including through an API? If yes, every flow-down clause applies. Under Gemma 3 terms that means contract edits; under Llama 4 it means a display line and the AUP.
  3. Where is your principal place of business? An EU headquarters rules out multimodal Llama 4 and Llama 3.2.
  4. What does the parent group's user count look like? Affiliates count under Llama 4, so check at group level.
  5. Is the use near a policy category? Defense, weapons and critical infrastructure appear in Llama's and Muse's policies. Apache checkpoints carry no such list, though your own policy and the cloud's still apply.
  6. Do you need indemnity? If yes, buy a hosted model under a commercial contract; no open-weight license gives you one.

What changes the answer: if the best-performing checkpoint for your task is only available under Llama terms, most US companies can absorb the naming and display rules as a branding cost. Take it if the quality gap is measured on your own evaluation set.

Approve each checkpoint, by exact repository and revision, against this list.

This Week:

  1. Record the exact repository name, revision hash and license file for every model in use, including the base model of any distill.
  2. Classify each license: Apache 2.0, MIT, community license with use policy, custom permissive with service clause, or non-production.
  3. Reject any non-production or research-only checkpoint running in a live system.

This Month:

  1. For each community-licensed model, list the obligations: scale gate (and whether affiliates count), naming prefix, display line, notice file, use policy URL and governing law.
  2. Decide whether your customer agreement must carry flow-down terms, and draft the clause if it must.
  3. Confirm whether any internal team trains models on another model's outputs, and apply the source model's derivative rules.
  4. For each cloud endpoint, record which cloud terms apply on top of the model license.

Before Next Quarter:

  1. Name an owner to re-read incorporated policies (the Llama AUP, the Gemma Prohibited Use Policy) each quarter, since both can change without a new license version.
  2. Where an Apache 2.0 checkpoint matches your evaluation results, plan the migration off community-licensed models before your next product release.

The Bottom Line

Google with Gemma 4, OpenAI with gpt-oss, Alibaba with Qwen3 and Mistral with its small models now ship major checkpoints under Apache 2.0. Of the families compared here, Llama 4 carries the most obligations that reach your customers. Approve by exact repository and revision, and pick the Apache 2.0 checkpoint whenever its scores on your own evaluation set are close enough.

Continue Reading

Share:

Frequently Asked Questions

Does the Llama 4 license allow commercial use?

Yes. The Llama 4 Community License allows commercial use, but it requires a separate license from Meta if your products, counted together with your affiliates, had more than 700 million monthly active users on the Llama 4 release date. It also requires a "Built with Llama" display, a "Llama" prefix on models you train with it, and compliance with Meta's acceptable use policy.

Is Gemma 4 licensed under Apache 2.0?

Yes. Google released Gemma 4 under the Apache 2.0 license in April 2026, and its license page shows the standard Apache text with no added use policy. Gemma 3 and earlier models remain under the Gemma Terms of Use, which require flowing Google's use restrictions into your own agreements.

Do Amazon Bedrock or Azure terms replace an open model's license?

No. AWS Service Terms say that by using a third-party model on Bedrock you agree to the applicable terms, and Microsoft's Foundry documentation says partner models are subject to the terms provided with the models. The cloud's own policies apply on top of the model license.

If I fine-tune Llama, do I have to rename my model?

Yes, if you distribute the model or make it available. Section 1.b.i of the Llama 4 Community License requires "Llama" at the beginning of the name of any AI model created, trained or fine-tuned with Llama materials or their outputs.

Can I use a Mistral Non-Production License model in production?

No. The Mistral AI Non-Production License limits use to testing, research, personal or evaluation purposes and excludes commercial operations and revenue-generating activities. Mistral Small 3.1, by contrast, is released under Apache 2.0.

Newsletter

More on Models & LLMs, every Sunday

The week's enterprise AI news, Models & LLMs included, in one Sunday email.

Weekly, free. Unsubscribe any time. Privacy

Latest Articles

View All →