
Railway vs Render
On this page
The short version
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 | Yes | YesOn 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 | YesOn CPU or memory, on Pro and above |
| One service in several regions | YesReplicas 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 | YesServerless mode, on any plan | Free web services only, with about a minute to wake |
| Public TCP ports | Yes | NoOne 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 | YesS3-compatible buckets, $0.015 a GB-month with free egress | NoUse 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 | YesThe disk, or memory and running processes too |
| Outbound rules | Isolation from the private network. Public internet stays open | YesBlock everything, or allow only listed HTTPS hosts |
| A public address for what it serves | YesPublish chosen ports on generated domains | NoSandboxes 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.
Related comparisons
See Heaven vs Railway, Heaven vs Fly.io and Heaven vs Northflank.
- ComparisonHeaven vs RailwayCompare Heaven and Railway for agents and the apps they ship: Computers that stay up on one plan, or Git-push deploys and agent sandboxes billed by use.
- ComparisonHeaven vs Fly.ioCompare Heaven and Fly Machines for agents and the apps they build: what a restart keeps, sign-in, deploys, regions and what a month costs.
- ComparisonHeaven vs NorthflankHeaven and Northflank for agents and what they build: Computers that keep their disk and processes, or sandboxes, pipelines, GPUs and your own cloud.
Run your agents on Heaven
Persistent Linux Computers that share CPU, memory and storage in one pool. Tiny is $20 a month.
Sources and corrections
Spot an error? Email support@heaven.dev with the page, the claim and a source.