Model pinning (model versions and deprecation)
Calling an exact, dated model version instead of an alias like “latest”, so behavior does not change under you, and planning for its retirement date.
Model pinning means calling an exact, dated model version instead of an alias like “latest”, so behavior does not change under you. It comes with a second task: tracking the date the provider retires that version and planning the upgrade before it.
Aliases move to newer models, and a new model can follow your prompt differently even if it is better overall. Pinning makes behavior reproducible and lets you upgrade on purpose, after running your evals. Providers retire old versions on published dates, so a pinned model is a dependency with an end-of-life, like any library. Anthropic, for example, states it gives at least 60 days’ notice before retiring publicly released models (model deprecations), and OpenAI keeps its own deprecations page.
Treat an upgrade as a small project: rerun the evals and the prompt regression suite on the new version, compare cost per task, then switch through config, ideally for a share of traffic first, like a canary release. Fallbacks in model routing should point to pinned versions too, or the fallback becomes the one path nobody tested.
Sources
- Claude Docs: Model deprecations platform.claude.com
- OpenAI: Deprecations platform.openai.com
Related terms
- Prompt regression: An answer that used to be right goes wrong after a change to the prompt or the model.
- Evals: A repeatable test set that scores an AI feature, so changes can be measured instead of guessed.
- Model routing and fallback: Sending each request to the model that fits it, and to another one when the first fails.
- Canary release: Sending a new version to a small share of traffic first, watching error rates and latency, and widening the rollout only if it holds.
- LTS and EOL (long-term support, end of life): LTS is a release supported with fixes for years; EOL is the date after which a version gets no more security fixes at all.
- Cost per task (agent unit economics): What one finished agent task really costs: tokens, retries, tool calls and the human time to review it, compared with doing it another way.
- Quantization: Storing a model’s weights with fewer bits, so it needs less memory and runs faster, at a small cost in quality.
