Switching Providers in 5 Minutes: The Migration Checklist

Moving from provider to provider in the OpenAI-compatible world is a matter of minutes if the checklist is prepared in advance. Five migration steps without losing tasks or money: from pulling the keys to the control test. A ready-made checklist for manual mode and proxy mode.

Why 5 minutes are real

OpenAI compatibility is the standard of the segment: a provider is defined by three things — the base URL, the key, and the model name. Change them in one place in the config (or in the proxy) and the whole stack moves. The rest is testing and monitoring. Preparation turns the migration into mechanics.

The migration checklist

  1. The new provider’s key is created in advance (not at the moment of degradation). It is stored in the same secrets manager as the old one.
  2. The new model name is recorded: does the naming match the old one (often there are differences in versions).
  3. A five-task test on the new one: your standard set (the testing-on-your-own-data methodology) — a quality comparison before the move, not after.
  4. The new limits are checked against your load profile (RPM/RPD/TPD — the limits glossary).
  5. The config edit: the proxy (one line of model_list) or the client (base_url/key/model). One commit to git.
  6. A control request + a journal entry: date, reason for the move, new route.
  7. The old route is disabled, not deleted — the way back takes a minute.

Two migration modes

ModeActionsTime
Via a proxy (LiteLLM)a model_list edit + reload1–2 minutes
Direct clientsediting the configs of every client5–10 minutes
n8n pipelinesediting Credentials + nodes5–15 minutes

Proxy mode is the goal of the architecture: one migration for the whole stack. If there are many clients — migrating to a proxy pays for itself with the very first move.

Special cases

  • Anthropic-compatible clients (Claude Code): a different set of variables (ANTHROPIC_BASE_URL) — migrate through an OpenRouter route or an equivalent.
  • Different limits: moving to weaker limits requires revising the pace of the pipeline — not only the keys.
  • A change of data policies: the new provider may log prompts — private branches move separately (or stay local).
  • The provider cache: the prompt cache resets on a move — the first request comes at full price; align it with the start of a new task.

Typical migration mistakes

The list is collected from migrations that took not five minutes but a whole evening: almost always the culprit is a skipped checklist line, not the complexity of the new provider. The points below close most such evenings; the check after every fix is the same — a control request and a line in the journal.

  • A key at the moment of degradation: registering and making the first request at the new provider under the pressure of the old one falling apart is the source of half of all naming and limit mistakes. A key created in advance and stored next to the old one in the same secrets manager moves calmly.
  • Blind copying of the model name: the name from the old provider is pasted as is — a 404 “model not found” or a silent substitution with a default model of weak quality. The naming check from the second checklist item takes seconds and saves an evening.
  • Testing after the move: once the load has already moved, the quality comparison turns into an investigation with a rollback. A five-task test before the config edit makes the comparison routine — and the decision to move stays voluntary, not forced.
  • Deleting the old route: returning to a “deleted” route means searching for the base URL, the key, and the model name all over again. A disabled route is a minute of rollback; a deleted one is another migration — only now without preparation.
  • A migration without a journal entry: a month later it is unclear when, where, and why the layer moved, and the pivots by provider lose their value. A line of “date, reason, new route” costs thirty seconds and makes a year of migration history readable.
  • Ignoring the limits profile: the new provider’s RPM/RPD/TPD are lower than you are used to — and the pipeline catches 429s on the old schedule. A move to weaker limits means revising the pace of the pipeline, not just editing a config line.
  • The forgotten cache: the first request after the move goes at full token price, and script batches hit the quota in the first hour. Aligning the move with the start of a new task from the special-cases list closes the question completely.

A separate marker of maturity: an error that is missing from the list must enter the text as a new line. After a few migrations the list turns into the team’s internal standard, and the seven-step checklist grows your own specifics — the kind the author did not have. The rule is simple: one new line in the list is cheaper than repeating the same mistake a quarter later.

Frequently asked questions

Will I lose the dialogue history? The provider cache — yes; your memory files (CLAUDE.md, logs) — no: they are in your repository.

A five-task test or a ten-task one? For a move between similar models — five is enough; for a change of family — ten, per the methodology.

Where should the “old provider” go? As a fallback second route — it is already paid for with a key and verified.

The fastest migration in practice? A proxy plus keys of 3–4 providers prepared in advance: a switch = editing one line, minutes.

Should I move after the first 429? A single 429 is normal limit behavior; a persistent series earlier than the usual threshold is a trigger from the rotation strategy. Moving by the calendar or because of a single error code breaks a tuned setup for no reason.

What about the n8n task schedule? Nothing: the nodes refer to Credentials, not to the provider, so editing Credentials moves the schedule along with it without editing every node. Only the limits are worth checking — with weak windows, the pace of the schedule gets revised.

Store the keys of all providers at once? Yes: three or four keys prepared in advance turn the fastest migration from practice into the norm, not the exception. A single secrets manager with a uniform entry format is cheaper than one overnight migration.

How do I know the migration is finished? Three marks: the control request went through, the journal line is written, the old route is disabled but alive. While even one of the three is outstanding, the migration counts as unfinished — and the rollback stays available within a minute. This three-point control also covers the case where the migration is done but one of the clients is still holding on to the old route.

The checklist turns a migration from an accident into an operation: keys in advance, a test before the move, the old route as a fallback, a journal entry. Five minutes is reality with preparation. The methodology is current as of autumn 2026.

Like this post? Please share to your friends:
11AI - Your Free LLM
Leave a Reply

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: