A gold engraved vault door standing open inside a ring of gears and compass lines, with a path leading out, illustrating keeping exit options open in the AI stack.

Vendor Lock-In in the AI Stack: How to Keep Your Exit Options Open

November 14, 2026
Executive Summary
  • AI vendor lock-in rarely lives in the model. It lives in the integrations, workflows, memory, evaluations, and guardrails you build around the model, which is exactly where most teams stop paying attention.
  • In an October 2026 Stacklok survey, 84% of AI leaders said avoiding lock-in matters to their strategy, yet "ability to switch without rebuilding" ranked near the bottom of what actually drives their purchases.
  • You can spot most lock-in before you sign by asking five questions about data export, model choice, integration standards, pricing exits, and who owns the prompts and evaluations.
  • Portability comes from a few cheap habits: a thin adapter between your code and any provider, open standards like MCP for tools, your own evaluation set, and data you can export on a Tuesday afternoon.
  • Some lock-in is a fair trade for speed. The goal is not zero dependence; it is knowing what leaving would cost and keeping that number from growing in the dark.

I have a simple test for any AI platform a client is excited about. I ask: if this vendor tripled its price next spring, what would you do? The honest answer is usually a long pause followed by "pay it, I guess." That pause is AI vendor lock-in, and it almost never comes from the part of the stack people argue about.

Everyone worries about being stuck with one model. Meanwhile, the real trap gets built quietly, one connector, one workflow, and one vendor-hosted memory store at a time. This guide walks the AI stack layer by layer, shows how to spot lock-in before you sign, and lays out the habits that keep your exit options open without giving up the convenience of managed platforms.

Five stacked gold engraved layers with small padlocks hidden between them, illustrating where vendor lock-in hides across the layers of an AI stack.

Where Lock-In Hides in the AI Stack

Lock-in hides in five layers: the model, the integrations, the workflows and agent logic, the data and memory, and the contract. The model is the easiest of the five to swap, which is why it gets the most attention and deserves the least.

The numbers make the point. Andreessen Horowitz's 2025 enterprise survey found 37% of enterprises were running five or more models, up from 29% the year before. A Stack Overflow write-up of Stacklok's October 2026 survey of 520 technical leaders at North American companies with more than 500 employees found only 8% still rely on a single model provider. Multi-model is the norm. Model lock-in, for most companies, is a solved problem.

What is not solved is everything wrapped around the model. In the same survey, 53% named integrations to internal systems or MCP servers as one of the two hardest things to migrate, and 52% named multi-step agent workflows. Ryan Gross of Caylent put it bluntly in a TechTarget piece on AI vendor lock-in: "Swapping the model is rarely where the lock-in sits."

Here is how each layer traps you:

  1. The model. Prompts tuned to one model's quirks, and proprietary features like a specific function-calling format, make switching feel risky even when another model is better.
  2. Integrations. Connectors built inside a vendor's platform, using its permission model and its gateway, have to be rebuilt elsewhere.
  3. Workflows and agent logic. Multi-step processes designed in a vendor's visual builder often cannot be exported in any useful form.
  4. Data and memory. Conversation history, vector stores, and agent memory held by the vendor can quietly become a store of your most sensitive business knowledge.
  5. The contract. Annual commitments, volume discounts, and data-retrieval fees turn a technical exit into a financial one.

I have argued before that vendor lock-in is outsourcing with better branding. The layer list above is where that outsourcing actually happens.

A gold magnifying lens over an unrolled scroll beside a chain link, illustrating checking an AI vendor contract for lock-in before signing.

Spotting Lock-In Before You Sign

You spot lock-in before you sign by asking how you would leave, in writing, before you agree to arrive. Vendors who answer exit questions quickly and specifically are usually safe. Vendors who change the subject are telling you something.

The pull to skip this step is strong. The Stacklok research, summarized on Stacklok's own blog, found 84% of leaders say avoiding lock-in is important, but when ranking what actually drives AI infrastructure decisions, avoiding dependence on a single vendor came dead last of eight criteria. Security, cost, and compliance have deadlines this quarter. Lock-in sends its bill later. CEO Craig McLuckie's line stuck with me: "Lock-in sends the bill in two years, usually to whoever replaced you."

