Data note
The cheapest place to run a 512 MB app in 2026: $4 on DigitalOcean, $5 on Railway, $7 on Render
One 512 MB always-on service costs $4 on a DigitalOcean Droplet, $5 on Railway Hobby and $7 on Render Starter. What each price includes.
A 512 MB always-on service costs $4.00 a month on a DigitalOcean basic Droplet, $5.00 on Railway's Hobby plan and $7.00 on Render's Starter instance. The Droplet is cheapest and includes 500 GiB of transfer, but it is an unmanaged Linux box, while the other two hand you git deploys and managed TLS.
- One 512 MB always-on service costs $4.00 a month on a DigitalOcean basic Droplet, $5.00 on Railway Hobby and $7.00 on Render Starter (checked 2026-10-25).
- The $4 Droplet includes 1 vCPU, 10 GiB of SSD and 500 GiB of outbound transfer, against 5 GB of bandwidth on Render's Hobby workspace (checked 2026-10-25).
- Railway's Hobby floor is $5.00 and includes $5 of usage, which covers 512 MB of memory for a month but leaves no room for CPU time (calculated 2026-10-25).
- At 5 GB of egress and 0.02 vCPU, Railway lands at about $5.65; at 0.1 vCPU the same service costs about $7.25 (calculated 2026-10-25).
- Render's free 512 MB instance costs $0 but spins down after 15 minutes without traffic and takes about a minute to wake, so always-on starts at $7.00 (checked 2026-10-25).
- The spread across the three options is $3.00 a month, or $36 a year, which is small next to the engineering time each one demands (calculated 2026-10-25).
3 primary sources · If this is out of date, tell us and we will re-measure.
On this page
One process, 512 MB of RAM, always on, light traffic: the smallest production shape there is. Priced on the three platforms people usually compare, it costs $4.00 a month on a DigitalOcean Droplet, $5.00 on Railway's Hobby plan and $7.00 on Render's Starter instance. The gap between the cheapest and the most expensive is $36 a year, which is small enough that the decision should be made on operations rather than on price — but the prices still need to be right, because two of the three are not what they look like.
One small service, three invoices
| Option | Monthly | What the price includes | What it costs you |
|---|---|---|---|
| DigitalOcean basic Droplet | $4.00 | 512 MiB, 1 vCPU, 10 GiB SSD, 500 GiB transfer | you run the OS, proxy and deploys |
| Railway Hobby | $5.00 | 512 MB always on, git deploys, TLS | $5 minimum leaves no CPU budget |
| Railway at 0.02 vCPU | $5.65 | adds ~0.4 vCPU-hours a day plus 5 GB egress | CPU is metered separately |
| Railway at 0.1 vCPU | $7.25 | the same service, busier | cost scales with work done |
| Render Starter | $7.00 | 512 MB, 0.5 CPU, always on, 5 GB bandwidth | bandwidth overage at $0.15/GB |
| Render Free | $0.00 | 512 MB, sleeps after 15 minutes idle | ~1 minute cold start |
What each price actually buys
The Droplet's $4 is the only flat price in the table. It buys a virtual machine with 1 vCPU, 10 GiB of SSD and 500 GiB of outbound transfer, and it does not change if the app works harder that month. In exchange, nothing is managed: the OS image is minimal and yours to patch, TLS is yours to renew, and a deploy is whatever script you wrote. DigitalOcean bills per second with a 60-second minimum, so a Droplet created and destroyed an hour later costs a fraction of a cent.
Railway's $5 is a floor rather than a price. Hobby is a $5 minimum usage plan that includes $5 of usage, and 512 MB of memory alone costs about $5.00 over a 30-day month. That means the minimum and the memory bill cancel out exactly, leaving nothing for CPU or egress, so any real work pushes the total above $5. At 0.02 vCPU averaged over the month the bill is about $5.65; at 0.1 vCPU it is about $7.25 (calculated 2026-10-25).
Render's $7 is flat and predictable, and it is the third rung of a ladder that starts at free. The free instance has the same 512 MB but spins down after 15 minutes without inbound traffic and takes about a minute to wake, so it is not always-on. $7 buys the same memory with the sleeping removed, plus 5 GB of bandwidth before the $0.15 per GB overage starts.
How we measured it
All three pricing pages were fetched on 2026-10-25: Render's for the $7 compute tier and its 5 GB Hobby allowance, Railway's for the $5 minimum and the per-second memory and CPU rates, and DigitalOcean's Droplet pricing for the $4 512 MiB tier and its 500 GiB of transfer. Railway's figures required arithmetic — memory and CPU seconds multiplied by 2,592,000 — and the vCPU averages are stated assumptions, not published numbers. No app was deployed on any of the three.
What changes in practice
The database is bigger than the app on every platform. DigitalOcean's managed database starts at $15 a month, Render's Postgres at $6 for 256 MB and $19 for 1 GB, and Railway bills a database as just another service at the same rates, which for 256 MB plus a little CPU is roughly $4 to $6. A $4 app with a $15 database is a $19 project, and that reversal surprises people who compared only the compute line.
Railway's metering cuts both ways. A service that is genuinely idle most of the day is cheap in CPU terms and lands near its $5 floor, while a service that does real work pays for it — the same 512 MB costs $5.65 or $7.25 depending on how busy it is. Render charges $7 whether the CPU sits at 2 percent or 40 percent, which is worth more than the $1.35 difference if the load is spiky and hard to predict.
The Droplet's hidden cost is time, and it is not small. A $4 Droplet needs a firewall, a reverse proxy, certificate renewal and a deploy path before it serves anything; that is a day of work once and perhaps an hour a month afterwards. At any reasonable hourly rate the first year of a Droplet costs more than three years of Render's $7 plan, which is why the cheapest line item is rarely the cheapest choice.
Bottom line
Pay $4 for the Droplet if you want a flat bill and are willing to own the server, $5 to $7.25 on Railway if the app's CPU use is low and variable, and $7 on Render if you want the same price every month with nothing to administer. For one 512 MB service with modest traffic, Render at $7 is the least surprising invoice and DigitalOcean at $4 is the cheapest by $36 a year (calculated 2026-10-25).
Frequently asked questions
Is the $4 Droplet really enough for a small app?
For a single process with modest traffic, yes: 512 MiB of RAM with 1 vCPU and 10 GiB of SSD runs a Node or Python service comfortably. The catch is that you install the runtime, the reverse proxy, TLS renewal and the deploy script yourself.
Why is Railway $5 rather than $0.50 for half a gigabyte?
Because Hobby is a $5 minimum usage plan, not a per-resource price. 512 MB of memory for a month costs about $5.00 on its own, so the minimum and the actual usage coincide and leave nothing for CPU or egress (calculated 2026-10-25).
Which option is cheapest if the app is idle most of the day?
Render's free instance at $0, because it spins down after 15 minutes without traffic and does not consume the workspace's 750 free instance hours while asleep. The cost is a roughly one-minute cold start on the next request.
Do these prices include a database?
None of them do. DigitalOcean's managed database starts at $15 a month, Render's Postgres at $6 for 256 MB, and Railway bills a database as another service at the same per-GB and per-vCPU rates, so the database often costs more than the app.
Sources
- Render pricingChecked 2026-10-25
- Railway pricingChecked 2026-10-25
- DigitalOcean Droplet pricingChecked 2026-10-25
Cite this page
Nadia Voss (2026). “The cheapest place to run a 512 MB app in 2026: $4 on DigitalOcean, $5 on Railway, $7 on Render”. Actual Database. https://actualdatabase.com/cheapest-place-to-run-a-512mb-app-2026/