DigitalOcean vs Hetzner Cloud
Both rent Linux VMs that you set up and run yourself. DigitalOcean bills per second and adds GPUs, more regions and managed services. Hetzner Cloud bills every started hour, has lower list prices on its cheapest servers, and says nested virtualization is not possible on a cloud server.
The companies and products
DigitalOcean
DigitalOcean is a general-purpose cloud, and Droplets are its Linux virtual machines.
A Droplet is a Linux VM you rent by size, with root, a public IP, local SSD and a monthly transfer allowance. You pick an image, then install and run your own software on it, next to DigitalOcean products like Kubernetes, managed databases, load balancers and cloud firewalls. It is a server host, not an agent sandbox, so this page compares the two where they overlap: giving an agent its own Linux machine. DigitalOcean also sells two separate products in public preview, Harness Runtime for agents and MicroVMs. Neither is a Droplet.
Hetzner Cloud
Hetzner is a German hosting company founded in 1997. Hetzner Cloud rents virtual servers, storage and networking by the hour.
A Hetzner Cloud server is a Linux VM. You pick shared vCPU (cost-optimized CX and Arm CAX, regular CPX) or dedicated vCPU (CCX). Each server has local NVMe disk, a public IPv4 and IPv6, and up to 20 TB of traffic in the EU. You add volumes, private networks, firewalls and load balancers. You run everything through the Console, the Cloud API, the hcloud CLI or Terraform. It is general infrastructure, not an agent sandbox. This page compares the two where they overlap: an agent on its own Linux machine.
Which use cases each one fits
For each use case, Battleships prices every sandbox provider on the same workload and sorts them from the cheapest monthly bill up. “40th cheapest of 371” means 39 of the other 370 providers run that workload, with every feature it needs, for less. “With limits” means the provider runs it but misses something, so it is listed after every full match. Open a use case for its whole ranking and what each provider misses.
| Use case and its workload | DigitalOcean: price rank | Hetzner Cloud: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month Both give an agent a full VM with root and Docker. Hetzner Cloud cannot run nested VMs (its dedicated servers can), and a new DigitalOcean team gets only 3 Droplets at once. boat has /dev/kvm, disk snapshots every minute and coding agents installed. | 37th of 365, with limits $1,187 a month | 84th of 365, with limits $287 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB | 59th of 361, with limits $1,429 a month | 162nd of 361, with limits $325 a month | 6th cheapest of 361 $657 a month |
| Code interpreter bursts 100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month DigitalOcean fits short runs better than Hetzner Cloud: it bills per second with a 60 second minimum, while Hetzner bills every started hour in full. | 70th of 336, with limits $60 a month | 159th of 336, with limits $649 a month | 189th of 336, with limits $2,000 a month |
| Sandboxes for your users 300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month Both need a limits raise first: a new DigitalOcean team runs 3 Droplets at once, and Hetzner reviews server limit requests by hand. boat allows 100 to 2,000 sandboxes by plan, within start limits. | 59th of 349, with limits $421 a month | 50th of 349, with limits $314 a month | 3rd cheapest of 349 $209 a month |
| RL rollouts 1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month | 36th of 349, with limits $1,786 a month | 113th of 349, with limits $6,490 a month | 39th of 349, with limits $2,000 a month |
| Agent evals 250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month | 111th of 359, with limits $357 a month | 105th of 359, with limits $240 a month | 10th cheapest of 359 $200 a month |
| CI runners 40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month A ten-minute CI job is billed as a full hour on Hetzner Cloud and by the second on DigitalOcean; on both you run the runner software and the clean-up yourself. | 146th of 374, with limits $171 a month | 147th of 374, with limits $178 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB All three fit a 24/7 dev box. DigitalOcean and Hetzner Cloud are always-on servers with a fixed IP; Hetzner costs least for it, when its servers are in stock. boat saves the disk every minute once you turn auto-stop off, and its IP changes at each resume. | 40th cheapest of 371 $48 a month | 130th of 371, with limits $9.99 a month | 19th cheapest of 371 $26 a month |
| Computer-use agents 50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month On DigitalOcean and Hetzner Cloud you set up a desktop yourself: install a desktop environment, a browser and a VNC server. boat streams a 1920x1080, 60 fps desktop with Chrome and computer tools. | 70th of 367, with limits $263 a month | 176th of 367, with limits $320 a month | 7th cheapest of 367 $200 a month |
| Browser-use agents 50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month | 60th of 356, with limits $147 a month | 275th of 356, with limits $312 a month | 7th cheapest of 356 $200 a month |
| Scraping & bots (startup scale) 50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month | 126th of 343, with limits $175 a month | 229th of 343, with limits $62 a month | 6th cheapest of 343 $90 a month |
| Mass scraping & bots (undetectable) 1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month | 71st of 327, with limits $1,786 a month | 48th of 327, with limits $1,248 a month | 73rd of 327, with limits $1,800 a month |
| Parallel red teaming 200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month Many short parallel machines suit DigitalOcean's per-second billing better than Hetzner's hourly rounding, once your team has a higher Droplet limit. | 45th of 351, with limits $199 a month | 165th of 351, with limits $52 a month | 3rd cheapest of 351 $200 a month |
| GPU eval jobs 10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month DigitalOcean rents Nvidia and AMD GPU Droplets. Hetzner Cloud and boat have none. | Not ranked: misses a requirement | Not ranked: misses a requirement | Not ranked: misses a requirement |
| macOS agents 5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month | Not ranked: misses a requirement | Not ranked: misses a requirement | Not ranked: misses a requirement |
Key features
| Feature | DigitalOcean | Hetzner Cloud | boat |
|---|---|---|---|
| What you get | A general Linux VM (Droplet) you set up and run yourself | A general Linux VM you set up and run yourself | A sandbox API for agents, on full VMs |
| Isolation | Every Droplet is a full VM with its own kernel | Every server is a full VM with its own kernel | Every sandbox is a full VM with its own kernel, on hosts dedicated to boat; vCPUs are shared |
| CPU | Basic plans share hyper-threads with other Droplets; dedicated CPU plans cost more; not in the public benchmarks we use | Shared vCPU (CX, CAX, CPX) or dedicated vCPU (CCX); not in the public benchmarks we use | Shared vCPUs on AMD Ryzen 7 9700X and Ryzen 9 9950X hosts; 28.06 runs/s at 4 vCPU / 8 GB on a 9950X host (StarSling, 3 October 2026) |
| Docker and nested virtualization | Root and Docker; nested VMs run, and the live migration docs say to restart them after a migration | Root and Docker; nested virtualization is "not possible on cloud server" (Hetzner dedicated servers allow it) | Docker, root, systemd and /dev/kvm on every sandbox, documented |
| Billing unit | Per second with a 60 second minimum; bundled plans capped at 672 hours a month, v5 configurations not | Every started hour billed in full, with a monthly cap | Per second, from a $20 to $2,000 monthly plan whose price comes back as VM time for that month |
| Stopping | A powered-off bundled Droplet keeps its disk and IP and bills in full until you destroy it | A powered-off server keeps its disk and IP and bills in full until you delete it | No compute charge while stopped; disk kept at least 14 days; saved snapshots above the included count and the credentials proxy still charge; the IP changes on resume |
| Snapshots and backups | On-demand snapshots billed by size; paid scheduled backups from every 4 hours to weekly | Snapshots through the Console or scheduled with the API, or daily backups in 7 slots for 20% of the server price | Automatic disk snapshots every minute and at stop; memory and running programs are not saved |
| Fork | Take a live snapshot, then create new Droplets from it (disk, no memory) | Snapshot a running server, then create a new server from it (disk, no memory; shutting down first is recommended) | Fork a running sandbox in one call, from its last 1-minute snapshot (disk, no memory) |
| Machines at once and stock | A new team gets 3 Droplets; 100 at Tier 5, unlocked by prepayment, paid invoices or a request | Per-project limits are not published and are raised by a support request; on 2026-11-08 every cloud server line was marked "currently unavailable" | 100 to 2,000 sandboxes by plan, with included starts per minute, hour and day |
| Reaching the machine | Public IPv4 and IPv6 on any port; HTTPS needs your own certificates or a load balancer | Fixed public IPv4 and IPv6 on any port; HTTPS needs your own certificates or a paid load balancer | HTTPS URLs for up to 50 ports, token-gated by default; public IPv6; no static IP, and the IP changes at each resume |
| Coding agents, desktop and keys | You set them up on a Droplet; the separate Harness Runtime preview runs agents in microVMs; secrets go on the server | You set them up: install and drive agents, for example over SSH, and put secrets on the server | Seven agents preinstalled with a prompt, steer and events API; 60 fps desktop with Chrome; optional paid credentials proxy keeps supported providers' keys out |
| Cloud around the server | Managed databases, Kubernetes, load balancers, VPC and free firewalls with outbound rules | Volumes, private networks, load balancers and free firewalls with outbound rules | A sandbox product; open internet on every plan, no provider-side egress allowlist |
| GPUs | Nvidia and AMD GPU Droplets, on demand, reserved or spot | None in Hetzner Cloud | None |
| Regions | 13 regions in the US, Canada, Europe, Asia and Australia | Germany and Finland, plus Ashburn, Hillsboro and Singapore | Germany, Finland and France; no US or Asia region, and you cannot pick one |
Every feature Battleships tracks (43)
| Feature | DigitalOcean | Hetzner Cloud | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | Yes | Yes |
| Nested virtualization | Yes | No documented way | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Yes | Yes | Yes |
| Desktop GUI | With your own setup | With your own setup | Yes |
| Browser | No documented way | No documented way | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | Yes | Yes | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | No documented way | Yes | Yes |
| Automatic snapshots | No documented way | With your own setup | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | Yes | Yes | Yes |
| Memory fork | No documented way | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | Yes | Yes |
| Idle auto-stop | No documented way | No documented way | No documented way |
| Wake on request | No documented way | No documented way | No documented way |
| HTTPS preview URLs | With your own setup | With your own setup | Yes |
| Raw TCP inbound | Yes | Yes | Yes |
| Public IPv4 | Yes | Yes | No documented way |
| Egress allowlist | Yes | Yes | No documented way |
| Secret proxy | No documented way | No documented way | Yes |
| Secret proxy for any API | No documented way | No documented way | Yes |
| Preinstalled agents | No documented way | No documented way | Yes |
| Agent harness API | No documented way | No documented way | Yes |
| MCP server | Yes | No documented way | No documented way |
| GPU | Yes | No documented way | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | Yes | No documented way |
| Self-hosting | No documented way | No documented way | No documented way |
| BYOC | No documented way | No documented way | No documented way |
| Open source | No documented way | No documented way | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | No documented way | No documented way | Yes |
| Usage per sandbox (API) | Yes | No documented way | Yes |
| Audit logs | Not published | Not published | No documented way |
| SSO | Yes | No documented way | No documented way |
| SOC 2 | Yes | No documented way | No documented way |
| HIPAA | Yes | No documented way | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Neither DigitalOcean Droplets nor Hetzner Cloud servers are in the public benchmarks we use, so we cannot say which is faster. For reference, boat did 28.06 runs per second on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15 in StarSling's run of 3 October 2026 (run 37073680030). Every boat sandbox in that run ran on an AMD Ryzen 9 9950X host; boat also places sandboxes on Ryzen 7 9700X hosts and does not promise a CPU model.
V8 Web Tooling Benchmark at a 4 vCPU / 8 GB target, runs per second, higher is better. Source: StarSling's run of 3 October 2026 (run 37073680030), median of 5 sandboxes. Providers ran on different hardware in different regions. StarSling gives a shared rank when the run cannot separate two providers. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. DigitalOcean and Hetzner Cloud are not in the public benchmarks we use, so we cannot say which is faster.
Pricing in five scenarios
Each bill is priced from the providers' public price lists by the open Battleships engine, with the cheapest plan that runs the scenario. Start limits, per-start fees and plan minimums are in the price, boat's included.
| Scenario | DigitalOcean, a month | Hetzner Cloud, a month | boat, a month |
|---|---|---|---|
| One coding agent, workdays 4 vCPU / 8 GB, 50 GB disk, 8 hours a day, 22 days a month, files kept between days | $13 · Pay as you go | $3 · Pay-as-you-go (postpaid) · with limits | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $48 · Pay as you go | $10 · Pay-as-you-go (postpaid) · with limits | $26 · $20/mo |
| 50 agents in parallel 50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside | $629 · Pay as you go · with limits | $141 · Pay-as-you-go (postpaid) · with limits | $317 · $20/mo × 3 seats |
| Sandboxes for your users 2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once | $179 · Pay as you go · with limits | $312 · Pay-as-you-go (postpaid) · with limits | $200 · $100/mo × 2 seats |
| 1,000 short jobs at once 2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month | $357 · Pay as you go · with limits | $2,080 · Pay-as-you-go (postpaid) · with limits | $8,800 · $2000/mo · with limits |
DigitalOcean: Each bundled Droplet size has a fixed hourly price, billed per second with a 60 second minimum and capped at 672 hours a month; v5 configurations have no monthly cap. Bundled and GPU Droplets bill while powered off, until you destroy them. Snapshots and backups cost extra.
Hetzner Cloud: Hetzner bills each server by the hour, rounding every started hour up, with a monthly cap, until you delete it, also when it is off. New prices apply to new orders and rescales since 15 June 2026. The prices here use the shared CX line; on 2026-11-08 Hetzner's site marked every cloud server line (CX, CAX, CPX, CCX) as currently unavailable.
Hetzner Cloud: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs. Extra starts above the plan's included count cost $0.03 to $0.07. A stopped sandbox has no compute charge and keeps its disk for at least 14 days; saved snapshots above the included count and the credentials proxy still charge.
Limits in those scenarios
A new DigitalOcean team can run only 3 Droplets at once, on Basic shared plans up to $48, so 50 agents in parallel or sandboxes for your users need a higher tier first; Tier 5 allows 100. Hetzner does not publish its server limits, reviews each raise by hand, and on 2026-11-08 marked every cloud server line as currently unavailable, so its scenarios may not fit as priced today. Short jobs on Hetzner are billed a full hour each. On boat the limit is 100 to 2,000 sandboxes by plan plus starts: the $2,000 plan includes 90 a minute and 2,400 a day and refuses starts above 270 a minute, so the 1,000-job burst does not fit either.
| Scenario | DigitalOcean | Hetzner Cloud | boat |
|---|---|---|---|
| One coding agent, workdays | None for this scenario |
| None for this scenario |
| One agent that never stops | None for this scenario |
| None for this scenario |
| 50 agents in parallel |
|
| None for this scenario |
| Sandboxes for your users |
|
| None for this scenario |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use DigitalOcean when
you want per-second billing, GPUs, regions in North America, Asia or Australia, or servers next to managed databases and Kubernetes.
- Per-second billing. Useful for short or bursty jobs: Droplets bill per second with a 60 second minimum, where Hetzner rounds every started hour up.
- GPUs and more regions. Useful if you need Nvidia or AMD GPUs, or servers in Canada, India or Australia, which Hetzner Cloud does not offer.
- Managed services next to the server. Useful if the machine must sit beside managed databases and Kubernetes clusters in one private network and one account.
Use Hetzner Cloud when
you want low-priced long-lived servers in Europe, big dedicated machines or lots of included traffic, and do not need nested virtualization on the cloud server.
- Lower list prices on the cheapest servers. Useful for long-running servers in Europe, once Hetzner's cloud servers, marked currently unavailable on 2026-11-08, are back in stock.
- Big dedicated machines. Useful for heavy single machines: dedicated CCX servers go up to 48 vCPU and 192 GB of memory.
- Lots of included traffic in the EU. Useful for data-heavy servers: each EU server includes up to 20 TB of outbound traffic.
Where boat fits
DigitalOcean and Hetzner Cloud are general clouds, and boat is not trying to be one: it has no GPUs, no managed databases and no region outside Germany, Finland and France. If you run agents that each need a Linux machine that starts ready, stops with no compute charge and can be copied, boat does that part on full VMs.
No compute charge when stopped, disk saved every minute
Both clouds bill a powered-off server in full, so an idle agent keeps costing money. The workaround is to snapshot, delete and recreate by script. boat saves the disk every minute, and a stopped sandbox keeps its disk for at least 14 days; saved snapshots above the included count and the credentials proxy still charge.
Agents, a desktop and a key proxy installed
Droplets and Hetzner servers start from an OS image, so you install, update and supervise each agent, desktop and API key yourself, and the agent can read any key you put there. boat ships them, and its optional paid proxy keeps supported providers' real keys outside.
Nested virtualization documented
Hetzner says nested virtualization is not possible on a cloud server, so emulators and VMs move to its dedicated servers. Nested VMs run on Droplets, and DigitalOcean's live migration docs say to restart them after a migration. boat documents /dev/kvm on every sandbox.
Use boat when the machines are for agents: a full VM each with /dev/kvm, coding agents, a desktop and HTTPS URLs installed, disk snapshots every minute, fork while running, and no compute charge while stopped. Compare it one to one: boat vs DigitalOcean and boat vs Hetzner Cloud.
boat's own limits
- Plans start at $20 a month. The plan price comes back as VM time for that month. Unused time does not carry over. Source
- Starts (create, fork, resume): the $20 plan includes 12 a minute, 60 an hour and 200 a day. The $2,000 plan includes 90 a minute, 600 an hour and 2,400 a day. Extra starts cost $0.03 to $0.07. A start fails with 429 above 3 times the included starts per minute, or 6 times per hour or per day. Source
- A stopped sandbox has no compute charge. boat keeps its disk for at least 14 days. A saved snapshot keeps it longer; extra saved snapshots and the AI credentials proxy are paid. Source
- Auto-stop defaults to 1 hour. You can turn it off on a paid plan. The trial allows 2 hours at most. Source
- boat saves the disk every minute and at each stop. Memory, running programs and /tmp are not saved: a resume is like a reboot. A machine failure loses writes after the last good snapshot. Source
- Machines run in Germany, Finland and France only. Snapshot copies can be stored outside the EU. Source
- Public IPv6 and outbound IPv4. No dedicated IPv4. The IP changes at each resume. Source
- Hosts are AMD Ryzen 7 9700X and Ryzen 9 9950X. vCPUs are shared. No GPU. You cannot boot your own Docker image. Source
Questions people ask
Is DigitalOcean cheaper than Hetzner Cloud?
On list prices for long-running servers, no: one agent that never stops comes to $48 a month on DigitalOcean against $10 on Hetzner's CX line, and $26 on boat. But Hetzner marked its cloud servers currently unavailable on 2026-11-08. For 300 short user sandboxes, Hetzner's hourly rounding brings it to $312 against $179 on DigitalOcean (which needs a higher tier) and $200 on boat.
Which is faster, DigitalOcean or Hetzner Cloud?
Neither is in the public benchmarks we use, so we cannot say. Both sell shared and dedicated vCPU lines, so results would depend on the plan. For reference, boat did 28.06 runs per second on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB in StarSling's run of 3 October 2026, on an AMD Ryzen 9 9950X host.
Can DigitalOcean and Hetzner Cloud run Docker and nested VMs?
Both run Docker, since each machine is a full VM with root. Nested VMs run on Droplets; DigitalOcean's live migration docs say to restart them after a migration. Hetzner's server FAQ says nested virtualization is not possible on cloud servers; its dedicated servers allow it. boat documents Docker, systemd and /dev/kvm on every sandbox.
Do I pay for a powered-off server on DigitalOcean or Hetzner?
Yes, on both. A bundled Droplet or a Hetzner server is billed in full until you destroy or delete it, so to stop paying you snapshot it, delete it and create it again later. On boat, a stopped sandbox has no compute charge and keeps its disk for at least 14 days; saved snapshots above the included count and the credentials proxy still charge.
Which has more regions and GPUs?
DigitalOcean: 13 regions across the US, Canada, Europe, Asia and Australia, and Nvidia and AMD GPU Droplets. Hetzner Cloud runs in Germany, Finland, Ashburn, Hillsboro and Singapore, with no GPUs in Hetzner Cloud. boat runs in Germany, Finland and France and has no GPUs.
Is boat SOC 2 compliant?
No SOC 2 report today; SOC 2 is in progress. Live status is at status.ascii.dev and our data retention policy is at docs.boat.dev/data-retention.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs DigitalOcean
- boat vs Hetzner Cloud
- AWS EC2 vs DigitalOcean
- Google Compute Engine vs DigitalOcean
- Azure Virtual Machines vs DigitalOcean
- Oracle Cloud vs DigitalOcean
- DigitalOcean vs Vultr
- DigitalOcean vs Linode
- DigitalOcean vs Scaleway
- DigitalOcean vs OVHcloud
- DigitalOcean vs IONOS Cloud
- DigitalOcean vs Contabo