# Heaven vs Fly.io

URL: https://heaven.dev/compare/heaven-vs-fly-io
Title: Heaven vs Fly.io - machines for agents or apps in 17 regions
Description: Compare Heaven and Fly Machines for agents and the apps they build: what a restart keeps, sign-in, deploys, regions and what a month costs.
Checked: November 21, 2026

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](https://heaven.dev/compare/heaven-vs-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** | ✓ Claude 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** | ✓ The 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** | ✓ | ✓ Suspend, on eligible Machines. A move to another host boots it fresh |
| **Snapshots** | ✓ The 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** | ✓ Every disk, hourly, off-site | ✓ Volumes, 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** | ✓ Private 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** | ✓ Integrations keep the credential outside the Computer | Secrets are environment variables inside the Machine |
| **Machines reach each other privately** | Partly. HTTP between Computers you connect | ✓ A 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 | ✓ From 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 | ✓ Review apps, from a GitHub Actions workflow |
| **Scale out** | ✗ One Computer behind each address | ✓ Load balancing across Machines and regions, and a metrics-based autoscaler |
| **Managed Postgres** | ✗ Run Postgres on a Computer | ✓ Backups, failover and 10 days of point-in-time recovery |
| **Searchable app logs** | ✗ Usage graphs and the boot console. Apps keep their own logs | ✓ 7 days |

### Running it

| | Heaven | Fly Machines |
| --- | --- | --- |
| **Regions** | Montreal, Canada (US East) | 17, including Toronto, Ashburn, Frankfurt and Tokyo |
| **Spending limits** | ✓ A monthly spending cap and an egress cap | ✗ Fly's docs say it has no spending limits or billing alerts |
| **Support** | Email | 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** | ✓ Any 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-Id` and `X-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](https://heaven.dev/compare/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](https://heaven.dev/compare/heaven-vs-sprites), [Heaven vs Railway](https://heaven.dev/compare/heaven-vs-railway) and [Heaven vs Northflank](https://heaven.dev/compare/heaven-vs-northflank).

## Sources and corrections

| Source | Checked |
| --- | --- |
| [Heaven pricing](https://heaven.dev/pricing) | November 21, 2026 |
| [Heaven plans and billing](https://heaven.dev/docs/pricing#plans) | November 21, 2026 |
| [Heaven capacity and pools](https://heaven.dev/docs/capacity) | November 21, 2026 |
| [Heaven spending cap](https://heaven.dev/docs/billing#spending-controls) | November 21, 2026 |
| [Heaven Computers](https://heaven.dev/docs/computers) | November 21, 2026 |
| [Heaven Computer states](https://heaven.dev/docs/managing-computers#states) | November 21, 2026 |
| [Heaven default image](https://heaven.dev/docs/images#default-image) | November 21, 2026 |
| [Heaven regions](https://heaven.dev/docs/capacity#regions) | November 21, 2026 |
| [Heaven pools](https://heaven.dev/docs/pools) | November 21, 2026 |
| [Heaven plan reference](https://heaven.dev/docs/reference/capacity/plan-view) | November 21, 2026 |
| [Heaven website access](https://heaven.dev/docs/websites#website-access) | November 21, 2026 |
| [Heaven signed-in visitors](https://heaven.dev/docs/websites#signed-in-visitors) | November 21, 2026 |
| [Heaven share links](https://heaven.dev/docs/websites#share-links) | November 21, 2026 |
| [Heaven peer connections](https://heaven.dev/docs/networking#outbound) | November 21, 2026 |
| [Heaven snapshots and backups](https://heaven.dev/docs/snapshots) | November 21, 2026 |
| [Heaven credentials](https://heaven.dev/docs/keys#api-keys) | November 21, 2026 |
| [Heaven dashboard](https://heaven.dev/docs/dashboard) | November 21, 2026 |
| [Heaven support](https://heaven.dev/docs/support) | November 21, 2026 |
| [Fly Machines overview](https://docs.fly.io/machines/overview) | November 19, 2026 |
| [Fly Machine prices](https://fly.io/pricing/) | November 20, 2026 |
| [Fly resource pricing](https://docs.fly.io/about/pricing) | November 19, 2026 |
| [Fly billing](https://docs.fly.io/about/billing) | November 19, 2026 |
| [Fly free trial](https://docs.fly.io/about/free-trial) | November 19, 2026 |
| [Fly bills under $5](https://docs.fly.io/about/free-waiver) | November 19, 2026 |
| [Fly cost management](https://docs.fly.io/about/cost-management) | November 19, 2026 |
| [Fly regions](https://docs.fly.io/reference/regions) | November 19, 2026 |
| [Fly CPU performance](https://docs.fly.io/machines/cpu-performance#bursting) | November 19, 2026 |
| [Fly autostop and autostart](https://docs.fly.io/launch/autostop-autostart) | November 19, 2026 |
| [Fly suspend and resume](https://docs.fly.io/reference/suspend-resume) | November 19, 2026 |
| [Fly root filesystem settings](https://docs.fly.io/reference/configuration#persist_rootfs) | November 19, 2026 |
| [Fly Volumes](https://docs.fly.io/volumes/overview) | November 19, 2026 |
| [Fly volume snapshots](https://docs.fly.io/volumes/snapshots) | November 19, 2026 |
| [Fly Machine clone](https://docs.fly.io/flyctl/cmd/fly_machine_clone) | November 19, 2026 |
| [Fly network services](https://docs.fly.io/networking/services) | November 19, 2026 |
| [Fly private networking](https://docs.fly.io/networking/private-networking) | November 19, 2026 |
| [Fly secrets](https://docs.fly.io/apps/secrets) | November 19, 2026 |
| [Fly deploy configuration](https://docs.fly.io/reference/configuration) | November 19, 2026 |
| [Fly deploys and rollbacks](https://docs.fly.io/launch/deploy) | November 19, 2026 |
| [Fly review apps](https://docs.fly.io/blueprints/review-apps-guide) | November 19, 2026 |
| [Fly continuous deployment](https://docs.fly.io/launch/continuous-deployment-with-github-actions) | November 19, 2026 |
| [Fly load balancing](https://docs.fly.io/reference/load-balancing) | November 19, 2026 |
| [Fly autoscaling by metric](https://docs.fly.io/launch/autoscale-by-metric) | November 19, 2026 |
| [Fly Managed Postgres](https://docs.fly.io/postgres/) | November 19, 2026 |
| [Fly Managed Postgres point-in-time restore](https://fly.io/changelog/managed-postgres-point-in-time-restore/) | November 19, 2026 |
| [Fly Tigris object storage](https://docs.fly.io/tigris) | November 19, 2026 |
| [Fly logs](https://docs.fly.io/monitoring/logging-overview) | November 19, 2026 |
| [Fly security questionnaire](https://fly.io/legal/security-questionnaire/) | November 19, 2026 |
| [Fly support](https://fly.io/support/) | November 19, 2026 |
| [Sprites overview](https://docs.fly.io/sprites/index) | November 19, 2026 |

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