DEV Community

Andy Cross
Andy Cross

Posted on Originally published at stepinto.dev

Which Open Model Licences Let You Ship

"Open weights" means you can download the file. What you may do with the file afterwards is set by the licence that comes with it, and the licences differ more than the word suggests.

I'd like to preface this with my hope that Open weights continue to be a trend in our sector, and that a self-host, well revenued research lab is the way to achieve that. When I see what the frontier labs are becoming, I feel they've already moved beyond research and into fully fledged software companies. Ultimately that closes doors, locks access and competes with their own customers.

I read the licence of every model family that has held the open-weight record, and all of Mistral's, on 2 December 2026. This post sorts them by four things a European company wants to do with a model: serve it to customers, fine-tune it, sell the result, and pass the weights on. Each licence is linked, and the quotes are from the licence files themselves.

I am an engineer and not a lawyer. Read the licence of the exact file you deploy, and take advice before you rely on any of this.

The short version

Licence family Serve it Fine-tune it Sell the result Pass it on
Apache 2.0 and MIT Yes Yes Yes Yes, with the notice
MIT with a badge (Kimi K2 line) Yes Yes Yes, showing the model's name above a size threshold Yes, with the notice
Open unless you sell model access (Kimi K3, Muse Spark Open, Mistral Large 4) Yes inside a product. A hosted API needs an agreement Yes Yes as a product. Model access is the restricted part Yes, with the notice
Revenue bar (Mistral Medium 3.5, Devstral 2) Only below $20 million monthly revenue Same bar Same bar Same bar, and the bar travels with the weights
Community licences (Llama, Gemma 3) Yes, under a use policy Yes Yes, with naming and notice rules Yes, with the terms attached
Research and non-production (Mistral MRL, CC BY-NC) No For research only No For research only

The row that matters most to a company based in the EU is the fifth one. Meta's use policy withholds the licence for its multimodal Llama models from companies with their principal place of business in the EU.

Apache 2.0 and MIT

These two answer yes to all four questions. You can run the model for customers, offer it as an API, fine-tune it, sell the fine-tune and give the weights to someone else. The conditions are about paperwork. MIT asks you to keep the copyright and permission notice with every copy. Apache 2.0 asks for the licence text, any NOTICE file and a statement of what you changed. It also grants a patent licence and gives no right to the provider's trademarks.

The models under them on 2 December, by the licence tag on each Hugging Face page:

Gemma changed this year. Gemma 3 and earlier are under Google's own terms, covered below. Google released Gemma 4 under Apache 2.0, the first Gemma generation to use it.

Mistral has five sets of terms

Mistral is the European lab on every chart in this series, and its models are spread across more licences than any other lab's. The model name does not tell you which one applies. Devstral Small 2 is Apache 2.0, and Devstral 2 has a revenue bar.

Apache 2.0. Most Mistral releases are here: Mixtral, Mistral Small 3.2 and Small 4, the Ministral 3 family, Devstral Small 2, Magistral Small, Voxtral Small, and Mistral Large 3. All four answers are yes.

The modified MIT licence with a revenue bar. Mistral Medium 3.5 and Devstral 2 carry the same text. It grants the MIT rights and then adds:

You are not authorized to exercise any rights under this license if the global consolidated monthly revenue of your company (or that of your employer) exceeds $20 million (or its equivalent in another currency) for the preceding month.

The test is the whole company's revenue, measured monthly, and it has nothing to do with what the model earns. Above the bar you have no rights at all, which includes running the model internally. The bar also applies to "any derivatives, modifications, or combined works based on it, whether provided by Mistral AI or by a third party", so a fine-tune someone else published is under it too. A company above the bar can ask Mistral for a commercial licence, "which Mistral AI may grant you at its sole discretion", or use Mistral's hosted service. Mistral's help page says the same.

A company below the bar gets all four answers as yes. It should know that passing $20 million in a month ends the licence for the month after.

The Ecosystem Open-Weight licence. Mistral Large 4 is under a new licence with no revenue figure in it. It grants the MIT rights, including to "run, deploy, further train or otherwise modify the Model and create derivative works from it". Its one restriction is on companies that sell access to models:

If the Licensee or any of its affiliates operates a Model as a Service business, the Licensee must enter into a separate commercial license with Mistral before using the Model or its derivative works for any commercial purpose.

Model as a Service means giving a third party access to the model "for inference or post-training by any means (for instance via API or hosted endpoints)" with "meaningful control over the inputs, parameters, or training data". The definition leaves out "end-user products with model capabilities solely embedded within specific features". Internal use is exempt as well.

So a company that builds Mistral Large 4 into its own product can ship without asking. A company that sells API access to models needs a commercial licence first, at any size. The restriction applies to the company and not just to the offering: if any affiliate runs a model API business, every commercial use of Large 4 needs the licence.

The research licence. Mistral Large 2, Pixtral Large and the 2024 Ministral 8B are under the Mistral Research License. Section 3.2 limits use of the model, its derivatives and its outputs to research purposes. The definition excludes use by "individuals or contractors employed in or engaged by companies in the context of (a) their daily tasks", and any testing or proof of concept "intended to generate revenue". None of the four is allowed commercially. Fine-tuning is allowed for research, and the fine-tune stays under the same limit (section 4.3).

Non-production and non-commercial. The 2024 Codestral is tagged with the Mistral Non-Production License, and Voxtral TTS with CC BY-NC 4.0. I did not read the non-production licence in full. Treat both as not for products.

