Build vs Buy: The Framework Founders Use to Stop Wasting Engineering Time
Every startup reaches the same moment: a feature needs to exist, and someone has to decide whether to build it or buy something that does it. Most founders make this decision by instinct, then defend it retroactively. The result is engineering teams spending months building payment systems, auth flows, and admin dashboards — none of which make the product better — while core product work waits.
The decision has a framework. It is not complicated, but most founders have never been shown it explicitly.
Why Founders Default to Building
Building feels like progress. When your developers are coding, something is happening. Buying a SaaS tool feels like giving up, admitting you cannot build it, or creating a dependency that will hurt you later.
None of that is usually true, but the feeling is real and it drives bad decisions.
There is also a second problem: founders often frame the decision as "build vs buy the feature." The correct frame is "build vs buy the feature, including all future maintenance, all edge cases, all security updates, and all the engineering time that goes to it instead of to product." When you include that full cost, buy wins a lot more often.
The Three Questions
Before any build-or-buy decision, answer these three questions honestly:
1. Is this a differentiator?
Differentiation means customers choose you specifically because of this feature. It is the thing in your product that competitors do not have, or that you do meaningfully better. If customers would not notice if you used Stripe instead of your own payment system, payments are not your differentiator. If your entire product value is in a proprietary matching algorithm, that algorithm is your differentiator.
Most features are not differentiators. Most startup products have one or two things that genuinely differentiate them. Everything else is plumbing.
2. Will buying this limit us in ways that matter?
Some vendors create lock-in that becomes painful at scale. Some charge in ways that destroy your unit economics as you grow. Some do not support the data access or customization you will need in 12 months. These are real reasons to build.
Most of the time, though, the "we'll outgrow it" concern is hypothetical. You are not going to outgrow Stripe's payment infrastructure. The right question is not "could this ever limit us" but "will this limit us before we have the resources to replace it."
3. Is the full build cost actually lower than the buy cost?
Write down the real build cost: initial engineering hours, plus 20% of that per year indefinitely for maintenance. Compare that to the buy cost over two or three years. Include what your engineers would have built instead — the opportunity cost.
For most features, buy wins on this calculation even when the initial build looks cheap.
What to Almost Always Buy
These categories of software are solved problems. Building them yourself is almost never the right call:
Authentication — User signup, login, password reset, MFA, OAuth (Google/GitHub sign-in), session management. Auth0, Clerk, and Supabase Auth handle all of this for a few hundred dollars a month. Building your own auth is a multi-week project, and you will inevitably miss something that becomes a security incident.
Payments — Stripe, Paddle, or Lemon Squeezy handle checkout, subscriptions, invoicing, tax compliance, and dispute handling. Building payment infrastructure from scratch is a 3-6 month project and requires PCI compliance maintenance indefinitely.
Email and SMS delivery — Deliverability is a specialization. Resend, SendGrid, and Postmark have spent years building sender reputation and infrastructure. Your custom SMTP server will land in spam.
Customer support tooling — Intercom, Plain, or Crisp. These have data models, workflows, and integrations built for support use cases. Building a support inbox is a product in itself.
Internal admin dashboards — Retool, Appsmith, or even a Notion database beats spending two weeks building an admin panel for your ops team.
Analytics and monitoring — Posthog, Mixpanel, Datadog. Instrumentation infrastructure is not your product.
What to Almost Always Build
Your core product experience. Anything that is the reason a customer chose you over the alternatives. The workflow, the algorithm, the interface, the data model that makes your product what it is.
If a customer would stop using your product if you removed this feature, own it. Do not outsource differentiation.
Also: anything that involves your proprietary data in ways a vendor cannot replicate. A vendor can give you a reporting dashboard. A vendor cannot give you the specific insight that comes from your particular data model applied to your customers' behavior.
The Mistake That Costs the Most
The most expensive build-vs-buy mistake is not building something you should have bought. It is the compound effect: engineers spend six weeks building an auth system, then four weeks on an admin panel, then three weeks on an email system. Eighteen weeks of engineering time on zero differentiation. Your actual product — the thing customers pay for — barely moves.
By the time founders notice this, they are looking at a year-old roadmap item that was supposed to ship in month three, and a team that has been busy the entire time.
A Simple Decision Matrix
| Feature type | Build or buy? | Why |
|---|---|---|
| Core product workflow | Build | Your differentiation |
| Auth / identity | Buy | Solved problem, security risk if DIY |
| Payments | Buy | Compliance, complexity, ongoing maintenance |
| Email delivery | Buy | Deliverability specialization |
| Data storage (standard) | Buy (managed DB) | Infrastructure commodity |
| Proprietary data pipeline | Build | Where your insight comes from |
| Internal tooling | Buy | Not customer-facing |
| Customer-facing reporting | Depends | Build if it's a product feature, buy if it's operational |
The Right Time to Switch From Buy to Build
Most startups will eventually replace some vendor tools with in-house solutions. This is healthy — it happens when you have enough scale to justify the maintenance, when vendor costs are genuinely high relative to the cost to run it yourself, or when a vendor limitation is blocking a specific roadmap item.
That point is almost always later than founders think. Pre-launch, replace nothing. Pre-product-market-fit, replace almost nothing. Post-Series A with a dedicated platform team — now you can have the conversation about building some infrastructure.
The trap is replacing vendors before you have the team to maintain the replacement. A vendor dependency is a known cost. A custom system that one engineer built and left is a much larger unknown cost.
The Question to Ask in Every Planning Meeting
Before any engineering project gets added to the sprint, ask one question: Is this a differentiator or is it plumbing?
If it is plumbing — if customers cannot see it, cannot pay specifically for it, and competitors also have to solve the same problem — there is almost certainly a vendor that handles it. The decision to build it anyway needs a very specific justification: a vendor limitation, a unit economics problem, or a data ownership requirement.
Without that justification, buy it, ship the core product faster, and use the engineering time for the things only you can build.