Urgent.News

What's breaking now, across hundreds of outlets.

AI

I checked the example code in 88 popular AI projects. 61 files call LLM models that no longer exist.

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…

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 .

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in AI

How do we run Claude Code on a schedule for teams without keeping laptops on?

I have a handful of Claude jobs that run before 7am Pacific Time each morning. One drafts page updates, one checks what Google has indexed, one crawls our site as GPTBot, ClaudeBot, PerplexityBot and…

  • Claude Code can run on schedule using Type.com automations
  • Two laptop-free options: cloud scheduled tasks and GitHub Actions
  • Cron + claude -p offers most flexibility with local access

Why AI-powered marketing needs decision intelligence

Oli Marlow-Thomas, Chief Innovation Officer, Smartly Marketing has spent years making execution faster. Teams can produce more creative, activate campaigns across platforms and move budgets quickly.

  • AI-powered marketing accelerates creative content generation and campaign activation.
  • Marketers seek confidence in AI-driven decisions for business growth.
  • Decision intelligence bridges trust gap, enabling actionable AI insights.

How can a non-technical team run scheduled AI tasks together?

A non-technical team can run scheduled AI tasks together by moving them out of one person's Claude or ChatGPT account and into a shared workspace that runs them in the cloud.

  • Non-technical teams need shared workspace for scheduled AI tasks
  • Type.com platform enables shared task ownership and execution
  • Tasks should use team logins, shared connections, and have alerts

More from Monday, 30 November 2026 →