self-hosted infrastructure toolsself-hosting vs SaaS costself-hosted alternatives to SaaS

Is Self-Hosting Cheaper Than SaaS? Real Costs of Top Tools

Compare self-hosted Supabase, n8n, Coolify, Nextcloud, and PostHog with SaaS pricing, including engineer time, to find your real breakeven point.

Portrait of Luis Chavez-Mattos
Edited by Luis Chavez-Mattos, Director, Product··RSS
A row of server racks each paired with a floor grid of unit blocks showing the hidden maintenance effort behind self-hosted infrastructure tools, with one tool's cost highlighted in accent color.

Is self-hosting cheaper than SaaS?

Self-hosting is cheaper only when your scale, your team's operational maturity, and the shape of your workload outweigh the engineering hours it costs, not just the server bill. That answer does not depend on whether you believe in open source. The best self-hosted infrastructure tools right now cluster around five jobs. Supabase replaces Firebase as a backend-as-a-service. n8n replaces Zapier for workflow automation. Coolify replaces Vercel or Heroku for deployment. Nextcloud replaces Google Workspace or Dropbox for file sync. PostHog, Plausible, and Umami replace Mixpanel or Amplitude for analytics. Each is mature enough now that a small team without a dedicated platform engineer can run it in production.

But which tool to run isn't the hard question. The hard question is whether running it yourself actually saves money once you count the hours, not just the server bill. That answer depends on your scale, your team's operational maturity, and the shape of your workload, not on whether you believe in open source.

TL;DR

  • Barclays' CIO survey found that 83% of enterprise CIOs planned to move at least some workloads from public cloud back to private infrastructure in the first half of 2024.
  • Roughly 60 to 70% of DIY hosting costs never appear on an invoice, because they show up as invisible engineering hours spent on patching, troubleshooting, and backups.
  • SaaS usage pricing punishes scale, which makes tools that run on a $5 to $10 VPS tempting, though engineering upkeep can offset the savings.
  • Repatriating cloud workloads can cut costs by half or more, as the 37signals and Dropbox numbers show.
  • That result depends on engineering depth, so it is only realistic for mature teams, and most organizations should pull back selectively rather than fully.
  • The honest way to decide is to calculate your breakeven point by adding engineer time to the server cost and comparing it with the actual SaaS invoice.

Why is self-hosting a live question again?

For most of the 2010s, "just use the cloud" was the default answer for almost everything. That default is cracking. Barclays' CIO survey found that 83% of enterprise CIOs planned to move at least some workloads from public cloud back to private infrastructure in the first half of 2024, up from 43% in late 2020. Flexera's research has tracked organizations wasting 27 to 32% of their cloud spend every year since 2020, and that waste ticked back up to 29% in the 2026 report as AI workloads pushed usage higher.

Figure 1
The repatriation numbers driving the shift back from cloud
$10M+
Projected 5-year cloud savings at 37signals
83%
Enterprise CIOs planning to repatriate workloads (H1 2024)
29%
Average wasted cloud spend across organizations (2026)
Compiled from three separately cited sources: 37signals' own cloud-exit figures, Barclays' CIO survey, and Flexera's 2026 State of the Cloud Report.
Illustrative figure. Constructed for explanation, not a measured source.

The loudest data point: 37signals, the company behind Basecamp and HEY. It cut its cloud bill from a $3.2 million-a-year run rate to $1.3 million after exiting AWS compute and databases, and projects over $10 million in savings over five years once it finishes moving off S3. The $600,000 in Dell servers it bought to replace that infrastructure paid for itself within the first year.

Figure 2
37signals' annual cloud bill before and after exiting AWS
annual cloud spend (USD)
$3,200,0002023 run rate$1,300,0002024 actual
Illustrative figure. Constructed for explanation, not a measured source.

What's changed since the last repatriation wave is the tooling underneath it. The open-source stack that used to require a platform team to operate now mostly doesn't. That's the real story behind the renewed interest in local-first, open-source alternatives to SaaS: mature sync engines, one-click deploy tools, and Postgres-based backends have closed most of the gap between "self-hosted" and "someone else manages it for you."

What does SaaS actually cost you?

SaaS pricing rarely scales the way your usage does. Per-seat plans punish headcount growth. Per-task and per-operation plans punish success.

Take workflow automation. Zapier's paid plans run $19.99 to $49-plus a month with hard task limits, and overages bite fast once a workflow fires more than a few times a day. A documented year of running n8n instead, on a $6-a-month VPS, saved roughly $320 to $500 over twelve months once you count the equivalent Zapier plan's cost against one to two hours a month of server upkeep.