That bill is real. The same survey found more than 80% of organizations had already delayed, scaled back, or restructured a migration because switching costs looked too high, and 57% estimated that moving off their current provider would take four months or more.

Before signing, get clear answers to five questions:

  1. Can I export everything, in a standard format, without asking? That means data, conversation logs, embeddings, workflow definitions, and configuration, not a CSV of usernames.
  2. Can I bring my own model, or use more than one? A platform that only runs its own model is a model lock-in wearing a platform costume.
  3. Are integrations built on open standards? Ask whether tools connect through the Model Context Protocol or a documented API, or only through the vendor's proprietary connector library.
  4. What does leaving cost? Ask about early termination, data retrieval, and egress fees, and get the numbers in the contract.
  5. Who owns the prompts, evaluations, and fine-tunes? If you paid to tune it, you should be able to take it. I dig into that last one in who owns the model you fine-tuned.

Regulators are starting to help on the infrastructure side. The EU Data Act requires cloud providers to make switching possible, and from 12 January 2027 it removes switching charges, including data egress fees, entirely. The UK's competition regulator closed its cloud services market investigation in July 2025 after examining egress fees and licensing as barriers to switching. And AWS began waiving data transfer fees for customers moving off its platform in March 2024. None of that covers the workflows and memory you build inside an AI platform, though. That part is still on you.

A gold hexagonal adapter plate with many different plugs connecting to it, illustrating an abstraction layer that keeps you portable between AI providers.

Abstraction Layers That Keep You Portable

An abstraction layer is a thin piece of your own code that sits between your applications and any AI provider, so switching providers means changing a setting instead of rewriting software. It is the single cheapest insurance policy in the AI stack.

You do not need anything fancy. Three layers of abstraction cover most of the risk:

  • A model adapter. Route every model call through one internal function or a gateway such as LiteLLM, rather than calling a vendor's SDK from fifty places in your code. Many providers now offer endpoints compatible with OpenAI's API format, which makes the adapter thinner still.
  • Open tool connections. Build integrations to your CRM, file stores, and internal systems as Model Context Protocol servers where you can. MCP started at Anthropic in late 2024, was adopted by OpenAI, Google, and Microsoft, and in December 2025 was contributed to the Linux Foundation's Agentic AI Foundation. An integration built once on an open standard can serve whichever model you use next year.
  • Your own evaluation set. Keep a few dozen real examples of the work, with known good answers, that you can run against any model. Without one, prompts slowly tune themselves to your current model's habits and every switch feels like a gamble.

The evaluation set is the one people skip, and it is the one that matters most. Gross makes the same point in the TechTarget piece: "a real eval is what makes model or platform portability possible at all." I would add that an evaluation set also tells you when a cheaper model is good enough, which pays for itself long before you ever leave a vendor.

Be honest about the limits. A gateway is itself a dependency, and "compatible" APIs differ in the details, such as how they handle tool calls and structured output. The fix is not more abstraction. It is testing your adapter against at least two providers every so often, so you find the gaps on a quiet afternoon rather than during an outage. If you want the bigger picture on why connective tissue is where AI projects succeed or fail, see the hardest part of agentic AI is plumbing.

A gold chest of data being lifted out through an open floor hatch with a key nearby, illustrating data and model ownership as an exit hatch.

Data and Model Ownership as an Exit Hatch

Owning your data and, where it makes sense, your models is the exit hatch that makes every other exit possible. If your knowledge, history, and agent memory live in a format you control, a vendor can raise prices or change terms and you can still walk.

Start with data, because that is where the lock-in compounds. Every month an agent runs inside a vendor's platform, it accumulates conversation logs, retrieved documents, embeddings, and memory. Omdia's Lian Jye Su told TechTarget that the biggest risk sits in "context engineering, memory management, and harness engineering," not in the model. In practice, that means three habits:

  1. Keep the source of truth outside the AI tool. The platform should read from your systems, not become the system. If the only copy of a process lives in a vendor's workflow builder, write it down somewhere you own.
  2. Store embeddings and memory where you can reach them. Use a vector store you can export or run yourself, and make sure agent memory can be dumped to a readable format.
  3. Test the export, not the promise. Once a quarter, actually export your data and try to load it somewhere else. An export button that produces an unusable file is not an exit.

