Ecosystem of Large Language Models for Code

Zhou Yang, Jieke Shi, Prémkumar Dévanbu, David Lo

Introduction

The rapid evolution of Large Language Models for Code (LLM4Code), such as CodeBERT and StarCoder, has fundamentally changed software engineering. These models do not exist in isolation; they form a complex "supply chain" where models are fine-tuned, quantized, or distilled from one another. Despite their importance, this ecosystem has remained largely unmapped, leaving questions about model influence, reuse patterns, and documentation quality unanswered. This study presents the first systematic analysis of the LLM4Code ecosystem on Hugging Face, mapping the dependencies between 366 models and 73 datasets.

Mapping the LLM4Code Supply Chain

To understand how these models are reused, the researchers developed a taxonomy of nine distinct reuse types. The most prevalent method is fine-tuning (205 instances), followed by architecture sharing and quantization. This interconnectedness creates a dependency web where a single base model can influence dozens of downstream derivatives.

The LLM4Code supply chain, illustrating the flow from datasets to pre-trained, fine-tuned, and quantized models.

Popularity vs. Network Importance

A key finding of the study is the disconnect between a model's popularity (measured by "likes") and its structural importance within the ecosystem (measured by its "degree" or number of derivatives). While certain models receive significant community attention, they are not always the ones being actively built upon by other developers.

The researchers constructed networks for Owners (O) and Models (M) to calculate importance. As shown in the network analysis results, organizations like SEBIS and models like t5-small act as major hubs, despite not always being the most "liked" models on the platform. Furthermore, the ecosystem exhibits a significant "Corporate Moat." Models owned by major companies like Salesforce, BigCode, and Microsoft are 60.2 times more popular than those from independent community members, suggesting that branding and resources play a dominant role in model visibility.

Network analysis results showing the top owners (O-Network) and models (M-Network) ranked by their degree of influence in the ecosystem.

Documentation Debt and Licensing Risks

The study reveals a concerning "documentation debt" within the LLM4Code community. Hugging Face model cards for these projects are statistically inferior to general AI repositories on GitHub, often lacking code blocks, usage instructions, or links to base models. Even more critical is the "license black hole": over 60% of models provide no license information. This lack of transparency creates significant legal risks for downstream developers, as changes in upstream licenses could potentially invalidate entire chains of derivative models.

Automating Ecosystem Analysis

Given the explosive growth of the field, manual curation is increasingly difficult. The researchers demonstrated that advanced LLMs like GPT-4o can automate the identification and classification of code-related models with high accuracy (98% for identification, 89% for reuse classification). This automation is highly cost-effective, allowing for the analysis of thousands of models in minutes for a fraction of the cost of human labor.

Conclusion

The LLM4Code ecosystem is a vibrant but poorly documented supply chain dominated by corporate players. While the "popularity-importance" gap and documentation deficiencies pose challenges, the use of LLMs as meta-analysts offers a promising path forward for monitoring and organizing this rapidly expanding domain. Future research should address the security implications of these supply chains and develop tools to improve documentation and licensing practices.

Summary updated

BibTeX
@article{yang2026ecosystem,
  author = {Zhou Yang and Jieke Shi and Prémkumar Dévanbu and David Lo},
  title = {{Ecosystem of Large Language Models for Code}},
  journal = {ACM Trans. Softw. Eng. Methodol.},
  year = {2026},
  doi = {10.1145/3731753},
}
Figure