Skip to content

Heaven vs Railway

On this page

The short version

Pick Railway to ship an app from a Git repository: it builds every push, runs managed Postgres beside the app, keeps the logs and bills only what the services use. Railway also runs agents, in Sandboxes and Cloud Agents that sleep or shut down when idle and keep their disk. Pick Heaven (heaven.dev) when the agents and the internal apps they build should stay up: Computers keep running with their processes when nobody is connected, every website starts private behind sign-in, and a team's Computers share one $20 plan instead of each one billing by the second. The two also work together: agents on Heaven push to the repository Railway deploys.

Both give agents Linux VMs with root and Docker inside, both give an app an HTTPS address and public TCP ports, and both have a CLI and a hosted MCP server. What splits them is what each is built around. Railway is built around the deploy: services rebuild from source on every push, and its agent machines sleep or are torn down between tasks to save money. Heaven is built around the machine: a Computer is where the work lives, it keeps running, and Heaven puts sign-in, email and credentials around it.

Heaven vs Railway features

Machines for agents

HeavenRailway
The machineA Linux VM with root, nested virtualization and its own disk, from Heaven's Ubuntu image or your container imageSandboxes are Linux VMs on Ubuntu, and Cloud Agents run on VMs too. App services run as containers
Coding agents installedYesClaude Code, Codex, OpenCode and Pi, with Docker and a desktop with ChromeYesIn the sandbox image. Cloud Agents add hosted agent sessions and an OpenCode web view
With nobody connectedKeeps running, processes and all, until you stop itCloud Agents sleep after about 5 idle minutes and wake on an HTTP request. Sandboxes run until their idle timeout, which Hobby and Pro can turn off
What sleep or a stop keepsThe whole disk. Pause also keeps memory and running processesThe disk. Processes start fresh after sleep or from a checkpoint
How many at onceAs many Computers as the plan's CPU, memory and storage holdUp to 50 running sandboxes per environment on Hobby, 100 on Pro
Agents use GitHub and APIs without holding the tokenYesIntegrations keep the credential outside the ComputerVariables and sealed secrets are set inside the service

Shipping the app

HeavenRailway
DeploysYou or an agent update the app on its Computer. Roll back the whole disk with a snapshotYesBuilds every Git push from source or a Dockerfile, checks health before switching traffic, and rolls back to a retained image
A preview environment for each pull requestCopy a Computer by handYes
Managed databasesNoRun Postgres on a ComputerYesPostgres, MySQL and Redis. Postgres can add replicas with failover and opt-in point-in-time recovery of about four weeks
Scale outNoOne Computer behind each addressReplicas you set by hand, with load balancing. Pro runs them in several regions
In front of a public appHTTPS routingYesA CDN, and a WAF whose edge rules depend on the plan
Build and runtime logsNoUsage graphs and the boot console. Apps keep their own logsYes7 days on Hobby, 30 on Pro

Sharing and securing

HeavenRailway
Visitors sign in before they reach the appYesEvery plan. Teammates sign in, the app reads who they are, and share links let a client in until they expirePublic by default. On Enterprise, Railway Authentication can require Railway sign-in and project membership
The app receives and sends emailYesEach Computer has its own address and can replyPartly. Forwards mail sent to a Railway domain, with no mailbox or sending
Services reach each other privatelyPartly. HTTP between Computers you connectYesA private network across the environment
Automatic backupsYesEvery disk, hourly, off-siteVolume backups: daily kept 6 days, weekly 27 and monthly 89, in the service's region

Cost and regions

HeavenRailway
How you payA plan held monthly or by the hour: $20 a month for 2 vCPUs, 8 GiB and 100 GBUsage by the second, with a $5 monthly minimum on Hobby and $20 on Pro that counts toward it
RatesNo separate rates: Tiny's $20 covers 2 vCPUs, 8 GiB and 100 GB togetherServices: $20 a vCPU-month and $10 a GB-month. Sandboxes: $50 a vCPU-month of active CPU and $50 a GB-month of memory used
An idle machineCosts the same as a busy one: you pay for the planA sleeping Cloud Agent or Serverless service stops billing compute
Outbound transfer500 GB a month included on Tiny, then $0.05 a GB$0.05 a GB
Trying itFirst month half off, and a full refund if you release it within 48 hours$5 of usage for 30 days with no card, then a Free plan with $1 a month
RegionsMontreal, Canada (US East)4: California, Virginia, Amsterdam and Singapore

Where Railway is better

Railway is the better home for an app you're shipping to users, and for agents that work in short bursts.

  • Deploys you don't run. Every push builds and deploys, a health check gates the switch, each pull request gets its own environment, and a bad release rolls back to a retained image.
  • Managed databases. Postgres, MySQL and Redis beside the app, with replicas, failover and about four weeks of Postgres point-in-time recovery.
  • Agent machines that cost nothing asleep. A Cloud Agent sleeps after a few idle minutes and stops billing compute, and the TypeScript SDK creates, forks and checkpoints sandboxes from your own code.
  • Regions and an edge. Four regions, replicas across them on Pro, a CDN and a WAF, plus a SOC 2 Type II report.

Where Heaven is better

Heaven is cloud infrastructure for software factories: compute, networking, storage and sign-in on one platform that people and agents run from the CLI, SSH, the dashboard or MCP. Railway runs the app you ship; Heaven runs the machines your agents build it on, and the internal apps that never ship anywhere else.

  • Machines that keep everything, running. A Computer keeps its checkout, tools and services on its own disk and keeps working after you disconnect. Pause keeps its memory and running processes, so an agent's session picks up where it stopped.
  • Private apps with no login code. Every website starts private. Heaven signs teammates in and passes their identity in X-Heaven-User-Id and X-Heaven-Email, share links open it to a client, and the app can receive and reply to email.
  • Agents that never see the token. Heaven's GitHub and HTTPS integrations keep credentials outside the Computer, so an agent can push to GitHub or call an API without a secret it could leak.
  • A fixed bill for work that's always on. A pool's price doesn't change with how busy its Computers are, there's no limit on how many it holds beyond its capacity, and any number of members use it with no seat charge.

