---
title: "How Kaeso tracks models, prices and retirements with KPMR"
description: "How Kaeso syncs signed model data from KPMR, tracks provider deprecations and shutdown dates, shows which apps still call a retiring model, and moves aliases or model lines automatically."
url: https://kaeso.app/articles/kpmr-and-model-lifecycle
markdown: https://kaeso.app/articles/kpmr-and-model-lifecycle.md
language: en
alternates:
  de: https://kaeso.app/de/articles/kpmr-and-model-lifecycle.md
  zh-CN: https://kaeso.app/zh-CN/articles/kpmr-and-model-lifecycle.md
published: 2026-11-22
authors:
  - Kaeso Team
tags:
  - gateway
  - kpmr
  - models
  - routing
  - guide
image: https://kaeso.app/articles/kpmr-and-model-lifecycle/cover.jpg
index: https://kaeso.app/llms.txt
---

# How Kaeso tracks models, prices and retirements with KPMR

How Kaeso syncs signed model data from KPMR, tracks provider deprecations and shutdown dates, shows which apps still call a retiring model, and moves aliases or model lines automatically.

> Every page, article and docs page of Kaeso is listed in https://kaeso.app/llms.txt.

- Published: 22 November 2026
- Reading time: 4 min
- Author: Kaeso Team

An AI gateway needs more than a list of model names. To enforce hard spend budgets, translate between API formats without silent data loss, and warn teams before a provider shuts a model down, the gateway has to know each model's exact prices, context limits, supported parameters and retirement dates.

