Skip to content

EXPLAINER

Open source or open weights? What Llama, Mistral, DeepSeek and Gemma licences allow under the AI Act

A model you can download is not necessarily open source. The Open Source Initiative also asks for training code and data information; the EU AI Act asks instead for a truly free licence. Llama, Mistral, DeepSeek and Gemma land on different sides of those lines.

Lire cet article en français

Blurred person seen from behind, facing a laptop whose screen shows source code in a development environment
Source code on a laptop screen, January 2016. Photo: Tirza van Dijk tirzavandijk, CC0 1.0, via Wikimedia Commons

In brief

  • The Open Source Initiative's definition of 28 October 2024 requires weights, complete training code and detailed data information, not just a permissive licence.
  • Llama 3.1 requires a separate licence above 700 million monthly active users, and Llama 3.2's multimodal models withhold licence rights from EU-based individuals and companies.
  • Article 53(2) of the AI Act exempts models under a free and open-source licence from two documentation duties, but not from the copyright policy or the training-data summary.

"Open source" on a model page is a claim, not a status. Before you download a model in Europe, three texts decide what it really is: its licence, the Open Source Initiative's definition and Article 53 of the EU AI Act. They draw the line in different places. More background pieces sit in our Explainers section.

Four questions hiding behind one label

Asking whether a model is open source usually means something narrower. Can I download it? Run it on my own computer? Build a paid product on it? Check what it learned from? Four questions. Published weights, the billions of numbers that make up the trained model, answer the first two. They say almost nothing about the last one. The Open Source Initiative (OSI), the body behind the reference definition of open-source software, points out that weights come without the training code or the dataset, so the model can be neither rebuilt nor fully audited. The more honest label is open weights.

What the licences actually let you do

At the permissive end sit Apache 2.0 and MIT. Mistral AI released Mistral Small 3, a 24-billion-parameter model, under Apache 2.0 on 30 January 2025, and said in its announcement that it would "progressively move away from MRL-licensed models", its own research licence. Once compressed, the model runs on a single RTX 4090 graphics card or a MacBook with 32GB of memory, according to Mistral. DeepSeek's R1 model card puts code and weights under MIT and allows commercial use and distillation. One trap: the distilled R1 versions built on Llama keep Llama's licence. A derived model inherits its parent's terms.

Meta's Llama 3.1 Community License is free, with strings. Products must display "Built with Llama". A company whose products had more than 700 million monthly active users must request a licence, which Meta may grant "in its sole discretion". An acceptable use policy bans a list of uses, military ones included.

For people based in the EU there is a sharper clause. The Llama 3.2 use policy withholds the licence rights for its multimodal models from any individual domiciled in the EU and any company with its principal place of business there. End users of a product built on those models are not covered by the exclusion.

Google splits by generation. The Gemma terms of use, revised on 1 April 2026, govern Gemma 1, 2, 3 and 3n: copying and modifying are allowed, but anyone redistributing must pass on Google's use restrictions. For Gemma 4 the same page points to the Apache 2.0 licence.

The two tests: the OSI and Article 53

The OSI's Open Source AI Definition 1.0, released on 28 October 2024 after a year-long design process, asks for the weights, the complete training and inference code, and data information detailed enough to build a "substantially equivalent" system. During validation, the OSI FAQ says, Pythia, OLMo, Amber, CrystalCoder and T5 passed. Llama 2, Grok, Phi-2 and Mixtral did not. Mixtral is under Apache 2.0, as its Hugging Face page shows. Code and data were what it lacked.

EU law asks something else. Under Article 53(2) of the AI Act, a model "released under a free and open-source licence", with public weights, architecture and usage information, escapes two duties: technical documentation for the AI Office and information for the companies that integrate it. The copyright policy and the public summary of training data still apply. Models with systemic risk get no exemption, a line that Mistral Large 4 appears to cross. The Digital Omnibus, Regulation (EU) 2026/1744, left Article 53 untouched; the dates that did move are in our AI Act timeline.

No training code is required here. The licence, though, must be genuinely free. The Commission's guidelines on general-purpose AI models rule out research-only terms, bans on distribution and "usage restrictions triggered by user scale thresholds", their example being extra licensing above a number of monthly active users. Llama 3.1's 700-million clause fits that description.

What the texts leave open

The guidelines are not binding: only the Court of Justice of the EU can give an authoritative reading, they say. Licences also change from one generation to the next. The one that counts is attached to the exact model you download, on the day you download it.

Frequently asked questions

What is the difference between open source and open weights?

Open weights means the trained model can be downloaded, under whatever licence it carries. Open source, in the OSI's 2024 definition, also requires the complete training code and enough information on the data to rebuild a substantially equivalent system, with no restriction on use.

Can I use Llama in the EU?

Llama 3.1 is available under Meta's community licence. For Llama 3.2's multimodal models, Meta's use policy withholds licence rights from individuals domiciled in the EU and companies with their principal place of business there; end users of products built on them are not affected.

Are open-source AI models exempt from the AI Act?

Only partly. Article 53(2) waives technical documentation and downstream information duties for models under a free and open-source licence with public weights. The copyright policy and the training-data summary still apply, and models with systemic risk get no exemption.

Share this article

Primary sources

  1. Regulation (EU) 2026/1744 of 8 July 2026 amending Regulations (EU) 2024/1689, (EU) 2018/1139 and (EU) 2023/1230, OJ L of 24.7.2026 — Official Journal of the European Union (Publications Office), published 24 July 2026 · accessed on
  2. The Open Source AI Definition 1.0 — Open Source Initiative, published 28 October 2024 · accessed on
  3. The Open Source Initiative Announces the Release of the Industry’s First Open Source AI Definition — Open Source Initiative, published 28 October 2024 · accessed on
  4. OSAID FAQs — Open Source Initiative, published 21 January 2025 · accessed on
  5. Open Weights: not quite what you’ve been told — Open Source Initiative, published 29 January 2025 · accessed on
  6. mistralai/Mixtral-8x7B-v0.1 (model repository) — Mistral AI, on Hugging Face · accessed on
  7. Mistral Small 3 — Mistral AI, published 30 January 2025 · accessed on
  8. Llama 3.1 Community License Agreement — Meta, published 23 July 2024 · accessed on
  9. Llama 3.1 Acceptable Use Policy — Meta · accessed on
  10. Llama 3.2 Acceptable Use Policy — Meta · accessed on
  11. DeepSeek-R1 (model card) — DeepSeek, on Hugging Face · accessed on
  12. Gemma Terms of Use — Google, published 1 April 2026 · accessed on
  13. Apache License 2.0 (Gemma 4 licence) — Google, published 1 April 2026 · accessed on
  14. Regulation (EU) 2024/1689 of the European Parliament and of the Council of 13 June 2024 laying down harmonised rules on artificial intelligence (Artificial Intelligence Act) — EUR-Lex (Official Journal of the European Union, L series), published 12 July 2024 · accessed on
  15. Commission Guidelines on the scope of the obligations for providers of general-purpose AI models established by Regulation (EU) 2024/1689 (AI Act), C(2025) 7719 final — European Commission, published 19 November 2025 · accessed on

An article by the Rédaction Explications & Glossaire, published under the editorial direction of Bastien Hugon. Editorial method and use of AI

Also read