From Sanskriti Khandelwal | Product & Market Analysis
Embedding Model Deprecation Forces a Re-Index, and 1M Docs Costs $10 to $200
On this page
Google shut down text-embedding-004 on the Gemini API on 14 January 2026, 645 days after it launched. Every retrieval augmented generation index built on it had to be regenerated from scratch, because vectors from different embedding models cannot be compared. Embedding model deprecation is a scheduled event, not an accident. Re-embedding 1 million documents costs $10 to $200 at today's list prices. The token bill is the cheap part.
Key takeaways
- At least 31 embedding model IDs have published shutdown dates across Google, OpenAI, Cohere and AWS. OpenAI retired 16 first-generation models on 4 January 2024, Google 10 on the Gemini API and Vertex AI, and Cohere 3 on 4 April 2026.
- Re-embedding 1 million 1,000-token documents costs $10 to $200 at list prices. The low end is OpenAI text-embedding-3-small through the Batch API, the high end is Gemini Embedding 2 at the standard rate of $0.20 per 1M tokens.
- The same model can carry two different shutdown dates. text-embedding-004 shut down on the Gemini API on 14 January 2026, yet Vertex AI lists its retirement as 1 April 2027, 442 days later.
- The engineering steps cost more than the tokens. A re-index means a second index, dual writes, a backfill, an evaluation pass, re-tuned thresholds and an atomic cutover, none of which appears on a rate card.
The short answer. When an embedding model is retired, every stored vector it produced becomes unusable for new queries, so you must re-embed the whole corpus with a replacement model. At published list prices, re-embedding 1 million documents of about 1,000 tokens costs between $10 and $200 in API fees. Budget the engineering time separately, because it is larger.
Why embedding model deprecation means a full re-index
An embedding model turns text into a list of numbers, called a vector, that places similar meanings close together. A retrieval augmented generation system, or RAG system, embeds your documents once and stores the vectors. At query time it embeds the question with the same model and finds the nearest stored vectors.
That last condition is the whole problem. The query and the documents must be embedded by the same model, or by models explicitly built to share one vector space. Most are not. A vector from text-embedding-004 and a vector from gemini-embedding-2 describe positions in two unrelated coordinate systems, so a distance between them means nothing.
So the moment your provider stops serving the old model, you cannot embed new queries the old way. Every document vector you stored becomes dead weight. You either re-embed the corpus or your search stops working.
Vectors from two models cannot share an index
Teams sometimes hope to migrate gradually, embedding new documents with the new model while old ones stay put. That does not work in a single index. Queries embedded with the new model will rank new-model documents sensibly and old-model documents at random.
The honest options are two. Run two indexes side by side and route queries to each with the matching model, or regenerate everything. The first option dies on the shutdown date anyway, because the old index still needs the old model to embed its queries. In practice, embedding model deprecation is a forced full re-index with a deadline attached.
I would treat this the way finance treats a lease expiry. The date is known in advance, the cost is estimable, and the only real failure is being surprised by it.
The embedding deprecation calendar, 2024 to 2028
Here is every embedding shutdown I could verify on a provider's own lifecycle page, as retrieved on 3 December 2026. Past dates are retirements that already happened. Future dates are the providers' current schedules.
| Shutdown date | Provider and platform | Models | Named replacement |
|---|---|---|---|
| 4 January 2024 | OpenAI API | 16 first-generation models: text-similarity, text-search and code-search families | text-embedding-ada-002 |
| 21 April 2025 | Google Vertex AI | textembedding-gecko@001, @002 | gemini-embedding-001 |
| 24 May 2025 | Google Vertex AI | textembedding-gecko@003, gecko-multilingual@001 | gemini-embedding-001 |
| 30 October 2025 | Google Gemini API | embedding-001, embedding-gecko-001, gemini-embedding-exp, gemini-embedding-exp-03-07 | gemini-embedding-2 |
| 14 January 2026 | Google Gemini API | text-embedding-004 | gemini-embedding-2 |
| 4 April 2026 | Cohere API | embed-english-v2.0, embed-english-light-v2.0, embed-multilingual-v2.0 | Embed v3.0 models or embed-v4.0 |
| 6 November 2026 | Google Gemini API | gemini-embedding-2-preview | gemini-embedding-2 (requests rerouted) |
| 30 November 2026 | AWS Bedrock | TwelveLabs Marengo Embed 2.7 | None listed |
| 22 March 2027 | AWS Bedrock | TwelveLabs Marengo Embed 3.0 | None listed |
| 1 April 2027 | Google Vertex AI | text-embedding-004, text-embedding-005, text-multilingual-embedding-002 | None listed |
| 9 February 2028 | Microsoft Azure OpenAI | text-embedding-ada-002 (v1, v2), text-embedding-3-small, text-embedding-3-large | None listed |
| 14 May 2028 | Google Gemini API | gemini-embedding-001 | gemini-embedding-2 |
| No sooner than 20 May 2028 | Google Vertex AI | gemini-embedding-001 | None listed |
Sources: Google Gemini API deprecations, Vertex AI model versions, Azure Foundry model retirement schedule, AWS Bedrock legacy model lifecycle, Cohere changelog of 4 April 2026, OpenAI's 2023 deprecation notice. OpenAI's own API lists no shutdown date for text-embedding-ada-002 or the text-embedding-3 models. The Marengo rows are multimodal video embedders, included because they sit in the same lifecycle table.
What the providers promise about dates
The two Google pages make opposite promises, and the difference matters for planning. The Gemini API page says its listed shutdown dates are the earliest possible dates a model might be retired. Vertex AI says the reverse: timelines may be extended, but they will not be moved earlier than listed.
Vertex also files its current embedding models under a heading promising availability for at least 12 months after release. That is a floor, not a forecast. Azure separates embeddings from chat models outright, noting in its retirement FAQ that embedding models have extended timelines and are handled differently.
OpenAI is the outlier. Its direct API lists no shutdown for text-embedding-ada-002, which launched in December 2022 and is still sold at $0.10 per 1M tokens. If you value a long runway above everything else, that silence is worth something, though it is not a contract.
One embedding model, two different shutdown dates
The single most useful finding in this calendar is that a model name does not tell you its retirement date. The platform does.
text-embedding-004 is the clean example. On the Gemini API it launched on 9 April 2024 and shut down on 14 January 2026. On Vertex AI the same model ID launched on 14 May 2024 and is scheduled to retire on 1 April 2027. A team that read the Vertex page while calling the Gemini API endpoint would have planned for a date 442 days too late.
The same split shows up for gemini-embedding-001. The Gemini API lists a shutdown of 14 May 2028. Vertex lists no sooner than 20 May 2028. Six days apart is harmless. 442 days apart is an outage.
Across the seven models with both dates published, the median lifespan is 645 days, a little under 21 months. The preview model at the top lived 241 days, which is the cost of building production retrieval on anything labelled preview or experimental. Do not.
The re-index bill at three corpus sizes
Rate cards make the token cost of an embedding migration easy to price. The table below uses each provider's published per-token price and one stated assumption about document length.
Each document averages 1,000 tokens after chunking, so 1 million documents is 1 billion tokens. Your corpus will differ, so scale linearly: double the average length and the bill doubles. Prices are list rates retrieved on 3 December 2026, before any negotiated discount or free allowance.
| Model (rate per 1M tokens) | 100K docs (100M tokens) | 1M docs (1B tokens) | 10M docs (10B tokens) |
|---|---|---|---|
| OpenAI text-embedding-3-small, Batch ($0.01) | $1 | $10 | $100 |
| OpenAI text-embedding-3-small ($0.02) | $2 | $20 | $200 |
| Voyage voyage-4, Batch ($0.0402) | $4.02 | $40.20 | $402 |
| Voyage voyage-4 ($0.06) | $6 | $60 | $600 |
| OpenAI text-embedding-3-large ($0.13) | $13 | $130 | $1,300 |
| Google gemini-embedding-001 ($0.15) | $15 | $150 | $1,500 |
| Google gemini-embedding-2, Batch ($0.10) | $10 | $100 | $1,000 |
| Google gemini-embedding-2 ($0.20) | $20 | $200 | $2,000 |
Rates: OpenAI pricing page and Batch API guide (50% discount); Google Gemini API pricing (text input, standard and batch); Voyage AI pricing ($0.06 standard, 33% batch discount, computed here as $0.0402). Voyage's 200 million free tokens on voyage-4 would cover the 100K row entirely. Calculations by Zan Digital.
Batch pricing halves the bill, with a ceiling on batch size
OpenAI's Batch API accepts the embeddings endpoint at a 50% discount, and Google lists batch embedding at half its standard rate. A re-index is the ideal batch workload, because nothing about it is latency sensitive.
The catch is operational. OpenAI caps an embeddings batch at 50,000 embedding inputs per batch. If your 1 million documents are split into 2 chunks of 500 tokens each, that is 2 million inputs and at least 40 batch files to submit, track and reconcile. The money is trivial. The bookkeeping is not.
What the token bill leaves out of an embedding migration
A re-index is a small data migration with a search quality test attached. These are the steps your rate card never prices, in the order I would run them.
Inventory first: know which model wrote each vector
Store the embedding model ID, version and platform as metadata on every vector, or at least on every collection. Without it you cannot prove a migration is complete. Then put the shutdown date for that model and platform in a shared calendar, with a reminder 6 months out.
Check the platform, not just the model name. As the text-embedding-004 case shows, the Gemini API and Vertex AI dates for one model differed by 442 days.
Build a second index, dual-write, then backfill
Create a new collection sized for the replacement model's vector dimension, which often differs from the old one. Route every new or updated document to both indexes from day one. Then backfill the historic corpus into the new index through the batch endpoint.
Storage roughly doubles during the overlap, because you are holding two copies of every vector. Your vector database's pricing decides how much that costs, and it is the line most teams forget. The storage and query pricing differences between hosted options are covered in the vector database cost comparison.
Decide now whether to re-chunk. A forced re-index is the cheapest moment you will ever get to fix a chunking strategy, because you are paying to re-embed every chunk anyway. The evidence on which chunking choices actually move retrieval quality is in the review of RAG chunking benchmarks.
Re-test retrieval, and re-tune what sat on top of it
A new embedding model changes the distribution of similarity scores. Any hard-coded similarity threshold, hybrid search weight or reranker cutoff was tuned against the old distribution and is now wrong. Expect to re-tune every one of them.
Run a fixed set of real queries against both indexes and compare the top results before switching traffic. If you have no such set, the migration is the moment to build one, and the guide to building an LLM evaluation suite covers the minimum version. If your pipeline blends keyword and vector search, the weighting questions in the hybrid search and rerankers benchmarks apply again from scratch.
Cut over atomically and keep a rollback
Do not rebuild the live index in place. Qdrant's documentation describes the pattern directly: build a second collection in the background, then switch an alias from old to new. It states that alias changes happen atomically, so no concurrent requests are affected. Most vector stores offer an equivalent.
Keep the old index until the shutdown date, not a day longer. Up to that date it is your rollback. After it, the old index cannot embed a single query and is pure storage cost.
| Step | Cost driver | Shows up on the embedding invoice? |
|---|---|---|
| Inventory and calendar | A few hours of engineering, once | No |
| Second index during overlap | Vector storage roughly doubles for weeks | No, it bills on the vector database |
| Dual-write pipeline | Code change in ingestion, plus monitoring | No |
| Backfill | Tokens, batch file management, retries | Yes, the tokens only |
| Evaluation and re-tuning | Query set, comparison runs, threshold changes | No |
| Cutover and cleanup | Alias switch, rollback window, deletion | No |
Where this argument is weakest
The case above treats embedding deprecation as a recurring liability. There are three honest objections, and one of them is close to winning.
Shared embedding spaces weaken the coupling
Voyage AI's Voyage 4 family, announced on 15 January 2026, claims that all four models produce compatible embeddings. Voyage says you can upgrade the query model without re-vectorizing documents. If that pattern spreads and holds up, the core premise of this post, that model choice is locked to the index, softens a great deal.
Two limits keep me from conceding the point. The claim covers models inside one Voyage generation, not a move to the next generation or to another vendor. It is also a vendor claim I have not seen tested independently. Treat it as an option worth testing, not a reason to stop budgeting.
OpenAI once paid the bill
When OpenAI retired its 16 first-generation embedding models, its July 2023 notice said it would cover the financial cost of users re-embedding content with the new models. That shows a provider can absorb the token cost when it chooses to. No provider I checked has repeated that offer since, and it never covered the engineering steps anyway.
The token bill really is small, and the notice is long
For a corpus under a million documents, the whole token bill is less than a team lunch. Most deprecations arrive with months of warning. Vertex promises at least 12 months of availability and never brings dates forward. Azure runs ada-002 and both text-embedding-3 models to February 2028. If your team already has evaluation sets and alias-based deploys, a re-index is a routine week, not a project.
My position is that this objection is right about the money and wrong about the risk. The risk is not the bill. It is a missed date on the wrong platform page, followed by a search system that fails without anyone noticing.
Choosing an embedding model with its retirement in mind
Most teams pick an embedding model on a benchmark score and a price. Add a third column: expected runway on the exact platform you will call. Benchmark and price trade-offs across current models are compared in the embedding model cost and MTEB comparison.
Three rules follow from the calendar. Never put a preview or experimental model behind production retrieval, because those carried the shortest lives in this dataset. Prefer the platform with the stricter promise, which on Google means Vertex AI over the Gemini API if dates matter more to you than convenience. And treat the absence of a published date, as with OpenAI's ada-002, as a soft signal rather than a guarantee.
The wider lesson is that every model dependency carries a hidden switching cost, and embeddings are the stickiest of them because the old model's output is stored, not just called. The broader pattern of model lock-in is mapped in the analysis of model switching costs, and price changes on other model APIs are tracked in the API price and sunset calendar.
Frequently asked questions
Do I need to re-index my vector database when an embedding model is deprecated?
Yes, in almost every case. Vectors from different embedding models live in different coordinate systems, so a query embedded with the replacement model cannot be compared against documents embedded with the retired one. Once the old model stops serving, you cannot embed new queries for the old index either. The exception is a model family built to share one embedding space, such as Voyage 4, and even that only applies within the family.
How much does it cost to re-embed 1 million documents?
At December 2026 list prices and 1,000 tokens per document, re-embedding 1 million documents costs about $10 with OpenAI text-embedding-3-small through the Batch API, $20 at its standard rate and $130 with text-embedding-3-large. On Google it costs $150 with gemini-embedding-001 and $200 with Gemini Embedding 2 at the standard rate. Scale the figure linearly with your average document length after chunking.
When is text-embedding-004 being retired?
It depends on the platform. Google's Gemini API lists text-embedding-004 with a shutdown date of 14 January 2026, with gemini-embedding-2 as the recommended replacement. Google Vertex AI lists the same model ID with a retirement date of 1 April 2027. If you call it through the Gemini API, it is already gone. If you call it through Vertex AI, you have until April 2027.
Is OpenAI deprecating text-embedding-ada-002?
Not on OpenAI's own API as of 3 December 2026. Its deprecations page lists no shutdown date for text-embedding-ada-002 or the text-embedding-3 models, and ada-002 is still priced at $0.10 per 1M tokens. Microsoft's Azure OpenAI retirement schedule does list a date: 9 February 2028 for both ada-002 versions and both text-embedding-3 models.
How do you migrate embeddings without downtime?
Build the new index alongside the old one rather than rebuilding in place. Dual-write new documents to both, backfill the historic corpus through a batch endpoint, then compare results on a fixed query set and re-tune similarity thresholds. Finally switch traffic with an atomic alias change, which Qdrant and most vector databases support, and keep the old index as a rollback until the old model's shutdown date.
Where to start
Open your vector store this week and answer one question per collection: which model, on which platform, wrote these vectors? Then look up that exact pairing on the provider's lifecycle page and put the date in a shared calendar with a 6-month reminder.
If the answer to the first question is "we are not sure", you have found the real risk, and it costs an afternoon to fix. Tag the vectors before the deadline forces you to.
References
- Google, Gemini API deprecations and Gemini API pricing, retrieved 3 December 2026. Used for Gemini API embedding release and shutdown dates, and gemini-embedding-001 and gemini-embedding-2 rates.
- Google Cloud, Vertex AI model versions and lifecycle, retrieved 3 December 2026. Used for Vertex embedding release and retirement dates and the no-earlier-dates policy.
- Microsoft, Azure OpenAI model retirement schedule, updated 24 November 2026, and AWS, Amazon Bedrock model lifecycle, retrieved 3 December 2026. Used for Azure embedding retirement dates and Bedrock Marengo dates.
- Cohere, Retirement of Embed v2.0 and Aya Expanse / Vision 8B, 4 April 2026. Used for the Embed v2 retirement and replacements.
- OpenAI, API pricing and Batch API guide, retrieved 3 December 2026. Used for embedding rates, the 50% batch discount and the 50,000-input batch limit.
- OpenAI, GPT-4 API general availability and deprecation of older models, July 2023. Used for the first-generation embedding shutdown and the re-embedding cost offer.
- Voyage AI, Pricing, retrieved 3 December 2026, and The Voyage 4 model family: shared embedding space, 15 January 2026. Used for voyage-4 rates, batch discount and the shared-space claim.
- Qdrant, Collections documentation, collection aliases, retrieved 3 December 2026. Used for the atomic alias cutover pattern.
Weakest point in the source base: OpenAI's list of the 16 retired first-generation models comes from its 2023 notice, and its current deprecations page was only partly readable. Every price is a list rate that changes without notice, and the 1,000-token document is an assumption, not a measurement. Lifecycle pages were re-read on 3 December 2026.
Related reading