Haink KnowledgeCase StudiesAbout Contact sales
Home / Knowledge / Software & AI / Build vs Buy: Custom AI/LLM Application or Off-the-Shelf? (Decision Framework)

Knowledge / Software & AI

Software & AI · Stack decisions · Written and maintained by Haink’s AI adoption team · Updated August 2026 · 8 min read

Build vs Buy: Custom AI/LLM Application or Off-the-Shelf?

Most AI buying decisions are not really build-versus-buy — they are build-on-top-of decisions. You will almost never train a foundation model from scratch; the real question is how much of your competitive advantage lives in the AI layer, and how much is undifferentiated plumbing you should rent. Buy the generic parts, build the parts that create advantage from your own data and workflows.

Key takeaways

This page is about how, not whether. Whether a use case should be built at all — differentiation, data, portfolio sequencing — is the strategic call, and it is made in build vs buy AI: the strategic decision. Read that one to decide whether and where. This one assumes the use case is greenlit and asks which parts of the system you assemble yourself.

On this page

  1. The stack, layer by layer
  2. When per-seat pricing loses
  3. When to buy off-the-shelf
  4. When to build custom
  5. At a glance
  6. The hybrid reality
  7. Common mistakes, by root cause

The stack, layer by layer

An LLM application is eight or nine layers, and build-versus-buy is decided per layer rather than once. Set out that way, the answer stops being a matter of philosophy: some layers are solved problems that would be absurd to rebuild, and some encode knowledge nobody can sell you.

LayerDefaultWhyCost of getting it backwards
Foundation modelRentTraining one is a nine-figure exercise with no payback for a company whose product is not a modelThe entire budget, spent to obtain a model worse than the one you could have called over an API
Inference servingRent, then ownOwn it when the volume arithmetic says so, not before — the crossover is near 340 tokens/sec sustainedA node at 15% utilisation with no payback story
Vector storeAdoptpgvector, Qdrant, Weaviate and Milvus are mature; writing one is a hobby, not a projectMonths spent on a solved problem
Ingestion and chunkingBuildSpecific to your documents, and the single largest lever on retrieval qualityA generic splitter you cannot tune, halving recall you will then blame on the model
Retrieval logicBuildHybrid weighting, metadata filters and permission filtering are specific to your corpus and your access modelAn assistant that answers from documents the asker is not cleared to read
Evaluation setBuild, alwaysIt encodes what “correct” means in your domain. No vendor can sell you thatShipping on intuition, with regressions invisible until users report them
GuardrailsRent generic, build specificPrompt-injection filtering is commodity; what counts as out of scope is yoursEither a system that refuses everything, or one that answers anything
Workflow and integrationBuildThe wiring into ERP, CRM and document systems — where most of the budget actually goesAssuming a purchase removes this. It removes the model, not the wiring
User interfaceEmbed, rarely buildPeople want answers inside the tool they already have openA new destination nobody visits

Read the Build rows together and a pattern appears that most roadmaps get backwards. Every layer you must build is unglamorous — parsing awkward documents, tuning retrieval, writing an evaluation set, wiring into a system of record. The layer teams are most eager to build is the model, and it is the one to rent. Projects fail on that inversion more often than on any technical choice.

A useful test per layer: if a competent competitor could buy the same thing tomorrow, rent it. If the thing encodes how your documents are shaped, who is allowed to see what, or what a correct answer means in your business — build it, because that is not a product anyone sells.

When per-seat pricing loses

“Owning it is cheaper at our volume” gets asserted far more often than it gets calculated. It has a simple form: a purchased tool costs per seat per year and scales linearly with adoption; a build costs a fixed sum plus a smaller annual run cost, and does not.

Take a production LLM application at $100,000 to build with about $30,000 a year to run, against a seat priced at $40 per user per month — $480 a year:

Break-even seats = (build + years × run) ÷ (years × price per seat-year) over 1 year271 seats (build has cost $130,000) over 3 years132 seats (build has cost $190,000) over 5 years104 seats (build has cost $250,000) At 500 seats over three years: SaaS $720,000 vs build $190,000. At 50 seats over three years: SaaS $72,000 vs build $190,000.

Two honest caveats, because a table like that is easy to misuse. It compares cost only — the purchased product exists this week and the built one exists in three months, and the build carries execution risk the purchase does not. And it assumes adoption you have not yet proven; buying fifty seats to find out whether anyone uses the thing is a cheaper experiment than building for five hundred and discovering they do not.

Which suggests the sequence rather than the answer: buy small to establish that the workflow is real, then build once seat count and usage are measured rather than forecast. The hidden costs on both sides — and there are several on each — are set out in the strategic build-vs-buy page; cost ranges by project type are in how much custom AI costs.

When to buy off-the-shelf

When to build custom

At a glance

FactorLean buyLean build
DifferentiationCommodity capabilityCore competitive advantage
DataGeneric / publicProprietary, must be grounded in it
PrivacyVendor cloud acceptableMust stay in your network
VolumeLow or unpredictableHigh and steady
FitA product matches your needYour problem is uniquely shaped
Time-to-valueNeed it this weekWorth weeks for the right fit

