LLM.co — Private AI & custom AI developmentCall +1 (206) 844-1326All inference local

Apache 2.0, Llama, and Gemma Licenses Compared for Commercial Use

A side by side look at Apache 2.0, Llama Community, and Gemma license terms, covering acceptable use, redistribution, and commercial limits for enterprises.

Eric Lamanna6 min read
Three colored legal binders stacked on a meeting room table beside fanned documents and reading glasses.

Apache 2.0 clears procurement review in a single pass; the Llama Community License and the Gemma Terms of Use do not. Both are custom contracts with user thresholds, acceptable-use clauses, and derivative naming rules that general counsel has to read line by line before a single checkpoint moves into training.

What follows reads each of the three licenses the way a GC does: the patent grant, the redistribution chain, the naming obligation, and the clause that quietly disqualifies some products. The question running underneath is whether a fine-tuned derivative can ship under a vendor's own brand, be embedded in a paid product, or be resold to a regulated downstream customer.

Apache 2.0 Is the Clean Baseline

The Apache License 2.0 was issued in January 2004 and includes an express, irrevocable patent grant that automatically terminates if a licensee files patent litigation alleging that the Work, or a Contribution incorporated within it, constitutes direct or contributory patent infringement. Section 6 denies trademark rights. The license does not grant permission to use the licensor's trade names, service marks, or product names except as required for reasonable and customary use in describing the origin of the Work and reproducing the NOTICE file.

That leaves a derivative free to be renamed, rebranded, and sold under the vendor's own identity. Mistral released Mixtral 8x7B under Apache 2.0, with both base and instruction-tuned checkpoints available for commercial modification and redistribution, which is why it continues to appear in RFPs where a buyer wants a model with no community-license strings attached. The Open Source Initiative's Open Source AI Definition 1.0, adopted October 28, 2024, uses that same posture (use, study, modify, share) as its baseline test for whether an AI system is open source at all.

Not every Apache-flavored release is actually Apache. Falcon 180B ships under a TII license derived from Apache 2.0 that permits commercial use and self-hosting but restricts 'hosting use': offering shared instances to third parties requires separate written permission. Procurement should read the file in the repository, not the family label on the model card.

Share of Models Labeled 'Open' on Hugging Face With No License
Share of Models Labeled 'Open' on Hugging Face With No LicenseNo license declared: 60%60%of 100%No license declared
A single headline rate against a 100% ceiling — most 'open' models skip the license file Apache 2.0 makes explicit. Source: Open Source Initiative, 2025

The Llama Community License Is a Scale-Gated Contract

The Llama 3.1, 3.2, 3.3, and 4 licenses are commercial licenses with triggers. Any licensee whose products or services had more than 700 million monthly active users in the preceding calendar month must request a separate license from Meta, which Meta may grant in its sole discretion. For most enterprises that threshold is theoretical. For the largest platforms and their affiliates it is a binding negotiation that cannot be assumed, and the entity doing the counting is not always the entity signing the contract.

The Llama 4 Community License took effect April 5, 2025, and withholds the Section 1(a) rights for multimodal models from individuals domiciled in, or companies with a principal place of business in, the European Union. The carve-out does not apply to end users of products that incorporate such models, so the practical question is who, on paper, accepts the license. A European parent with a United States subsidiary needs to confirm which entity is the licensee before anyone runs inference.

The Llama Acceptable Use Policy then restricts applications including weapons development, mass surveillance, unqualified legal, medical and financial advice, and attempts to defeat safety filters. A derivative inherits those restrictions, and a regulated buyer has to confirm its workload does not fall inside them before fine-tuning begins. For a longer view of why enterprises sort U.S. and Chinese open-weight families separately on licensing grounds, see our earlier note on U.S. versus China open weights.

The Gemma Terms of Use Pass Through to Downstream Users

Google's Gemma Terms of Use grant a worldwide, non-exclusive, royalty-free license for commercial use, modification, and distribution, subject to a Prohibited Use Policy that applies to the model, derivatives, and outputs. Redistribution requires passing that policy through to downstream users, including a notice that the recipient is subject to Gemma's terms and the current version of the Prohibited Use Policy.

