Skip to content

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.

ProductBest forWhen you disconnectStarts at
HeavenA team's agents and the previews they build, on one billKeeps running$20 a month for 2 vCPUs and 8 GiB, any number of members
exe.devOne developer's agents, or regions and single sign-onKeeps running$15 a month for 2 vCPUs and 4 GiB
boatYour code starts, prompts and steers the agentRuns until auto-stop, 1 hour by default, which paid plans can turn off$20 a seat a month, returned as VM time
Fly.io SpritesWork in bursts that can pick up from its filesSleeps about 30 seconds after the last activity, and a request wakes itUsage only. Personal bills under $5 are waived
Hetzner CloudThe cheapest plain server you run yourselfKeeps running$19.49 a month for 2 vCPUs and 4 GB in the US or Helsinki
DigitalOceanA plain server in more regions, with an SLAKeeps running$24 a month for 2 vCPUs and 4 GiB

Persistent VMs for coding agents compared

Keeping the agent working

Heavenexe.devboatFly.io SpritesHetzner CloudDigitalOcean
Pause with memoryYesYesNoNo pause. A resume within 10 minutes usually keeps processesNoFly decides when it sleeps and goes coldNoPowering off ends processesNoPowering off ends processes
Roll the disk backYesSnapshots, and hourly off-site backups that support restoresBackups to your own S3 bucket, in previewYesA snapshot every minuteYesCheckpoints you restore in placeYesSnapshots, and paid daily backupsYesSnapshots, and paid backups
What an idle or stopped machine costsThe plan bills whether Computers run or notThe pool bills all monthYesNo machine time while stoppedYesNo compute while it sleeps. Storage billsA powered-off server keeps billingA powered-off Droplet keeps billing

The machine

Heavenexe.devboatFly.io SpritesHetzner CloudDigitalOcean
Several machines share one planYesYesUp to 50 VMs on PersonalNoEach sandbox meters its own timeNoEach Sprite meters its own useNoEach server has its own size and priceNoEach Droplet has its own size and price
Start from your own imageYesContainer imagesYesDocker imagesIts Ubuntu image, or your saved snapshot of itNoFly's Ubuntu imageAn ISO, or an image of another serverYesUploaded images
Coding agents ready to runYesClaude Code and CodexYesClaude Code, Codex, Pi and its own ShelleyYesSeven harnesses, with an API to prompt and steer themYesClaude, Codex, Gemini CLI, CursorYou install themMarketplace images, such as Codex CLI

Serving what the agent builds

Heavenexe.devboatFly.io SpritesHetzner CloudDigitalOcean
A preview only signed-in teammates openYesPeople you grant, or anyone with a share linkYesPeople you share it with, by email or linkNoAnyone with the token URLYour Fly organization, or its adminsYou set up HTTPS and sign-inYou set up HTTPS and sign-in
Your own domainYesWith managed TLSYesWith managed TLSNoon.boat.dev onlyNosprites.app onlyYesPoint DNS at its IP, or use a load balancerYesPoint DNS at its IP, or use a load balancer
Raw TCP and UDP from the internetYesTCP in every plan. UDP on a static IPv4 addressNoHTTPS and SSH onlyYesOn an IP that changes on resumeNoA local tunnel onlyYesYes
Internet transfer included500 GB a month on Tiny200 GB a period on PersonalYesNot billedYesNot metered20 TB a month in Europe4,000 GiB a month on the $24 Droplet

Teams and where it runs

Heavenexe.devboatFly.io SpritesHetzner CloudDigitalOcean
What a team paysThe same plan, no seat chargeWork, from $75 a month for 2 vCPUs and 4 GiB$20 or more per seatUsage, billed to the Fly organizationEach server's priceEach Droplet's price
Choose the regionNoMontreal onlyYes8 regionsNoGermany, Finland or France, boat's choiceNoFly places it near youYesGermany, Finland, US East and West, SingaporeYes13 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

ProductEntry planWhat it costs
HeavenTiny$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.devPersonal$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 SpritesPay 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 CloudCPX22$19.49 a month for 2 vCPUs and 4 GB in the US or Helsinki, $22.99 in Germany. IPv4 is $0.60 more
DigitalOceanBasic 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.

See Heaven vs exe.dev, Sprites alternatives, exe.dev alternatives, Heaven vs Hetzner, Heaven vs DigitalOcean and best infrastructure for software factories.

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

  1. 1Heaven pricing
  2. 2Heaven pools
  3. 3Heaven Computers
  4. 4Heaven Computer states
  5. 5Heaven images
  6. 6Heaven resize
  7. 7Heaven snapshots
  8. 8Heaven backups and recovery
  9. 9Heaven website access
  10. 10Heaven share links
  11. 11Heaven public ports
  12. 12Heaven static IPv4 pricing
  13. 13Heaven credentials
  14. 14Heaven regions
  15. 15Heaven default image
  16. 16exe.dev Personal
  17. 17exe.dev Work
  18. 18exe.dev plan comparison
  19. 19exe.dev pools
  20. 20exe.dev background work
  21. 21exe.dev pause and copy
  22. 22exe.dev VM backups
  23. 23exe.dev images
  24. 24exe.dev preinstalled agents
  25. 25exe.dev nested virtualization
  26. 26exe.dev integrations
  27. 27exe.dev internet access
  28. 28exe.dev custom domains
  29. 29exe.dev sharing
  30. 30exe.dev architecture
  31. 31exe.dev SSO
  32. 32exe.dev regions
  33. 33exe.dev Enterprise
  34. 34boat pricing
  35. 35boat seats
  36. 36boat sizes
  37. 37boat base image and tools
  38. 38boat virtualization
  39. 39boat auto-stop
  40. 40boat snapshots
  41. 41boat stop and resume
  42. 42boat integrated agents
  43. 43boat desktop
  44. 44boat AI credentials
  45. 45boat public URLs and raw ports
  46. 46boat FAQ
  47. 47boat data location
  48. 48Sprites pricing
  49. 49Sprites plans
  50. 50Fly free waiver
  51. 51Sprites lifecycle
  52. 52Sprites resources
  53. 53Sprites activity and task holds
  54. 54Sprites checkpoints
  55. 55Sprites maintenance and images
  56. 56Sprites working guide
  57. 57Sprites networking
  58. 58Sprites URL access
  59. 59Sprites Connectors
  60. 60Fly security questionnaire
  61. 61Where a Sprite runs
  62. 62Hetzner Cloud pricing
  63. 63Hetzner cost-optimized servers
  64. 64Hetzner billing FAQ
  65. 65Hetzner server FAQ
  66. 66Hetzner servers overview
  67. 67Hetzner backups and snapshots
  68. 68Hetzner API
  69. 69Hetzner certifications
  70. 70Hetzner Cloud terms and SLA
  71. 71DigitalOcean Droplet pricing
  72. 72DigitalOcean Droplet billing
  73. 73DigitalOcean custom images
  74. 74DigitalOcean coding agent images
  75. 75DigitalOcean nested virtualization
  76. 76DigitalOcean snapshots
  77. 77DigitalOcean backups
  78. 78DigitalOcean Cloud Firewalls
  79. 79DigitalOcean load balancer TLS
  80. 80DigitalOcean bandwidth
  81. 81DigitalOcean SMTP
  82. 82DigitalOcean SSO
  83. 83DigitalOcean security history
  84. 84DigitalOcean SDKs
  85. 85DigitalOcean MCP
  86. 86DigitalOcean regions
  87. 87DigitalOcean SLA

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