ai newsMi., 25. Nov.
EilmeldungYale’s Sonnenfeld: Nvidia is a ‘detriment’ to U.S. industrial might — not a champion

luna-check erkennt ausgemusterte KI-Modelle auch bei DeepSeek, xAI, Mistral, Cohere und Groq

Ausgemusterte Modelle verursachen nicht immer einen Fehler, sondern arbeiten manchmal still und unerwartet weiter. Das Open-Source-Tool luna-check in Version 0.5.0 durchsucht Code nach Modellnamen, die retired sind oder bald werden, und unterstützt nun weitere Anbieter.

dev.toMontag 04:14 · 23.11.DE3 Min. Lesezeit
Bild: dev.to

Die meisten Menschen erwarten von einem eingestellten Modell eine Fehlermeldung. Manchmal passiert das. Manchmal arbeitet es still weiter, nur nicht so, wie man denkt.

Ich habe gerade luna-check v0.5.0 veröffentlicht, ein kleines Open-Source-CLI-Tool und eine GitHub Action, die Ihren Code nach KI-Modellnamen durchsucht, die eingestellt wurden oder bald eingestellt werden. Es deckt jetzt 11 Plattformen und 429 Modelleinträge ab, darunter fünf neue Anbieter: Mistral AI, DeepSeek, xAI, Cohere und Groq.

Beim Hinzufügen dieser Anbieter habe ich festgestellt, dass "eingestellt" je nach Provider sehr unterschiedliche Bedeutungen hat.

Die Anfrage schlägt fehl. DeepSeaks ältere Namen deepseek-chat und deepseek-reasoner funktionierten ab dem 24. Juli 2026 (15:59 UTC) nicht mehr. Groq schaltete llama-3.3-70b-versatile und llama-3.1-8b-instant am 16. August 2026 ab. Auch Mistral stellt Modelle nach festen Zeitplänen ein. Wenn eine dieser Zeichenketten noch in Ihrem Code steckt, brechen Ihre Aufrufe.

Die Anfrage wird stillschweigend umgeleitet. xAI stellte Modelle wie grok-3 am 15. Mai 2026 ein, aber die Slugs lösen weiterhin auf. Anfragen werden zu grok-4.3 weitergeleitet und zu dessen Tarifen abgerechnet. Es gibt keinen Fehler, also zeigt Ihnen nichts an, dass sich Ihre Ausgabequalität und Ihre Rechnung gerade geändert haben.

Daher meldet luna-check v0.5.0 diese Fälle jetzt unterschiedlich:

HIGH: Das Modell ist eingestellt und Anfragen schlagen fehl. MEDIUM: Das Modell ist eingestellt, aber Anfragen werden an ein anderes Modell umgeleitet (bricht Ihren CI-Lauf nie ab, aber Sie sollten es wissen).

So sieht die Ausgabe für eine kleine Datei aus, die beide Provider aufruft:

