Comparisons

Host a SaaS MVP for Under $10

6 hosts with a frontend, an API, Postgres and your own domain from one vendor, priced for the quiet months before launch

Host a SaaS MVP for Under $10
Published

The cheapest way to host a SaaS MVP with a frontend, an API, Postgres and your own domain from one vendor is Light Cloud at $5 a month, with a preview of every branch and a password on the staging site included. Railway comes to about $5.30 once the RAM and CPU it bills by are counted, DigitalOcean to $12 and Render to about $13.30 with their own Postgres, and Fly.io to about $40, because its own Managed Postgres starts at $38. Cloudflare doesn't sell Postgres, so it has no price here.

We make Light Cloud, the first row below. Every row is one vendor, priced on that vendor's own products. Mixing vendors can be cheaper: a Fly.io machine with Neon's free Postgres is about $2.19 a month, under half our price, as long as the database stays inside Neon's free hours. That's two companies, two accounts and two bills, so it isn't a row, and the Fly.io section says when it's still the better deal.

How we ranked

The reference MVP is a React frontend, a Node.js API that runs as an ordinary server process (Express, in my case), a PostgreSQL database under 1 GB and your own domain. Traffic is about 300 requests a day: you, a few friends, the first ten people from a launch post. List prices, US dollars, checked on 2026-10-13 and again on 2026-11-02, smallest tier that does the job. Every row is one vendor: the frontend, the API and the database all come from that company's own products. Where a platform bills by usage, the price is the usage this MVP generates, not the plan's starting fee, so no row hides its bill behind a "+".

Two rules knock out a lot of free plans, and both are about the months an MVP spends waiting for users. First, the plan's own terms must not limit it to personal or non-commercial use, because an MVP exists to take money. Vercel's Hobby plan fails here: its fair use guidelines restrict it to non-commercial personal use, and taking payments counts. Heroku's $5 Eco dynos are for personal apps only. Second, nothing may pause or expire after a quiet week. Supabase's free plan pauses projects with low activity over 7 days, and a free Render database expires after 30 days.

The database is where the prices spread out. DigitalOcean's development database is $7 and Render's smallest Postgres is $6 plus 30 cents per GB, both always on. Fly.io's Managed Postgres starts at $38 on its Basic plan (pricing). Railway runs Postgres as one more service billed by the RAM it uses, and our shared database is $4 inside the Lite plan's $5. Cloudflare's own database, D1, is SQLite, not Postgres, so Cloudflare is listed without a price. Ties are broken by whether a preview of the API comes with each branch.

Kept running all month, with no scale to zero, the same MVP gets the Always on prices in the table. Light Cloud comes fifth of six there at about $56, because an always-on instance needs the $19 Starter plan and a Micro costs about $52 a month. Railway, DigitalOcean, Render and Fly.io cost the same either way, since their prices above already keep the API running. A Worker has no documented way to stay running, so Cloudflare has no price in that view either.

The ranking

