Best Node.js Hosting in 2026: PaaS vs VPS Pricing Compared

Axel Grubba, November 09, 2026
Let AI run your small business with Crevio
Crevio E-Commerce Platforms logo
Crevio
Sponsored
5.0
(1)
Free plan available
Crevio is AI that runs your small business: it builds your website, finds your customers, takes paymen... Learn more about Crevio
Get an AI summary of this post on:

The short answer: for a small Node.js service, a PaaS like Railway is the cheapest and easiest option. Once your app holds around 1GB of RAM with real CPU work, a flat-priced 4GB VPS costs less.

Almost every Node hosting comparison prices “traffic”. That’s the wrong variable for a PaaS that bills by the second.

Node.js hosting compared

Host Type Pricing model Price
Railway PaaS Per-second RAM and CPU, plus a plan minimum Hobby $5/month minimum, Pro $20/month minimum
Hostinger VPS (KVM) Flat monthly KVM 1 (4GB RAM): $6.49/month promo, $11.99 renewal
DigitalOcean VPS Flat monthly, billed hourly 1GB $6, 2GB $12, 4GB $24 per month
Hetzner VPS Flat monthly Cost-optimized plans from €5.99/month excl. VAT

Prices read from each provider’s public pricing page on 9 November 2026. Hostinger’s promotional rate applies to the initial term; its page lists $155.76 for 24 months, with renewal at $11.99/month.

How Railway bills a Node app

Railway publishes per-second resource rates on its pricing page, read on 9 November 2026:

  • RAM: $0.00000386 per GB per second
  • CPU: $0.00000772 per vCPU per second
  • Volumes: $0.00000006 per GB per second
  • Egress: $0.05 per GB

Multiply by a 30-day month (2,592,000 seconds) and it becomes legible:

Resource, held continuously Monthly cost
1 GB RAM $10.01
1 vCPU $20.01

You’re billed for occupancy, not for requests. A service that sits idle holding memory costs almost exactly what a busy one holding the same memory costs. That’s why “node js hosting price” questions are really questions about resident memory.

Measure your own app. A bare Express server is small, but a real service loads dependencies, connection pools and caches. Read the resident memory and average CPU from your own dashboard and use those two numbers in the table below.

The PaaS vs VPS crossover

Here’s what an always-on service costs on Railway as it grows (our arithmetic on the rates above):

RAM held Avg vCPU RAM cost CPU cost Total
50 MB 0.02 $0.50 $0.40 $0.90
250 MB 0.05 $2.50 $1.00 $3.50
500 MB 0.10 $5.00 $2.00 $7.00
1 GB 0.25 $10.01 $5.00 $15.01
2 GB 0.50 $20.01 $10.01 $30.02
4 GB 1.00 $40.02 $20.01 $60.03

Now set that against flat VPS pricing:

Compared to Break-even (no CPU) At 0.1 vCPU At 0.25 vCPU
Hostinger 4GB, $11.99 renewal 1.20 GB 1.00 GB 0.70 GB
DigitalOcean 4GB, $24.00 2.40 GB 2.20 GB 1.90 GB

Read the Hostinger row. Once your Node service holds about a gigabyte and does modest CPU work, Railway costs more than a 4GB VPS, and you’re only using a quarter of that VPS. Past that point the gap widens linearly.

  • Under ~500MB resident: PaaS is cheaper and easier.
  • Around 1GB with real CPU: roughly level; pick on convenience.
  • Above that: the VPS wins by a widening margin.

The table ignores egress, volumes, databases and replicas, all of which push the PaaS side up. It’s a floor for the PaaS cost, not a full bill.

Railway’s plans

  • Free: a 30-day trial with $5 in credits, then $1 per month, limited to 1 vCPU and 0.5 GB RAM per service.
  • Hobby: $5/month minimum, including $5 of monthly usage credits. Up to 48 vCPU and 48 GB RAM per service.
  • Pro: $20/month minimum, including $20 of usage credits. Up to 1,000 vCPU and 1 TB RAM per service.

For a service that uses well under $5 of resources, the $5 Hobby minimum is the real price. The credits cover the usage entirely, which is why PaaS wins at the small end.

