DigitalOcean CPU-Optimized 2x SSD c2-4vcpu-8gb vs Hetzner CAX21
We earn commissions when you shop through the links below. How we make money
Hetzner CAX21 costs 87% less a month. Of 10 benchmarks both plans have, DigitalOcean CPU-Optimized 2x SSD c2-4vcpu-8gb is ahead on 3 and Hetzner CAX21 on 7. For the money, Hetzner CAX21 gets 1105% more CPU. Prices are full monthly prices with IPv4 where it is extra, excluding VAT.
Measured in different cities, San Francisco and Helsinki, 8,723 km apart: the network figures are not directly comparable, and the hardware may differ between data centers. These are the nearest two places both plans were measured.
Price, specs and benchmarks
| Spec | DigitalOcean CPU-Optimized 2x SSD c2-4vcpu-8gb | Hetzner CAX21 |
|---|---|---|
| Full price / mo |
$94.00
cheapest region
|
$12.04
cheapest region
|
| vCPU | 4 Dedicated | 4 Shared |
| RAM | 8 GB | 8 GB |
| Disk | 100 GB SSD | 80 GB NVMe |
| Traffic / mo | 5 TB | 20 TB |
| Public IPv4 | Included | +$0.55 (in the price above) |
| Billing | Hourly | Hourly |
| Backups | +20% of the server | +20% of the server |
| Where to order |
In stock in 5 of 5 regions
Order at DigitalOcean
|
In stock in 0 of 3 regions
Notify me
|
| Measured |
San Francisco, Nov 27, 2026
1 run
|
Helsinki, Nov 25, 2026
1 run
|
| CPU reported | Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz | Neoverse-N1 |
| The provider offers there |
|
|
| CPU How fast one core and all cores compute. | ||
|
One core, 7-Zip
MIPS, higher is better
|
4,714
1 run, preliminary
|
4,951
1 run, preliminary
5% faster
|
|
All cores, 7-Zip
MIPS, higher is better
|
13,793
1 run, preliminary
|
21,284
1 run, preliminary
54% faster
|
|
All cores per dollar
MIPS per $/mo, higher is better
|
147 | 1,768 12.0× more for the money |
| Disk Random reads, and writes flushed one by one as a database commits. | ||
|
Random read 4K
IOPS, higher is better
|
95,439
1 run, preliminary
2.4× faster
|
39,924
1 run, preliminary
|
|
Sync write 4K
IOPS, higher is better
|
812
1 run, preliminary
|
817
1 run, preliminary
|
| Applications A Laravel page, PostgreSQL and a Docker build on the server itself. | ||
|
PHP page
req/s, higher is better
|
642
1 run, preliminary
|
721
1 run, preliminary
12% faster
|
|
pgbench read-write
TPS, higher is better
|
3,182
1 run, preliminary
4% faster
|
3,067
1 run, preliminary
|
|
Docker build
s, lower is better
|
36.6
1 run, preliminary
20% faster
|
44.1
1 run, preliminary
|
| Network Download from the nearest neutral point outside the provider, upload to Cloudflare. | ||
|
Download
Mbit/s, higher is better
|
1,887
1 run, preliminary
|
6,168
1 run, preliminary
3.3× faster
|
|
Upload
Mbit/s, higher is better
|
997
1 run, preliminary
|
2,386
1 run, preliminary
2.4× faster
|
Every number of the CPU-Optimized 2x SSD c2-4vcpu-8gb run Every number of the CAX21 run How we measure
Already on DigitalOcean CPU-Optimized 2x SSD c2-4vcpu-8gb? See how yours does against Hetzner CAX21.
Run the same test on your server: its page sets each test against our runs of CPU-Optimized 2x SSD c2-4vcpu-8gb and among the plans of its size, CAX21 included.
curl -fsSL https://github.com/vpscast/bench/releases/latest/download/run.sh | bash -s -- --share --plan digitalocean/c2-4vcpu-8gb --src compare
About 15 minutes; root or sudo, it uses Docker. Sends only the measurements and the hardware, no IP address. What it does, and how to run it without sending anything