Cheapest first; one vendor per rowPrices checked 13 Oct 2026
1
$5
The cheapest MVP from one vendor, with the database, previews of every branch and a password on staging includedPrice: all in, Lite plan
Postgres from the same vendorShared, $4, inside the $5Branch previews of the APIEvery branch, every plan
2
~$5.30
One bill with cron jobs and private networking, for about 30 cents more than usPrice: Hobby $5 + about $0.30 of usage
Postgres from the same vendorYes, billed on useBranch previews of the APIEvery pull request, every plan
3
$12
A fixed price with nothing metered, for an API that never needs a second instancePrice: $5 container + $7 dev database
Postgres from the same vendorDev database, $7Branch previews of the APIThrough GitHub Actions
4
~$13.30
An always-on API that never cold-starts, with Render's workers and cron there when you need themPrice: $7 Starter service + $6 Postgres + storage
Postgres from the same vendorBasic-256mb, $6 + storageBranch previews of the APIOne service per pull request
5
~$40
Cheap machines in many regions, once a $38 managed database fits the budgetPrice: $2.19 machine + $38 Managed Postgres
Postgres from the same vendorManaged Postgres Basic, $38Branch previews of the APIGitHub Action, one app
6
n/a
APIs written for Workers, with Cloudflare's edge and free egress, and the database at another vendorPrice: no Postgres of its own; D1 is SQLite
Postgres from the same vendorNone; D1 is SQLiteBranch previews of the APIWorker Previews per branch
List prices from each vendor's own pricing and docs pages, checked 2026-10-13 and 2026-11-02, US dollars. Reference MVP: a React frontend, a Node.js API running as an ordinary server process, a PostgreSQL database under 1 GB and your own domain, at about 300 API requests a day. Every row is one vendor: the frontend, the API and Postgres all come from that company's own products. A platform that does not sell Postgres itself is listed as n/a, and its section says what a partner database would add. Usage-billed platforms are priced on the usage this MVP generates, never on the plan's starting fee: on Railway that is about 250 MB of RAM for the API, which also serves the built frontend, and 200 MB for Postgres on average, 0.03 vCPU and a 1 GB volume. Render and Fly.io database storage is 1 GB. Only plans whose own terms do not limit them to personal or non-commercial use, and nothing that pauses or expires after a quiet week. Ties are broken by whether branch previews of the API are included. The Always on view keeps the API running all month with no scale to zero, at each platform's cheapest documented way to do that.

1. Light Cloud

Best for: the cheapest MVP from one vendor, with previews and a password on staging included.

