NewFree product & architecture review, delivered in 72 hours. Claim yours
Three columns — buy commodity layers, build differentiation, and partner for evidence and ownership transfer — under a decide-by-layer caption BUY Commodity layers STACK LAYER BUILD Differentiation STACK LAYER PARTNER Evidence + transfer STACK LAYER DECIDE BY LAYER · NOT A BINARY BUY COMMODITY · BUILD THE MOAT · PARTNER FOR EVIDENCE

Why "build vs buy" is the wrong binary

Most enterprise debates still treat AI build vs buy as a single yes-or-no. That framing collapses under a real stack. You are not choosing one product. You are choosing, layer by layer, whether a capability should be a purchased platform, custom software you own, or a partnership that accelerates you without freezing ownership forever.

Buy the commodity layers. Foundation models, inference APIs, vector infrastructure you do not want to operate, and vertical SaaS for workflows that are not how you differentiate — these are rarely worth reinventing. Build the layers that encode differentiation: the application workflow, retrieval over your corpus, evaluation harnesses, integrations into systems of record, and the domain logic competitors cannot download. Partner when the gap is production evidence and a transferable operating model, not a permanent outsourcing of the moat.

Confusing this product decision with the staffing decision is how RFPs go wrong. Who delivers — consultancy, in-house team, or embedded pod — is a separate question owned by our AI consultancy vs in-house AI team comparison. This page owns the what: which layers to buy, build, or partner on, with TCO, lock-in, data residency, and exit criteria a CTO can defend in a steering committee.

Get the layer wrong and everything downstream suffers. Buying a vertical tool for a workflow that is your moat locks differentiation inside a vendor roadmap. Building a gateway that every cloud already sells burns a year you will not get back. Partnering without an exit plan turns a sprint into a silent managed service you cannot leave.

What buy, build, and partner mean in practice

Buy means a vendor-owned product or API sits on the critical path: you integrate, configure, and accept their roadmap as a constraint. Diligence focuses on data handling, evaluation rights, uptime, pricing at your projected volume, and a contractual exit — not on whether the demo was impressive.

Build means your team (or a partner writing code you will own) ships software that encodes how you win: retrieval over proprietary knowledge, workflow automation tied to your systems, evaluation sets only you hold, and integrations that competitors cannot copy from a feature list. You accept ownership of quality, cost, and change.

Partner means you buy time-to-evidence and ownership transfer, not a black-box forever. A production sprint or embedded pod should leave named owners, runbooks, and IP in your repos — the same bar we use when sequencing who should deliver. Partner is not "buy a team instead of a product"; it is accelerate the layers you have already decided to own.

Most serious programmes are hybrids. Buy the model and the gateway. Build retrieval, prompts, evals, and the workflow UI. Partner for the first production path so the second use case is cheaper. The organisational sequence that makes that hybrid survivable still lives in the enterprise AI adoption roadmap — readiness, sprint, scale — while this page decides the composition of each layer.

A decision matrix CTOs can defend

Score each layer qualitatively. Do not invent fake numeric scores that imply precision you do not have. For every layer — model, gateway, retrieval, application, evaluation, observability, vertical workflow — ask the same questions and write the answers down where finance and security can see them.

QuestionTips toward buyTips toward buildTips toward partner
Is this how we differentiate?No — commodityYes — encodes advantageYes, but we lack production evidence now
Do we have proprietary data or labels?Vendor data sufficesOur corpus or labels are the assetWe have data; we need a path to ship
Can we operate it after launch?Vendor SLA is enoughWe will own on-call and changeWe need a handoff window
Exit / swap costClear export and pinWe own the repoContract includes transfer
Data residency / processingVendor region clears legalMust stay in our boundaryDesign for boundary first

Force a written answer per layer before budget lands. "We will decide later" is how teams buy a platform for the moat and build a commodity gateway under deadline pressure. When the matrix says partner on a layer you intend to own, define the exit in the statement of work: code in your repos, eval suite you can re-run, and named inheritors — not a Slack archive.

Revisit the matrix when the second and fourth use cases appear. A buy that was right for one workflow can become a lock-in tax across nine. That is when AI platform engineering — shared gateway, retrieval substrate, chargeback — often beats another point purchase.

Buy the commodity layers

Buying is the correct default for layers where a vendor already absorbed years of undifferentiated hard work. Frontier or strong open-weight models behind a gateway, managed vector options when you are not at exotic scale, and vertical SaaS for back-office workflows that are not your product — these are usually buy decisions.

Diligence is the work. Demand clarity on where prompts and completions are processed and retained, whether inputs train the vendor's models, which region runs inference, and what a sub-processor chain looks like. Require the right to run your evaluation set against version changes before you adopt them. Pin model versions. Write a deprecation window into the contract. If the vendor cannot explain exit — export of your configs, embeddings, or fine-tunes; a migration window; support for dual-running — treat that as a red flag, not a negotiation nicety.

AI as a service done well looks like a versioned API with predictable latency and a self-host path when data cannot leave your network. Done poorly it is a demo endpoint with surprise unit economics at volume. Price the trajectory, not the pilot invoice. And remember: buying a model does not buy you a product. Someone still has to own retrieval quality, workflow fit, and the Monday-morning metric.

