# Railway vs Render

URL: https://heaven.dev/compare/railway-vs-render
Title: Railway vs Render - where to deploy your app and its database
Description: Railway and Render for an app, a worker and Postgres: usage billing or fixed sizes, what a solo developer and a team pay, scaling, recovery and sandboxes.
Checked: November 21, 2026

Both deploy your app from a Git push, run managed Postgres beside it and now sell sandboxes for agents. Pick **Railway** for an app that's quiet much of the day or a small team on a budget: it bills the CPU and memory your services actually use, a team plan is a $20 minimum, and it adds public TCP ports, S3-compatible buckets and about four weeks of Postgres recovery. Pick **Render** for a bill set by instance size, autoscaling on Pro and a busy app, which costs less on its fixed sizes; its sandboxes, in beta, keep memory and running processes when they suspend.

The two cover the same ground: services built from source or a Docker image, background workers, cron jobs, health-checked deploys with rollback, managed Postgres and Redis, private networking between services, custom domains with managed TLS, a CDN, logs and metrics. The split is how they charge. Railway meters each service by the second for what it uses, against a monthly minimum. Render charges a fixed monthly price for each instance size, plus a workspace fee on its team plans.

## Railway vs Render features

### Deploying and scaling

| | Railway | Render |
| --- | --- | --- |
| **Deploys from** | GitHub pushes, or a Docker image | GitHub, GitLab or Bitbucket pushes, or a Docker image |
| **A preview environment for each pull request** | ✓ | ✓ On Pro and above |
| **The stack as code** | A TypeScript project file | render.yaml Blueprints, and a Terraform provider |
| **Autoscaling** | Replicas you set by hand. Each grows its CPU and memory up to its limits | ✓ On CPU or memory, on Pro and above |
| **One service in several regions** | ✓ Replicas across regions on Pro | One region per service. Run a copy in each region |
| **Regions** | 4: California, Virginia, Amsterdam and Singapore | 5: Oregon, Ohio, Virginia, Frankfurt and Singapore |
| **Idle services sleep and wake on a request** | ✓ Serverless mode, on any plan | Free web services only, with about a minute to wake |
| **Public TCP ports** | ✓ | ✗ One HTTP port per web service |

### Data

| | Railway | Render |
| --- | --- | --- |
| **Postgres recovery to a point in time** | About 4 weeks, opt-in | 3 days on Hobby, 7 on Pro and above, on paid Postgres |
| **Postgres pricing** | Usage, like any service | Fixed sizes from $6 a month for 256 MB, plus $0.30 a GB-month of storage |
| **Object storage** | ✓ S3-compatible buckets, $0.015 a GB-month with free egress | ✗ Use a database or a disk |
| **Persistent disks** | $0.16 a GB-month | $0.25 a GB-month |
| **Logs kept** | 7 days on Hobby, 30 on Pro | 7 days on Hobby, 14 on Pro, 30 on Scale |

### Sandboxes for agents

| | Railway | Render |
| --- | --- | --- |
| **Status** | On every plan, alongside Cloud Agents for hosted agent sessions | Public beta, in Oregon only |
| **When idle** | Runs until its idle timeout, which Hobby and Pro can turn off | Suspends after 15 idle minutes by default and resumes within 30 days |
| **What a snapshot or suspend keeps** | The disk. Forks and checkpoints start fresh processes | ✓ The disk, or memory and running processes too |
| **Outbound rules** | Isolation from the private network. Public internet stays open | ✓ Block everything, or allow only listed HTTPS hosts |
| **A public address for what it serves** | ✓ Publish chosen ports on generated domains | ✗ Sandboxes have no public URLs |
| **Price** | $50 a vCPU-month of active CPU and $50 a GB-month of memory used | $0.019 a GB-hour of memory provisioned and $0.12 an hour of active CPU |

### Teams and cost

| | Railway | Render |
| --- | --- | --- |
| **A small API, worker and Postgres** | $14.72 a month on Hobby | $21.50 a month on Hobby |
| **The same stack for a team** | $20 on Pro, the minimum | $46.50 on Pro, with its $25 workspace fee |
| **Outbound transfer** | $0.05 a GB | 5 GB on Hobby and 25 GB on Pro included, then $0.15 a GB |
| **Free to try** | $5 of usage for 30 days, then $1 a month on Free | Free web services and a free Postgres for 30 days |

## Where Railway is better

Railway suits a small production app that spends much of the day waiting, run by one developer or a small team.

