Custom SaaS Architecture for Startups: What Costs Most to Undo?

Published 10 June 202613 min read
Tech professionals collaborating on custom SaaS architecture for startups across various modern office settings.

When a quote arrives for a new product, custom SaaS architecture for startups often hides behind a line called technical foundation. It looks like a detail for the engineers. Yet it shapes your monthly hosting bill, how fast your team ships features, and which customers can sign a contract with you in year two.

You do not need to judge the engineering. You do need to know which choices are cheap to change later and which are expensive, because that tells you where to spend attention and budget. This guide gives you that map, plus questions to put to any partner you are considering.

What architecture means when you are the one paying

Software people have argued about the definition for decades. Martin Fowler's Software Architecture Guide credits Ralph Johnson with the most useful version: architecture is about the important stuff, whatever that is. Johnson also called it the decisions you wish you could get right early in a project. For a founder, that points at the choices that are hard to change once customers and data depend on them.

Fowler's case for caring is economic. Weak internal design builds up what he calls cruft, the elements that make software harder to understand, so features arrive more slowly and with more defects. He argues that high internal quality leads to faster delivery, and he reports that experienced developers reckon attention to it pays off in weeks, not months. Customers never see this layer, so it is also the first thing squeezed when a budget tightens.

So the useful question is not which pattern is fashionable. It is which decisions deserve care now, and which can wait until the product has earned more complexity.

Custom SaaS architecture for startups: where the expensive choices sit

Four areas carry most of the risk: how customers are separated, where their data lives, how the system divides into parts, and how plans, seats and permissions are modelled. Most other choices, including the visual layer and many supporting libraries, you can change later with ordinary effort. The table below sums up the difference and gives you one question to ask for each area.

DecisionWhy it is hard to undoQuestion to ask your partner
How customer data is separatedTouches most of the data layer and means moving live customer dataWhich model do you propose, and what would a move to the other cost?
Data location and hostingLarge buyers may set conditions on provider and regionWhich prospects could require a specific region, and how portable is the data layer?
One application or many servicesMore services mean more deployment, monitoring and coordination workWhich problem does each separate service solve today?
Plans, seats and permissionsPricing and roles change as you learn, and scattered rules multiply the workCan we add a plan or role without reworking features?
Visual interface and minor librariesUsually replaceable at moderate costWhich parts did you keep deliberately easy to swap?

How customer data is kept apart

SaaS means many customers share one product, and multi-tenancy is the term for how their data stays separate. Some products keep every customer in shared tables, divided by a customer identifier. Others give each customer a dedicated database or a dedicated environment. The shared model is cheaper to run and simpler to update. The dedicated model isolates customers more strongly, which can matter when a buyer's security team asks pointed questions.

Neither is wrong, but choosing blindly is expensive. Imagine a large prospect asking for something your design cannot give, months after launch. Changing the model then means touching most of the data layer and migrating live data, so ask your partner which model they propose, why, and what a later move would involve.

Where data lives and what you promise buyers

Joni Collinge, a founding engineer at Diagrid, covered this in his QCon London talk on building a SaaS platform from scratch. He noted that enterprise customers may arrive with a regulatory or compliance reason to store data only with one cloud provider and only in one region. If you have tied yourself to a single provider with no portability, you might not be able to serve them. His advice, which he admitted others may dispute, was to keep the data-holding part of the system as portable as possible.

That does not mean building for three clouds on day one. It means knowing your first buyers. If they sit in regulated sectors, ask what they require before you commit to a hosting design. If they are small teams buying with a card, the question can wait. Data protection duties vary by case, so have a qualified adviser confirm what applies to you.

Plans, seats and permissions

Your first pricing will probably change. So will the roles customers ask for, such as an owner, an editor and a read-only viewer. When those rules sit in one organised place, a pricing experiment is a small change. When they spread through the product as scattered conditions, each experiment becomes a mini-project. You cannot inspect this yourself, but you can ask a partner to show where plan and permission rules live and how they would add a new tier.

One large structure beside several small ones, illustrating custom SaaS architecture for startups choices
One organised structure or several separate ones: the choice changes what you run and what you pay for.

Architecture is the set of choices that get hard to change once customers depend on them.