When the commodity is a full vertical product, ask whether you are outsourcing a non-moat process or accidentally renting the workflow customers pay you for. If switching vendors would erase how you win, you are not buying commodity — you are leasing your differentiation.

Build only where you create a moat

Build where the software encodes advantage competitors cannot subscribe to. That is usually the application and workflow layer, retrieval over proprietary corpora, evaluation sets that define "good" for your domain, integrations into systems of record, and domain logic that reflects how your operators actually work.

Do not confuse "build the model" with "build the system." Training a custom foundation model is almost never the first lever. Most enterprises should buy the model layer and invest engineering in the surrounding system — the discipline in our RAG and LLM production guide — so answers are grounded, cited, permissioned, and measurable. Fine-tuning earns its place after retrieval and prompting are honest, when output form or domain register will not hold any other way and you hold stable labelled data.

Building also means accepting ownership. If nobody will on-call the system, maintain the eval suite, or budget for drift, you did not build a moat — you built unowned debt. Cost engineering belongs in the build: the Fanziz LLM cost optimization pattern (retrieval, caching, routing so LLMs only run where they earn their place) is how a custom path stays cheaper than an unexamined buy at scale.

When the use case is generative or agent-shaped, generative AI and LLM development is the build surface: corpus, retrieval, harness, and bounded autonomy — not a science project to reinvent the base model.

TCO, lock-in, and the costs spreadsheets miss

A build-vs-buy spreadsheet that only compares API list prices to loaded engineer salaries is theatre. Real TCO includes integration and change cost, evaluation and monitoring labour, human review queues, security and residency controls, vendor management, and the option value of being able to leave.

Lock-in is not only contractual. It is eval sets that only run in a vendor UI, prompts that assume a proprietary tool API, embeddings you cannot export, and fine-tunes trapped in a closed format. Design for exit on day one: your harness in your CI, your corpora in your stores, a gateway you control so model swaps do not require rewriting every application.

Data residency and processing location belong in the same conversation as price. A cheap API that cannot clear legal is not cheap. Self-hosting or region-pinned inference can flip a buy into a build-or-partner decision overnight — not because the model is special, but because the boundary is.

Frame the money the way finance already reads it. Pair this decision page with measuring AI ROI: baseline, named P&L line, stage gates with a real stop option. Build vs buy chooses the cost shape; ROI discipline decides whether the shape still deserves budget after ninety days. The real-time moderation and scam detection API is the self-host lesson in miniature — a capability bought as an idea and built as a service you can run where messages cannot leave.

How Rowth runs build / buy / partner

We start with the layer matrix, not a preferred SKU. AI strategy and advisory forces buy / build / partner into the open against value, data readiness, residency, and exit — before sprint money moves. Where the decision is ship a owned capability, enterprise AI consulting runs a production sprint against evidence, not slides. Platform and MLOps and AI DevOps keep the fourth use case from reinventing gateway, eval, and rollout. Shipping gates still matter: once you choose the layers, the jump from pilot to live system follows AI PoC to production.

Partner, for us, means accelerate and transfer. Code in your repos. Eval suites you re-run. Named eng and business owners after handoff. We layer onto the stack you already run — no rip-and-replace theatre, no permanent hostage dependency dressed up as transformation.

If you are stuck in a binary argument in a steering pack, contact Rowth.ai with the workflow that pays the bills and the layer you cannot agree on. Bring the constraints — residency, exit, who owns the metric — not another vendor bake-off. We will tell you what to buy, what to build, and whether a partner sprint is the fastest honest path to evidence.

Where the build-vs-buy question is a control plane for agents — identity, kill switches, cost caps — start with the AI agent governance checklist before you pick a vendor layer.

FAQ

Frequently asked questions

Neither as a blanket rule. Buy commodity layers — foundation models, gateways, vertical SaaS for non-moat workflows — when a vendor already owns the hard part and your exit path is clear. Build the application, retrieval, evals, integrations, and domain logic that encode how you win. Partner when you need production evidence and ownership transfer without a multi-year hiring delay.

Build vs buy decides what product or capability you assemble — SaaS, APIs, custom software, or a hybrid. Consultancy vs in-house decides who delivers and where institutional knowledge lives. Confusing the two produces the wrong RFP: you shop for a team when you needed a platform decision, or you buy a tool when the real gap was ownership after go-live.

Rarely as a first move. Training or heavily fine-tuning a foundation model pays off when you have proprietary labelled data, a stable task, and a differentiation story that retrieval and prompting cannot carry. Most enterprises should buy the model layer and build the surrounding system — retrieval, evaluation, and workflow integration — first.

Licence or usage fees, integration and change cost, evaluation and monitoring, human review labour, data residency and security controls, vendor lock-in risk, and the cost of an exit or model swap. Spreadsheets that only compare API prices to engineer salaries miss the expensive half.

Yes, if contracts, data flows, and architecture say so. Own your prompts, retrieval corpora, evaluation sets, integration code, and fine-tunes; pin model versions behind a gateway; and write exit criteria — export formats, deprecation windows, and a re-runnable eval suite — before you scale traffic onto a vendor.