The Lite plan is $5 a month, includes $5 of usage, a custom domain, five server apps and one shared PostgreSQL database (pricing). My MVP uses about $4.45 of it: $4 for the database and up to 30 cents for its storage, about 10 cents for an API at 300 requests a day (the pricing page's "quiet" example), a few cents of builds and a cent for the static frontend. So the invoice says $5 and that's the whole story. SaaS MVP hosting on one bill was the point of the plan.

Every branch you push gets its own frontend and API at their own URL, and a preview nobody opens costs nothing to run; branch previews come on every plan, Free included. A visitor password on the staging site is one setting on any plan, which the staging tutorial walks through. The database is Postgres hosting in the same project; you paste its connection string into the app as DATABASE_URL.

Where it falls short: the API scales to zero, so the first visitor after a quiet spell waits 3.1 to 3.7 seconds for it to start. The shared database tier runs in Belgium only. There are no cron jobs, no background workers, no built-in auth or email, and branch previews use the production database until you point them at another. Our Free plan would cost $0 here, but it has no databases and no custom domain, which is why Lite is the row.

2. Railway

Best for: one bill with cron jobs and private networking built in, for about 30 cents more.

Hobby is $5 a month and includes $5 of usage (docs). RAM is $10 per GB a month and CPU $20 per vCPU a month, metered by actual use. For this MVP that's about $5.27: roughly $2.50 for an Express API averaging 250 MB that also serves the built frontend, $2 for Postgres at 200 MB, $0.60 of CPU, and cents for the volume and egress. The bill is the larger of $5 and the usage, so about $5.30, the same always on, and 30 cents above our $5, which is why Railway is second. Hobby includes two custom domains, and pull request environments that copy the whole app are on every plan.

If your MVP needs a nightly job on day one, Railway has cron jobs and we don't. Two things to know: Railway recommends its $20 Pro plan for commercial apps, though its docs stop at a recommendation, and usage over $5 is billed, so set the hard usage limit (from $10) on day one.

3. DigitalOcean

Best for: a fixed price with nothing metered.

The smallest App Platform container is $5 a month for 512 MiB (pricing), and the static frontend fits in the free tier with a custom domain. DigitalOcean's own development database is $7, so the MVP is $12 a month, flat, and the same always on.

The $5 size is limited to one instance; scaling out starts at the $12 size. A payment method is required before you can create anything, even a free static site. Previews per pull request mean maintaining a GitHub Actions workflow, and scale to zero is still a private preview you have to ask for.

4. Render

Best for: an always-on API that never cold-starts.

A Starter web service is $7 a month for 512 MB (pricing), always on, so no visitor ever waits for a container to start. The static frontend is free and the Hobby workspace includes two custom domains. Render's free Postgres expires after 30 days, so the database is its smallest paid one, $6 a month plus 30 cents per GB of storage. That's about $13.30.

That buys predictability, plus private networking, cron jobs and background workers when the MVP grows into them. On the free Hobby workspace a pull request gets a preview of one service at that service's rate, without a database; full-stack previews need the $25 Pro workspace, as the Render alternatives post goes into.

5. Fly.io

Best for: cheap machines in many regions, once a $38 managed database fits the budget.

The cheapest always-on Fly machine, shared-cpu-1x with 256 MB, is $2.19 per 30 days in Ashburn or Secaucus (pricing), and it can serve the built frontend as well as the API. TLS certificates are free for the first 10 hostnames, so your domain costs nothing extra. The database is where the bill comes from: Fly's Managed Postgres starts with the Basic plan at $38 a month, plus 28 cents per GB of storage. That's about $40 for the MVP, the same always on.

The cheaper way to use Fly is with a second vendor. Put Postgres on Neon's free plan and Fly's bill is the $2.19 machine, as long as the database stays inside Neon's 100 CU-hours a month, which Neon translates into 400 hours of its smallest compute. A database queried all day long runs out in about 17 days, and Neon's Launch plan keeps it running for about $19 a month awake (Neon pricing). That's two accounts, two bills and two sets of terms to keep an eye on, which is why it isn't ranked here. Either way, Fly has no free tier for new accounts, needs a card after the trial, and says it doesn't support billing alerts yet. Previews per pull request are a GitHub Action that deploys one app, without a database.

6. Cloudflare

Best for: APIs written for Workers, with the database at another vendor.

Cloudflare doesn't sell Postgres. Its own database, D1, is SQLite, so this MVP's Postgres would come from another company, and the row has no price. The Cloudflare part on its own: Workers Paid has a $5 monthly minimum and includes 10 million requests (pricing). Containers, generally available on that plan since 2026-04-13, are billed per 10 ms while they run and stop charging when they sleep, with monthly allowances of 25 GiB-hours of memory and 375 vCPU-minutes (container pricing). A container that sleeps most of the day stays inside them; the smallest one awake around the clock would add about $1.70 for memory and disk. The frontend goes on Pages with free custom domains. With Neon's free Postgres as the second vendor, that's $5, or about $26 in a month the container and the database both stay awake all day.

The upside is Cloudflare's network and no egress charges. What you give up is simplicity: a container sits behind a Worker and a Durable Object, so there are three moving parts where other rows have one. Worker Previews, launched in September 2026, give each branch its own container instances. Budget alerts only notify; they don't cap anything.

Where the others beat us

Railway is about 30 cents more and has cron, workers and private networking. Render is the row where nobody ever waits for a cold start, and DigitalOcean is a flat $12 with nothing metered. Kept always on, Railway, DigitalOcean, Render and Fly.io all cost less than our $56. Every host here with its own Postgres lets you keep the database next to an API outside Europe, while our shared database tier is in Belgium only. And if two vendors don't bother you, a Fly.io machine with Neon's free Postgres is under half of our $5 while the database stays inside Neon's free hours, and if you'll write the API for Cloudflare Workers itself rather than a container, Workers Free (100,000 requests a day, 10 ms of CPU per request) plus Neon Free costs $0 with your own domain on Pages.

Where we come out ahead is the single bill. Database, API, static frontend, your domain, a preview of every branch and a password on staging all come from one company for $5, and none of it depends on another vendor's free plan staying the way it is today. For an MVP that will grow into where to host a SaaS territory, that's one migration you won't have to do. The custom domain with SSL is part of the same $5, and you can deploy from a GitHub repository in a few minutes.

Which part of your MVP would you rather not think about for the next six months?

More articles