Backend-as-a-service shows the same pattern at bigger scale. One comparison put a workload of 10,000 daily active users and 10 million reads a day at roughly $50 to $100 a month on Supabase versus $500 to $1,500 a month on Firebase, since Firebase bills per read and write rather than per compute unit. A separate comparison found Firebase costs climbing to $300 to $500 a month at similar scale, while self-hosted Supabase ran on VPS cost alone, often $20 to $100 a month.

Figure 3
Backend-as-a-service: monthly cost at 10K DAU scale
Firebase (managed)$400Supabase Cloud (Pro)$62.50Supabase (self-hosted)$60.00
Midpoints of the ranges cited: Firebase $300-500/mo, Supabase Cloud $25-100/mo, self-hosted Supabase $20-100/mo.
Illustrative figure. Constructed for explanation, not a measured source.

Usage-based deployment pricing can be the most volatile of all. One developer calculated a Vercel bill of roughly $1,700 a month for just 1,000 users, under certain bandwidth and function-execution assumptions. Other users in the same thread disputed the number as workload-dependent, which is the real point: usage-based SaaS pricing swings wildly based on traffic patterns you don't fully control.

What does self-hosting cost that never shows up on an invoice?

The sticker price of self-hosting looks great. A $5 VPS, free software, no per-seat fee. The real cost is almost entirely invisible until you go looking for it.

WP Engine's research, surveying more than 800 IT and business leaders, found that 60 to 70% of digital infrastructure costs from DIY hosting never appear on a line item. They show up as engineering hours spent on patching, troubleshooting, and backups. The same research calculated that a developer on a fully loaded salary of £100,000 a year, spending 45 hours a month on reactive maintenance, effectively diverts about £25,963 of engineering capacity away from feature work annually.

Figure 4
Where DIY hosting costs actually show up
65%Invisible costs
Invisible costs (engineering hours)65%
Visible costs (line items)35%
Midpoint of WP Engine's cited 60-70% invisible-cost range.
Illustrative figure. Constructed for explanation, not a measured source.

Strapi's own total-cost-of-ownership analysis puts operations and maintenance at 51% of lifetime software cost, well above acquisition cost, and notes that security patching alone can consume 312 to over 1,300 developer hours a year depending on your compliance regime.

Even lightweight tools carry this tax. A basic self-hosted analytics setup with Umami runs fine on a $5 to $10 VPS, but realistic upkeep of one to two hours a month, priced at a conservative $100 an hour, works out to roughly $200 a month in opportunity cost, which can exceed the managed analytics subscription it replaced.

What is the best self-hosted alternative to each SaaS category?

Here's where the mature replacements actually sit today:

  • Backend-as-a-service. Firebase bills per read, write, and operation. Supabase runs on Postgres and self-hosts on a VPS for as little as $20 to $100 a month, or runs managed for $25 a month on its Pro tier.
  • Workflow automation. Zapier and Make charge per task with hard caps. n8n runs the same automations on a $6 to $10 VPS, at the cost of one to two hours a month of maintenance.
  • PaaS and deployment. Vercel, Heroku, and Netlify bill on usage that can spike unpredictably. Coolify is an open-source, self-hostable alternative that deploys apps, databases, and more than 280 one-click services to your own server for a flat VPS fee, often $5 to $10 a month for several applications. That's the gap tools covered in easy self-hosting alternatives to big tech SaaS are closing: turn-key platforms that give you a self-hosted deploy target without rebuilding your pipeline from scratch.
  • File sync and collaboration. Google Workspace and Dropbox charge per seat and per gigabyte. Nextcloud, often paired with cheap object storage as the backing layer, covers most of the file-sync and sharing functionality teams actually use. That pairing's economics are covered in the case for object storage as a universal backend.
  • Analytics. Mixpanel and Amplitude price on event volume. PostHog, Plausible, and Umami run comfortably on a $5 to $20 VPS, with the caveat that setup and ongoing upkeep carry real opportunity cost.
Figure 5
Typical self-hosted VPS cost by tool
Supabase (self-hosted)$60.00Umami$12.50n8n$8.00Coolify$7.50
Midpoints compiled from the article's cited VPS cost ranges for each tool; excludes maintenance labor cost.
Illustrative figure. Constructed for explanation, not a measured source.

When does self-hosting actually win?

a16z's analysis of cloud economics found repatriation typically costs one-third to one-half of running the same workload in the public cloud, and that public cloud list prices can run 10 to 12 times the cost of operating your own data center before volume discounts. That math only pays off past a certain scale and operational maturity.