python def summarize(text): r = deepseek.chat.completions.create( model="deepseek-chat", # Zeile 8...

def classify(text): r = xai.chat.completions.create( model="grok-3", # Zeile 15... Zeile 8 HIGH LC001 "deepseek-chat" wurde am 24. Juli 2026 abgeschaltet (DeepSeek API), Anfragen daran schlagen daher fehl. Ersetzen Sie es durch "deepseek-v4-pro" oder "deepseek-v4-flash". (Hinweis: "deepseek-v4-flash" wurde selbst am 10. September 2026 eingestellt und leitet jetzt zu "deepseek-flash" weiter.)

Zeile 15 MEDIUM LC001 "grok-3" wurde am 15. Mai 2026 eingestellt (xAI API) und leitet jetzt stillschweigend zu "grok-4.3" mit "none" als reasoning effort weiter: ein anderes Modell, daher können sich Ausgabe und Preisgestaltung ändern. Was ich aus den offiziellen Seiten gelernt habe: Auch Ersatz-Modelle werden eingestellt. DeepSeaks empfohlener Ersatz für deepseek-chat war deepseek-v4-flash, das selbst am 10. September 2026 eingestellt wurde. luna-check fügt jetzt einen Hinweis hinzu, wenn ein vorgeschlagenes Ersatz-Modell bereits entfernt wurde.

Ein Umleitungsziel kann verschwinden. xAIs grok-code-fast-1 leitete zu grok-build-0.1 weiter, das am 19. November das Ende seiner Lebensdauer erreichte. Keine Seite sagt, wohin diese Anfragen jetzt gehen, daher markiert luna-check den Fall als HIGH. "Deprecated" ist nicht dasselbe wie "abgeschaltet".

Cohere listet command-r, command-r-plus, command und command-light als deprecated ohne Abschalttermin, sie werden daher als LOW und nicht als HIGH gemeldet. Kurze IDs sind heikel. Ein Modell namens command würde auf jedes add_argument("command") in Ihrer Codebasis passen. luna-check meldet nur ID-artige Bezeichner, wenn sie der Wert einer model-Einstellung sind.

Jeder Eintrag stammt von der eigenen Deprecation-Seite des Anbieters, und eine wöchentliche GitHub Action aktualisiert die Daten automatisch.

Im Browser, ohne Installation: https://prasadrandika.github.io

bash pip install git+ https://github.com/prasadrandika/luna-check@v0.5.0 luna-check.

Oder als GitHub Action, damit neue eingestellte Modellnamen nie unbemerkt in Ihr Repository gelangen.

Repository und Release Notes: https://github.com/prasadrandika/luna-check/releases/tag/v0.5.0

Falls Ihr Anbieter nicht abgedeckt ist oder luna-check etwas fälschlicherweise meldet, öffnen Sie bitte ein Issue. Ich freue mich über Feedback.

Automatisch übersetzt. Das Original auf Englisch ist unten aufklappbar.

Original (Englisch) anzeigen

Most people expect a retired model to return an error. Sometimes it does. Sometimes it quietly keeps working, just not the way you think.

I just released luna-check v0.5.0, a small open-source CLI and GitHub Action that scans your code for AI model names that are retired or about to be. It now covers 11 platforms and 429 model entries, including five new providers: Mistral AI, DeepSeek, xAI, Cohere and Groq.

While adding them, I found that "retired" means very different things depending on the provider.

The request fails. DeepSeek's legacy names deepseek-chat and deepseek-reasoner stopped working on July 24, 2026 (15:59 UTC). Groq shut down llama-3.3-70b-versatile and llama-3.1-8b-instant on August 16, 2026. Mistral retires models on dated schedules too. If one of these strings is still in your code, your calls break.

The request silently redirects. xAI retired models like grok-3 on May 15, 2026, but the slugs still resolve. Requests are routed to grok-4.3 and billed at its rates. Nothing errors, so nothing tells you that your output quality and your bill just changed.

So luna-check v0.5.0 now reports these differently:

HIGH: the model is retired and requests fail MEDIUM: the model is retired but requests are redirected to another model (never fails your CI run, but you should know)

Here's what it reports for a small file that calls both providers:

python def summarize(text): r = deepseek.chat.completions.create( model="deepseek-chat", # line 8...

def classify(text): r = xai.chat.completions.create( model="grok-3", # line 15... Line 8 HIGH LC001 "deepseek-chat" was shut down on Jul 24, 2026 (DeepSeek API), so requests to it fail. Replace it with "deepseek-v4-pro" or "deepseek-v4-flash". (Note: "deepseek-v4-flash" was itself retired on Sep 10, 2026 and now redirects to "deepseek-flash".)

Line 15 MEDIUM LC001 "grok-3" was retired on May 15, 2026 (xAI API) and now silently redirects to "grok-4.3" with "none" reasoning effort: a different model, so output and pricing can change. Things I learned from the official pages Replacements get retired too. DeepSeek's recommended replacement for deepseek-chat was deepseek-v4-flash, which was itself retired on September 10, 2026. luna-check now adds a note when a suggested replacement is already gone.

A redirect target can disappear. xAI's grok-code-fast-1 redirected to grok-build-0.1, which reached end of life on November 19. No page says where those requests go now, so luna-check flags it as HIGH. "Deprecated" is not "shut down".

Cohere lists command-r, command-r-plus, command and command-light as deprecated with no shutdown date, so they're reported as LOW, not HIGH. Short IDs are tricky. A model called command would match every add_argument("command") in your codebase. luna-check only reports word-like IDs when they're the value of a model setting.

Every entry comes from the provider's own deprecation page, and a weekly GitHub Action refreshes the data automatically.

In your browser, no install: https://prasadrandika.github.io

bash pip install git+ https://github.com/prasadrandika/luna-check@v0.5.0 luna-check.

Or as a GitHub Action, so new retired model names never sneak into your repo.

Repo and release notes: https://github.com/prasadrandika/luna-check/releases/tag/v0.5.0

If your provider isn't covered, or luna-check flags something it shouldn't, please open an issue. I'd love the feedback.

Originaltitel: Retired AI models don't always fail loudly: luna-check now covers DeepSeek, xAI, Mistral, Cohere and GroqQuelle: dev.to (dev.to). Original öffnen