The hybrid reality most companies land on

In practice the best answer is usually a thin, custom layer on top of bought foundations. You don't train a language model — you use proprietary or open-weight foundation models and build the retrieval, workflow, evaluation and integration that make them useful for your specific problem. That custom layer is where engineering pays off and where off-the-shelf products can't follow you, while the expensive, commoditized base model is rented.

Common mistakes, by root cause

Four of these account for most failed LLM projects, and each has the same visible symptom — the project ran long and delivered less than promised — which is why they are worth separating by cause.

What happenedRoot causeWhat to do instead
Built the commodity. Months rebuilding transcription, OCR or a vector store that a mature product already does wellLayer-by-layer decisions were never made; the whole system was classed as “build” in one goDecide per layer using the table above. Rent anything a competitor could buy tomorrow
Bought the differentiator. The one capability that should set you apart is now a vendor's product every competitor can also licenseThe differentiation question was answered at the project level rather than the layer levelRent the model; build the retrieval, the evaluation and the wiring into your workflow
Trained from scratch. A custom model where retrieval and prompting on a foundation model would have doneConfusing “the model does not know our data” with “the model must be retrained”Work the ladder in order — prompting, then retrieval, then fine-tuning. See RAG vs fine-tuning
Ignored run cost. Per-seat SaaS chosen without modelling it at full adoption, or hardware bought before volume was measuredThe build-versus-buy case was made once, at pilot scale, and never recomputedCompute the seat break-even above, and the inference break-even in on-premises vs cloud

A fifth is quieter and more common than any of them: treating “buy” as instant. A purchased tool that is not integrated into the workflow and fed the right data returns close to nothing. Buying removes the model-building; it does not remove the ingestion, the permissions, the integration or the change management, and those are where most of the calendar goes either way.

Building AI software on your own infrastructure?

Model, pipeline and GPUs under one contract — tell us the use case and we'll scope it.

Talk to our engineers   Prefer email? sales@haink.org

What to read next

Related Resources

Frequently Asked Questions

Should we build or buy an AI solution?

Buy off-the-shelf for generic, non-differentiating use cases where a mature product exists. Build custom when the AI touches your core differentiation, needs your proprietary data and integrations, or must run privately. Most companies do both: a custom layer on top of bought foundation models.

Do we need to train our own model?

Almost never. Most production systems use proprietary or open-weight foundation models with retrieval (RAG) and, where justified, light fine-tuning — not models trained from scratch.

Is building a custom LLM app expensive?

Building on top of existing foundation models is far cheaper than training from scratch — you invest in retrieval, workflow, evaluation and integration, not in training a base model. Cost scales with complexity and integration depth.

How do we decide which parts to build?

Build the parts that create competitive advantage from your data and workflows; buy or rent the undifferentiated components around them. The test: would this feature, working perfectly, win you customers?

Which parts of an LLM application should we never build?

The foundation model, the vector store and the user interface, in almost every case. Training a foundation model is a nine-figure exercise with no payback for a company whose product is not a model; pgvector, Qdrant, Weaviate and Milvus are mature enough that writing your own is a hobby rather than a project; and users generally want answers inside a tool they already have open rather than in a new destination. Rent anything a competent competitor could buy tomorrow.

Which parts should we always build?

Ingestion and chunking, retrieval logic, the evaluation set, and the integration into your systems of record. Each of these encodes something specific to you — how your documents are shaped, who is allowed to see what, what a correct answer means in your business, and how the result reaches the person who acts on it. None of them is a product anyone sells, and all four are unglamorous, which is why roadmaps consistently under-resource them while over-resourcing the model.

At what point does building beat per-seat pricing?

For a production application costing about $100,000 to build and $30,000 a year to run, against a seat at $40 per user per month, break-even is roughly 271 seats over one year, 132 over three and 104 over five. But that compares cost only: the purchased product exists this week and the built one exists in three months, and the calculation assumes adoption you may not have proven. Buying a small number of seats to establish that the workflow is real is usually a cheaper experiment than building for a headcount you have forecast rather than measured.

What is the biggest build-vs-buy mistake?

Building the commodity and buying the differentiator — rebuilding generic capabilities while outsourcing the one thing that should set you apart.

Sources and scope. The seat break-even is arithmetic from stated assumptions — a $100,000 build with $30,000 annual run cost against a $40 per user per month seat — and every one of those should be replaced with your own figures; the formula is the durable part. Layer defaults are engineering judgement rather than measurement, and the right answer changes where a layer genuinely encodes something proprietary. The comparison is cost-only and does not price execution risk, time to value, or the possibility that adoption differs from forecast.

Reviewed: August 2026.

Haink
info@haink.org

Winning House
72–76 Wing Lok Street
Sheung Wan, Hong Kong

© 2026 Haink. All rights reserved.  ·  Privacy Policy  ·  TermsHong Kong · Dubai · Singapore · Mainland China · Delaware (USA)