DigitalOcean CPU-Optimized 2x SSD c2-2vcpu-4gb vs Hetzner CX 23
We earn commissions when you shop through the links below. How we make money
Hetzner CX 23 costs 86% less a month. Of 10 benchmarks both plans have, DigitalOcean CPU-Optimized 2x SSD c2-2vcpu-4gb is ahead on 7 and Hetzner CX 23 on 3. For the money, Hetzner CX 23 gets 606% 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-2vcpu-4gb | Hetzner CX 23 |
|---|---|---|
| Full price / mo |
$47.00
cheapest region
|
$6.55
cheapest region
|
| vCPU | 2 Dedicated | 2 Shared |
| RAM | 4 GB | 4 GB |
| Disk | 50 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 2 of 2 regions
Order at DigitalOcean
|
In stock in 1 of 3 regions
Order at Hetzner
|
| Measured |
San Francisco, Nov 4, 2026
1 run
|
Helsinki, Nov 23, 2026
1 run
|
| CPU we got | Intel(R) Xeon(R) Platinum 8280 CPU @ 2.70GHz | Intel Xeon Processor (Skylake, IBRS, no TSX) |
| The provider offers there |
|
|
| CPU How fast one core and all cores compute. | ||
|
One core, 7-Zip
MIPS, higher is better
|
4,976
1 run, preliminary
36% faster
|
3,656
1 run, preliminary
|
|
All cores, 7-Zip
MIPS, higher is better
|
7,369
1 run, preliminary
2% faster
|
7,249
1 run, preliminary
|
|
All cores per dollar
MIPS per $/mo, higher is better
|
157 | 1,106 7.1× more for the money |
| Disk Random reads, and writes flushed one by one as a database commits. | ||
|
Random read 4K
IOPS, higher is better
|
145,699
1 run, preliminary
3.3× faster
|
44,752
1 run, preliminary
|
|
Sync write 4K
IOPS, higher is better
|
15,729
1 run, preliminary
13.4× faster
|
1,177
1 run, preliminary
|
| Applications A Laravel page, PostgreSQL and a Docker build on the server itself. | ||
|
PHP page
req/s, higher is better
|
400
1 run, preliminary
31% faster
|
306
1 run, preliminary
|
|
pgbench read-write
TPS, higher is better
|
2,775
1 run, preliminary
54% faster
|
1,797
1 run, preliminary
|
|
Docker build
s, lower is better
|
35.2
1 run, preliminary
77% faster
|
62.2
1 run, preliminary
|
| Network Download from the nearest neutral point outside the provider, upload to Cloudflare. | ||
|
Download
Mbit/s, higher is better
|
1,882
1 run, preliminary
|
4,507
1 run, preliminary
2.4× faster
|
|
Upload
Mbit/s, higher is better
|
1,203
1 run, preliminary
|
2,139
1 run, preliminary
78% faster
|
Every number of the CPU-Optimized 2x SSD c2-2vcpu-4gb run Every number of the CX 23 run How we measure
Already on DigitalOcean CPU-Optimized 2x SSD c2-2vcpu-4gb? See how yours does against Hetzner CX 23.
Run the same test on your server: its page sets each test against our runs of CPU-Optimized 2x SSD c2-2vcpu-4gb and among the plans of its size, CX 23 included.
curl -fsSL https://github.com/vpscast/bench/releases/latest/download/run.sh | bash -s -- --share --plan digitalocean/c2-2vcpu-4gb --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