One application or many services?

For most early products, custom SaaS architecture for startups works best as one application with clear internal boundaries. The reasoning comes from what the alternative costs. Fowler's guide describes the microservice pattern as a suite of small services, each running in its own process and deployable independently. It also states that the advantages come with costs: more distribution, weakened consistency, and a need for maturity in operational management.

In business terms, more services mean more things to deploy, monitor, secure and pay for, plus a team able to run them. A product with a handful of customers and a short runway rarely has that team. Serverless designs sit at the other end. According to the same guide, they may reduce operational cost, complexity and lead time, but they increase reliance on vendors and on comparatively immature supporting services.

Diagrid shows the other side of the argument. Its product is infrastructure: a central control plane that configures regional data planes, built on Kubernetes. That structure serves a company selling infrastructure to developers. A scheduling tool or a client portal has different needs, so copying a platform company's blueprint would add cost without adding value.

What a modular single application looks like

Picture one deployable product, organised inside into distinct areas such as accounts, billing and the core feature, each with defined edges. In the Hacker News discussion of Alex Krupp's Django guide for startup founders, one Django user and former founder listed starting with one big app among the points he agreed with.

Splitting a well-organised application later is usually manageable. Merging a product that someone divided too early is far harder. You keep the option of separating a heavy component when a real need appears, and you avoid paying for that separation today.

How much does your framework choice matter?

Less than the fit between the team and the tools. Krupp's guide, as he describes it, aims to keep development speed steady through unknowable changes in team size, developer experience and product functionality. Simon Willison, another commenter, observed that the opening paragraphs apply whatever framework you use. That framing suits a founder well, because your team will change.

Contributors in that thread disagreed sharply on the stack itself. One argued that an opinionated framework already answers most design questions, so effort goes to business problems and a long time to market is the real danger. Another argued that heavier frameworks create friction once you have market validation. A third said it depends on whether your developers understand why a framework's parts exist, since teams that skip them tend to refactor months later.

A commenter who works as a consultant added a point that matters at handover: with plain, idiomatic use of an opinionated framework, a new engineer can navigate the codebase on day one. So ask three things. Who else can maintain this stack? Can you hire for it where you are? Are the team's conventions written down?

Which parts to buy instead of build

Build what makes your product distinct, and rent the plumbing. Describing the front door of a cloud platform, Collinge listed authentication, authorization, audit and routing, then called it effectively a solved problem with many vendors to choose from. Good custom SaaS architecture for startups applies the same logic. Sign-in, payments, subscription billing, transactional email and hosting are usually rented, because building them yourself rarely makes customers pay more.

Renting is not free of cost. Each service adds a fee that grows with usage, a contract to read, and a switching effort if you outgrow it. Ask your partner to list every third-party service in the design with its pricing basis, so you can see how the bill moves as customers arrive.

Sometimes the honest answer is that you should build none of it. If the real problem is controlling the SaaS tools your company already pays for, Gartner's reviews of SaaS management platforms are a better starting point than a development quote. Custom work earns its cost when the workflow itself is what customers pay for, or when standard products force awkward compromises on it.

If AI features sit on your roadmap, decide early whether they live inside the product or connect through a separate layer. Our article on whether you need an AI agent integration platform walks through that choice.

How to get an honest estimate for the foundation

Ask for a range, with the assumptions written beside it. A single number hides the choices that move it. A fair estimate for custom SaaS architecture for startups reflects how many customer types and roles you support, how many outside systems you connect, whether you must migrate data from an older tool, and what security or data-location promises you have already made to buyers.

Then separate build cost from run cost. Hosting, third-party services and support grow with your customer count, so a cheaper build can produce a more expensive second year. Fowler's point about cruft applies here too, since shortcuts in internal quality save money now and slow every later feature.

  • The assumptions behind each cost, such as expected customers and integrations
  • Build cost and monthly run cost, listed separately
  • Third-party services with their pricing basis
  • What is deliberately left out of the first release
  • Which decisions are hard to reverse, and what a reversal would involve
  • Who owns the code, the data and the hosting accounts

