Checklist

How to retire or replace a model in production

Models are withdrawn on the timetable of the provider, not yours. Treat replacement as a planned migration with tests, parallel running and a way back.

By iFortis Worldwide ResearchPublished Updated 3 min read

On this page

SummaryReplace a production model as a planned migration: inventory everything that depends on it, run your evaluation set on the candidate, adapt prompts, then run both models in parallel before shifting traffic in stages with rollback ready. Finish by removing the old model, its keys and its configuration.

Why this will happen to you

Hosted models have published lifecycles. Providers withdraw older versions, often with a few months of notice. You may also choose to move: a newer model is better or cheaper, a contract ends, or a risk review requires it. Either way, a replacement model is a different system. It will respond differently to the same prompt, sometimes in ways that only appear at volume. Planning for replacement from the first day makes it routine.

Stay ahead of the notice

  • Keep a register of every model in use, with version, provider, owner and published retirement date.
  • Subscribe to provider deprecation notices and assign someone to read them.
  • Pin explicit versions in production so behaviour changes only when you decide.
  • Set a calendar trigger well before each retirement date to start the work.

Find everything that depends on it

  • Applications and agents that call the model, including batch jobs and rarely used paths.
  • Prompts, few-shot examples and tool descriptions tuned to it.
  • Output parsers and downstream code that assume its format.
  • Fine-tuned variants built on the base model.
  • Embedding indexes, if the embedding model is the one changing. These must be rebuilt in full.
  • Thresholds calibrated on its scores or confidence values.
  • Documents that reference it: risk assessments, audit records, customer disclosures.

Gateway logs are the fastest way to find callers nobody remembers.

Choose and qualify the candidate

  • Shortlist on data terms, deployment location and availability before quality.
  • Run the full evaluation set with existing prompts to see the baseline gap.
  • Adapt prompts for the new model and rerun. Do not assume the old wording is optimal.
  • Compare by segment, not only overall. Look closely at cases that changed from pass to fail.
  • Rerun safety, refusal and adversarial tests. Behaviour on these often shifts between model generations.
  • Measure latency, throughput and cost per completed task at expected volume.
  • Check structured output and tool calling with your real schemas.

Send a copy of live traffic to the candidate in shadow, with no effect on outcomes. Compare its results with the current model and have experts review the disagreements. This surfaces the cases your evaluation set lacks. Add them to the set.

Cut over in stages

  • Agree acceptance criteria with the business owner before starting.
  • Move a small share of traffic first, on low-risk case types.
  • Watch quality samples, escalation rate, validation failures and cost for an agreed period.
  • Consider tightening authority limits or returning to human approval for the first days.
  • Increase the share in steps.
  • Keep the old model callable, and rollback a configuration switch, until the new one has been stable through a full business cycle.

Leave enough time before the retirement date for a rollback to remain possible. A migration finished in the final week has no safety net.

Tell the people affected as you go.

  • Brief users and reviewers on changes they will notice: tone, format, speed.
  • Inform risk, compliance and audit. A model change may count as a material change under internal policy or regulation.
  • Update customer-facing statements where the model is named or described.

Decommission properly

  • Remove the old model from routing configuration and approved lists.
  • Revoke keys and close unused provider accounts.
  • Delete fine-tuned artefacts and stored data held by the old provider, and obtain confirmation.
  • Archive the final prompts, evaluation results and configuration for the audit record.
  • Update the model register, the risk register and architecture documents.

Retiring without a replacement

Sometimes the right decision is to switch a system off. Confirm who takes over the work, export any knowledge worth keeping, close the identities and tool registrations of the agent, and record the reason. An idle agent with live permissions is a risk nobody is watching.

After each migration, note what took longest. The usual answers are missing tests, prompts scattered through code and unknown callers. Fixing those turns the next replacement into a week of work. The practices behind this are covered under MLOps, model evaluation and our AI engineering approach.

All insights RSS feed

Tell us the outcome you need

The first meeting is a working session about your situation, with an engagement lead, not a sales call.

Contact us Submit an RFQ