SelfHostCost

Infrastructure monitoring · cost comparison

Datadog vs self-hosted Prometheus + Grafana: what each actually costs

Datadog on the Infrastructure Pro tier against Prometheus + Grafana running on the smallest server that fits it. Every figure below is computed from the sizing model and the dated prices at the foot of this page, and includes the part most comparisons leave out: your own time.

At 25 servers, self-hosting Prometheus + Grafana costs $121 a month against $375 for Datadog. You are ahead after about a month and $8,711 better off over 36 months, with your own time already priced in.

Datadog
$375per month, Infrastructure Pro
Self-hosted
$121server, backups and your time
Server and backups
$8.04CX23 (cost-optimized), 4 GB RAM
36-month difference
$8,711 saved by self-hosting
Break-even
about a monthafter $450 of setup time

The same comparison at every fleet size

Self-hosting has a floor and almost no slope, while per-host monitoring has no floor and a steep slope. That is the whole story, and it is why the answer flips somewhere in this table rather than being the same for everyone.

Datadog Infrastructure Pro against Prometheus + Grafana self-hosted, per month, over 36 months. Self-hosted includes server, backups and maintenance time at $75 an hour.
Servers monitored Datadog Self-hosted Without valuing your time Server needed 36-month difference
5 servers $75.00 $121 $8.04 CX23 (cost-optimized) (4 GB) -$2,089
10 servers $150 $121 $8.04 CX23 (cost-optimized) (4 GB) +$611
25 servers $375 $121 $8.04 CX23 (cost-optimized) (4 GB) +$8,711
50 servers $750 $121 $8.04 CX23 (cost-optimized) (4 GB) +$22,211
100 servers $1,500 $121 $8.04 CX23 (cost-optimized) (4 GB) +$49,211
250 servers $3,750 $125 $12.07 CX33 (cost-optimized) (8 GB) +$130,065
500 servers $7,500 $135 $22.15 CX43 (cost-optimized) (16 GB) +$264,703

The balance tips in favour of self-hosting at around 10 servers.

Where the self-hosted money actually goes at 25 servers

Line itemPer monthWhat it is
Server $6.70 CX23 (cost-optimized) at Hetzner Cloud: 2 vCPU, 4 GB RAM, 40 GB disk
Backups $1.34 Provider snapshots at 20% of the server price. Skipping this is not a saving, it is a bet.
Your time $112 1.5 hours a month of updates, upgrades and the occasional broken thing, at $75 an hour
Total$121Plus $450 once, for roughly 6 hours of first-time setup

Datadog at this size costs $375 a month. 25 monitored servers at $15.00 each. This is the annually-billed rate, which is what the vendor's page displayed; paying monthly costs more.

Read this before you price anything

Datadog has a free plan for up to 5 hosts, but it keeps metrics for one day only, against 15 months on Pro. That is not a like-for-like replacement for monitoring you rely on, so the comparison uses Pro even at 5 servers.

What Prometheus + Grafana needs to run at 25 servers

Prometheus collects the metrics and Grafana draws the dashboards, with Alertmanager for alerts and node_exporter on each server. Disk follows Prometheus's own capacity formula at its default 15-day retention: about 1,000 series per server scraped every 15 seconds at 2 bytes per sample is roughly 0.2 GB per server. Memory per server is our estimate for the same series count.

ResourceRequiredHow it is derived
Memory1.6 GB 1 GB for the stack at rest, plus 10 MB per monitored server, plus 25% headroom
Disk15 GB 10 GB base, plus 0.2 GB per server
vCPU2 The project's own baseline. For this workload memory runs out before the processor does.

These base figures are an estimate. Prometheus + Grafana does not publish a minimum specification we could cite, so the base memory and disk are derived from the services in its own reference Docker Compose file. Treat them as a starting point and watch the first week of metrics.

What you give up, stated plainly

Where to put Prometheus + Grafana

1.6 GB of memory and 15 GB of disk is what this needs at 25 servers. The cheapest plan that fits, among the providers whose prices we have read ourselves, is the CX23 (cost-optimized) at Hetzner Cloud for $6.70 a month.

Go to Hetzner Cloud Compare hosts

We are not claiming this is the cheapest server on the internet. It is the cheapest one we can honestly quote. Vultr and PikaPods publish prices we could not read programmatically, and may well undercut it. Price them yourself before you commit.

Prometheus + Grafana at a glance

LicenceApache License 2.0
Written inGo
GitHub stars66,156, checked 2026-09-21
Latest releasev3.14.0
Last commit2026-09-21
Ships Docker imagesYes
Projectprometheus.io · prometheus/prometheus

Get the migration checklist for this tool

A one-page pre-flight list: data export path, sizing, backup plan, and the rollback step most people skip.

Questions people actually ask

How much does Datadog cost?

Datadog Infrastructure Pro costs $375 a month at 25 servers: USD 15.00 per monitored server per month. That figure was read from the vendor's own pricing page on 2026-09-21.

What does it cost to self-host Prometheus + Grafana?

$121 a month at 25 servers: $6.70 for the CX23 (cost-optimized) at Hetzner Cloud, $1.34 of backups, and $112 for the 1.5 hours a month it takes to look after.

Is Prometheus + Grafana cheaper than Datadog?

Yes, after about a month, once $450 of first-time setup is counted. Over 36 months the difference is $8,711 in favour of self-hosting.

What server does Prometheus + Grafana need?

At 25 servers, 1.6 GB of memory and 15 GB of disk. The cheapest plan that fits, among the providers whose prices we have read, is the CX23 (cost-optimized) at Hetzner Cloud for $6.70 a month.

How much work is Prometheus + Grafana to run?

It is rated medium: about 6 hours to set up and 1.5 hours a month afterwards, priced at $75.00 an hour in the figures above.

Every figure on this page, and where it came from

InputValue usedSourceRead on
Datadog Infrastructure Pro USD 15.00 per monitored server per month vendor pricing page 2026-09-21
Hetzner Cloud CX23 (cost-optimized) $6.70 per month provider pricing page 2026-10-25
Engineer time $75 per hour our published assumption —
Prometheus + Grafana sizing 1 GB base, 10 MB per server derived from its reference Compose stack —

Prices move. If the vendor has changed theirs since 2026-09-21, the figures above are stale and the source links are the authority, not us. How we handle that.

Related