{"id":6155,"date":"2026-05-12T10:10:00","date_gmt":"2026-05-12T14:10:00","guid":{"rendered":"https:\/\/redmonk.com\/sogrady\/?p=6155"},"modified":"2026-05-12T10:10:00","modified_gmt":"2026-05-12T14:10:00","slug":"hugging-face-licensing","status":"publish","type":"post","link":"https:\/\/redmonk.com\/sogrady\/2026\/05\/12\/hugging-face-licensing\/","title":{"rendered":"License Distribution on Hugging Face"},"content":{"rendered":"<p>While it\u2019s been almost eighteen months since the OSI released its open source AI definition, the debate around where, whether and how open source licenses might be applied to AI models continues. The view here <a href=\"https:\/\/redmonk.com\/sogrady\/2024\/10\/22\/from-open-source-to-ai\/\">remains<\/a> <a href=\"https:\/\/www.linkedin.com\/feed\/update\/urn:li:activity:7402729193228324864\/?originTrackingId=bagLRp%2FvRfOk8qseYxY0%2FA%3D%3D\">unchanged<\/a>, which is that open source should not be applied to AI, but the industry more broadly has not yet reached a consensus.<\/p>\n<p>Unless and until that occurs, then, it is useful to understand how open source licenses are being applied to models and in what proportions. To do this, inspired by a conversation on this subject yesterday, the approximately ~2.9M existing Hugging Face models were scanned for license information. There are some interesting takeaways from the data, but first it is worth noting that there are inherent issues with it.<\/p>\n<ul>\n<li>First, this analysis cannot account for licensing issues like an illegally licensed project. There are models, for example, that apply an Apache license but trained using Llama. That is not permissible, as you may not convey rights you yourself do not have &#8211; particularly if you\u2019re performing actions a given license specifically and explicitly prohibits. This analysis would consider the project Apache-licensed, when in reality that license cannot not be applied.<\/p>\n<\/li>\n<li>\n<p>Second, this analysis can\u2019t meaningfully discuss every one of the new licenses here, some of which were written by professionals and some of which were self-evidently not. Given the scale, it cannot guarantee that there are no falsely categorized licenses. The some Kimi and Mistral projects, for example, use a \u201cModified MIT License,\u201d but the modifications make the project neither open source nor MIT. The good news is that projects using this license are typically categorized as \u201cOther,\u201d and are therefore properly not counted as open source here. The bad news is that we can\u2019t guarantee that there might not be exceptions.<\/p>\n<\/li>\n<li>\n<p>Lastly, as will be discussed in more detail shortly, there is a rather large hole in the data.<\/p>\n<\/li>\n<\/ul>\n<p>With those warnings out of the way, we\u2019ll start with the Top 20 licenses on Hugging Face.<\/p>\n<p><a href=\"http:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_top20_licenses_wm.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_top20_licenses_wm-1024x911.png\" alt=\"\" width=\"1024\" height=\"911\" class=\"aligncenter size-large wp-image-6156\" srcset=\"https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_top20_licenses_wm-1024x911.png 1024w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_top20_licenses_wm-300x267.png 300w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_top20_licenses_wm-768x684.png 768w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_top20_licenses_wm-1536x1367.png 1536w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_top20_licenses_wm-480x427.png 480w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_top20_licenses_wm-704x627.png 704w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_top20_licenses_wm.png 2000w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>This is a classic long tail distribution, but it is notable just how popular the Apache license is with ~2.5X more licensed projects than its nearest competitor, the MIT license. The next most popular licensing family, perhaps not surprisingly given its Hugging Face pedigree, is Open &amp; Responsible AI Licenses (OpenRAIL). It is the largest single non-OSI, non-model-specific license category in this dataset.<\/p>\n<p>Next, let\u2019s look at the distribution of projects by category.<\/p>\n<p><a href=\"http:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_license_categories_wm.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_license_categories_wm-1024x809.png\" alt=\"\" width=\"1024\" height=\"809\" class=\"aligncenter size-large wp-image-6160\" srcset=\"https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_license_categories_wm-1024x809.png 1024w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_license_categories_wm-300x237.png 300w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_license_categories_wm-768x607.png 768w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_license_categories_wm-1536x1213.png 1536w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_license_categories_wm-480x379.png 480w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_license_categories_wm-794x627.png 794w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_license_categories_wm.png 2000w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>This is the hole in the dataset mentioned above. Just as GitHub historically reported that the overwhelming majority of repositories are unlicensed, almost seventy percent of Hugging Face models carry no license at all. This means that the data represented here about licensing distribution covers only a third of the models, though at almost a million the sample size is still large enough to be meaningful.<\/p>\n<p><a href=\"http:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_vs_unlicensed_wm-scaled.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_vs_unlicensed_wm-1024x576.png\" alt=\"\" width=\"1024\" height=\"576\" class=\"aligncenter size-large wp-image-6158\" srcset=\"https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_vs_unlicensed_wm-1024x576.png 1024w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_vs_unlicensed_wm-300x169.png 300w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_vs_unlicensed_wm-768x432.png 768w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_vs_unlicensed_wm-1536x864.png 1536w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_vs_unlicensed_wm-2048x1152.png 2048w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_vs_unlicensed_wm-702x396.png 702w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_vs_unlicensed_wm-480x270.png 480w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_vs_unlicensed_wm-1114x627.png 1114w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>To better understand the distribution, let\u2019s strip out the unlicensed projects and look at only those with one.<\/p>\n<p><a href=\"http:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_categories_wm.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_categories_wm-1024x809.png\" alt=\"\" width=\"1024\" height=\"809\" class=\"aligncenter size-large wp-image-6159\" srcset=\"https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_categories_wm-1024x809.png 1024w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_categories_wm-300x237.png 300w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_categories_wm-768x607.png 768w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_categories_wm-1536x1213.png 1536w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_categories_wm-480x379.png 480w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_categories_wm-794x627.png 794w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_licensed_categories_wm.png 2000w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Notably, as was seen in our <a href=\"https:\/\/redmonk.com\/sogrady\/2026\/03\/25\/open-source-licensing-2026\/\">recent look<\/a> at the state of open source software licensing, Hugging Face is displaying a systemic preference for permissive licensing models. If anything this data is under-representing the preference for permissive-style licenses, because while OpenRAIL licenses cannot be considered Permissive in the OSI-approved sense, in spirit they embody many of the same values.<\/p>\n<p>Lastly, given the OSI context above, was to look at the specific breakdown of licensed projects carrying an OSI license vs an unapproved alternative.<\/p>\n<p><a href=\"http:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_osi_licensed_wm-scaled.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_osi_licensed_wm-1024x576.png\" alt=\"\" width=\"1024\" height=\"576\" class=\"aligncenter size-large wp-image-6157\" srcset=\"https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_osi_licensed_wm-1024x576.png 1024w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_osi_licensed_wm-300x169.png 300w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_osi_licensed_wm-768x432.png 768w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_osi_licensed_wm-1536x864.png 1536w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_osi_licensed_wm-2048x1152.png 2048w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_osi_licensed_wm-702x396.png 702w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_osi_licensed_wm-480x270.png 480w, https:\/\/redmonk.com\/sogrady\/files\/2026\/05\/hf_osi_licensed_wm-1114x627.png 1114w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Happily, among licensed projects, better than two thirds carried an OSI-approved license. We may not yet understand the exact role that open source will play within AI, but until there\u2019s clarification a license style with a clear and unambiguous definition is proving to be the most popular choice &#8211; in spite or perhaps because of the contrasting styles of licenses that category contains.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While it\u2019s been almost eighteen months since the OSI released its open source AI definition, the debate around where, whether and how open source licenses might be applied to AI models continues. The view here remains unchanged, which is that open source should not be applied to AI, but the industry more broadly has not<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[599,61],"tags":[],"class_list":["post-6155","post","type-post","status-publish","format-standard","hentry","category-ai","category-open-source"],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/posts\/6155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/comments?post=6155"}],"version-history":[{"count":0,"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/posts\/6155\/revisions"}],"wp:attachment":[{"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/media?parent=6155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/categories?post=6155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redmonk.com\/sogrady\/wp-json\/wp\/v2\/tags?post=6155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}