Mandate Law

Can I use an open-weight model like Llama or Gemma in my product?

What to check before building on an open-weight model, including license type, Llama's user cap, attribution and naming rules, and EU limit, acceptable use policies, fine-tuning, and the protections you give up compared with a hosted API.

Short answer

Usually yes, but "open" doesn't mean the same thing for every model. Some open-weight models are released under standard permissive licenses like Apache 2.0 or MIT, which allow commercial use with few conditions. Others use custom licenses with their own rules, such as user caps, attribution requirements, naming rules, geographic limits, and acceptable use policies that carry over to your users. Read the license for the exact model and version you ship, because terms can change between versions of the same family. Checking this before you build lets you pick the model that fits your business, instead of discovering a restriction at launch or in diligence.

Two kinds of licenses

What custom licenses can require

Using the Llama 4 Community License as an example:

Other custom licenses have their own variations, such as revenue thresholds, separate agreements for large hosting companies, or non-commercial terms. Treat each model's license as its own contract.

Other things to check

Checklist an agent can run against the codebase

Sources

If this applies to you

An AI feature review covers the models behind a feature before launch: each license's conditions, the acceptable use terms to pass on to users, attribution, and how the model choice fits your privacy documents and customer contracts. For one decision, such as switching to a new open-weight model, a pre-build feature check covers that choice before you build on it.