Build vs Buy

The decision framework every CTO faces — when to build, when to buy, and when to compose. A structured way through the trade-offs that define your stack.

5 concepts 4 decision paths Calculator

The build-buy spectrum

Two different lenses depending on what kind of capability you're evaluating.

When building wins

Capabilities that justify the investment in custom engineering

  • Core differentiator
    What makes you different
    Justified
  • Unique data model
    No vendor fits your shape
    High
  • Regulatory requirement
    Compliance demands control
    Necessary
  • No viable vendor
    The market gap
    Last resort

Building is expensive — but for your core differentiator, it's the only option that compounds.

When buying wins

Capabilities where speed and maturity outweigh control

  • Commodity function
    Email, auth, payments
    Low
  • Time-to-market critical
    Speed beats perfection
    Medium
  • Mature vendor ecosystem
    Battle-tested at scale
    Medium
  • Team capacity constrained
    Can't hire fast enough
    Trade-off

Buying is fast — and for commodity functions, your engineers have better things to build.


The key concepts

Click each concept to see the business analogy and visual explanation.

The real price tag
Total Cost of Ownership
"Buying a house vs renting — the mortgage is just the start"
The licence fee is the estate agent's brochure. The real cost is the mortgage, insurance, maintenance, renovations, and the time you spend fixing the boiler on a Sunday. Build projects have the same hidden layers: hiring, onboarding, infrastructure, on-call rotas, and the opportunity cost of everything else your team isn't building.
Licence fee Visible cost $100K + Integration $80K + Maintenance $60K/yr + Opportunity cost $???
At WPP, every build-vs-buy decision went through a 3-year TCO model. The surprise was never the headline cost — it was the integration, training, and ongoing maintenance that doubled or tripled the sticker price.

Run the calculator Build vs Buy: TCO Calculator

Compare cumulative cost across build, buy, and hybrid paths over your chosen horizon — an interactive calculator for the build-vs-buy decision.

Decision framework

Frequently asked questions

How do I decide whether to build or buy?

Start with one question: is this capability your competitive advantage? If a competitor can buy the same thing off the shelf, it is not a differentiator, and you should buy it too. Then sanity-check the answer against three constraints — whether you can staff and retain a team for it, whether the vendor's roadmap will diverge from yours, and whether integration will cost more than the build. The answer is rarely pure build or pure buy.

What is the difference between core and context?

Core is what makes you different — the thing customers actually pay for. Context is everything else: payroll, email, logging, CI/CD. A restaurant cooks its own food but does not grow its own wheat. The strategic question is never "can we build this?" but "should our best engineers spend their time on this, or on the thing that creates competitive distance?" Most teams over-classify work as core.

What is the integration tax?

Every vendor arrives with its own auth model, data format, error conventions, and upgrade cycle, and your engineers become glue-code specialists translating between them. The cost compounds: when one system changes its API, the blast radius is every downstream dependency. Budget 30–40% of vendor cost for integration and maintenance, and expect that by the third vendor the integration effort often exceeds the cost of building in-house.

Why does total cost of ownership matter more than the licence fee?

Because the licence fee is the estate agent's brochure. The real cost is the mortgage, the insurance, the maintenance, and the Sunday spent fixing the boiler. Build projects have exactly the same hidden layers — hiring, onboarding, infrastructure, on-call rotas, and the opportunity cost of what your team is not building. Run every decision through a three-year model; the surprise is never the headline number, it is the integration and maintenance that double or triple it.

What is the hybrid path?

Build the core differentiator, buy the commodity layers, and wrap the lot in an abstraction that lets you swap vendors without rewriting your product. The architecture is the strategy. A ports-and-adapters layer over bought primitives is more work up front, but it is the asset that lets you move a workload when the commercial terms change — which is precisely when you have no time to re-architect.

How do I protect against lock-in without building everything myself?

Map your exit cost at one, three, and five years, and treat the trend as the signal. Lock-in is not binary; the switching cost climbs every quarter you stay, because your data sits in their format and your workflows assume their quirks. If the five-year exit cost exceeds the cost of building, you have rented yourself into a more expensive mortgage. An abstraction layer is the cheapest insurance against that.

Diagrams

Embed these freely — each SVG is licensed CC BY 4.0 (opens in a new tab) with attribution to this page baked in.

Model Context Protocol AI Cost Curves