There is no Llama-style MAU threshold. The obligation instead runs with the model. Whoever receives a Gemma derivative receives the same restrictions, and the licensee must pass them along in writing. A vendor shipping a Gemma-based product to a healthcare customer has to surface those terms in the customer contract, not absorb them silently. Google reserves the right to update the Prohibited Use Policy, which means the restrictions in effect at signing are not necessarily the restrictions in effect at renewal.

A hand annotating the margin of a printed contract beside a tabbed second contract and a coffee mug.

Under the Llama 3.1, 3.2, 3.3, and 4 licenses, any distributed AI model created, trained, fine-tuned, or otherwise improved using the Llama Materials or their outputs must have 'Llama' at the beginning of its name, and any product incorporating Llama must prominently display 'Built with Llama' on a related website, user interface, blog post, about page, or product documentation. That obligation reaches past the engineering team.

A healthcare vendor shipping a clinical summarizer trained on Llama 4 cannot unilaterally rebrand it as "ClinicalMind" without the "Llama-" prefix and the "Built with Llama" notice on its product pages. Marketing has to sign off on the disclosure before launch, not after. Gemma carries a similar naming posture for modified versions: a modified Gemma distribution must identify itself as modified and may not represent itself as an official Google release. Apache 2.0, by contrast, requires only that derivative works retain the NOTICE file, and the product can carry whatever name the vendor chooses.

For buyers planning a long-horizon rebrand of a private model, that distinction is load-bearing. Deployments on an open-source LLM download path that sit behind a corporate brand have different disclosure obligations depending on which weights are inside, and those obligations do not expire.

License Mix Across New Open-Weight Model Releases on Hugging Face
License Mix Across New Open-Weight Model Releases on Hugging FaceApache 2.0: 38%; MIT: 18%; Llama Community: 14%; Gemma Terms: 5%; Other (custom, CC-BY-NC, Tongyi, OpenRAIL): 25%Apache 2.038%MIT18%Llama Community14%Gemma Terms5%Other (custom, CC-B…25%
Permissive terms (Apache 2.0 and MIT) cover most new releases; Llama and Gemma together account for roughly one in five. Source: Presenc.ai, 2026

Patent Grants and the Redistribution Chain

Apache 2.0's patent grant is the strongest commercial feature of the three. It is irrevocable except by the specific termination trigger for patent litigation against the Work, which gives downstream resellers and OEMs a clean chain of patent rights from original contributor through derivative.

The Llama and Gemma community licenses include narrower patent language and tie the grant to compliance with the full agreement, including acceptable-use and naming clauses. A breach anywhere in the chain can terminate rights everywhere beneath it. For a system integrator stacking Llama into a product sold through a channel partner, that is a chain-of-custody problem worth drafting around in the reseller contract. Enterprises with a jurisdiction-sensitive deployment should walk this against their EU AI Act conformity work before model selection is locked into an RFP.

How the Three Memos Read

Back to the general counsel on the opening page. Three licenses reviewed in a single afternoon produce three different memos. Apache 2.0 closes in a page: patent grant confirmed, trademarks retained, NOTICE file carried through. The Llama memo is longer, with four items to clear: MAU under 700 million, EU carve-out inapplicable to the licensee entity, Acceptable Use Policy not touching the workload, and marketing briefed on the "Built with Llama" requirement. The Gemma memo hinges on the Prohibited Use Policy and the written pass-through to every downstream customer.

Whether a fine-tuned derivative ships under a vendor's own brand, or ships at all, is usually decided before the first training run. Teams staging a private deployment through a custom LLM build can preempt most of the review by choosing the license that matches the distribution model before the weights are selected, rather than discovering the naming clause the week before launch.

// written by
Eric Lamanna
Director of Business Development

Eric Lamanna is a Digital Sales Manager with a strong passion for software and website development, AI, automation, and cybersecurity. With a background in multimedia design and years of hands-on experience in tech-driven sales, Eric thrives at the intersection of innovation and strategy—helping businesses grow through smart, scalable solutions. He specializes in streamlining workflows, improving digital security, and guiding clients through the fast-changing landscape of technology. Known for building strong, lasting relationships, Eric is committed to delivering results that make a meaningful difference. He holds a degree in multimedia design from Olympic College and lives in Denver, Colorado, with his wife and children.

Bringing AI in-house, the right way.

Talk through your private or on-prem LLM deployment with an expert who has shipped them in regulated environments.

// the briefing

Private AI, in your inbox.

Occasional, high-signal notes on enterprise LLM deployment, security, and model strategy. No spam.