Skip to content

How to Avoid AI Vendor Lock-In

Published Updated

To avoid AI vendor lock-in, keep control of the data your system uses, put provider calls behind one internal interface and negotiate a usable exit before you sign. Test a second model against your own work while the first is still available. The day a provider retires a model is too late to find out that your assistant depends on it for document search.

Where AI Lock-In Comes From

AI vendor lock-in is the cost or disruption of moving a working system to another provider. The bill for leaving can come from the contract, the way the application was built or both.

Dependency What you have to change Where the cost falls
Prompts tuned to one model Rewrite instructions and examples that depend on how that model responds. A few prompts are relatively cheap to edit. Retesting them across many workflows takes longer.
Provider-only features Replace managed file search, conversation storage or tool calls that use the provider’s own format. Building the replacement and moving the stored data can cost more than changing the model call.
Fine-tuned models Retain the training examples and train or validate a replacement for the new base model. Training and evaluation are the expensive parts, especially when the original training data needs cleaning or reconstruction.
Vector embeddings tied to one model Generate fresh numerical representations of your documents and rebuild the search index when you change the embedding model. The work grows with the collection and the time needed to validate retrieval.
Contract commitments Meet the exit notice requirement and account for any remaining minimum spend or termination charges. An unused commitment can outlast the technical move.

A model switch can leave document search untouched if the application uses a separate embedding model and keeps it in place. The risk rises when a single managed feature controls both the documents and how the assistant finds them.

Model Retirements and Forced Upgrades

Providers publish retirement schedules for model versions. After retirement, requests to the old version can fail or the hosting service can upgrade eligible deployments automatically. A replacement can still produce valid-looking replies while changing citation accuracy, tool selection or the fields it returns to another system.

  • OpenAI’s API deprecation policy states a minimum of six months for generally available models and three months for specialised variants of generally available models and for image generation models. Preview notice can be as short as two weeks in its examples. Safety or compliance concerns can shorten the published windows.
  • Anthropic’s model deprecation policy states at least 60 days for publicly released models when customers have active deployments. Partner-operated platforms can set their own schedules.
  • Microsoft’s Foundry lifecycle policy lists at least 60 days for generally available models and at least 30 days for previews. Emergency retirements can shorten notice. Check the deployment type to see whether the service can upgrade it automatically.
  • Amazon Bedrock publishes the retirement policy on the model card under its newer lifecycle policy. The notice is six months for most models under that policy and 45 days for some. Earlier launches have a separate policy.

Record the exact model identifier and version, hosting service and region for each production deployment. Record the version or auto-upgrade setting as well, since an application may call an alias that the provider can repoint. Assign an owner to each entry, send provider notices to a shared operations inbox and reconcile the register against deployment records and usage logs. When a notice arrives, set an internal switch date that leaves time to run both models before retirement.

Designing for a Provider Move

Put one internal interface between the application and the provider. The application sends its request in your format and receives a response it can use. Each provider adapter translates model settings, tool requests and error responses. An AI gateway can own that boundary if several applications need it.

Keep the source documents, versioned prompts, test sets and search indexes in storage your organisation controls. For each collection, retain the source record identifiers and permissions alongside the index recipe, including how the text was split and which model generated the vectors. Those records let you build another index without relying on the old provider’s document export.

If the embedding model changes, build a second search index and use the new model for both the documents and the search queries sent to that index. Vectors from different models can be incompatible even when they contain the same number of values. Estimate the amount of text to embed and the time the new service needs to process it. Budget for embedding charges, overlapping index storage and retrieval tests. Check that the same staff still see only the documents they’re allowed to open.

Contract Terms to Check

Agree how you’ll retrieve your data and keep the service running during an exit before accepting a longer commitment. Ask procurement to put these points in the agreement or order form.

  • Data export. Name the records and configurations you need back. Specify formats and how long access lasts after notice. Ask for a sample export and check that the records can be read outside the service.
  • Notice of changes. Record who receives notices about price, term or model changes. Ask for a notice period that gives your team time to test a replacement.
  • Price protection. Set the rates or the cap on increases during the term. Clarify what happens to prepaid usage and remaining minimum spend if a model retires or a material change triggers an exit right.
  • Exit assistance. Specify how long the provider will keep access open, what migration or export help is included and what it costs. Include when the provider deletes the agreed data and how it confirms that deletion.

Use the vendor risk assessment template to record the clause, the evidence and the person who owns each procurement check.

Running a Model Switch

Start while your old deployment can still take traffic. Before testing, confirm that the replacement has capacity in an approved region and can handle the application’s required inputs and tools. Agree what the replacement must pass and who can order a rollback.

  1. Run your existing test set against both models. For a document assistant, include questions with known sources, questions the documents can’t answer and cases where the user lacks permission to read the source.
  2. Compare answer quality and cost on the same inputs. Measure cost per completed task, including retries and tool calls. Check response times and confirm that replies and tool calls meet the format your application expects.
  3. Run both models side by side on a sample approved for the replacement provider. Keep the old model’s answer live and prevent the trial model from writing records or sending messages. Review disagreements before showing the new model’s answers to users.
  4. Switch a small share of live traffic first. Check failure rates, answer quality and cost against the agreed thresholds before increasing traffic. Keep the old deployment and the matching configuration ready to restore.
  5. Exercise the rollback on the initial rollout and confirm requests reach the previous deployment again. If the old model is retiring, have another tested fallback or a manual route in place for when the old deployment stops accepting traffic.

A straightforward switch for an assistant that reads documents can fit into one release cycle when its search index stays in place and a replacement has passed the test set. As a planning example, allow a week if you can run the tests early in the week, review outputs over several days and have a change window at the end. If you need to rebuild search, retrain a fine-tuned model or approve a new provider, schedule those tasks separately before committing to a switch date.

The application owner signs off on answer quality with the people who use the assistant. IT signs off on the cutover and rollback, and security or risk approves any change to where data goes. Embeddings builds and runs AI systems that can use models from several providers, retesting the application before moving it to a replacement. Authorise the full cutover once the test results meet the agreed thresholds and the person on call has exercised the fallback.