
Heaven vs Fly.io
On this page
The short version
Pick Fly.io to run an app for customers: Fly Machines boot your container image in 17 regions, stop when nobody visits and start on the next request, and Fly handles rolling deploys, load balancing and Managed Postgres. Pick Heaven (heaven.dev) for the machines your agents work on and the internal apps they build: each Computer is a Linux VM with root that keeps its whole disk and keeps running with nobody connected, its website starts private behind sign-in, and all of a team's Computers share one plan's CPU and memory. The two fit together: agents build on Heaven, and the finished app deploys to Fly.
Both run your code in hardware-isolated Linux VMs, both give every app an HTTPS address and custom domains, and both have a CLI, an HTTP API and an MCP server. What splits them is what the machine is for. A Fly Machine is a deploy target: it boots your image, and by default its root filesystem resets to that image on every restart, because the app's state belongs on a volume or in a database. A Heaven Computer is a place to work: an agent installs what it needs and it's still there next week. This page covers Fly Machines. Sprites, Fly.io's persistent machines for agents, has its own comparison.
Heaven vs Fly.io features
What you run
| Heaven | Fly Machines | |
|---|---|---|
| The machine | A Linux VM with root, nested virtualization and its own disk, from Heaven's Ubuntu image or your container image | A Linux microVM that boots your container image |
| Largest machine | 16 shared vCPUs and 64 GiB on the $160 plan, up to 256 vCPUs with approval | 16 performance vCPUs, up to 128 GB of RAM |
| CPU | Shared vCPUs | Shared vCPUs, or performance vCPUs with a full CPU quota |
| Coding agents and tools installed | YesClaude Code, Codex, Docker, Git and a desktop with Chrome in the default image | Your image brings them. Fly's Sprites come with agents installed |
When nobody is connected
| Heaven | Fly Machines | |
|---|---|---|
| With nobody connected | Keeps running, processes and all, until you stop it | Keeps running, or stops or suspends itself when idle if you turn on autostop |
| What a restart keeps | YesThe whole disk: installed tools, files and settings | By design, a fresh copy of your image. Keep data on a volume, or turn on root persistence |
| Pause keeps running processes | Yes | YesSuspend, on eligible Machines. A move to another host boots it fresh |
| Snapshots | YesThe whole disk, any time. Roll back, or copy it to a new Computer | Volumes only. Restore into a new volume, or fork one for a cloned Machine |
| Automatic backups | YesEvery disk, hourly, off-site | YesVolumes, daily, kept 5 days by default and up to 60 |
Sharing and securing what you build
| Heaven | Fly Machines | |
|---|---|---|
| Visitors sign in before they reach the app | YesPrivate by default. Teammates sign in, the app reads who they are, and share links let a client in until they expire | Public by default. Keep an app on Fly's private network, or add your own sign-in |
| Agents use GitHub and APIs without holding the token | YesIntegrations keep the credential outside the Computer | Secrets are environment variables inside the Machine |
| Machines reach each other privately | Partly. HTTP between Computers you connect | YesA private network across your organization, and WireGuard to your laptop |
Deploying and scaling
| Heaven | Fly Machines | |
|---|---|---|
| Deploys | You or an agent update the app on its Computer. Roll back with a snapshot | YesFrom an image or a Dockerfile, with rolling, canary and blue-green releases and health checks |
| A preview app for each pull request | Copy a Computer by hand | YesReview apps, from a GitHub Actions workflow |
| Scale out | NoOne Computer behind each address | YesLoad balancing across Machines and regions, and a metrics-based autoscaler |
| Managed Postgres | NoRun Postgres on a Computer | YesBackups, failover and 10 days of point-in-time recovery |
| Searchable app logs | NoUsage graphs and the boot console. Apps keep their own logs | Yes7 days |
Running it
| Heaven | Fly Machines | |
|---|---|---|
| Regions | Montreal, Canada (US East) | 17, including Toronto, Ashburn, Frankfurt and Tokyo |
| Spending limits | YesA monthly spending cap and an egress cap | NoFly's docs say it has no spending limits or billing alerts |
| Support | A community forum. Paid support from $29 a month with response targets |
Cost
| Heaven | Fly Machines | |
|---|---|---|
| How you pay | A plan held monthly or by the hour: $20 a month for 2 vCPUs, 8 GiB and 100 GB | Each Machine by the second while it runs, from $2.19 a month for 256 MB |
| Several machines | YesAny number of Computers share the plan's CPU, memory and storage | Each Machine is sized and billed on its own |
| An idle machine | Costs the same as a busy one: you pay for the plan | Costs only its storage once stopped, $0.15 a GB-month |
| Outbound transfer | 500 GB a month included on Tiny, then $0.05 a GB | $0.02 a GB in North America and Europe |
| Trying it | First month half off, and a full refund if you release it within 48 hours | $1 of credit for 7 days. Personal bills under $5 a month are waived |
Where Fly.io is better
Fly.io is the better home for an app with customers, especially one that serves several places or sits quiet most of the day.
- Close to your users. Run Machines in any of 17 regions, and Fly Proxy sends each request to the nearest healthy one. Heaven runs only in Montreal.
- A release process built in. Deploy from a Dockerfile with rolling, canary or blue-green releases, roll back to an earlier image, and give each pull request its own review app.
- Managed state. Managed Postgres with backups, failover and point-in-time recovery, and Tigris for S3-compatible object storage.
- You pay for what runs. A Machine that autostops costs only its storage while stopped, and a 256 MB Machine is $2.19 for a whole month of running. Fly also has a SOC 2 Type 2 report and signs a HIPAA BAA at no charge.
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. A Fly app is where finished software runs. A Heaven Computer is where an agent writes it.
- A machine that keeps everything. A Computer keeps its checkout, installed packages and running services on its own disk. An agent can install a tool on Monday and still have it on Friday, and a long job keeps running after you close the terminal.
- Private apps with no login code. Every Computer's website starts private. Heaven signs teammates in and passes their identity to the app in
X-Heaven-User-IdandX-Heaven-Email, and a share link lets a client in until it expires. - Agents that never see the token. Heaven's GitHub and HTTPS integrations keep credentials outside the Computer, so an agent can clone a private repository or call an API without a secret it could leak.
- One bill for the whole team. Agents, previews and internal tools share one pool, quiet Computers cost nothing extra, any number of members use it with no seat charge, and a spending cap stops a runaway month.
Pricing
Fly charges each Machine by the second while it runs, plus storage, transfer and addresses, with no monthly fee. Heaven sells capacity: you hold a plan, monthly or by the hour, every Computer in the pool shares it, and the price doesn't change with how busy they are.
| Plan | Price | What you get |
|---|---|---|
| Heaven Tiny | $20 a month, or $0.041096 an hour | 2 shared vCPUs, 8 GiB of RAM, 100 GB of storage and 500 GB of transfer, shared by every Computer in the pool |
| Heaven Small | $40 a month | 4 shared vCPUs, 16 GiB of RAM, 250 GB of storage and 1,000 GB of transfer |
| Fly shared-cpu-1x | $2.19 for a month of running | 1 shared vCPU and 256 MB, billed by the second |
| Fly performance-1x | $32.98 for a month of running | 1 performance vCPU and 2 GB |
| Fly extras | Usage | RAM $6 a GB-month, volumes $0.15 a GB-month, a dedicated IPv4 address $2 a month |
Take two coding agents, each with 1 shared vCPU, 2 GB of RAM and a 20 GB volume, and a preview app with 512 MB, all running all month. On Fly each agent is $2.19 plus $10.50 for 1.75 GB of extra RAM plus $3.00 for its volume, so $15.69, and the preview is $2.19 plus $1.50, so $3.69: $35.07 before transfer. On Heaven they fit Tiny at $20, with 4.5 of its 8 GiB used. Fly gives each Machine its own vCPU, though, and Tiny has 2 for all three: if both agents build at the same moment, Small at $40 gives them 4.
Now stop the agents' Machines when they finish, so each runs 200 hours, and let the preview autostop so it runs 100. Fly comes to $7.05 for the agents, $6.00 for their volumes and $0.51 for the preview, $13.56 plus a little for the stopped root filesystems. That's less than any Heaven plan. Fly costs less for machines that are off most of the month; Heaven costs less once several of them stay up. Heaven's first month is half price, so Tiny is $10 to try.
Frequently asked questions
Does Fly.io here mean Sprites?
No. This page covers Fly Machines, the VMs behind Fly Apps. Sprites is Fly.io's separate product of persistent machines for agents; see Heaven vs Sprites.
Does Heaven stop idle Computers to save money?
No. Idle Computers keep running their services and background jobs, so there's nothing to wake. You can stop or pause one yourself, but the plan bills while you hold it, so the saving comes from holding a smaller plan or holding it by the hour.
Does a stopped Fly Machine still cost money?
Only for storage. CPU and RAM stop billing, and the stopped root filesystem and any volumes bill at $0.15 a GB-month.
Can my agents work on Heaven and deploy the app to Fly?
Yes. Keep the agents' workspaces and private previews on Heaven, push to GitHub, and deploy the finished app to Fly with fly deploy or Fly's GitHub Actions workflow.
Related comparisons
See Heaven vs Sprites, Heaven vs Railway and Heaven vs Northflank.
- ComparisonHeaven vs SpritesHeaven and Fly.io Sprites both keep an agent's Linux machine between jobs. Compare what runs while idle, machine control, serving apps and the monthly bill.
- 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 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.