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.

Founded
2012

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.

Certifications
ISO/IEC 27001:2022

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 workloadDigitalOcean: price rankHetzner Cloud: price rankboat: 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 requirementNot ranked: misses a requirementNot 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 requirementNot ranked: misses a requirementNot ranked: misses a requirement

Key features

FeatureDigitalOceanHetzner Cloudboat
What you getA general Linux VM (Droplet) you set up and run yourselfA general Linux VM you set up and run yourselfA sandbox API for agents, on full VMs
IsolationEvery Droplet is a full VM with its own kernelEvery server is a full VM with its own kernelEvery sandbox is a full VM with its own kernel, on hosts dedicated to boat; vCPUs are shared
CPUBasic plans share hyper-threads with other Droplets; dedicated CPU plans cost more; not in the public benchmarks we useShared vCPU (CX, CAX, CPX) or dedicated vCPU (CCX); not in the public benchmarks we useShared 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 virtualizationRoot and Docker; nested VMs run, and the live migration docs say to restart them after a migrationRoot 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 unitPer second with a 60 second minimum; bundled plans capped at 672 hours a month, v5 configurations notEvery started hour billed in full, with a monthly capPer second, from a $20 to $2,000 monthly plan whose price comes back as VM time for that month
StoppingA powered-off bundled Droplet keeps its disk and IP and bills in full until you destroy itA powered-off server keeps its disk and IP and bills in full until you delete itNo 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 backupsOn-demand snapshots billed by size; paid scheduled backups from every 4 hours to weeklySnapshots through the Console or scheduled with the API, or daily backups in 7 slots for 20% of the server priceAutomatic disk snapshots every minute and at stop; memory and running programs are not saved
ForkTake 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 stockA new team gets 3 Droplets; 100 at Tier 5, unlocked by prepayment, paid invoices or a requestPer-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 machinePublic IPv4 and IPv6 on any port; HTTPS needs your own certificates or a load balancerFixed public IPv4 and IPv6 on any port; HTTPS needs your own certificates or a paid load balancerHTTPS 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 keysYou set them up on a Droplet; the separate Harness Runtime preview runs agents in microVMs; secrets go on the serverYou set them up: install and drive agents, for example over SSH, and put secrets on the serverSeven 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 serverManaged databases, Kubernetes, load balancers, VPC and free firewalls with outbound rulesVolumes, private networks, load balancers and free firewalls with outbound rulesA sandbox product; open internet on every plan, no provider-side egress allowlist
GPUsNvidia and AMD GPU Droplets, on demand, reserved or spotNone in Hetzner CloudNone
Regions13 regions in the US, Canada, Europe, Asia and AustraliaGermany and Finland, plus Ashburn, Hillsboro and SingaporeGermany, Finland and France; no US or Asia region, and you cannot pick one
Every feature Battleships tracks (43)
FeatureDigitalOceanHetzner Cloudboat
Full VM (own kernel)YesYesYes
Docker insideYesYesYes
Nested virtualizationYesNo documented wayYes
RootYesYesYes
SystemdYesYesYes
Desktop GUIWith your own setupWith your own setupYes
BrowserNo documented wayNo documented wayYes
Computer-use APINo documented wayNo documented wayYes
SSHYesYesYes
Persistent diskYesYesYes
Pause/resumeNo documented wayYesYes
Automatic snapshotsNo documented wayWith your own setupYes
Fork/cloneYesYesYes
Live fork (no pause)YesYesYes
Memory forkNo documented wayNo documented wayNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopNo documented wayNo documented wayNo documented way
Wake on requestNo documented wayNo documented wayNo documented way
HTTPS preview URLsWith your own setupWith your own setupYes
Raw TCP inboundYesYesYes
Public IPv4YesYesNo documented way
Egress allowlistYesYesNo documented way
Secret proxyNo documented wayNo documented wayYes
Secret proxy for any APINo documented wayNo documented wayYes
Preinstalled agentsNo documented wayNo documented wayYes
Agent harness APINo documented wayNo documented wayYes
MCP serverYesNo documented wayNo documented way
GPUYesNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayYesNo documented way
Self-hostingNo documented wayNo documented wayNo documented way
BYOCNo documented wayNo documented wayNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsNo documented wayNo documented wayYes
Usage per sandbox (API)YesNo documented wayYes
Audit logsNot publishedNot publishedNo documented way
SSOYesNo documented wayNo documented way
SOC 2YesNo documented wayNo documented way
HIPAAYesNo documented wayNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

DigitalOceanNot measured
Hetzner CloudNot measured
boat28.06 runs/s

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.

ScenarioDigitalOcean, a monthHetzner Cloud, a monthboat, 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.

ScenarioDigitalOceanHetzner Cloudboat
One coding agent, workdaysNone for this scenario
  • stock-limited: every type "currently unavailable" on hetzner.com (2,026-11-08); Hetzner status page: "Limited availability of cloud instances" since 2,026-06-26
None for this scenario
One agent that never stopsNone for this scenario
  • stock-limited: every type "currently unavailable" on hetzner.com (2,026-11-08); Hetzner status page: "Limited availability of cloud instances" since 2,026-06-26
None for this scenario
50 agents in parallel
  • Pay as you go: max 3 concurrent
  • stock-limited: every type "currently unavailable" on hetzner.com (2,026-11-08); Hetzner status page: "Limited availability of cloud instances" since 2,026-06-26
None for this scenario
Sandboxes for your users
  • Pay as you go: max 3 concurrent
  • stock-limited: every type "currently unavailable" on hetzner.com (2,026-11-08); Hetzner status page: "Limited availability of cloud instances" since 2,026-06-26
None for this scenario
1,000 short jobs at once
  • Pay as you go: max 3 concurrent
  • shared vCPUs on this tier, per-second with 672 h cap”): heavy, sustained CPU use can be slowed by other tenants
  • stock-limited: every type "currently unavailable" on hetzner.com (2,026-11-08); Hetzner status page: "Limited availability of cloud instances" since 2,026-06-26
  • 2,400 starts/day included, paid above that (needs ~6,667)
  • 600 starts/hour included, paid above that (needs ~1,000)
  • starts above 90/min are paid, and starts above 270/min fail with 429

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