"Cloud-agnostic" is usually said as if it were free — an architecture diagram with three cloud logos and no trade-offs. In LLM deployments it is a purchased option with a visible premium, and buying it wisely starts with knowing where lock-in actually accumulates: not in one place, but across four surfaces of your stack. This page inventories those surfaces, states the four portability principles that keep each one movable, and prices the agnosticism tax honestly — so you can decide how much portability to buy, for which workloads, on purpose.
Where Lock-In Actually Accumulates
Lock-in accumulates in four surfaces, not one: model access (proprietary APIs versus open weights), data artifacts (vector index formats, prompt libraries, fine-tuning data pipelines), orchestration glue (the workflow code entangled with one platform's primitives), and operational telemetry (monitoring and logs configured to one provider) — an estate can be open on one surface and deeply locked on another.
| Surface | What lock-in looks like | The tell |
| Model access | Application code written against one provider's proprietary API | Changing models means rewriting call sites |
| Data artifacts | Indexes, prompt libraries, and fine-tuning pipelines in proprietary formats | Artifacts cannot export in usable form |
| Orchestration glue | Workflow logic entangled with one platform's primitives | The platform's name appears throughout business logic |
| Telemetry | Observability configured to one provider's regions and schema | Logs and metrics have no life outside the vendor |
The inventory matters because the surfaces are independent: a team running open-weight models (portable model access) can still be deeply locked through orchestration glue and artifact formats. Industry reporting puts the cost of finding this out late in the hundreds of thousands of dollars per enterprise migration, with AI-era lock-in adding model-specific artifacts — vector stores, prompt assets, fine-tuning pipelines — that classic migrations never had to move. Audit your estate against the four surfaces before buying any portability; the audit tells you which surface to de-lock first, and the answer is usually not the one the gateway vendors lead with.
Four Portability Principles

Four principles buy portability: route through open interfaces (OpenAI-compatible or gateway abstractions rather than proprietary SDK calls), keep artifacts in portable formats (open weight formats, exportable vector stores, prompt assets under version control), define infrastructure declaratively (everything reproducible from code and configuration), and secure data egress rights contractually (your data, your formats, on request) — coverage converges on exactly these, plus exit planning as the discipline that keeps them honest.
| Principle | What it protects | First implementation step |
| Open interfaces | Model access | Route calls through an OpenAI-compatible endpoint or gateway abstraction |
| Portable artifacts | Data artifacts | Version-control prompt assets; require export paths for indexes |
| Declarative infrastructure | Orchestration glue | Reproduce the deployment from code and configuration alone |
| Contractual egress | Telemetry and data | Data-return clauses in every AI vendor agreement |
Cloud-agnostic strategy coverage converges on this same set — agnostic architecture, open standards and runtimes, deliberate multi-cloud posture, and exit planning — and the exit-planning principle deserves the emphasis it usually gets last: an exit plan is not defeatism, it is the design review that keeps the other three principles from eroding, because every new integration is a fresh chance to re-lock. Open source deserves its own caveat here, since it is the most common false comfort: open-source components are not automatically portable — coverage explicitly notes open source is not the same as framework-agnostic — so the four surfaces need auditing even in fully open-source estates.
The Agnosticism Tax, Priced Honestly
Agnosticism is a purchased option with a visible premium: abstraction layers add latency and foreclose vendor-specific optimizations, portable formats can trail proprietary ones in features, and multi-environment operation doubles some overheads — worth paying when migration risk, negotiation leverage, or regulatory flexibility matters, and worth skipping for short-lived workloads where the exit will never come due.
| Principle | The premium it charges |
| Open interfaces | Abstraction latency; loss of provider-specific optimizations and features |
| Portable artifacts | Format feature lag; export engineering |
| Declarative infrastructure | Upfront engineering; discipline maintenance |
| Contractual egress | Negotiation leverage spent; sometimes higher contract prices |
The decision framework is workload-level, not company-level: long-lived, strategically central workloads justify the premium because migration risk and negotiating position compound over years; short-lived experiments should skip it entirely, because the exit will never come due on something discontinued in a quarter. Partial agnosticism is also legitimate and common — most portable estates are portable on model access and artifacts while accepting orchestration convenience from one platform. Where the portability decision points toward capacity you control across environments, dedicated options such as OneSource Cloud's private AI infrastructure are one way to hold the serving tier on your own terms — the architectural principles above still apply to everything layered on it.
FAQ
How expensive is vendor lock-in when we finally migrate?
Industry reporting puts average enterprise migration costs in the hundreds of thousands of dollars per migration, and AI-era lock-in adds model-specific artifacts — vector formats, prompt libraries, fine-tuning pipelines — that generic migrations never had to move, which is why the surface inventory matters more than the headline number.
Which lock-in surface should we de-lock first?
The one with the cheapest exit and the fastest compounding: model-access abstraction via an open-compatible interface is usually first (a routing change, not a rewrite), while orchestration glue is last because it accretes gradually — sequence by exit cost, cheapest first.
Does open source automatically mean no lock-in?
No — coverage explicitly notes open source is not the same as framework-agnostic: open-weight models still sit behind whatever serving and orchestration stack you built around them, so the four surfaces need auditing even in fully open-source estates.