When the Model Retires: An Empirical Study of LLM Migration in Open-Source Applications
Hyungjin Lukas Kim
Key points
From the paper's conclusion- We release the dataset and pipeline and discuss implications for deprecation policy, dependency-risk assessment of LLM products, and tooling.
Abstract
Applications built on commercial large language model (LLM) APIs depend on model versions that providers retire on their own schedule, with notice periods ranging from one year to two weeks. We ask what actually happens to applications when a model is retired. We mine GitHub for commits that migrate away from officially deprecated models and endpoints of OpenAI, Anthropic, and Google, matching each commit to the provider's published announcement and shutdown dates. From 22,555 commits in 17,703 non-fork repositories (2024-2026), 5,139 are matched to an official event; two independent coders validated a stratified sample of 300 (kappa = 0.89-0.95), and we reweight all estimates by their labels. We find that an estimated 82% (95% CI 79-84) of migrations away from retired models were committed after the shutdown date - after the application had started failing - regardless of repository popularity, prior retirement experience, or the presence of a provider-abstraction layer. The share tracks the provider's notice policy: 89% for Anthropic's 60-114-day notices versus 13% for OpenAI's one-year Assistants API notice, and each e-fold increase in notice length reduces the odds of post-shutdown migration by about three quarters. Model identifiers are hard-coded in 94% of migrating applications, migration effort scales from a median of 6 added lines for prompt-only applications to nearly 700 for fine-tuned ones, and only 8% of migrations switch provider. We release the dataset and pipeline and discuss implications for deprecation policy, dependency-risk assessment of LLM products, and tooling.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- RAW: Refusal Aversion in the Wild, A Causal Measurement Method for Deployed LLMsarXiv · 2026
- Testing Conversation Preservation Across LLM APIs: A Rule-Based Oracle for Detecting Silent Information LossarXiv · 2026
- LLM-Assisted Software Migration: from Module-Level Transformation to Repository-Level IntegrationarXiv · 2026
- Auditing a Moving Target: Evidence Anchoring and the Expiry of Fairness Audits of Provider-Served Language ModelsarXiv · 2026
- Large Language Model Turnover Undermines Screening for Artificial Intelligence-Assisted Scientific WritingarXiv · 2026
- When to Intervene? An Empirical Study of Errors and Self-Recovery in LLM AgentsarXiv · 2026