- **Cheaper for quiet apps.** The stack priced below costs $14.72 a month, against $21.50 on Render, because Railway bills the 0.1 vCPU each service averages rather than its instance size.
- **A team adds little.** Pro is a $20 minimum that counts toward usage. Render Pro adds a $25 workspace fee before any compute.
- **More built in.** Services that sleep when idle on any plan, public TCP ports, S3-compatible buckets, replicas across regions on Pro and about four weeks of Postgres recovery.
- **Agent sandboxes you can reach.** Sandboxes can stay up indefinitely on Hobby and Pro, publish a port on a public domain and join the environment's private network.

## Where Render is better

Render suits a team that wants to budget by instance size and let traffic decide how many instances run.

- **A predictable bill.** Each instance has a fixed price, so a busy month costs the same as a quiet one.
- **Cheaper for busy apps.** Above about 0.6 vCPU of average use across this stack, Render's fixed sizes cost less than Railway's metering.
- **Autoscaling and Git choice.** Horizontal autoscaling on CPU or memory on Pro, deploys from GitLab and Bitbucket as well as GitHub, and Blueprints or Terraform to define the stack.
- **Sandboxes that keep their processes.** A suspended sandbox keeps its memory and running processes for 30 days, a runtime snapshot clones them into a new sandbox, outbound traffic can be limited to listed hosts, and memory costs about a quarter of Railway's rate.

## Pricing

| Plan | Price | What you get |
| --- | --- | --- |
| **Railway Hobby** | $5 a month minimum | Usage for personal projects, counted toward the minimum |
| **Railway Pro** | $20 a month minimum | The same usage rates, for teams, with replicas across regions |
| **Render Hobby** | $0 workspace fee | 5 GB of bandwidth. A 0.5 CPU, 512 MB service is $7 a month |
| **Render Pro** | $25 a month workspace fee | Autoscaling, preview environments and 25 GB of bandwidth |
| **Render Scale** | $499 a month workspace fee | SAML, SCIM and 1 TB of bandwidth |

The work: an API, a background worker and Postgres. Each averages 0.1 vCPU and 256 MB, Postgres keeps 5 GB, and 5 GB goes out a month. On Render, that is two 0.5 CPU, 512 MB instances and a 256 MB Postgres, the smallest sizes that fit. Railway is priced over a 30-day month.

- **Railway Hobby:** $6.00 of CPU, $7.68 of memory, $0.78 for the volume and $0.25 of bandwidth, **$14.72**. That covers the $5 minimum.
- **Render Hobby:** $7, $7 and $6 for compute and $1.50 for 5 GB of Postgres storage, **$21.50**, with the bandwidth included.
- **For a team,** Railway Pro bills its **$20** minimum and Render Pro **$46.50**.

Railway bills what the services use, and Render bills their size. If the three services together average more than about 0.6 vCPU, Render Hobby costs less. A service that outgrows its Render size moves up one: 1 CPU and 2 GB is $25 a month.

Sandboxes go the other way. An agent sandbox with 2 GB that works 176 hours a month at a quarter of a vCPU costs $24.44 of memory and $3.06 of CPU on Railway, **$27.50**, and $6.69 of memory and $5.28 of CPU on Render's 1 CPU, 2 GB plan, **$11.97**. Render's beta runs only in Oregon and gives the sandbox no public URL.

## Frequently asked questions

### Does Railway add $5 to my Hobby usage?

No. The $5 is a minimum, and usage counts toward it.

### Can Render scale my service automatically?

Yes, on Pro and above, by CPU or memory. Railway lets a service use more CPU and memory up to its limits, but you set the number of replicas.

### Which recovers a Postgres database from further back?

Railway, with about four weeks of history once you turn point-in-time recovery on. Render keeps 3 days on Hobby workspaces and 7 on Pro, on paid Postgres only.

### Which has better sandboxes for coding agents?

Render's, if the agent must keep its running processes; Railway's, if it must serve a port publicly. Render's beta sandboxes keep memory and processes through a suspend and cost less per hour, but run only in Oregon with no public URL. Railway's keep the disk, can publish a port and can run indefinitely on Hobby and Pro.

## Also consider Heaven

