Railway vs Render vs Fly.io: what it costs to host n8n, Umami, Vaultwarden and PocketBase
If you want to self-host an app but don’t want to look after a server, these three are the usual answer: you push code or a Docker image and they run it. They charge in very different ways, though. Railway bills what your app actually uses, Fly.io bills the machine size you pick by the second, and Render sells fixed instance sizes. So instead of comparing price lists, I ran four apps people often self-host, measured how much memory and CPU each one uses when sitting idle, and priced those numbers on each platform. All prices are in US dollars as listed.
Disclosure: the “Try Railway” link on this page is an affiliate link. If you sign up for a paid Railway plan through it, we may earn 15% of invoices for a customer's first 12 months, at no extra cost to you. Render, Fly.io and DigitalOcean don’t pay us. How we make money.
The short version
- Cheapest for small, mostly idle apps: Railway. Its $5 Hobby plan includes $5 of usage, and three of my four apps used less than that on their own. All four together came to $10.44.
- Cheapest for one tiny app: Fly.io. Vaultwarden fits its $2.19 machine. There’s no free tier, but there’s also no monthly plan fee.
- Most expensive here: Render, because its sizes jump from 512 MB ($7) to 2 GB ($25). Anything that needs a bit more than 512 MB, like n8n, lands on the $25 size.
- If you don’t mind running a server: a $12 DigitalOcean server held all four apps’ idle memory with room to spare, $14.40 with weekly backups. Cheaper than Fly or Render, but you do the updates.
Monthly cost to run all four apps
App by app
| App | Railway Hobby | Fly.io | Render | Note |
|---|---|---|---|---|
| Vaultwarden | $5.00 (uses $0.46) | $2.34 (256 MB) | $7.25 (512 MB) | Fly’s 256 MB size covers normal use |
| PocketBase | $5.00 (uses $1.06) | $3.84 (512 MB) | $7.25 (512 MB) | |
| Umami + Postgres | $5.00 (uses $3.41) | $6.03 (512 MB + 256 MB DB) | $13.00 (512 MB + $6 Postgres) | Fly line runs Postgres yourself; Fly Managed Postgres is $38 more |
| n8n | $5.51 | $6.85 (1 GB) | $25.25 (2 GB) | Render has no size between 512 MB and 2 GB |
| All four together | $10.44 | $19.06 | $52.75 | A $12 DigitalOcean server holds all four for $14.40 with backups |
Per month, always on. Railway: you pay the larger of $5 or your usage; “uses” is what my measured memory, CPU and a 1 GB volume come to. Fly.io: Ashburn (iad) prices, 30 days, plus $0.15 for a 1 GB volume. Render: Hobby workspace ($0) plus the instance and a 1 GB disk at $0.25. Sources, all read Nov 2, 2026: Railway pricing, Railway plan docs, Fly.io pricing, Render pricing, Render free tier docs, DigitalOcean Droplet pricing.
What I measured
On Nov 2, 2026 I started each app on my test machine, left it alone for 10 minutes with one health-check request a minute, and recorded its memory every 10 seconds and its total CPU time at the end. These are the same builds I tested for earlier pages, with the data from those tests still in them: Vaultwarden with 1,000 vault items, PocketBase with 100,000 records, Umami with its Postgres database, and a fresh n8n with no workflows.
| App | Memory, idle | CPU time in 10 min | Average vCPU |
|---|---|---|---|
| Vaultwarden 1.37.4 (SQLite, 1,000 items) | 32 MB | 0.03 s | 0.00005 |
| PocketBase 0.40.6 (SQLite, 100,000 records) | 93 MB | 0.08 s | 0.00013 |
| Umami 3.4.1 server (Next.js) | 253 MB | 0.21 s | 0.00035 |
| PostgreSQL 18.6 for Umami | 80 MB | 0.05 s | 0.00008 |
| n8n 2.44.7 (main + task runner, SQLite) | 543 MB | 1.94 s | 0.00323 |
Memory barely moved during the 10 minutes, never by more than 6 MB. CPU was close to nothing for all of them. On Railway, where CPU is $20 per vCPU a month, n8n’s idle CPU works out to about 6 cents a month and the others to less than one cent. So for idle apps the bill is almost all memory, at $10 per GB a month.
That’s why the pricing models matter so much. Vaultwarden at 32 MB costs Railway about 31 cents of memory a month, but you still pay the $5 Hobby minimum. n8n at 543 MB is just over half a GB: $5.30 of memory on Railway, a $6.70 1 GB machine on Fly, and on Render it misses the 512 MB size by 31 MB and has to go up to the $25 one.
How each one charges
Railway
The Hobby plan is $5 a month and includes $5 of usage; past that you pay the difference. Usage is RAM at $10 per GB a month, CPU at $20 per vCPU a month, volumes at $0.15 per GB a month and egress at $0.05 per GB, billed by the minute on what the app uses rather than a size you pick. Builds are free. Hobby allows 5 GB of volume storage. There’s also a Free plan: a 30-day trial with $5 of credit, then $1 of usage a month, with 0.5 GB of RAM per service and a 0.5 GB volume. By my numbers Vaultwarden fits in that $1 with room to spare; n8n doesn’t fit at all, since it needs more than 0.5 GB. Pro is $20 a month with $20 of usage included.
Fly.io
No plan fee and, for new accounts, no free allowance: just a short trial. You pick a machine size and pay for it by the second while it runs: $2.19 for 256 MB, $3.69 for 512 MB, $6.70 for 1 GB and $13.39 for 2 GB per 30 days in Ashburn and Secaucus, its cheapest regions. Volumes are $0.15 per GB a month and the first 10 GB of snapshots are free. Outbound traffic in North America and Europe is $0.02 per GB. A shared IPv4 address is free; a dedicated one is $2. Managed Postgres starts at $38 a month, so for Umami I priced Postgres on its own 256 MB machine instead, which Fly offers but doesn’t support.
Render
The Hobby workspace is $0 for one person and Pro is $25 a month, both plus compute. Paid web services are $7 for 512 MB and 0.5 CPU, then $25 for 2 GB and 1 CPU, then $85 for 4 GB. Disks are $0.25 per GB a month. Postgres starts at $6 for 256 MB with 1 GB of storage. Hobby includes 5 GB of bandwidth, then $0.15 per GB. The free web service has 512 MB, but it spins down after 15 minutes without traffic, takes about a minute to wake, can’t attach a disk, and free Postgres databases expire after 30 days. Fine for a demo, not for an app you rely on.
Which I’d pick
- For a few small apps I want running all the time: Railway Hobby. Usage billing suits apps that sit idle most of the day, and several apps share the same $5 of included usage.
- For one small app with a database file: Fly.io, for Vaultwarden or PocketBase. $2.34 to $3.84 a month and a real volume.
- For n8n: Railway ($5.51) or Fly ($6.85). Not Render, where the jump to 2 GB makes it $25. A $6 DigitalOcean server is also an option; I went through n8n’s real memory use in n8n server requirements.
- I’d pick Render when a team already uses it, or when I want its managed Postgres with point-in-time recovery, not to save money on small apps.
Honest limits
- I didn’t deploy anything to Railway, Render or Fly. The costs are their published prices applied to what the apps used on my own test machine. Inside their containers, memory use can be higher, for example from the base image or logging.
- Idle means idle. Busy apps use more: in my earlier tests Umami peaked at 406 MB at 5 pageviews a second and n8n at 735 MB running a large Code step. On Railway that raises the bill; on Fly and Render it can mean the next size up.
- Vaultwarden on a 256 MB Fly machine covers normal use (a single sync peaked at 54 MB in my earlier test) but not a burst of thousands of syncs, which reached 493 MB.
- The Postgres I measured for Umami is a stock PostgreSQL 18.6 with a small database. Railway’s and Render’s Postgres images may use more.
- Railway’s $0 Free plan, Fly’s regional prices outside Ashburn, Render’s Pro workspace fee and every platform’s traffic charges can change the totals.
- Prices change. The date at the top is when I read them; check again before you commit.
FAQ
Is Railway cheaper than Render?
For small, always-on apps, yes, by a lot. Railway bills the memory and CPU an app actually uses ($10 per GB of RAM and $20 per vCPU a month, read Nov 2, 2026), and the $5 Hobby plan includes $5 of that. Render sells fixed sizes: $7 for 512 MB and then $25 for 2 GB. n8n, which used 543 MB idle in my test, costs about $5.51 on Railway and $25.25 on Render.
Does Fly.io have a free tier?
Not for new accounts. Fly’s pricing page, read Nov 2, 2026, says new organizations get a trial of up to 2 hours of machine time or 7 days, then pay as they go. The smallest always-on machine (shared CPU, 256 MB) is $2.19 per 30 days in its cheapest US regions.
Can I run n8n on Render’s free plan?
Not usefully. Render’s free web services have 512 MB of RAM (n8n used 543 MB idle in my test), spin down after 15 minutes without traffic, so schedules and webhooks stop firing, and can’t attach a disk, so n8n’s SQLite database is lost on every restart.
How much RAM does a self-hosted app use when idle?
In my Nov 2, 2026 test: Vaultwarden 32 MB, PocketBase 93 MB with 100,000 records, Umami 253 MB plus 80 MB for Postgres, and n8n 543 MB. All of them used almost no CPU while idle; n8n was the busiest at 1.94 CPU-seconds in 10 minutes.
On SelfHost Office
The four apps in the cost test above.
-
n8n 213,058 stars Sustainable Use License (fair-code, not OSI open source)
-
Umami 40,580 stars MIT license
-
Vaultwarden 72,084 stars AGPL-3.0 license
-
PocketBase 61,635 stars MIT license
Star counts from the GitHub API, fetched Dec 4, 2026.
Want your own server instead: Hetzner vs DigitalOcean vs Vultr.
Earlier tests: Plausible vs Umami, Bitwarden vs Vaultwarden, PocketBase vs Supabase.