DigitalOcean v5 General Purpose g5-2vcpu-4gb-30gb vs Hetzner CAX11
We earn commissions when you shop through the links below. How we make money
Hetzner CAX11 costs 87% less a month. Of 10 benchmarks both plans have, DigitalOcean v5 General Purpose g5-2vcpu-4gb-30gb is ahead on 4 and Hetzner CAX11 on 6. For the money, Hetzner CAX11 gets 463% more CPU. Prices are full monthly prices with IPv4 where it is extra, excluding VAT.
Measured in different cities, Kansas City and Falkenstein, 7,780 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 v5 General Purpose g5-2vcpu-4gb-30gb | Hetzner CAX11 |
|---|---|---|
| Full price / mo |
$56.75
cheapest region
|
$7.11
cheapest region
|
| vCPU | 2 Dedicated | 2 Shared |
| RAM | 4 GB | 4 GB |
| Disk | 30 GB SSD | 40 GB NVMe |
| Traffic / mo | 4 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 4 of 4 regions
Order at DigitalOcean
|
In stock in 2 of 3 regions
Order at Hetzner
|
| Measured |
Kansas City, Nov 27, 2026
1 run
|
Falkenstein, Nov 23, 2026
5 runs
|
| CPU reported | AMD EPYC 9555P 64-Core Processor | Neoverse-N1 |
| The provider offers there |
|
|
| CPU How fast one core and all cores compute. | ||
|
One core, 7-Zip
MIPS, higher is better
|
7,852
1 run, preliminary
61% faster
|
4,870
4,824–4,947 over 3 runs
|
|
All cores, 7-Zip
MIPS, higher is better
|
14,897
1 run, preliminary
42% faster
|
10,513
10,500–10,616 over 3 runs
|
|
All cores per dollar
MIPS per $/mo, higher is better
|
263 | 1,478 5.6× more for the money |
| Disk Random reads, and writes flushed one by one as a database commits. | ||
|
Random read 4K
IOPS, higher is better
|
4,497
1 run, preliminary
|
50,954
48,005–53,009 over 5 runs
11.3× faster
|
|
Sync write 4K
IOPS, higher is better
|
296
1 run, preliminary
|
1,028
861–1,150 over 5 runs
3.5× faster
|
| Applications A Laravel page, PostgreSQL and a Docker build on the server itself. | ||
|
PHP page
req/s, higher is better
|
825
1 run, preliminary
2.6× faster
|
320
286–415 over 5 runs
|
|
pgbench read-write
TPS, higher is better
|
1,315
1 run, preliminary
|
1,594
1,470–1,649 over 3 runs
21% faster
|
|
Docker build
s, lower is better
|
26.7
1 run, preliminary
70% faster
|
45.5
41.5–49.5 over 5 runs
|
| Network Download from the nearest neutral point outside the provider, upload to Cloudflare. | ||
|
Download
Mbit/s, higher is better
|
3,772
1 run, preliminary
|
8,033
6,776–8,688 over 4 runs
2.1× faster
|
|
Upload
Mbit/s, higher is better
|
597
1 run, preliminary
|
1,136
922–1,750 over 4 runs
90% faster
|
Every number of the v5 General Purpose g5-2vcpu-4gb-30gb run Every number of the CAX11 run How we measure
Already on DigitalOcean v5 General Purpose g5-2vcpu-4gb-30gb? See how yours does against Hetzner CAX11.
Run the same test on your server: its page sets each test against our runs of v5 General Purpose g5-2vcpu-4gb-30gb and among the plans of its size, CAX11 included.
curl -fsSL https://github.com/vpscast/bench/releases/latest/download/run.sh | bash -s -- --share --plan digitalocean/g5-2vcpu-4gb-30gb --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