
Best persistent VMs for coding agents
On this page
The short version
Pick Heaven when a team's agents and the previews they build should keep running in one shared pool with sign-in and credentials handled, and exe.dev for one developer's agents at $15, or for regions and single sign-on. Pick boat when your code starts and steers the agent, Fly.io Sprites for work in bursts that can restart from its files, and Hetzner Cloud or DigitalOcean for a plain server you set up yourself.
The best persistent VMs for coding agents, the short version
We rank for teams whose agents do the work: work that keeps running, previews teammates can open, what the team has to set up itself and what it pays.
| Product | Best for | When you disconnect | Starts at |
|---|---|---|---|
| Heaven | A team's agents and the previews they build, on one bill | Keeps running | $20 a month for 2 vCPUs and 8 GiB, any number of members |
| exe.dev | One developer's agents, or regions and single sign-on | Keeps running | $15 a month for 2 vCPUs and 4 GiB |
| boat | Your code starts, prompts and steers the agent | Runs until auto-stop, 1 hour by default, which paid plans can turn off | $20 a seat a month, returned as VM time |
| Fly.io Sprites | Work in bursts that can pick up from its files | Sleeps about 30 seconds after the last activity, and a request wakes it | Usage only. Personal bills under $5 are waived |
| Hetzner Cloud | The cheapest plain server you run yourself | Keeps running | $19.49 a month for 2 vCPUs and 4 GB in the US or Helsinki |
| DigitalOcean | A plain server in more regions, with an SLA | Keeps running | $24 a month for 2 vCPUs and 4 GiB |
Persistent VMs for coding agents compared
Keeping the agent working
| Heaven | exe.dev | boat | Fly.io Sprites | Hetzner Cloud | DigitalOcean | |
|---|---|---|---|---|---|---|
| Pause with memory | Yes | Yes | NoNo pause. A resume within 10 minutes usually keeps processes | NoFly decides when it sleeps and goes cold | NoPowering off ends processes | NoPowering off ends processes |
| Roll the disk back | YesSnapshots, and hourly off-site backups that support restores | Backups to your own S3 bucket, in preview | YesA snapshot every minute | YesCheckpoints you restore in place | YesSnapshots, and paid daily backups | YesSnapshots, and paid backups |
| What an idle or stopped machine costs | The plan bills whether Computers run or not | The pool bills all month | YesNo machine time while stopped | YesNo compute while it sleeps. Storage bills | A powered-off server keeps billing | A powered-off Droplet keeps billing |
The machine
| Heaven | exe.dev | boat | Fly.io Sprites | Hetzner Cloud | DigitalOcean | |
|---|---|---|---|---|---|---|
| Several machines share one plan | Yes | YesUp to 50 VMs on Personal | NoEach sandbox meters its own time | NoEach Sprite meters its own use | NoEach server has its own size and price | NoEach Droplet has its own size and price |
| Start from your own image | YesContainer images | YesDocker images | Its Ubuntu image, or your saved snapshot of it | NoFly's Ubuntu image | An ISO, or an image of another server | YesUploaded images |
| Coding agents ready to run | YesClaude Code and Codex | YesClaude Code, Codex, Pi and its own Shelley | YesSeven harnesses, with an API to prompt and steer them | YesClaude, Codex, Gemini CLI, Cursor | You install them | Marketplace images, such as Codex CLI |
Serving what the agent builds
| Heaven | exe.dev | boat | Fly.io Sprites | Hetzner Cloud | DigitalOcean | |
|---|---|---|---|---|---|---|
| A preview only signed-in teammates open | YesPeople you grant, or anyone with a share link | YesPeople you share it with, by email or link | NoAnyone with the token URL | Your Fly organization, or its admins | You set up HTTPS and sign-in | You set up HTTPS and sign-in |
| Your own domain | YesWith managed TLS | YesWith managed TLS | Noon.boat.dev only | Nosprites.app only | YesPoint DNS at its IP, or use a load balancer | YesPoint DNS at its IP, or use a load balancer |
| Raw TCP and UDP from the internet | YesTCP in every plan. UDP on a static IPv4 address | NoHTTPS and SSH only | YesOn an IP that changes on resume | NoA local tunnel only | Yes | Yes |
| Internet transfer included | 500 GB a month on Tiny | 200 GB a period on Personal | YesNot billed | YesNot metered | 20 TB a month in Europe | 4,000 GiB a month on the $24 Droplet |
Teams and where it runs
| Heaven | exe.dev | boat | Fly.io Sprites | Hetzner Cloud | DigitalOcean | |
|---|---|---|---|---|---|---|
| What a team pays | The same plan, no seat charge | Work, from $75 a month for 2 vCPUs and 4 GiB | $20 or more per seat | Usage, billed to the Fly organization | Each server's price | Each Droplet's price |
| Choose the region | NoMontreal only | Yes8 regions | NoGermany, Finland or France, boat's choice | NoFly places it near you | YesGermany, Finland, US East and West, Singapore | Yes13 regions |
The options
Heaven for a team's agents and previews
- Best for: a team whose agents run around the clock and whose previews teammates and clients open behind a sign-in.
- Not for: work that must run outside Montreal, an agent that must be kept from the open internet, or code that needs an official SDK.
Heaven (heaven.dev) is cloud infrastructure for software factories. Each agent gets a Linux Computer with root, Docker and nested virtualization that keeps running with nobody connected, and the team's Computers share one plan's CPU, memory and storage. Next to a bare VM, Heaven does the setup: an HTTPS address with sign-in in front, share links, custom domains, email, public TCP ports, snapshots and hourly off-site backups. A GitHub integration keeps the token outside the Computer, so a prompt-injected agent can't read it, and a Computer's CPU, memory and disk change while it runs. Heaven runs only in Montreal, with no outbound rules, single sign-on, SDKs or wake on request. See Heaven vs exe.dev.
exe.dev for one developer, with SDKs and regions
- Best for: one developer's agents, workers and previews, or a team that needs regions, OIDC sign-in and SDKs.
- Not for: a service that needs raw TCP or UDP from the internet.
exe.dev's VMs share a pool, keep running after you disconnect and pause with their processes, returning their share of the pool. They come with private previews shared by email or link, email, a GitHub App and integrations that keep tokens off the VM, a mode that limits a VM to those integrations, hosted MCP and TypeScript and Python SDKs. Work adds team pools and OIDC sign-in, and Enterprise adds your own cloud and a 99.9% SLA. Its VMs have no public IP, so raw TCP isn't available. See exe.dev alternatives.
boat for an API that drives coding agents
- Best for: a product or pipeline that starts a VM per task, prompts a coding agent in it and stops it when done.
- Not for: a preview that only signed-in teammates open, or an app on your own domain.
boat runs each sandbox as a full Ubuntu VM with root, Docker and KVM, billed by the second while it runs, from $0.018 an hour for 2 vCPUs and 4 GB. Its API starts, prompts and steers seven coding-agent harnesses and streams their events, its desktop can be embedded in your app, and a snapshot every minute lets you roll back a bad change or fork a sandbox. A model-API proxy keeps those keys off the machine, and raw TCP and UDP ports open on the sandbox's IP. A preview opens for anyone with its token URL. See Heaven vs boat.
Fly.io Sprites for workspaces that sleep
- Best for: an agent workspace idle most of the day, where an HTTP request is a good way to wake it.
- Not for: a worker that must stay up between requests, or an app on your own domain.
A Sprite keeps its disk and private HTTPS address through sleep, wakes on an HTTP request and bills CPU and memory only while awake. Every Sprite has 8 vCPUs, memory Fly manages and up to 100 GB of disk, with Claude, Codex, Gemini CLI and Cursor installed. Connectors keep GitHub and other credentials outside the Sprite, and Fly's SOC 2 Type 2 report and a self-service BAA cover it. A cold wake starts processes fresh, so the agent picks up from its checkout, and a long job needs a task hold renewed every hour. See Heaven vs Sprites.
Hetzner Cloud for the cheapest server you run
- Best for: one long-running agent on a server you set up and secure yourself, at the lowest price.
- Not for: previews behind a sign-in, or credentials kept off the server, without setting them up yourself.
A Hetzner CPX22 has 2 vCPUs, 4 GB and 80 GB for $19.49 a month in Ashburn, Hillsboro or Helsinki, and $22.99 in Germany, plus $0.60 for its IPv4 address. A server includes 20 TB of transfer in Europe, a Cloud Firewall, private networks, a 99.9% SLA, ISO 27001, official Go and Python clients and Terraform. Daily backups are a paid option, nested VMs aren't supported, and you set up HTTPS, sign-in and the agent's credentials yourself. See Heaven vs Hetzner.
DigitalOcean for a server in more regions
- Best for: a long-running agent or service that needs its own address in a region near its users.
- Not for: several agents sharing one plan, or previews behind a sign-in without setup.
A Basic Droplet with 2 vCPUs and 4 GiB costs $24 a month with its own IPv4 address and 4,000 GiB of transfer, in 13 regions across North America, Europe, Asia and Australia. It has a 99.99% SLA per Droplet, OIDC sign-in for teams, an audit log, an MCP server and SDKs in Go, Python and TypeScript. Backups are a paid option, you set up HTTPS and sign-in yourself, and DigitalOcean blocks outbound mail ports, so mail goes through an outside provider. See Heaven vs DigitalOcean.
Pricing
| Product | Entry plan | What it costs |
|---|---|---|
| Heaven | Tiny | $20 a month for 2 vCPUs, 8 GiB and 100 GB, any number of Computers and members. Small is $40 for 4 vCPUs and 16 GiB |
| exe.dev | Personal | $15 a month for 2 vCPUs and 4 GiB across up to 50 VMs. Work is $75 for a team |
| boat | $20 plan | $20 a seat a month, returned as VM time: $0.018 an hour for 2 vCPUs and 4 GB |
| Fly.io Sprites | Pay as you go | $0.0385 a CPU-hour and $0.021875 a GB-hour of memory used while awake, plus storage. Adventurer is $20 a month |
| Hetzner Cloud | CPX22 | $19.49 a month for 2 vCPUs and 4 GB in the US or Helsinki, $22.99 in Germany. IPv4 is $0.60 more |
| DigitalOcean | Basic Droplet, 4 GiB | $24 a month for 2 vCPUs and 4 GiB with IPv4 |
The bills below take one agent sized at 2 vCPUs and 4 GiB, our estimate for the agent and a test build, using about 1 CPU and 2 GB on average and running all month with a preview a teammate opens. Rates are as published on November 19 and 20, 2026.
- One agent. exe.dev Personal is $15 with the preview and sign-in included. Heaven Tiny is $20 and leaves 4 GiB for a second agent. boat's $20 seat covers the $12.96 of VM time its sandbox uses in 720 hours. Hetzner is $20.09 in the US or Helsinki and a Droplet $24, before you set up sign-in. A Sprite held awake is about $30.40 on Adventurer.
- A team of four with four such agents. Heaven Small holds all of them for $40 on 4 shared vCPUs, and Medium matches 2 vCPUs each for $80 if all four build at once all day. An exe.dev Work pool with 4 vCPUs and 8 GiB is $151.65, and four Personal plans $60 if each developer keeps their own account. Four boat seats are $80, four Hetzner servers $80.36, four Droplets $96, and four Sprites held awake about $186 on the Hero plan.
Frequently asked questions
Can a coding agent keep working after I close my terminal?
Yes, on a VM that stays running: Heaven, exe.dev, Hetzner Cloud and DigitalOcean. On boat, turn off auto-stop on a paid plan. A Sprite needs a task hold, renewed every hour, to stay awake.
What about Fly Machines, Daytona or E2B?
A Fly Machine runs an image whose root filesystem is reset by default, so the checkout has to live on a Fly Volume. Daytona and E2B sessions end within a day or two, so they suit jobs that start fresh. See best code sandboxes for AI agents.
Which is cheapest for one agent?
exe.dev Personal, at $15 with the preview and sign-in built in. A Hetzner CPX22 is $20.09 in the US or Helsinki with its IPv4 address, and you set up previews, sign-in and credentials yourself.
Which keeps the agent's GitHub token out of its reach?
Heaven and exe.dev integrations and Sprites Connectors send GitHub requests with a credential the machine never holds. boat's proxy covers model APIs. On a plain Hetzner or DigitalOcean server, you set that up yourself.
Related comparisons
See Heaven vs exe.dev, Sprites alternatives, exe.dev alternatives, Heaven vs Hetzner, Heaven vs DigitalOcean and best infrastructure for software factories.
- ComparisonHeaven vs exe.devHeaven and exe.dev both sell persistent root VMs in a shared pool with private HTTPS and email. Compare memory per dollar, team price, regions and networking.
- AlternativesSprites alternatives for agent workspacesFly.io Sprites alternatives compared: what keeps running while idle, machine size and image, domains and ports, regions, and what one developer or a team pays.
- Alternativesexe.dev alternatives for persistent agent machinesexe.dev alternatives for agents on persistent VMs: what keeps running, memory per dollar, public ports and addresses, regions, team pricing and when to stay.
- ComparisonHeaven vs Hetzner CloudCompare Heaven and Hetzner Cloud for an app or agent server: low prices and 20 TB of transfer, or HTTPS, sign-in, email and backups built in.
- ComparisonHeaven vs DigitalOceanCompare Heaven and DigitalOcean Droplets for an app or agent server: HTTPS, sign-in and email built in or set up yourself, the cloud around each, and costs.
- RoundupBest infrastructure for software factoriesHeaven, exe.dev, boat, Fly.io Sprites and Coder for teams whose agents do the work: what keeps running, how reviewers get in and what a month costs.
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
- 1Heaven pricing
- 2Heaven pools
- 3Heaven Computers
- 4Heaven Computer states
- 5Heaven images
- 6Heaven resize
- 7Heaven snapshots
- 8Heaven backups and recovery
- 9Heaven website access
- 10Heaven share links
- 11Heaven public ports
- 12Heaven static IPv4 pricing
- 13Heaven credentials
- 14Heaven regions
- 15Heaven default image
- 16exe.dev Personal
- 17exe.dev Work
- 18exe.dev plan comparison
- 19exe.dev pools
- 20exe.dev background work
- 21exe.dev pause and copy
- 22exe.dev VM backups
- 23exe.dev images
- 24exe.dev preinstalled agents
- 25exe.dev nested virtualization
- 26exe.dev integrations
- 27exe.dev internet access
- 28exe.dev custom domains
- 29exe.dev sharing
- 30exe.dev architecture
- 31exe.dev SSO
- 32exe.dev regions
- 33exe.dev Enterprise
- 34boat pricing
- 35boat seats
- 36boat sizes
- 37boat base image and tools
- 38boat virtualization
- 39boat auto-stop
- 40boat snapshots
- 41boat stop and resume
- 42boat integrated agents
- 43boat desktop
- 44boat AI credentials
- 45boat public URLs and raw ports
- 46boat FAQ
- 47boat data location
- 48Sprites pricing
- 49Sprites plans
- 50Fly free waiver
- 51Sprites lifecycle
- 52Sprites resources
- 53Sprites activity and task holds
- 54Sprites checkpoints
- 55Sprites maintenance and images
- 56Sprites working guide
- 57Sprites networking
- 58Sprites URL access
- 59Sprites Connectors
- 60Fly security questionnaire
- 61Where a Sprite runs
- 62Hetzner Cloud pricing
- 63Hetzner cost-optimized servers
- 64Hetzner billing FAQ
- 65Hetzner server FAQ
- 66Hetzner servers overview
- 67Hetzner backups and snapshots
- 68Hetzner API
- 69Hetzner certifications
- 70Hetzner Cloud terms and SLA
- 71DigitalOcean Droplet pricing
- 72DigitalOcean Droplet billing
- 73DigitalOcean custom images
- 74DigitalOcean coding agent images
- 75DigitalOcean nested virtualization
- 76DigitalOcean snapshots
- 77DigitalOcean backups
- 78DigitalOcean Cloud Firewalls
- 79DigitalOcean load balancer TLS
- 80DigitalOcean bandwidth
- 81DigitalOcean SMTP
- 82DigitalOcean SSO
- 83DigitalOcean security history
- 84DigitalOcean SDKs
- 85DigitalOcean MCP
- 86DigitalOcean regions
- 87DigitalOcean SLA
Spot an error? Email support@heaven.dev with the page, the claim and a source.