Kaeso gets those facts from **[KPMR](https://kpmr.kaeso.app)**, the Kaeso Provider & Model Registry. Every install ships with a built-in snapshot of the KPMR catalogue and keeps it current in the background from `kpmr.kaeso.app`, checking an Ed25519 signature before applying any change. In Kaeso 0.7.0, KPMR also powers two features that take the fire drill out of model churn: **model lifecycle tracking** and **model lines**.

![gpt-5.5 marked Deprecated and shutting down in 23 days: its dates, its recommended replacement gpt-6-sol, the price difference and a Move to replacement button](https://kaeso.app/articles/kaeso-0-7/still-model-lifecycle.png "Model lifecycle in Kaeso 0.7.0: see when a model shuts down, which keys and apps still call it, and move every alias to the replacement in one click.")

## What the signed KPMR catalogue carries

When you add a model to a project's catalogue, its defaults come from KPMR (`/v1/catalogue`, format 1):

- **Exact decimal prices** in US dollars per million tokens (`input`, `output`, `cache_read`, `cache_write`, and `cache_write_1h` for one-hour prompt caches), long-context `pricing.tiers` (such as higher rates above 272,000 input tokens), audio token prices, and per-unit media prices (per image, megapixel, character, second or video).
- **Capabilities and gateway rules:** context window and max output tokens, input and output modalities, whether the model accepts `temperature` or forced tool choice (`tool_choice: required`), reasoning `efforts` (`low`, `medium`, `high`, `xhigh`, `max`), `adaptive_thinking`, `thinking_binding`, [decision model](https://docs.kaeso.app/api/decisions) question types, and which wire dialect Kaeso sends upstream (`gateway.egress_dialect`).
- **Lifecycle dates and replacement:** `announced_on`, `deprecated_on`, `shutdown_on`, the provider's recommended `replacement` model ID, and the announcement `source` URL.
- **Model lines:** provider family pointers such as `claude-opus-latest`, with the active model they currently target (`model`), `since` and `previous`.

Every KPMR response is signed over its exact body bytes in the `KPMR-Signature` header (`keyid=kpmr-2026-10, ed25519=…`). The gateway verifies the signature against KPMR's built-in public key (plus any keys you configure in `KAESO_KPMR_PUBLIC_KEYS`) and refuses any unsigned or tampered response.

With `KAESO_KPMR_INTERVAL=auto` (the default; custom values must be at least `5m`), the gateway checks for updates using `If-None-Match` and `User-Agent: kaeso-gateway/<version>`, sending no data about your install. Air-gapped installs either set `KAESO_KPMR_SYNC=false` to use each release's built-in snapshot, or point `KAESO_KPMR_URL` at an internal caching proxy that preserves the `KPMR-Signature` header byte for byte.

Project admins can override any model's prices, timeout or `Provider model ID` (for example to match an Azure deployment name) in their project with **Edit overrides**, and return to KPMR's values at any time with **Reset to KPMR**.

## Model lifecycle: know who still calls a retiring model before it shuts down

Providers retire models on fixed schedules, and an unmigrated app gets `404` on the shutdown day. Kaeso turns every deprecation in KPMR into an actionable checklist:

1. **Visibility in the console.** On the **Organization overview**, a banner names every project that uses a retiring model. Inside a project, the **Models** › **Retiring** tab lists retiring models ordered by soonest shutdown. Opening a model's sheet shows its announcement, deprecation and shutdown dates, the provider's recommended replacement, the exact price difference, every [alias and route step](https://kaeso.app/articles/alias-routes) that references the model, and **every caller from the last 30 days** — broken down by API key, member, service account and client application (from `User-Agent`), alongside a daily request chart so you can see whether traffic is actually draining.
2. **Standard HTTP deprecation headers for apps.** Every reply served by a model with announced retirement dates carries standard headers so SDKs, logs and caller dashboards see the countdown automatically:

   ```http
   Deprecation: @1793750400
   Sunset: Thu, 04 Feb 2027 00:00:00 GMT
   Link: <https://kpmr.kaeso.app/models/anthropic/claude-sonnet-5-5>; rel="successor-version", <https://example.com/deprecations>; rel="deprecation"; type="text/html"
   ```

3. **Email notices and webhooks.** Project members with `models.view` receive **Model deprecated** when KPMR publishes a shutdown date and **Model shuts down soon** at 30, 7 and 1 days before shutdown if the project called the model in the past 7 days. The same events fire as signed webhooks (`model.deprecated`, `model.shutdown_soon`, `model.moved`).
4. **One-click or automatic move to replacement.** Clicking **Move to replacement** adds the replacement model to the project's catalogue (if not already present) and updates every alias route step that pointed at the retiring model in one audited action (`catalogue_model.move`). Under the project's **Settings** › **Model retirement**, you can also turn on:
   - **Move aliases on shutdown:** automatically switches alias steps to the replacement on the shutdown day.
   - **Answer retired models with the replacement:** transparently answers direct requests to the retired model ID with the replacement after the shutdown day (reporting the answering model in `kaeso-model`). When left off, direct calls to a retired model return HTTP `410 Gone` naming the shutdown date and the recommended replacement, while alias steps fail as `unavailable` and [fall back](https://kaeso.app/articles/retries-and-fallbacks) to their next step.

## Model lines: follow a family's newest stable model on your terms

When an app wants a family's current flagship without hardcoding dated model IDs, add a **model line** such as `anthropic/claude-opus-latest` under **Models** › **Add models**. Each project chooses how the line advances when KPMR updates it:

| Policy | How the line moves in your project |
| --- | --- |
| **Follow automatically** | Moves to the new model within the hour (default) |
| **Ask first** | Keeps the current model, notifies members with `models.manage` (`line.move_available`), and waits for you to click **Move** or **Keep** |
| **Delay** | Waits `1` to `30` days after KPMR moves the line so launch-day issues settle first |
| **Pin** | Stays on the current model until you change the policy |

A line never moves to a model the project cannot call (for example if the project has no provider key for it or a caller's model allow-list excludes the new model), and **Move back** returns the line to its previous model and pins it immediately.

## Next steps

- [KPMR in the docs](https://docs.kaeso.app/concepts/kpmr): catalogue JSON format, Ed25519 signature verification and air-gapped mirrors.
- [Model lifecycle in the docs](https://docs.kaeso.app/concepts/model-lifecycle): Platform API endpoints (`/deprecations`, `/model-lifecycle`) and MCP tools.
- [Models and aliases](https://docs.kaeso.app/console/models-and-aliases): availability checks, project overrides and model lines.

Product names in this article belong to their owners and are used only to name the software and services involved. Kaeso is not affiliated with or endorsed by them.

By Kaeso Team

## More articles

- [How Kaeso updates itself and checks your settings](https://kaeso.app/articles/updates-and-config-check.md): Inside Kaeso 0.7's updater and kaeso config check: signed release manifests, pre-switch configuration validation, why 0.7 refuses invalid settings at startup, dialect-aware maintenance replies and rollbacks.
- [Hard budgets, rate limits and organization currencies](https://kaeso.app/articles/budgets-limits-and-usage.md): How Kaeso counts and stops spend in real time: worst-case reservations in Valkey for hard budgets, nested project and key limits, kaeso-limits headers, and organization display currencies at daily ECB rates.

[See all articles](https://kaeso.app/articles.md)

## Own the gateway. Own the record

```bash
curl -fsSL https://kaeso.app/install.sh | sh
```

[Install Kaeso](https://docs.kaeso.app/self-hosting/installation) · [Open the live demo](https://demo.kaeso.app)
