Detect LLM catalog changes: new ids vs release dates

Diff saved catalog snapshots by id and availability to catch added, absent and changed models, and keep release_date apart from your own first-seen time.

Checked 2026-11-22

·All posts·Models

To detect changes on the UplinkSwitch catalog, save GET https://api.uplinkswitch.com/v1/catalog on a schedule and compare snapshots by id and availability. Do not use release_date for this: it records when the developer released the model, and says nothing about the day the id first appeared on the gateway or in your application.

Two dates that are easy to confuse

Model idrelease_date (developer's)Availability on 2026-11-23
gpt-6.1-sol2026-09-29ok
claude-sonnet-5-52026-09-28ok

The response's top-level generated_at is a third timestamp: the moment that copy of the list was built. None of the three is "first seen by me". That one you have to record yourself, the first time a snapshot of yours contains the id.

A read-only snapshot diff

python
import json, pathlib, time, urllib.request

URL = "https://api.uplinkswitch.com/v1/catalog"
STORE = pathlib.Path("catalog-last.json")
WATCH = ["availability", "endpoints", "context_window", "max_output_tokens"]

new = json.load(urllib.request.urlopen(URL))
now = {r["id"]: r for r in new["data"]}
old = json.loads(STORE.read_text()) if STORE.exists() else {"rows": {}, "first_seen": {}}
before, first_seen = old["rows"], old["first_seen"]

for mid in sorted(now.keys() - before.keys()):
    first_seen.setdefault(mid, int(time.time()))  # your clock, not release_date; kept if the id returns
    print("added  ", mid, now[mid].get("availability"))
for mid in sorted(before.keys() - now.keys()):
    print("absent ", mid)                        # absent from this snapshot; reported on each run until it returns
for mid in sorted(now.keys() & before.keys()):
    for field in WATCH:
        if now[mid].get(field) != before[mid].get(field):
            print("changed", mid, field, before[mid].get(field), "->", now[mid].get(field))

STORE.write_text(json.dumps({"rows": {**before, **now}, "first_seen": first_seen}))  # absent ids keep their last row

The script makes one keyless GET per run and writes one local file. Hourly is plenty for a model picker; the list is served from a short cache, so polling every few seconds only re-reads the same copy.

How to read the output

  • added means the id is new to your snapshots. It may be a model released months ago that the gateway listed today.
  • absent means the id is not in this response. Treat that as "do not offer it right now", not as proof of permanent retirement; keep the last known row and decide after more than one run.
  • changed availability is the line a picker should react to first. An id that moves away from ok is still listed but should not be the default choice.
  • changed endpoints or limits matter if your client chose a request path or a truncation length from the earlier values.

This is a pattern you run, not a notification service the gateway provides. For announcements written for people, the changelog and its feed at /changelog/feed.xml cover product changes, though not every row-level edit, and the model catalog is the place to browse the current list by hand.

Questions and answers

No. It is the developer's release date for the model, as a full date or a month, and null when no developer page states one. The gateway's listing day is not a catalog field.

No. It proves the id was not in that one response. Stop offering it, keep your stored row, and confirm over later snapshots before removing it from configuration.

id for additions and absences, then availability, endpoints, context_window and max_output_tokens on ids present in both snapshots. Compare prices separately if you display them.
Join on Telegram
Help