Skip to content

Running LLM APIs · 7 of 7

Pinned until it retires

Step 1 · The pattern

Pin a dated snapshot

Both services call one dated model snapshot rather than a moving alias, so answers do not change under them. The chat team and the batch job's long-gone author both chose it two years apart. (Seconds here stand for months.)

  • chat request
  • batch request
  • answered

In short

Pinned until it retires: how it works and how it breaks

Calling a model by a dated snapshot rather than a moving alias is good practice: behaviour stays the same until you choose to change it. But providers retire models on a published schedule, and requests to a retired model fail. Anthropic documents at least 60 days' notice for publicly released models; OpenAI at least six months for generally available models and as little as two weeks for previews. That is long enough for one team to act on the email and another to forget it. On retirement day every caller still using the old name fails at once, usually a batch job or internal tool nobody owns. Parameters retire too, and old requests then fail validation. Inventory model usage by API key and service, migrate behind an eval gate well before the date, and turn deprecation notices into tickets.

What this simulation simplifies

  • Seconds stand for months; real notice periods are weeks to months.
  • Only two callers are shown; real organisations often have dozens.

How this comes up in interviews

"How do you manage LLM model versions across many services?"

Then they ask

  1. Snapshot or alias?
  2. How do you find who uses what?
  3. How do you know the new model is good enough?

A strong answer covers

  • Pin dated snapshots in production; aliases move without testing.
  • Providers retire models on schedules; retired models fail.
  • Inventory usage by API key, service and model.
  • Eval gate per caller; migrate early and one at a time.
  • Alert on deprecation notices; confirm zero traffic before the date.

Points to cover, not a script. Say them in your own words and tie them to a system you have worked on.

On one page: the track cheat sheet.

Last reviewed: Official documentation

Diagrams are our own simulations: the timings, rates and counts in them are illustrative, not measurements. Captions are original wording.