DigitalOcean vs Hetzner: pricing compared
The same workloads priced on DigitalOcean and Hetzner with the cheapest plan that fits on each. DigitalOcean and Hetzner split the scenarios evenly. Prices come from each provider's published, dated price sheet - see the DigitalOcean price sheet and the Hetzner price sheet.
Monthly cost by workload
| Workload | DigitalOcean | Hetzner | Cheaper |
|---|---|---|---|
| Small app (1M req/mo) | $22.25 | $38.50 * | DigitalOcean (42% less) |
| Growing (20M req/mo) | $291 | $244 * | Hetzner (16% less) |
| At scale (200M req/mo) | $860 * | $2,359 * | DigitalOcean (64% less) |
| Modern SaaS Starter | $21.20 | $36.75 * | DigitalOcean (42% less) |
| Video Streaming App | $111 * | $75.99 * | Hetzner (32% less) |
| High-Scale E-Commerce | $869 * | $294 * | Hetzner (66% less) |
| Serverless Mobile Backend | $42.47 | $20.05 * | Hetzner (53% less) |
| AI RAG Chatbot | $997 | $1,014 * | DigitalOcean (2% less) |
| Big Data Pipeline | $64.00 | $22.92 * | Hetzner (64% less) |
| Budget Web Hosting | $24.91 | $35.70 | DigitalOcean (30% less) |
* The plan prices every piece but something is too small for the workload, a compute style is substituted, or a requested piece is unavailable on that provider.
Where the money goes - Growing (20M req/mo)
20M requests/mo · 40 ms CPU each · 100 GB database · 200 GB files · 1 TB egress. DigitalOcean uses Functions, Spaces, Managed Postgres; Hetzner uses Cloud Server, Object Storage, Neon Postgres.
| Cost category | DigitalOcean | Hetzner |
|---|---|---|
| Serverless | $20.54 | $0.00 |
| Storage | $5.00 | $7.53 |
| Database | $265 | $228 |
| Compute | $0.00 | $8.13 |
| Total | $291 | $244 |
Service by service
Each provider's cheapest product per service at the Growing (20M req/mo) workload.
| Service | DigitalOcean | Hetzner |
|---|---|---|
| Kubernetes | DOKS Control Plane (High Availability) $53.04 | Not offered |
| SQL database | Managed PostgreSQL (16 GiB / 6 vCPU, single node) $265 | Not offered |
| NoSQL database | Managed MongoDB (16 GiB / 6 vCPU, single node) $264 | Not offered |
| Cache (Redis) | Managed Caching for Valkey (8 GiB, single node) $120 | Not offered |
| Serverless functions | DigitalOcean Functions $20.54 | Not offered |
| Containers | App Platform (apps-s-1vcpu-1gb, $12/mo per container) $12.00 | Not offered |
| Virtual machines | Basic Droplet (512 MiB / 1 vCPU) $4.34 | Cloud Server CX23 (2 vCPU, 4 GB RAM, 40 GB NVMe, shared Intel/AMD) $8.13 |
| Object storage | Spaces Object Storage $5.00 | Hetzner Object Storage $7.53 |
| Load balancer | Load Balancer (Regional HTTP, per node) $12.00 | Not offered |
Plug in your traffic, database and cache needs to see DigitalOcean, Hetzner and 14 other providers side by side.
Price your own stack