Use this as a rough filter before you commit:

  • Team size and DevOps maturity. If nobody on the team has run a production database or VPS before, your first self-hosting project should be small and reversible, not your core backend.
  • Usage volume and growth trajectory. Per-operation and per-task SaaS pricing punishes scale. If your usage is flat and small, the SaaS plan may already be cheap enough.
  • Workload type. Compute-heavy and storage-heavy workloads tend to repatriate well. Dropbox's 2018 S-1 disclosed roughly $75 million in savings over two years from moving most workloads off public cloud to self-operated infrastructure, lifting gross margin from 33% to 67% between 2015 and 2017.
  • Data sovereignty and compliance needs. If regulatory requirements already force you toward specific hosting arrangements, the self-hosting case gets stronger regardless of raw cost.
  • Key-person risk tolerance. Self-hosting concentrates operational knowledge in whoever set it up. If that person leaves, the invisible cost from WP Engine's research becomes very visible, very fast.
Figure 6
Self-hosted vs. managed SaaS: the real tradeoffs
Self-hosted vs. managed SaaS: the real tradeoffs
Typical monthly costMaintenance burdenSetup timeCost predictabilityData control
Self-Hostedteams with DevOps maturity and steady or growing usage$5-100/mo + maintenance hoursHighHighHighHigh
Managed SaaSsmall teams or unpredictable, low-volume workloads$20-1,700+/mo, usage-dependentLowLowLowLow
Ratings are relative across these two options, not absolute. 'Cost predictability' reflects how exposed each model is to usage-based swings, not price level.
Illustrative figure. Constructed for explanation, not a measured source.

What do the big repatriation stories prove, and where do they stop?

37signals and Dropbox are real, audited numbers, not marketing anecdotes. They prove that at sufficient scale, with the engineering talent to execute it, owning your infrastructure can cut costs by half or more and meaningfully improve margins.

But they're also outliers in one important way: both companies had the engineering depth to execute a full migration cleanly. Most organizations don't go that far. IDC's Server and Storage Workloads Survey found only about 8 to 9% of companies plan full workload repatriation, even as the Barclays survey shows a large majority planning to move at least something back on-prem. The realistic pattern for most teams is selective: pull the workloads where the math is obviously lopsided, and leave the rest on managed infrastructure where the operational burden isn't worth taking on.

How do you decide whether to self-host?

Run the numbers before you run the migration:

  1. Calculate your fully loaded engineering cost per hour. Include salary, benefits, and overhead, not just base pay.
  2. Estimate realistic monthly maintenance hours for the tool you're considering self-hosting, based on the categories above: patching, backups, incident response, upgrades.
  3. Multiply those hours by your engineering rate and add it to the server cost. That's your true self-hosted monthly cost.
  4. Compare that number against the actual SaaS invoice, including any overage charges from the past twelve months, not just the list price.
  5. Factor in compliance and data residency requirements that might force a decision regardless of the cost comparison.
  6. Decide incrementally. Move one workload, measure the actual maintenance burden for a quarter, then decide whether to expand.

The honest version of this guide isn't "self-host everything" or "rent everything." It's that the breakeven point is a number you can actually calculate, and most teams never bother to do the arithmetic before picking a side.

Frequently Asked Questions

5 questions

Is self-hosting cheaper than SaaS?

Often, but not automatically. At scale, companies like 37signals and Dropbox have documented savings of 50% or more by moving off public cloud and SaaS infrastructure. At small scale, the hidden engineering time spent on patching, backups, and troubleshooting can erase or exceed the savings, since 60 to 70% of self-hosting costs never appear on an invoice.

What are the best self-hosted infrastructure tools in 2026?

The most mature options by category are Supabase for backend-as-a-service, n8n for workflow automation, Coolify for PaaS and deployment, Nextcloud for file sync, and PostHog, Plausible, or Umami for analytics. Each can run on a VPS costing between $5 and $100 a month depending on scale.

How much does self-hosting really cost once you include maintenance?

Strapi's TCO analysis attributes 51% of lifetime self-hosted software cost to ongoing operations and maintenance rather than acquisition. Security patching alone can consume 312 to over 1,300 developer hours a year depending on compliance requirements, and that time has a real dollar cost even though it never shows up as a bill.

When does it make sense to self-host instead of using SaaS?

Self-hosting tends to win when usage volume is high enough that per-seat or per-operation SaaS pricing compounds, when the team already has some DevOps maturity, when the workload is compute or storage heavy, or when data sovereignty requirements already push toward owned infrastructure.

Do most companies fully move off the cloud, or just partially?

Mostly partially. IDC's Server and Storage Workloads Survey found only about 8 to 9% of organizations plan full workload repatriation, while a much larger share, 83% in Barclays' 2024 CIO survey, plan to move at least some workloads back to private infrastructure.

How we source, write, and correct our articles. Editorial standards

Related articles

Straight to your inbox.
New pieces as they publish. No noise.