What you take on with a VPS

A process manager and a reverse proxy. Node needs something to restart it on crash and reboot (pm2 or a systemd unit) and something to terminate TLS in front of it. That’s an evening once, then occasional maintenance.

Deploys. Push-to-deploy is what a PaaS sells. Rebuilding it with a git hook or CI pipeline is real work.

WebSockets work on both. A Node process holding socket connections occupies memory continuously, which is exactly what per-second billing charges for. Long-lived connections make PaaS costs predictable but not cheap.

Cold starts. A VPS has none, because the process never stops. Platforms that idle containers to save resources can introduce them, so check that behaviour per platform.

The hosts

Railway has the clearest pricing in the category: published per-second rates you can model against. The right answer below roughly 1GB resident, where the $5 Hobby minimum beats any VPS and deploys come built in.

Hostinger is the cheapest way to own the whole box: KVM 1 has 4GB of RAM, 1 vCPU, 50GB NVMe and 4TB of bandwidth, with root access. It’s the break-even reference in the table above. Refund terms cover renewals.

DigitalOcean charges $24 for a 4GB, 2 vCPU droplet with 4,000 GiB of transfer, billed hourly. It’s the pick if you want a real server with strong documentation and a predictable API. See the status history.

Hetzner lists cost-optimized cloud plans from €5.99/month excl. VAT, and is the usual choice when RAM per euro matters most. Check availability and backup caveats before building on it.

Cloudways sits in the middle: managed servers without administering them yourself. Read whether it’s worth it first, since managed support for custom application code is limited.

For a wider view of server pricing, see VPS price per GB of RAM and best web hosting for developers.

What we’d do

Start on Railway. Inside a $5 minimum, the argument for administering a server yourself is weak.

Model the crossover before you scale, not after the invoice. The number to watch is resident memory.

Move to a VPS when you cross ~1GB with real CPU, and buy 4GB, because you get four times the headroom for less than the platform was charging.

FAQ

What’s the best hosting for Node.js?

Below roughly 1GB of resident memory, a PaaS like Railway at $5/month is cheaper and easier. Above that, a flat VPS wins and the gap widens.

How much does Railway cost for a Node app?

It bills per second: $0.00000386 per GB of RAM and $0.00000772 per vCPU, which is $10.01 and $20.01 for a month held continuously. Hobby has a $5 minimum that includes $5 of credits.

How much does Node.js hosting cost?

From about $5 a month on a PaaS minimum or $6–7 for an entry VPS, up to $24 for a 4GB DigitalOcean droplet. What moves the price is the memory your app holds, not the number of requests.

What is a Node.js PaaS?

A platform that runs your Node process for you: it builds, deploys, restarts and scales it, and bills for the resources used. Railway is the example priced above. The trade-off against a VPS is higher cost at larger sizes.

When does a PaaS become more expensive than a VPS?

Around 1GB of resident memory with modest CPU, against an $11.99 4GB VPS. Against a $24 4GB droplet it’s nearer 2GB.

Does traffic volume determine my PaaS bill?

Not directly. Railway meters memory held and CPU-seconds burned, plus egress at $0.05/GB, so a million cheap requests can cost less than far fewer expensive ones.

Do I need PM2 on a VPS?

Something has to restart your process on crash and reboot, either PM2 or a systemd unit, plus a reverse proxy for TLS. That’s the work a PaaS does for you.

Are WebSockets a problem?

Not technically, but they’re the clearest case of paying for residency: a process holding connections occupies memory continuously, which is exactly what per-second billing charges for.

Founder & Software Review Editor
Axel Grubba is the founder of Findstack, a B2B software comparison platform, with his background spanning management consulting and venture capital where he invested in software. Recently, Axel has developed a passion for coding and enjoys traveling when he is not building and improving Findstack.
Business Software Reviews SaaS Product Evaluation CRM Software
Subscribe, get software deals straight to your inbox.
Join 9,400+ other entrepreneurs staying up-to-date on all the latest deals.
Zero spam. Unsubscribe at any time.