PostHog logo

Can I open-source PostHog?

YES · mature open-source replacement
price variescategory 📊 analyticsreplaced by 0 people

Yes. PostHog (40k stars) is mature open-source replacement for PostHog — self-host with real ops work and stop paying.

the open-source alternatives

These projects already replace it, free.

PostHog logoPostHogAll-in-one product analytics with session replay, feature flags, experiments, and surveys40ksep 2026open source↗

What each one is, in full: PostHog

no votes, no pay-to-list · just what's real

why people still pay

Teams pay because analytics has to keep collecting and stay trustworthy while the product changes underneath it. The bill buys bot filtering, identity resolution, late-arriving data, retention, query cost, and someone else getting paged when ingestion stops. The charts are the cheap part.

what you lose

xsession replay

xfeature flags and experiments

xidentity stitching across devices

xSQL over years of events

xingestion that stays up without you watching it

share on X ↗"I just replaced PostHog with open source"
the numbers

PostHog pricing

planmonthlyannual (per mo)what you get
free$0/workspace$0/workspace1 project, 1-year retention, unlimited team members; monthly product allowances include 1M analytics events, 5,000 session recordings, 1M feature-flag requests, 100,000 exceptions, 1,500 survey responses, 1M warehouse rows, 10,000 pipeline trigger events plus 1M batch rows, 100,000 AI-observability events, 500 AI credits, 3 PRs, 10,000 workflow messages/channel, 10GB logs, and 2,500 Replay Vision credits
pay-as-you-go$0/workspace—Starts at $0 while under the same monthly free allowances; 6 projects, 7-year retention, unlimited team members and tracked users
boost platform package$250/workspace—Adds platform-level controls and support features to the separately metered PostHog products
scale platform package$750/workspace—Higher platform-level controls and support package; product usage remains separately metered
enterprise platform packagecustom—Custom platform controls, support and commercial terms; all product usage remains separately priced

free tier1 project and 1-year retention; monthly: 1M analytics events, 5,000 session recordings, 1M feature-flag requests, 100,000 exceptions, 1,500 survey responses, 1M warehouse rows, 10,000 pipeline trigger events plus 1M batch rows, 100,000 AI-observability events, 500 AI credits, 3 PRs, 10,000 workflow messages/channel, 10GB logs, and 2,500 Replay Vision credits; unlimited team members

billingmonthly usage-based billing only; no annual plan published; free allowances reset monthly and remain after adding a card

hidden costsEvery product meters separately after its free allowance: analytics from $0.00005/anonymous event or $0.000248/identified event, replay from $0.005/recording, flags from $0.0001/request, surveys from $0.10/response, warehouse rows from $0.000015, pipelines from $0.0005/trigger event, exceptions from $0.00037, AI from $0.01/credit, logs from $0.25/GB, workflows from $0.003/email, Inbox at $15/PR, and Replay Vision at $0.01/credit; optional Boost/Scale packages add $250/$750 per month.

verified 2026-08-12 · source ↗

questions
Can I open-source PostHog?

Yes. PostHog replaces PostHog today — self-host it on your own server or machine with no subscription. The full list of open-source alternatives is on this page.

How much does PostHog cost?

PostHog's pricing is usage-based or varies by plan · No stable monthly subscription; pricing is usage based with a free allowance. Page checked 2026-07-31: product analytics free to 1M events/month, then from $0.00005/event..

What do I lose by replacing PostHog?

Honestly: session replay; feature flags and experiments; identity stitching across devices; SQL over years of events; ingestion that stays up without you watching it. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to PostHog?

Yes: PostHog (All-in-one product analytics with session replay, feature flags, experiments, and surveys)