Heaven, which we make, is cloud infrastructure for software factories. Each agent or app gets a Computer: a full Linux VM with root that keeps running with nobody connected, and a team's Computers share one pool of CPU, memory and storage. Every Computer comes with an HTTPS website with sign-in in front, share links, custom domains, public TCP ports, email, snapshots and hourly off-site backups, and integrations keep GitHub and API credentials outside the machine. Plans start at $20 a month for 2 vCPUs and 8 GiB, with any number of members. See [pricing](https://heaven.dev/pricing).

## Related comparisons

See [Heaven vs Railway](https://heaven.dev/compare/heaven-vs-railway), [Heaven vs Fly.io](https://heaven.dev/compare/heaven-vs-fly-io) and [Heaven vs Northflank](https://heaven.dev/compare/heaven-vs-northflank).

## Sources and corrections

| Source | Checked |
| --- | --- |
| [Railway pricing](https://railway.com/pricing) | November 19, 2026 |
| [Railway plans](https://docs.railway.com/pricing/plans) | November 19, 2026 |
| [Railway Free plan and trial](https://docs.railway.com/pricing/free-plan) | November 19, 2026 |
| [Railway bill](https://docs.railway.com/pricing/understanding-your-bill) | November 19, 2026 |
| [Railway GitHub autodeploys](https://docs.railway.com/deployments/github-autodeploys) | November 19, 2026 |
| [Railway environments](https://docs.railway.com/environments) | November 19, 2026 |
| [Railway infrastructure as code](https://docs.railway.com/infrastructure-as-code/reference) | November 19, 2026 |
| [Railway serverless](https://docs.railway.com/deployments/serverless) | November 19, 2026 |
| [Railway scaling](https://docs.railway.com/deployments/scaling) | November 19, 2026 |
| [Railway regions](https://docs.railway.com/deployments/regions) | November 19, 2026 |
| [Railway TCP proxy](https://docs.railway.com/networking/tcp-proxy) | November 19, 2026 |
| [Railway point-in-time recovery](https://docs.railway.com/volumes/point-in-time-recovery) | November 19, 2026 |
| [Railway storage buckets](https://docs.railway.com/storage-buckets) | November 19, 2026 |
| [Railway volumes](https://docs.railway.com/volumes) | November 19, 2026 |
| [Railway log retention](https://docs.railway.com/observability/logs#log-retention) | November 19, 2026 |
| [Railway Sandboxes](https://docs.railway.com/sandboxes) | November 19, 2026 |
| [Railway sandbox networking](https://docs.railway.com/sandboxes#networking) | November 19, 2026 |
| [Railway Cloud Agents](https://docs.railway.com/cloud-agents) | November 19, 2026 |
| [Railway SAML](https://docs.railway.com/enterprise/saml) | November 19, 2026 |
| [Railway compliance](https://docs.railway.com/enterprise/compliance) | November 19, 2026 |
| [Render pricing](https://render.com/pricing) | November 19, 2026 |
| [Render free services](https://render.com/docs/free) | November 19, 2026 |
| [Render web services](https://render.com/docs/web-services) | November 19, 2026 |
| [Render preview environments](https://render.com/docs/preview-environments) | November 19, 2026 |
| [Render Terraform provider](https://render.com/docs/terraform-provider) | November 19, 2026 |
| [Render Postgres](https://render.com/docs/postgresql) | November 19, 2026 |
| [Render Postgres backups](https://render.com/docs/postgresql-backups) | November 19, 2026 |
| [Render scaling](https://render.com/docs/scaling) | November 19, 2026 |
| [Render regions](https://render.com/docs/regions) | November 19, 2026 |
| [Render storage FAQ](https://render.com/docs/faq) | November 19, 2026 |
| [Render log retention](https://render.com/docs/logging#retention-period) | November 19, 2026 |
| [Render Sandboxes](https://render.com/docs/sandboxes) | November 19, 2026 |
| [Render sandbox timeouts and network rules](https://render.com/docs/sandboxes-creating) | November 19, 2026 |
| [Introducing Render Sandboxes](https://render.com/blog/introducing-render-sandboxes) | November 19, 2026 |
| [Render SAML SSO](https://render.com/docs/saml-sso) | November 19, 2026 |
| [Render certifications](https://render.com/docs/certifications-compliance) | November 19, 2026 |
| [Render HIPAA](https://render.com/docs/hipaa-compliance) | November 19, 2026 |
| [Heaven Computers](https://heaven.dev/docs/computers) | November 21, 2026 |
| [Heaven website access](https://heaven.dev/docs/websites#website-access) | November 21, 2026 |

Spot an error? Email support@heaven.dev with the page, the claim and a source.
