Skip to content
VPScast
Menu

DigitalOcean v5 General Purpose g5-4vcpu-8gb-30gb vs Hetzner CAX21

We earn commissions when you shop through the links below. How we make money

Hetzner CAX21 costs 89% less a month. Of 10 benchmarks both plans have, DigitalOcean v5 General Purpose g5-4vcpu-8gb-30gb is ahead on 4 and Hetzner CAX21 on 6. For the money, Hetzner CAX21 gets 570% more CPU. Prices are full monthly prices with IPv4 where it is extra, excluding VAT.

Measured in different cities, Kansas City and Helsinki, 7,682 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-4vcpu-8gb-30gb Hetzner CAX21
Full price / mo $110.44
cheapest region
$12.04
cheapest region
vCPU 4 Dedicated 4 Shared
RAM 8 GB 8 GB
Disk 30 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 4 of 4 regions
Order at DigitalOcean
In stock in 0 of 3 regions
Notify me
Measured Kansas City, Nov 27, 2026
1 run
Helsinki, Nov 25, 2026
1 run
CPU reported AMD EPYC 9555P 64-Core Processor Neoverse-N1
The provider offers there
  • Block storage — not offered
  • Object storage (S3)
  • Load balancer
  • Private network
  • Managed Kubernetes
  • Managed PostgreSQL
  • Block storage
  • Object storage (S3)
  • Load balancer
  • Private network
  • Managed Kubernetes — not offered
  • Managed PostgreSQL — not offered
CPU How fast one core and all cores compute.
One core, 7-Zip
MIPS, higher is better
8,565
1 run, preliminary
73% faster
4,951
1 run, preliminary
All cores, 7-Zip
MIPS, higher is better
29,118
1 run, preliminary
37% faster
21,284
1 run, preliminary
All cores per dollar
MIPS per $/mo, higher is better
264 1,768 6.7× 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
39,924
1 run, preliminary
8.9× faster
Sync write 4K
IOPS, higher is better
316
1 run, preliminary
817
1 run, preliminary
2.6× faster
Applications A Laravel page, PostgreSQL and a Docker build on the server itself.
PHP page
req/s, higher is better
1,681
1 run, preliminary
2.3× faster
721
1 run, preliminary
pgbench read-write
TPS, higher is better
2,197
1 run, preliminary
3,067
1 run, preliminary
40% faster
Docker build
s, lower is better
22.9
1 run, preliminary
93% 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
5,808
1 run, preliminary
6,168
1 run, preliminary
6% faster
Upload
Mbit/s, higher is better
889
1 run, preliminary
2,386
1 run, preliminary
2.7× faster

Every number of the v5 General Purpose g5-4vcpu-8gb-30gb run Every number of the CAX21 run How we measure

Already on DigitalOcean v5 General Purpose g5-4vcpu-8gb-30gb? See how yours does against Hetzner CAX21.

Run the same test on your server: its page sets each test against our runs of v5 General Purpose g5-4vcpu-8gb-30gb 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/g5-4vcpu-8gb-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