SelfHostCost

Web analytics

What it costs to self-host PostHog

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP. Below is the server it needs at each team size, what that costs, and how long the 3 commercial products it replaces would take to cost more.

Sizing and monthly cost for PostHog by team size. Memory includes 25% headroom.
Team sizeMemoryDiskCheapest plan that fitsServerWith backups and your time
solo 10.0 GB 60.2 GB Starter 16 GB · VPSServer $84.00 $326
5 people 10.1 GB 61 GB Starter 16 GB · VPSServer $84.00 $326
10 people 10.2 GB 62 GB Starter 16 GB · VPSServer $84.00 $326
25 people 10.5 GB 65 GB Starter 16 GB · VPSServer $84.00 $326
50 people 10.9 GB 70 GB Starter 16 GB · VPSServer $84.00 $326
100 people 11.8 GB 80 GB Starter 16 GB · VPSServer $84.00 $326
250 people 14.6 GB 110 GB Starter 16 GB · VPSServer $84.00 $326

The sizing model for PostHog

Kafka, ClickHouse, PostgreSQL, Redis and several workers. PostHog itself now discourages self-hosting below a substantial scale, and the sizing here reflects that honestly.

These base figures come from the project's own documented requirements. The per-user increments are ours in every case. They are deliberately generous rather than optimistic: a comparison that undersizes the server flatters self-hosting.

Time, not just money

PostHog is rated hard to operate, which in this model means about 16 hours to get it running properly the first time and 3 hours a month after that. At $75 an hour that is $1,200 once and $225 a month, which is usually the largest line in the whole calculation. This one is genuinely heavy: several stateful services, and an upgrade path where rushing can cost you data.

What it replaces

Commercial productIts cost at 10 peoplePostHog at 10 peopleBreak-even
Mixpanel Free $0.00 $326 never full breakdown
Amplitude Free $0.00 $326 never full breakdown
Google Analytics 4 Free $0.00 $326 never full breakdown

Where to put PostHog

10.2 GB of memory and 62 GB of disk is what this needs at 10 people. The cheapest plan that fits, among the providers whose prices we have read ourselves, is the Starter 16 GB at VPSServer for $84.00 a month.

Go to VPSServer Compare hosts

We are not claiming this is the cheapest server on the internet. It is the cheapest one we can honestly quote. Hetzner Cloud, Vultr and PikaPods publish prices we could not read programmatically, and Hetzner in particular is usually cheaper per gigabyte of memory than anything quoted above. Price them yourself before you commit.

The VPSServer link above is an affiliate link, run through the same programme as our Kamatera link; VPSServer and Kamatera belong to the same group. If you sign up through it we may earn a commission, but the programme does not state an amount for VPSServer. That never changes the computed costs, which server is chosen, or the conclusion of this page. The sizing model and every price source are published in full.

Project facts

LicenceOther not a standard open-source licence
Written inPython
GitHub stars39,757
Open issues5,485
Latest releasedesktop-v0.61.377
Last commit2026-09-12
Repository checked2026-09-12
Projectposthog.com · PostHog/posthog

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.

Related