Hostinger vs Railway: metered containers or a flat plan
Railway is the closest thing to a fair fight for a flat shared plan. It is not serverless, it does not bill per seat, and it meters what your container actually used rather than what you reserved — so for a small always-on app the two land far closer than the usual "PaaS is expensive" story suggests.
Here is the arithmetic, and the four things that decide it once the prices stop being the interesting part.
Disclosure: we publish this, we host wacrm on Hostinger, and the Hostinger links are referral links. Railway's rates below come from its public pricing page, checked in August 2026.
The short version
- Choose Railway if you want containers: a Dockerfile, a Postgres or Redis instance next to the app, a background worker as its own service, and room to scale a service far past what shared hosting offers. Billing is monthly, with no prepaid term.
- Choose Hostinger if a Next.js app plus a database is the whole shape of the problem, and you would rather have a domain, mail, backups and support arrive in the same plan at a fixed price.
What Railway charges
| Rate | |
|---|---|
| Hobby plan | $5/month, including $5 of usage credit |
| Pro plan | $20/month per workspace, including $20 of credit — seats are free |
| vCPU | $0.00000772 per vCPU-second (about $0.0278 per vCPU-hour) |
| Memory | $0.00000386 per GB-second (about $0.0139 per GB-hour) |
| Egress | $0.05 per GB |
Two things to like here. Seats are free — the fee is per workspace, so a team of five costs the same as one, which is the opposite of most platforms. And billing is per second against actual usage, so an app that idles cheaply really is cheap.
The trial is $5 of credit for 30 days rather than an ongoing free tier, which is worth knowing if you are reading older comparisons.
What that means for a real app
A Next.js app that stays awake and serves modest traffic — call it an average of 0.35 vCPU and 1 GB of memory, with 60 GB of egress:
| Monthly | |
|---|---|
| vCPU · 0.35 × 720 hrs × $0.0278 | $7.00 |
| Memory · 1 GB × 720 hrs × $0.0139 | $10.00 |
| Egress · 60 GB × $0.05 | $3.00 |
| Hobby fee ($5, includes $5 credit) | $5.00 |
| Credit applied | −$5.00 |
| Total | $20.00 |
A quieter app that idles near 0.1 vCPU and 400 MB fits inside the $5 Hobby credit and costs $5. A busier one scales linearly — double the memory, add $10.
Against that, a Hostinger managed Node.js plan is $3.99/month on a 48-month term and $16.99/month at renewal, with two cores, 3 GB of RAM, unlimited bandwidth, and five app slots. On the renewal price the two are close enough that price alone should not decide it.
Plans at a glance
All three run a Next.js app the same way — a real Node process, Git deploys, managed SSL. What changes is how much memory the build gets and how many apps you can park on one bill.
Premium
$2.99/mo
On a 48-month term · renews at $10.99/mo
- Node.js apps
- 5 web apps
- Websites
- 3 websites
- Memory
- 2 GB RAM
- CPU
- 1 CPU core
- Storage
- 20 GB SSD
- Bandwidth
- Unlimited
- Backups
- Weekly
A side project or a first deploy. 2 GB of RAM is the floor for a Next.js production build — it works, but a heavy build can get tight.
Get PremiumBusiness
Pick thisSometimes listed as “Unlimited”
$3.99/mo
On a 48-month term · renews at $16.99/mo
- Node.js apps
- 5 web apps
- Websites
- 50 websites
- Memory
- 3 GB RAM
- CPU
- 2 CPU cores
- Storage
- 50 GB NVMe
- Bandwidth
- Unlimited
- Backups
- Daily
The default recommendation. Enough memory to build comfortably, daily backups, and room for five apps — a CRM, a marketing site, and staging on one bill.
Get BusinessCloud Startup
$7.99/mo
On a 48-month term · renews at $25.99/mo
- Node.js apps
- 10 web apps
- Websites
- Unlimited websites
- Memory
- 4 GB RAM
- CPU
- 4 CPU cores
- Storage
- 100 GB NVMe
- Bandwidth
- Unlimited
- Backups
- Daily + on demand
Real traffic, or an agency running client apps. Four cores means a build no longer competes with serving requests.
Get Cloud StartupWhen shared hosting is the wrong answer. If you need root, a background worker, Redis, Docker, or more than a few gigabytes of memory, stop buying bigger shared plans and take a VPS. KVM 2 is $8.99/mo on a 24-month term (renews at $14.99/mo) for 2 vCPU, 8 GB RAM and 8 TB traffic — you administer it yourself.
Plan specs and prices read from Hostinger's own pricing pages in August 2026. Promotional rates require the prepaid term shown; shorter terms cost more per month.
The four things that actually decide it
1. Do you need containers? This is the real question. Railway runs your image, so a Dockerfile, a Go sidecar, a Python worker, a managed Postgres and a Redis all live in one project with private networking between them. A managed Node.js plan runs a Node process and gives you MySQL. If your architecture is more than "app plus database", Railway is not a luxury.
2. How does the bill behave when you are wrong? Railway's meter follows a memory leak or a runaway loop upward. Hostinger's does not — you hit the plan's ceiling and responses slow down instead. Neither is strictly better: one costs money without asking, the other costs performance without asking.
3. How long do you want to commit? Hostinger's headline price needs a long prepaid term; that is the trade for the number being that low, and shorter terms cost more per month. Railway is month to month. If you are not sure the project survives the quarter, that flexibility has real value.
4. What else is in the plan? A first-year domain, email, managed SSL, daily backups and 24/7 support come with the Hostinger plan. On Railway each of those is something you buy or run elsewhere. Add them up before calling the prices equal.
Where Railway is clearly better
- Vertical headroom. A single service can scale to far more CPU and memory than any shared plan, without you migrating anything.
- Databases as a first-class thing. One click for Postgres or Redis, with backups and private networking, instead of adapting to the MySQL that came with the plan.
- Background workers. A separate always-on consumer process is a service, not a workaround.
- Preview environments. Per-branch environments are built in.
- Developer experience. Logs, metrics, and rollbacks are good, and the CLI is pleasant.
Where the flat plan is better
- Predictability. The number does not move, so you can quote a client a hosting cost and be right in month nine.
- Several apps, one bill. Five web apps and 50 websites on the Business plan. On Railway every app is its own metered service.
- Bandwidth. Unlimited, versus $0.05/GB. At 500 GB a month that is $25 of egress on Railway and nothing here.
- Support and backups included. Not a technical argument, but the one that matters at 2am.
Moving between them
A plain Next.js app with an external database moves in either direction in an
afternoon: build with npm run build, serve with next start, carry the
environment variables, repoint DNS. What does not move cleanly off Railway is
anything container-shaped — a custom Dockerfile, extra services, or a
Railway-managed Postgres. Those need a managed equivalent, a rewrite onto the
plan's MySQL, or a
VPS, where you
run Docker yourself and become the sysadmin.
The honest bottom line
Railway is a better platform and Hostinger is a cheaper, calmer bill. If your app is a Next.js front end with Supabase or another hosted database behind it — which is exactly what wacrm is — the flat plan covers it and the savings are real but modest. The moment you want a second service, a queue worker, or a database you control, Railway earns its meter.
Sizing up the plans first? The plan guide compares the three tiers, and Hostinger vs Vercel covers the same question against a per-seat, metered platform.
Frequently asked questions
How much does Railway cost for a small Next.js app?
Railway bills per second: about $0.0278 per vCPU-hour and $0.0139 per GB-hour of memory, plus $0.05 per GB of egress, on top of a $5/month Hobby or $20/month Pro workspace fee that each include the same amount as usage credit. A modest always-on Next.js app averaging roughly 0.35 vCPU and 1 GB of memory with 60 GB of egress works out at about $20 a month. A quieter app that idles near 0.1 vCPU and 400 MB can fit inside the $5 Hobby credit.
Is Railway or Hostinger better value?
It depends which costs you count. On price alone a Hostinger managed Node.js plan is lower — $3.99/month on a 48-month term, $16.99 at renewal — and it bundles a first-year domain, email, daily backups and 24/7 support, which on Railway are separate services you assemble yourself. Railway wins on flexibility: real containers, one-click Postgres or Redis, background workers alongside the web service, vertical scaling far beyond a shared plan, and month-to-month billing with no prepaid term.
Does Railway have a free tier?
Not an ongoing one. Railway offers a trial with $5 of credit for 30 days and no card required, after which the Hobby plan at $5/month is the entry point. That is worth knowing if you are comparing against older write-ups from when a permanent free tier existed.
Can I move from Railway to Hostinger without rewriting anything?
If your app is a plain Next.js app with an external database, yes — build it and serve it with `next start`, move your environment variables across, and repoint DNS. What does not move cleanly is anything that depends on the container model: a custom Dockerfile, a separate worker service, or a Railway-managed Postgres or Redis instance. Those need either a managed equivalent, a rewrite onto the plan's MySQL, or a VPS.
Run your own WhatsApp CRM
Fork it, self-host it, own your data. No per-agent pricing — you only ever pay Meta for messaging. The fastest route is Managed Node.js Hosting: connect your fork and it builds and deploys itself.