Model ownership is the stronger hatch, and it is more available than it used to be. Open-weight models from families such as Mistral, Qwen, and DeepSeek ship under permissive licenses like Apache 2.0 or MIT, and can run on your own hardware or on any of several hosting providers. That does not mean every workload should move to a self-hosted model. Menlo Ventures' mid-2025 market update found closed models still powered 87% of enterprise workloads, because performance usually wins. It means you should know which workloads could run on an open-weight model if you needed them to. I made the longer case in open-weight models grew up.

Model retirements are the reminder that even a happy vendor relationship forces migrations. OpenAI's deprecations page lists a steady stream of models with fixed shutdown dates. If your evaluation set and adapter are in place, a retirement notice is a chore. If they are not, it is a project.

A gold balance scale weighing a winged gear against an open door, illustrating the trade-off between convenience and portability.

Balancing Portability Against Convenience

The right amount of portability is the amount that keeps your cost of leaving smaller than your cost of staying. Some lock-in is a fair price for speed, and pretending otherwise leads teams to build slow, expensive, half-finished platforms of their own.

Managed platforms earn their keep. They handle security, scaling, compliance paperwork, and model upgrades you would otherwise staff for. Menlo found that only 11% of teams switched model providers in the prior year, while 66% simply upgraded to newer models from the vendor they already used. Staying is a perfectly rational choice when the vendor keeps getting better. The problem is staying because you cannot leave.

So I sort decisions into two piles:

  • Accept the lock-in for commodity work that is easy to redo, short-lived experiments, and tools that bring their own data and do not touch your core processes. A meeting-notes assistant or a one-quarter pilot does not need an exit plan beyond "cancel."
  • Insist on portability for anything that holds your customer data, encodes how your business actually runs, or would take more than a month to rebuild. That is where the adapter, the open integrations, the evaluation set, and the export test pay for themselves.

The useful habit is to write down, for each AI system you run, a rough estimate of what it would cost and how long it would take to leave. Revisit that number every six months. If it grows faster than the value the system delivers, you have your answer before the price increase arrives. If you want a structured way to weigh those trade-offs, build, buy, or both walks through the cost-of-ownership math.

If you would rather have someone map your current AI stack and put a number on your exit costs, that is exactly what our System Review Diagnostic is for.

A wide frieze of gold doors, keys, adapters and gears in fine linework, marking the start of the frequently asked questions on AI vendor lock-in.

Frequently Asked Questions

What Is Vendor Lock-In in AI?

AI vendor lock-in is a dependence on one provider that makes switching models, platforms, or infrastructure costly, slow, or risky. Today it usually comes from integrations, workflows, and stored data built inside a vendor's platform, rather than from the model itself.

What Causes AI Vendor Lock-In?

The main causes are proprietary connectors and workflow builders, data and agent memory stored only on the vendor's side, prompts tuned to one model's behavior, and contracts with exit fees or long commitments. Each one adds to the cost of leaving.

How Do You Avoid AI Vendor Lock-In?

Route model calls through a thin internal adapter, build integrations on open standards like the Model Context Protocol, keep your own evaluation set, store data and memory where you can export it, and negotiate exit terms before you sign.

How Do You Switch AI Providers?

If you have an adapter and an evaluation set, you point the adapter at the new provider, run your evaluation examples, fix any gaps in tool calling or output format, and move traffic over gradually. Without them, plan for a migration project measured in months.

Can You Keep Portability and Still Use Managed Platforms?

Yes. Use managed platforms for what they do well, but keep your source data, integrations, and evaluation set outside them. That way the platform adds convenience without becoming the only place your business logic lives.

Are Open-Source AI Models a Way to Avoid Lock-In?

They help, because open-weight models can run on your own hardware or with several hosting providers. They do not remove lock-in elsewhere in the stack, and they come with hosting and maintenance work you have to staff.

References

Back to Blog

Need Help?

Schedule a time to meet with us using the calendar below...