What Railway and Render cost
Each app is a web service, a worker, Postgres and Redis; the presets spell out each size. Pick the one closest to yours, or press "Customize" and set your own. Railway bills the CPU and memory a service uses on average, so the calculator assumes an average for each size and shows it above the totals.
- Postgres data
- 20 GB
- Average usage Railway meters
- 1.55 vCPU, 5.50 GB RAM
- RAM Render allocates
- 9 GB
- Plans
- Railway Pro, Render Pro
- Railway$104/mo
$20/vCPU-month, $10/GB-month RAM, $0.05/GB egress, $0.15/GB-month volume. Hobby $5 or Pro $20, both counted as usage credit. Assumes each service averages well under its Render size (the usage line above).
- Render$197/mo
List price per service plan, Postgres storage at $0.30/GB, traffic past 5 GB (Hobby) or 25 GB (Pro) at $0.15/GB, $25 Pro fee for teams.
- Your own server + Ployz$19/mo
Cheapest Hetzner CX with the RAM Render allocates ($6.49 to $34.99), about $0.60 IPv4. Ployz is free on any number of servers. 20 TB traffic included.
Railway is only cheaper because real apps sit well below the size of box they'd need on Render. A service that runs flat out all month costs about the same on both, and a large Postgres can be cheaper on Render. The next table shows where that line is.
What each Render plan costs on Railway at full use
| Plan size | Render list price | Railway at 100% use | Railway is cheaper below |
|---|---|---|---|
| 0.5 CPU, 512 MB (web) | $7 | $15 | 47% average use |
| 1 CPU, 2 GB (web) | $25 | $40 | 63% |
| 2 CPU, 4 GB (web) | $85 | $80 | always |
| 4 CPU, 8 GB (web) | $175 | $160 | always |
| 1 CPU, 4 GB (Postgres) | $55 | $60 | 92% |
| 4 CPU, 16 GB (Postgres) | $200 | $240 | 83% |
A Render CPU and a Railway vCPU aren't guaranteed to be the same thing, so read this as a guide. Postgres fills its memory on purpose. That was exactly my Railway problem: a database that grew and used every gigabyte it could.
What does the same app cost on each, line by line?
On Railway, memory is the biggest line every time. On Render, compute is the biggest line. On the large app, bandwidth comes second: 2 TB costs $296 on Render and $100 on Railway.
The three stacks, all in one region:
- Small: one person. Smallest paid plan for each service, 5 GB of Postgres data, 256 MB Redis, 50 GB of traffic.
- Medium: two people deploying. 1c-2g web and worker, 1c-4g Postgres with 20 GB of data, 1 GB Redis, 300 GB of traffic.
- Large: two 2c-4g web instances, a 2c-4g worker, 2c-8g Postgres with 100 GB of data, 5 GB Redis, 2 TB of traffic.
For Railway I assumed each service averages well under its Render size, as most do. The calculator adds them up in its usage line. For example, I assume 0.5 vCPU and 1 GB for a 1c-2g web service, and 1.2 vCPU and 7 GB for a 2c-8g Postgres. These are assumptions, not measurements. Railway Hobby allows a 5 GB volume and 3 members per project, so past either the bill uses Pro.
| Line | Small: Railway | Small: Render | Medium: Railway | Medium: Render | Large: Railway | Large: Render |
|---|---|---|---|---|---|---|
| Plan or workspace fee | Hobby, credit | $0 | Pro, credit | $25 | Pro, credit | $25 |
| Web service | $6.00 | $7 | $20.00 | $25 | $62.00 | $170 |
| Background worker | $6.00 | $7 | $20.00 | $25 | $31.00 | $85 |
| Postgres compute | $3.50 | $6 | $40.00 | $55 | $94.00 | $100 |
| Postgres storage | $0.75 | $1.50 | $3.00 | $6 | $15.00 | $30 |
| Redis / Key Value | $1.40 | $10 | $6.00 | $20 | $42.00 | $100 |
| Traffic | $2.50 | $6.75 | $15.00 | $41.25 | $100.00 | $296.25 |
| Monthly total | $20.15 | $38.25 | $104.00 | $197.25 | $344.00 | $806.25 |
Railway's plan fee is credit. Its pricing docs say: "If your total resource usage at the end of your billing period is $5 or less, you will not be charged for resource usage."
Render prices come from its pricing page: web and worker plans from $7, Postgres from $6 plus $0.30 per GB of storage, Key Value at $10 for 256 MB, $20 for 1 GB and $100 for 5 GB. Bandwidth past the included 5 GB (Hobby) or 25 GB (Pro) is $0.15 per GB (outbound bandwidth docs). My Render pricing breakdown and Railway pricing breakdown go deeper on each rate card.
Postgres is the line to watch on Railway. In the large app it's $109 of $344, and it grows as the data grows, because Postgres caches as much as memory allows.
What limits does each plan have?
| Limit | Railway Hobby | Railway Pro | Render Hobby | Render Pro |
|---|---|---|---|---|
| Services | 50 | 100 | 25 | Unlimited |
| Largest service | 48 vCPU, 48 GB | 1,000 vCPU, 1 TB | 12 CPU, 96 GB (any plan) | Same |
| Volume or disk | 5 GB | 1,000 GB | Disks at $0.25/GB | Same |
| Custom domains | 2 | 20 | 2, then $0.25 a month each | 15, then $0.25 a month each |
| Build allowance | 3 concurrent builds | 10 concurrent | 500 minutes, then $5 per 1,000 | 1,000 minutes |
Sources: Railway pricing and Render pricing. The 5 GB volume cap is what pushes a growing Railway database to Pro. On Render, Postgres storage grows on any plan at $0.30 per GB. At busy times Railway "may temporarily suspend resource allocation, including builds, to Free" users (deployments reference).
What about Railway vs Fly.io?
Fly.io sits between the two. Like Railway it's billed by the second, but like Render you pick a fixed Machine size. A shared-cpu-4x Machine with 1 GB is $8.78 a month. Fly's Managed Postgres starts at $38 for a shared 1 GB instance. Railway is simpler for a stack of services; Fly is cheaper on traffic, because its egress in North America and Europe is $0.02 per GB, less than half Railway's.
From Fly's pricing page, Ashburn prices:
| Fly.io | Monthly price |
|---|---|
| shared-cpu-1x, 256 MB | $2.19, and extra RAM is $6 per GB |
| performance-1x, 2 GB | $33 |
| Dedicated IPv4 | $2 |
| Managed Postgres | $38 (shared-2x, 1 GB) or $72 (2 GB), plus $0.28 per GB of storage |
On Railway, a database averaging 1 GB of RAM and a tenth of a vCPU costs about $12. So for a small database, Railway is cheaper.
Is either cheaper than your own server?
No. All three sizes fit on one server, and Ployz is free on it, custom domains included, so the server is the whole bill. The gap is smallest at the small size, which runs on a Hetzner CX23.
| Server | Specs | Monthly price | Source |
|---|---|---|---|
| Hetzner CX23 | 2 vCPU, 4 GB RAM, 40 GB | $6.49 | Price list, plans |
| Hetzner CX43 | 8 vCPU, 16 GB RAM, 160 GB | $18.49 | Same |
| Hetzner CX53 | 16 vCPU, 32 GB RAM, 320 GB | $34.99 | Same |
| Primary IPv4 | about $0.60 (€0.50) | Hetzner docs | |
| Netcup VPS 500 | 2 vCPU, 4 GB RAM, 64 GB, traffic included | €8.26 incl. VAT on a 12-month term | netcup VPS |
Hetzner prices are after its 15 June 2026 adjustment, Germany and Finland, in USD before VAT. I sized each server to the RAM Render allocates (1.5, 9 and 25 GB), with disk at twice the database size. That's generous to both platforms: on one machine the four services share memory, and the large app's 2 TB of traffic is a tenth of what Hetzner includes. Netcup is the provider I'd look at first. Its VPS 1000 (4 vCPU, 8 GB, 128 GB) is €14.50 incl. VAT, with a US datacenter in Manassas.
I paid Railway $500+ a month at one point, most of it for a busy database, so I've felt how usage billing grows. Today one €80 dedicated server runs more than I ever ran there.
For the wider picture of where platforms add fees, see the real cost of PaaS pricing.
Moving the stack to your own server
I build Ployz so the PaaS workflow runs on a server with a fixed price. It turns the server you rent into a platform your coding agent runs. Paste Read ployz.dev/agents.md and deploy this repo to my server. into Claude Code, Codex or Cursor. It adds the server and ships the stack.
ployz up --server root@your-server
Push to GitHub and it builds on your server. Postgres and Redis are one click each, with a restore point. Every pull request gets a preview on the server you already pay for. Every deploy, restart or delete your agent asks for waits for you to approve. Ployz is free on any number of servers. Deploy to your own server.