Home › Compare › MIT License vs Apache License 2.0 for open-weight models
MIT License vs Apache License 2.0 for open-weight models
Answer
Neither text mentions model weights, so the real question for a checkpoint is which words the publisher left in place. Across the license files we stored, the two licenses are used almost verbatim, except where a publisher rewrote the MIT text to name weights and then added conditions of its own.
Side by side
| Field | MIT License | Apache License 2.0 |
|---|---|---|
| Commercial use | No commercial-use restriction found. The grant includes the right to "sell copies of the Software". | No commercial-use restriction found. §2 grants a "perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable" copyright license. |
| Attribution | Copyright notice and permission notice go in "all copies or substantial portions of the Software". | §4: copy of the License, attribution notices, NOTICE content if the Work has a NOTICE file, notices on modified files. |
| User threshold | None found. | None found. |
| Output-use limits | The text does not mention outputs. | The text does not mention outputs. |
| Acceptable use policy | None found. | None found. |
| Patents | The text does not mention patents. | §3: patent license from each Contributor; ends for You if You bring patent litigation over the Work. |
| Trademarks | The text does not mention trademarks. | §6: no permission to use the Licensor's names or marks, except to describe the origin of the Work and reproduce the NOTICE file. |
| Termination | No termination clause found. | No general breach-termination clause found. §3 ends patent licenses on patent litigation. |
| Sources | https://opensource.org/license/mit (text checked from the SPDX copy) | https://www.apache.org/licenses/LICENSE-2.0.txt |
Stored checkpoints in this build
- Apache: 234 published checkpoint pages: 69 with a stored license file and 165 with model-card fields only.
- MIT: 84 published checkpoint pages: 26 with a stored license file and 58 with model-card fields only.
The counts describe the published pages in this build. A model-card label alone does not establish which words the repository's license file carries.
Key clauses (verbatim)
MIT, grant
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Checked against: https://opensource.org/license/mit (SPDX copy)
Apache 2.0 §3, patent license (termination sentence)
If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
Checked against: https://www.apache.org/licenses/LICENSE-2.0
Apache 2.0 §6, trademarks
This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
Checked against: https://www.apache.org/licenses/LICENSE-2.0
Mistral-Medium-3.5-128B, "Modified MIT License" (excerpt)
Permission is hereby granted, free of charge, to any person obtaining a copy of the weights of this model and associated documentation files (the “Model”), to deal in the Model without restriction
Checked against: https://huggingface.co/mistralai/Mistral-Medium-3.5-128B/blob/main/LICENSE
GLM-5.3 License, opening (excerpt)
Permission is hereby granted, free of charge, to any person or entity (the "Licensee") obtaining a copy of this software — including the model weights, parameters, configuration files, inference and training code, and associated documentation
Checked against: https://huggingface.co/zai-org/GLM-5.3/blob/main/LICENSE
What this does not tell you
- Both texts are silent on weights, in different ways. MIT grants rights in "the Software" and "associated documentation files". Apache grants rights in the "Work", defined as a work of authorship. Neither text says whether a weights file is either. This pair does not resolve it, and the label on a model card does not either.
- The practical gap is in four clauses, not in the grant. Both grants are broad. What differs is that Apache adds a patent license and its termination trigger, a trademark exclusion, a NOTICE-file mechanism and a duty to mark modified files, while MIT has only the notice and disclaimer. We make no claim about which set a given team needs.
- "MIT" on a card is not a text. 58 published repositories carry only the card label. The license files we stored show publishers editing the MIT wording when they want it to speak about weights (Mistral, Z.AI), and in Mistral's case adding a condition ("$20 million" monthly revenue). A card that says mit may point to the standard text or to an edited one; the repository's LICENSE file decides what is quoted here.
- Copyright lines differ per file. The official MIT text has a blank spot for the copyright holder. Stored files name publishers including DeepSeek, Emily Alsentzer, CNRS, SamLowe and Z.AI. The Apache files in Qwen repositories fill the appendix with "Copyright 2024 Alibaba Cloud" (also 2025 and 2026 in others). This page doesn't cover whether the Apache appendix is part of the terms.
- Derivatives and merges. The stored DeepSeek-R1-Distill-Llama and R1-Distill-Qwen LICENSE files are the MIT text with a DeepSeek copyright line. The repository names point to Llama and Qwen base models, and neither MIT text says anything about a base model's own license. This page doesn't cover how a base model's license applies to these files.
- Scope of the file count. The counts cover published checkpoint pages in this build. They show how these texts are handled in them, not how the wider open-weight ecosystem uses them.
Related
MIT License applied to model weights · Apache 2.0 for model weights · Same model name, different license · Glossary: Acceptable use policy · Glossary: Derivative model
Last fetched 2026-10-16 against https://opensource.org/license/mit and https://www.apache.org/licenses/LICENSE-2.0.txt
Not legal advice. Open Weight Licenses explains what open-weight model licenses say, in plain language. We are not lawyers, and nothing here is legal advice or a legal conclusion about your use. Spotted an error? Tell us at help@openweightlicenses.com.