Retiring a Model From an Approved LLM List Without Breaking Production Applications
To retire a model from an approved LLM list safely, treat it as a staged change rather than a list edit. Discover which applications, agents, and tools call the model, announce a deprecation window, validate a replacement, move enforcement from allow to warn to block, and verify afterward that no traffic reached the retired model. The list entry records the decision. Enforcement in the execution path is what makes the decision real and provable.
The retirement sequence
- 1
1. Dependency discovery
Produce a list of applications, agents, and tools that call the model, with an owner for each. Exit when every caller has a named owner.
- 2
2. Deprecation notice
Announce the window, the replacement, and the dates on which behavior changes. Exit when owners have acknowledged.
- 3
3. Replacement validation
Test the replacement against each caller's real prompts and expected outputs. Exit when owners approve.
- 4
4. Warn phase
Keep allowing calls but notify owners whenever the retired model is used. Exit when warnings reach zero or exceptions are recorded.
- 5
5. Block phase
Reject calls to the retired model at runtime and apply the approved replacement or error behavior. Exit when the block holds.
- 6
6. Post-retirement verification
Confirm from retained records that no traffic reached the model after the block date.
Why retirement is a change, not a list edit
A model leaves an approved list for different reasons: a security finding, a compliance decision, a vendor deprecation, or a quality regression. The reason affects urgency, but the operational problem is the same. Production applications that call the model directly may fail on the first rejected request, may fall back to a model nobody approved, or may keep running against a model that is no longer permitted.
NIST frames this as a governance expectation. AI RMF 1.0 GOVERN 1.7 calls for processes and procedures to decommission and phase out AI systems safely, in a way that does not increase risk or reduce the organization's trustworthiness. MANAGE 4.1 places decommissioning, recovery, and change management inside the post-deployment monitoring plan. NIST SP 800-161r1 adds that changes should be tested and approved before implementation, and that approved deviations should be documented and tracked.
There is also a warning to heed. NIST's incident-management workshop report notes that rolling back a model can break dependent services. Removing a model abruptly carries the same risk, which is why dependency mapping comes before any block.
Discovering who depends on the model
Start with the sources you already have, then test them against observed behavior. Configuration inventories and code searches find declared dependencies. They miss model names resolved at runtime, values held in environment settings, aliases, and calls made by agents through tools. Request metadata helps only if every caller sets it consistently, and a missing or incorrect field hides exactly the callers you most need to find.
The more reliable signal is what actually reaches the model. Records of real requests show which workloads called it, how often, and under which identity. NIST's incident-response guidance for AI points to using logs to identify which workloads are involved, and its workshop report notes that an agent's reach is set by its inherited authorization scope and downstream tools. Discovery should therefore cover agents and tools as well as applications, and it should be repeated during the warn phase, because new callers can appear while the window is open.
NIST's Generative AI Profile also names upstream and downstream dependencies as a decommissioning factor, along with data retention and data leakage after decommissioning. Record these for each caller before setting dates.
Replacement and fallback behavior
Decide what happens to a request that targets a retired model before enforcement begins. There are three realistic options: return an explicit error, route to a mapped replacement, or fall back to another model. Each needs an owner who approves it.
Three failure modes recur. The first is a hard error in an application that never expected one. Mitigate it by notifying owners early and testing the error path in the warn phase. The second is silent fallback to an unapproved model. Mitigate it by requiring that every fallback target is itself on the approved list, and by enforcing that rule at runtime rather than trusting application code. The third is changed behavior in the replacement. NIST describes non-determinism and dynamic input conditions as sources of unforeseen outputs, so validate the replacement against real workloads and keep monitoring after cutover instead of assuming equivalence.
Keep a rollback path, but define it carefully. Restoring a validated model version is a recognized recovery step in NIST's AI incident guidance, and the retired model should only be restored through a documented exception, not by reverting the list quietly.
Where runtime policy enforcement fits
A registry or approved list records a decision. It does not stop a request. If applications call models directly, removing an entry changes nothing until each team updates its own code, and nothing tells you whether they did. NIST's guidance on reducing a model's access scope, restoring validated versions, and identifying issues from logs points to controls placed where model access is exercised.
Trussed enforces policy in the execution path on individual model interactions and tool calls, with allow, redact, and block outcomes. The same policy applies across 100+ models under one policy plane, so moving a model from allowed to blocked is a policy change rather than a change to each application. Because enforcement is applied at runtime, not reviewed after the fact, a blocked call is blocked on the date you set. Each decision produces audit-ready evidence, which supports the verification stage.
Runtime enforcement does not replace the work application teams do. It cannot decide which replacement suits a given prompt, and it cannot rewrite an application's error handling. Those remain with the owners.
Who owns each part of the process
Use this split when assigning work in the change plan.
- Dependency discovery: Shared. Application teams declare callers; observed runtime traffic confirms them.
- Deprecation notice and window: Platform team sets dates and communicates; application owners acknowledge.
- Replacement validation: Application teams, using their own prompts and acceptance criteria.
- Fallback and error handling in code: Application teams, within limits the platform policy sets.
- Allow, warn, and block decisions: Runtime policy enforcement, applied uniformly to every caller.
- Evidence of non-use: Runtime enforcement records, reviewed by the platform and compliance teams.
Evidence that the model is no longer in use
Plan the evidence before the block date. For each retirement, keep the approved change record, the owner acknowledgments, replacement validation results, and any exceptions granted to late-migrating applications along with their expiry dates. Keep the runtime decision records for the warn and block phases: timestamp, calling application or agent, requested model, policy version, and outcome. Then keep the post-block records that show the retired model received no allowed traffic, and the monitoring results for the replacement.
NIST's frameworks ask for change management, decommissioning procedures, and post-deployment monitoring but do not prescribe an evidence format or retention period, so set those from your own regulatory and internal requirements. Trussed supports configurable retention and data residency, and its enforcement generates audit-ready evidence that maps to frameworks including NIST and the EU AI Act.
A practical next step is to select one model scheduled for retirement and run the first two stages against it: build the caller list from observed traffic, then compare it to the declared inventory. The gap between the two shows how much hidden dependency your current process carries.
Model retirement lifecycle
Discover
Find every application, agent, and tool that calls the model.
Notify
Set the deprecation window and name the replacement.
Validate
Test the replacement before traffic moves.
Phase
Move from allow to warn to block at runtime.
Verify
Retain evidence that the retired model received no traffic.
Plan your next model retirement
Talk to an expert about enforcing allow and block decisions at runtime and retaining audit-ready evidence for each retirement.
Request a Demo