arXiv:2609.31288cs.SESep 2026

Manuscript Offprint

arXiv:2609.31288

When the Model Retires: An Empirical Study of LLM Migration in Open-Source Applications

Hyungjin Lukas Kim

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 ( κ=0.89–0.95\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 depreciation policy, dependency-risk assessment of LLM products, and tooling.

1 Introduction

Software that calls a commercial LLM API depends on a service with an expiry date that the provider controls. Unlike a library, a retired model cannot be pinned and kept: on the shutdown date every request fails. Trackers report that model lifecycles have shortened from 18–24 months to 6–12 months, and 2026 saw the largest depreciation notice to date, when OpenAI scheduled GPT-3.5 Turbo, GPT-4, GPT-4 Turbo, o1, o3-mini, and o4-mini for a single-day shutdown on 23 October 2026, and shut down the Assistants API on 26 August 2026 after a one-year notice. Anthropic retired every Claude 3.x model between October 2025 and April 2026 on 60–114 day notices. Google shut down the Gemini 2.0 Flash family on 1 June 2026.

Prior work has documented the difficulty of migrating between models—prompt re-engineering in a single case study [19], regression tooling [7], an end-of-life migration framework [3], and evidence that aggregate scores hide item-level regressions [23]—but not what happens across the ecosystem when a retirement actually lands: how many applications migrate before the deadline, how many break, and what the migration costs in code. Studies of API depreciation in library ecosystems [6, 10, 17, 18] established that clients frequently ignore depreciation warnings; LLM retirement is a harsher form of the same phenomenon, because ignoring it is not an option.

We contribute (1) a dataset of migration commits matched to an official event table compiled from the three providers' depreciation pages; (2) the first ecosystem-scale measurement of reactive (post-shutdown) versus proactive migration; (3) a comparison across providers' notice policies and a dose-response estimate; (4) a keyword-and-manual taxonomy of breakage; and (5) evidence on migration size and on architectural adaptation (abstraction layers, fallbacks, evaluation suites).

References (23)