Guides · ← All guides
How Do You Migrate When an Embedding Model Is Retired?
Published: November 14, 2026 · Reviewed: November 14, 2026 · 8 min read
By the Ingenious AI team
The short answer
An embedding migration is a data migration. Vectors from different embedding models live in different mathematical spaces and cannot be mixed, compared, or partially replaced — the whole corpus must be re-embedded with the new model, the index rebuilt, and retrieval quality re-validated, ideally with old and new indexes running in parallel during the transition. ModelMinder's lifecycle guide flags this as the swap teams most underestimate: it is 'a project, not a config change'. Budget the compute, schedule the re-embed inside the sunset window, and treat retrieval evaluation — not the embedding job's completion — as the finish line.
Why can't you just swap the model ID?
Because similarity is only meaningful inside one model's space. A query embedded by the new model compared against documents embedded by the old produces distances that mean nothing — retrieval does not degrade gracefully, it becomes quietly random while still returning confident-looking results. This is the nastiest failure shape in the migration catalogue: no errors, plausible output, wrong documents. Any plan that phases an embedding migration 'collection by collection' must keep the spaces separate per index and route queries accordingly; mixing spaces inside one index is never a phase, it is a bug.
What does the re-embed actually involve?
Inventory the corpus first: how many documents, how they chunk, what it cost to embed originally, and what has been added since — the corpus you must re-embed is today's, not the one from the launch blog post. Then the throughput maths: documents × tokens × provider rate gives you the wall-clock and the bill, and both belong in the migration plan before anyone promises a date. Chunking deserves a decision too: a new model with a different context shape may reward different chunk sizes, but changing chunking and model simultaneously makes retrieval changes unattributable — change one variable, measure, then consider the other. ModelMinder's migration playbook ordering applies here with extra force: inventory, evaluate, then move.
How do you validate the new index?
With a retrieval test set, built before the swap: a few hundred real queries with their expected documents marked — the greatest-hits failures from support tickets are gold here. Measure recall against the old index's results on the same set. Expect differences; judge them. The new model will rank some queries better and some worse, and the work is deciding whether the worse ones matter and whether ranking parameters, chunking, or hybrid search settings close the gap. Ship criteria should be written down — for example, no regression on the top-50 business-critical queries, aggregate recall within a set band — before the parallel run starts, because criteria invented mid-flight always fit the result you already have.
How should the parallel run and cutover work?
Build the new index alongside the old, dual-writing new and changed documents to both. Serve a small traffic slice from the new index with result logging, compare user-level outcomes (click-through on results, task success, support contacts), then shift share progressively. Keep the old index alive and queryable until the new one has carried full traffic through a complete business cycle — embedding regret is cheap to reverse on day two and expensive on day thirty. The sunset window discipline from the sunset window guide applies directly: finish the cutover with buffer, because the old index's model has a date on it.
What are the common ways this goes wrong?
Three recur. Underestimating the corpus: the re-embed is priced from memory and the real corpus is four times larger, mostly in documents nobody remembers ingesting. Forgetting derived artefacts: cached query embeddings, pre-computed recommendations, and similarity graphs all belong to the old space and must be regenerated or discarded. And validating with demo queries: a handful of clean test questions pass beautifully while the messy real distribution — part numbers, names, mixed languages — is where the new model actually differs. Build the test set from production logs or do not trust it.
Five actions for an embedding migration that holds up
- Inventory today's corpus — document count, chunking, token volume — and price the full re-embed before promising dates.
- Build a retrieval test set from real queries with expected documents, including historical search failures.
- Re-embed into a separate new index; never mix vector spaces inside one index.
- Run old and new indexes in parallel with dual writes, shifting traffic by measured slices against pre-written ship criteria.
- Regenerate or discard every derived artefact in the old space: cached query vectors, recommendations, similarity graphs.
Worked example: Quill & Co re-embeds 840,000 documents
Quill & Co, a fictional accounting-software firm, faced an embedding retirement with 840,000 support and guidance documents in its help index. The re-embed was priced honestly up front: roughly 610 million tokens, a five-day background job at off-peak rates, and a bill near $1,150 — budgeted, not discovered.
The parallel run compared indexes on 300 real help queries: the new model won on plain-language questions and initially lost on exact regulation citations, which a hybrid keyword boost fixed. Cutover moved across 3 search endpoints over two weeks. Outcomes: cost per thousand queries fell from $0.42 to $0.31 on the new model's pricing, median search latency held at 180ms, and 'search didn't help' support tags dropped 12 percent in the first month — an embedding migration that ended as a search improvement because it was run as a project.
Sources
- Google Gemini API deprecations (Google AI, 2026) — Gemini shutdown dates and recommended replacements, including the embedding and audio model sections.
- OpenAI deprecations documentation (OpenAI, 2026) — the provider’s own deprecation list: shutdown dates, recommended replacements, and published minimum notice periods.
- ModelMinder documentation (ModelMinder, 2026) — this platform’s own first-party method for the radar, the dependency graph, and the Sunset Risk Score.
Frequently asked questions
Can old and new embeddings be mixed in one index during transition?
No. Vectors from different models are coordinates in different spaces; distances between them are meaningless, and retrieval fails silently rather than loudly. Run two indexes in parallel and route queries wholly to one or the other.
How long does a re-embed take?
It is arithmetic, not mystery: total tokens in the corpus divided by your achievable throughput under the provider's rate limits, plus index build time. Measure a sample first — say 1 percent of the corpus — and extrapolate from real numbers before committing to a schedule.
Should we change chunking at the same time as the model?
Avoid it if you can. Changing model and chunking together makes retrieval differences unattributable: you will not know which change caused a regression. Migrate the model on the existing chunking, validate, then tune chunking as its own measured step if the new model rewards it.
What happens to fine-tuned or domain-adapted embedding setups?
Any adaptation tied to the old model — fine-tunes, learned projections, cached vectors — belongs to the old space and must be rebuilt or re-derived for the new one. Inventory these artefacts explicitly; they are the part of the corpus nobody lists because nobody thinks of them as corpus.
How do we know the new index is better, not just different?
Against the pre-built retrieval test set with written criteria: recall on real queries, zero tolerance for regression on business-critical queries, and user-level signals during the parallel run. 'Different' is expected; the test set is what turns difference into a judged outcome.