Pricing

Railway bills the CPU and memory your services and sandboxes use, by the second, against a monthly minimum. Heaven sells capacity: you hold a plan, monthly or by the hour, and every Computer in the pool shares it.

PlanPriceWhat you get
Heaven Tiny$20 a month2 shared vCPUs, 8 GiB of RAM, 100 GB of storage and 500 GB of transfer, any number of members
Heaven Small$40 a month4 shared vCPUs, 16 GiB of RAM, 250 GB of storage and 1,000 GB of transfer
Railway Free$0$1 of usage a month, one project with up to 3 services
Railway Hobby$5 a month minimumUsage for one person, counted toward the minimum
Railway Pro$20 a month minimumThe same rates for a team, with replicas in several regions

These bills use our assumptions about average use, over a 30-day month and before transfer. A team's web service, worker and Postgres averaging 0.3 vCPU and 1.5 GB of RAM, with 5 GB of data, come to $6.00 of CPU, $15.01 of memory and $0.78 of volume, so $21.79 a month on Railway Pro, with deploys, logs and a managed database included. On Heaven the same stack fits Tiny at $20, and you run Postgres and releases yourself.

Add two coding agents that work 8 hours each weekday, 176 hours a month, each using 2 GB of memory and a quarter of a vCPU on average. As Railway sandboxes that shut down between work days, each costs $24.44 of memory and $3.06 of CPU, so the month comes to $76.79. On Heaven the stack and agents use 5.5 of Tiny's 8 GiB, so they fit Tiny at $20 while they take turns on its 2 vCPUs, or Small at $40 when they all build at once, and the agents' Computers stay up overnight at no extra charge. Railway costs less than Heaven Small while each agent works under about 58 hours a month. If you only ship the app, Railway costs about the same as Tiny and does more of the work.

Frequently asked questions

Does Railway have machines for coding agents?

Yes. Railway Sandboxes are Linux VMs with Docker and coding agents installed, driven from a TypeScript SDK, and Cloud Agents run hosted agent sessions. Both keep their disk; a Cloud Agent sleeps after about five idle minutes, and processes start fresh when it wakes.

Can Heaven deploy my app when I push to GitHub?

No. You build and restart the app on its Computer, or have an agent do it. Railway deploys every push.

Does Railway add $5 to my Hobby usage?

No. The $5 is a minimum that counts toward usage, so you pay $5 or your usage, whichever is more.

Can my agents work on Heaven and ship to Railway?

Yes. Agents work and preview on Heaven Computers and push to GitHub, and Railway builds and deploys from the repository.

See Railway vs Render, Heaven vs Fly.io and Heaven vs Northflank.

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

SourceChecked
1Heaven pricingNovember 21, 2026
2Heaven plans and billingNovember 21, 2026
3Heaven capacity and poolsNovember 21, 2026
4Heaven ComputersNovember 21, 2026
5Heaven Computer statesNovember 21, 2026
6Heaven default imageNovember 21, 2026
7Heaven regionsNovember 21, 2026
8Heaven poolsNovember 21, 2026
9Heaven agent workspacesNovember 21, 2026
10Heaven HTTP APINovember 21, 2026
11Heaven MCPNovember 21, 2026
12Heaven website accessNovember 21, 2026
13Heaven signed-in visitorsNovember 21, 2026
14Heaven share linksNovember 21, 2026
15Heaven peer connectionsNovember 21, 2026
16Heaven emailNovember 21, 2026
17Heaven snapshots and backupsNovember 21, 2026
18Heaven credentialsNovember 21, 2026
19Heaven dashboardNovember 21, 2026
20Railway pricingNovember 19, 2026
21Railway plansNovember 19, 2026
22Railway Free plan and trialNovember 19, 2026
23Railway billNovember 19, 2026
24Railway SandboxesNovember 19, 2026
25Railway sandbox idle timeoutNovember 19, 2026
26Railway sandbox checkpointsNovember 19, 2026
27Docker in Railway SandboxesNovember 19, 2026
28Railway Cloud AgentsNovember 19, 2026
29Railway Cloud Agent sleepNovember 19, 2026
30Railway OpenCode on Cloud AgentsNovember 19, 2026
31Railway MCP serverNovember 19, 2026
32Railway APINovember 19, 2026
33Railway variablesNovember 19, 2026
34Railway GitHub autodeploysNovember 19, 2026
35RailpackNovember 19, 2026
36Railway health checksNovember 19, 2026
37Railway rollbacksNovember 19, 2026
38Railway environmentsNovember 19, 2026
39Railway Postgres HANovember 19, 2026
40Railway point-in-time recoveryNovember 19, 2026
41Railway volume backupsNovember 19, 2026
42Railway scalingNovember 19, 2026
43Railway regionsNovember 19, 2026
44Railway CDNNovember 19, 2026
45Railway WAFNovember 19, 2026
46Railway edge rulesNovember 19, 2026
47Railway private networkingNovember 19, 2026
48Railway AuthenticationNovember 19, 2026
49Railway email forwardingNovember 19, 2026
50Railway logsNovember 19, 2026
51Railway serverlessNovember 19, 2026
52Railway complianceNovember 19, 2026

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