If you already have a prototype from a freelancer or an earlier team, do not assume you must start over. Our guide to the signs that software has become a legacy system helps you judge whether to extend, restructure or replace it. A short technical review by a qualified engineer, independent of whoever wants the rebuild contract, can settle the question before you commit.

Questions that reveal how a partner thinks

Whichever team you choose, whether an independent studio such as Xerx custom software and web app development or another firm, put these questions in writing. The quality of the answers tells you more than a portfolio does. Costs and suitability vary from product to product, so use the answers to compare proposals rather than to find a universal right choice.

  1. How will customer data be separated, and what would it take to change that later?
  2. Which decisions in your proposal are hard to reverse, and which did you keep cheap to change on purpose?
  3. Why one application or several services for our stage and team size?
  4. Which third-party services will we depend on, and what does each cost as we grow?
  5. Who can maintain this in three years, and how do you record the decisions behind it?
  6. If we ever leave, how do we export our data and code?

Good answers name trade-offs. A partner who says a design has no downsides has not finished thinking. Be cautious about proposals that split an unvalidated product into many services without saying which problem each one solves, and about any answer that leans on terminology instead of consequences.

Ask for a one-page record of the main decisions as well. It costs little to write and saves long arguments after handover. Where doubt remains, a small first phase with a defined deliverable lets you judge the working relationship before you commit the full budget.

What changes when growth arrives

Some decisions belong to later. Collinge describes a pattern for platforms whose control plane has grown: partition the system into cells, assign different tenants to different instances, and place those cells in regions for data sovereignty or low latency rather than raw scale. That is a good problem to have, and it only becomes a project once you have enough customers to justify it.

A well-structured product can adopt such changes in stages. A tangled one often forces a rewrite, which is why the early decisions above matter more than any later scaling technique. Fowler's guide, in its section on legacy displacement, warns of organisations that fall into cycles of half-completed replacements, and it recommends breaking the change into parts and delivering them incrementally.

So revisit the foundation whenever a large prospect, a new market or a funding round changes your assumptions. A regular conversation with your partner keeps small questions from turning into expensive ones.

What to send before you ask for a quote

A short brief produces better estimates than a long wish list. Write it in plain language, because the goal is to give a partner the facts that drive architecture, not to specify the technology.

  • Who your first customers are, and whether any sit in regulated sectors
  • Your own guess at customer numbers after twelve months
  • The outside systems the product must connect to
  • Whether data must stay in a particular country or region
  • Who will maintain the product after launch
  • A budget range for the first release and for monthly running costs

Send that brief together with the six questions above to two or three teams. Then compare how each one handles the trade-offs, not only the price. The proposal that explains what it would change later, and what that change would cost, is usually the one that has thought hardest about your product.

Action Steps

  1. Describe your first buyers: Write down who they are, which sectors they work in, and any security or data-location requirements they may raise.
  2. Mark the four expensive decisions: Ask your partner to propose and justify customer data separation, data location, application structure, and how plans and permissions work.
  3. Default to one organised application: Accept separate services only where the partner names a specific problem each one solves today.
  4. List the services you will rent: Request every third-party service with its pricing basis so you can see how costs grow with customers.
  5. Request a ranged estimate and decision record: Ask for assumptions, build and run costs, a one-page record of key decisions, and consider a small first phase.

Frequently Asked Questions

What is custom SaaS architecture in plain terms?

It is the set of structural decisions behind a subscription product: how customers' data stays separate, where it is hosted, how the system divides into parts, and which services you rent. It matters because some of these choices are costly to change once customers depend on the product.

Should a startup begin with microservices?

Usually not. Martin Fowler's guide notes that microservices bring more distribution, weakened consistency and a need for operational maturity. For many early products, one organised application is the lower-risk start, but your team and product determine the right answer, so ask your partner to justify the proposal.

Do I need to plan for multiple clouds from the start?

Not by default. Joni Collinge observed that enterprise customers may require a specific provider and region for compliance reasons. Know your first buyers, keep the data-holding part portable where practical, and have a qualified adviser confirm any legal requirements.

How can I judge a proposal without technical knowledge?

Ask which decisions are hard to reverse, what each costs to change, and who can maintain the product in three years. Request a one-page decision record, and consider a short independent review by a qualified engineer before signing a large contract.