For anything outside Apache 2.0, the route to production is a commercial licence from Mistral or Mistral's own API.

Open unless you sell model access

Three of this year's strongest open-weight models use the same shape of licence as Mistral Large 4: MIT rights, with a restriction aimed at companies that resell inference.

Kimi K3 and K3.1 Pro. The Kimi K3 licence and the K3.1 Pro licence differ only in the model's name. Each grants the rights to "run, deploy, fine-tune, or otherwise modify the Software and create derivative works from it". A separate agreement with Moonshot is needed when two things are both true: the licensee or an affiliate "operates a Model as a Service business", and their combined revenue "exceeds 20 million US dollars" over any twelve consecutive months. Products with the model embedded in specific features are outside the definition, and internal use is exempt. A product with more than 100 million monthly users, or $20 million in monthly revenue, has to display the model's name.

Epoch files Kimi K3 as non-commercial, and in How Far Behind Are Open Weights, Measured I wrote that the best open model of September 2026 was one you could not legally run in production. The licence text is narrower than that. A company that ships K3 inside its own product, and does not sell model access, can use it commercially at any revenue.

Muse Spark Open. Meta's Muse Model License of 15 October 2026 has dropped the Llama licence's structure for the same MIT shape. The official repository asks you to accept the terms before it shows the file, so I read the copy in a mirror. It grants the rights to "modify (including fine-tune), create derivative works, distill". A company whose group revenue passes $20 million in twelve months has to sign an agreement with Meta "before offering the Software or any Derivatives as part of that Model as a Service business". Using the model "as a component to power features of the Licensee's own product" is expressly outside that. Every product has to display "Built with Muse Spark Open" in its interface or its documentation, and a usage policy is attached. I found no clause about the EU in the licence or the policy.

The Kimi K2 line. Kimi K2 and K2.6 are plain MIT with one addition: a product with more than 100 million monthly users, or $20 million in monthly revenue, has to display the model's name. All four answers are yes.

Community licences with a use policy

Llama 3.3 and Llama 4. The Llama 4 licence allows commercial use, fine-tuning and redistribution. You own your fine-tunes. The conditions are a copy of the agreement with anything you distribute, "Built with Llama" displayed prominently, and a name beginning with "Llama" for any model you distribute that was trained or improved with it. A company with more than 700 million monthly users needs Meta's permission.

The use policy is part of the licence, and it contains this:

With respect to any multimodal models included in Llama 4, the rights granted under Section 1(a) of the Llama 4 Community License Agreement are not being granted to you if you are an individual domiciled in, or a company with a principal place of business in, the European Union. This restriction does not apply to end users of a product or service that incorporates any such multimodal models.

Llama 4 models take images as well as text. A company headquartered in the EU therefore has no licence to run them, although its staff may use a product someone else built on them. The UK is not in the EU, so a company with its principal place of business in the UK is not caught. The Llama 3.3 policy has the same sentence, and Llama 3.3 70B is a text model, so that one is usable.

Gemma 3 and earlier. The Gemma terms allow all four. They count a hosted service as distribution, so serving the model brings the distribution conditions with it. You have to pass the use restrictions in section 3.2 on to your own users "as an enforceable provision" of your terms, and Google reserves the right to restrict usage it believes breaks them. Fine-tunes and models distilled from Gemma are covered too.

The first DeepSeek licence. DeepSeek-V3 still carries DeepSeek's licence of October 2023. It allows hosting, fine-tuning and redistribution, with a list of prohibited uses that has to be passed on, and the list includes military use. DeepSeek's later models are MIT.

What the licence changes under the AI Act

The licence also decides what the model's provider owes you. Article 53(1)(b) of the AI Act requires the provider of a general-purpose model to give companies building on it documentation of what the model can and cannot do. Article 53(2) lifts that duty for models "released under a free and open-source licence that allows for the access, usage, modification, and distribution of the model", unless the model has systemic risk.

Recital 103 says components "provided against a price or otherwise monetised" do not get the exception, and the Commission's guidance for model providers describes a qualifying licence as one that "allows access, use, modification, and distribution without monetisation".

My reading is that Apache 2.0 and MIT models can come without that documentation, and the model card is all you get. A model whose licence charges some users, or bars them, is outside the exception, so its provider owes you the documents. That covers the revenue bar and the hosted-service licences above. I have not seen a regulator or a court say so about any of these licences.

Choosing

  • Any company, any use: Apache 2.0 or MIT. On capability that currently means DeepSeek V4.1 Flash, GLM-5.2, Qwen and Gemma 4, and from Europe Mistral Large 3 and Small 4.
  • A product company that does not sell model access: Kimi K3.1 Pro, Muse Spark Open and Mistral Large 4 are all usable. Mistral Large 4 is the strongest European model on these terms.
  • A company that sells inference: Mistral Large 4 needs a commercial licence at any size. Kimi K3.1 Pro and Muse Spark Open need an agreement above $20 million of group revenue a year.
  • A company with more than $20 million of monthly revenue: Mistral Medium 3.5 and Devstral 2 are not available without a commercial licence, including for internal use.
  • A company headquartered in the EU: Llama 4 is not licensed to you.
  • Anything under a research, non-production or non-commercial licence: keep it out of the product and out of revenue-bearing pilots.

Record the licence with the weights. The same model name has shipped under different terms across versions, and Gemma, DeepSeek and Mistral have all changed licence between releases. Securing the Open Source AI Supply Chain covers pinning the weights by hash, and the licence file belongs in the same record.


First published on stepinto.dev.

Top comments (0)