{
  "id": 22846155,
  "title": "I checked the example code in 88 popular AI projects. 61 files call LLM models that no longer exist.",
  "url": "https://urgent.news/2026/11/30/i-checked-the-example-code-in-88-popular-ai-projects-61-files-call",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-30T22:09:32.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/gokzy/i-checked-the-example-code-in-88-popular-ai-projects-61-files-call-llm-models-that-no-longer-exist-4p3e"
  },
  "original_language": null,
  "account": "I examined the example code in 88 popular AI projects, and found that 61 files call LLM models that have since been shut down. This issue arose when I built a command-line tool to scan codebases and identify references to retired models. The tool flagged 61 files across seven of the 88 projects, with models that OpenAI or Anthropic had discontinued. Additionally, eight files called a Gemini model that had passed its listed shutdown date. Eight more files referenced models that had been gone for over a year, including gpt-4.5-preview and o1-preview, which were shut down in July 2025. In one project, 19 out of 56 example folders were affected, accounting for one-third of the total. The most frequently encountered dead model was claude-sonnet-4-5, retired by Anthropic on November 30, 2026. Despite this, 35 files remained problematic even after removing the single most common retired model. Most projects' own code was functioning correctly; only 5 of the 88 projects had examples calling retired models directly in their products. Four of these addressed the error, while one used a fallback mechanism for uncalled models. This discrepancy occurs because examples are typically written during model releases and rarely updated thereafter. Some examples are even named after the models they demonstrate, which can lead to confusion when the model is retired. The impacted models include claude-sonnet-4-5, claude-sonnet-4-5-20250929, gpt-3.5-turbo-instruct, claude-3-7-sonnet-20250219, o3-mini, claude-3-5-sonnet, claude-sonnet-4-20250514, gpt-4.1-nano-2025-04-14, gpt-5-codex, and o1-preview. These models were retired according to their providers' schedules. While the scanner produced 69 confirmed findings, three limitations remained: running the code to verify failures, examples relying on config files for model names, and examples within test folders. Implementing a CI check to flag retired model names could prevent these issues. To perform this check on your own code, use the command: npx ifx-optimizer scan .",
  "summary": "Example code is the first thing a new user runs. You clone the repository, open the examples folder, paste in your API key and press enter. If the example names a model the provider has shut down, the first thing you get is an error. I build a small command line tool that reads a codebase, finds every place it calls an LLM, and flags models that have been retired. I pointed it at 88 of the…",
  "summary_source": "publisher",
  "key_points": [
    "61 files in 88 AI projects call LLM models that have shut down",
    "Models include claude-sonnet-4-5, claude-sonnet-4-5-20250929, gpt-3.5-turbo-instruct",
    "Implementing CI check can prevent issues with retired model names"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}