
PostHog
Open source product analytics, session recording, and A/B testing
The Lens
By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.
Updated Oct 2026
PostHog puts product analytics, session replay, feature flags, A/B tests, surveys, error tracking, logs and LLM observability behind one SDK and one bill. The free cloud tier resets monthly: 1M analytics events, 5K recordings, 1M flag requests, 100K exceptions, 1,500 survey responses and 10 GB of logs.
Self-hosting is a hobby option, not a product. PostHog's docs call it officially unsupported, suggest it only under 300K events a month, keep every paid feature Cloud-only, and publish no CVEs because security fixes ship straight to the latest image.
Past the free tier, anonymous events cost $0.00005 each and identified events (tied to a user profile) $0.000198, so how you instrument moves the bill about 4x. Recordings run $0.005. Enforced SSO is the $250/mo Boost package, SAML is $750/mo Scale, RBAC is Enterprise only. Solo and small teams: free for a long time. Medium teams: usage pricing with billing limits. Larger teams: Scale or Enterprise.
The catch: the MIT code is real but the escape hatch is decorative. Need self-hosting? Look at Umami, Plausible or Matomo, plus Unleash for flags. And in November 2025 the Shai-Hulud worm pushed malicious posthog-js and posthog-node versions to npm for about five hours. Pin your SDKs.
Free vs Self-Hosted vs Paid
freemiumFree: PostHog Cloud free tier, resetting every month with no card: 1M analytics events, 5K session recordings, 1M feature flag requests (experiments billed with flags), 100K error tracking exceptions, 1,500 survey responses, 1M synced warehouse rows, 100K AI observability events, 10 GB of logs, 10K workflow messages per channel, plus small PostHog AI credit allowances. One project, 1-year event retention, 1-month recording retention, unlimited team members, community support. Usage past the limits is dropped, not billed.
Self-hosted: The hobby Docker Compose deploy is MIT (the ee/ directory is under a separate PostHog Enterprise license; posthog-foss is the MIT-only mirror). PostHog calls it officially unsupported: no tagged releases, no CVEs, no support tickets, no help recovering lost data, and all paid-plan features are Cloud-only. Docs ask for roughly a 4 vCPU, 16 GB RAM VM and recommend it only under 300K events, 1K recordings and 300K flag calls a month. New Kubernetes deployments are no longer supported.
Paid: Pay-as-you-go keeps the same free tier and bills usage above it: anonymous events $0.00005 each after 1M (identified events $0.000198 in the pricing calculator), volume tiers falling to $0.000009 past 250M; recordings $0.005; flag requests $0.0001; exceptions $0.00037; survey responses $0.10; synced rows $0.000015; logs $0.25/GB; AI observability events $0.00035. Adds 6 projects, 7-year event retention, 90-day recording retention and email support, with per-product billing limits. Platform packages are monthly: Boost $250/mo (unlimited projects, SSO enforcement, white labeling, HIPAA BAA), Scale $750/mo (SAML SSO, priority support), Enterprise custom (RBAC, SCIM, dedicated support). Annual commitments and volume discounts by sales.
Free cloud tier covers 1M events, 5K recordings and 1M flag requests a month, and most small products never leave it. Watch identified vs anonymous events (about 4x apart), and know that SAML is $750/mo and RBAC is Enterprise only; self-hosting is officially unsupported.
What to do by team size
- Solo
- free; the cloud free tier and zero ops
- Small team
- free up to 1M events a month, then pay-as-you-go with billing limits set
- Medium team
- pay-as-you-go, plus Boost at $250/mo once you need enforced SSO
- Large team
- Scale at $750/mo for SAML, Enterprise for RBAC and SCIM; self-hosting is not a supported path
Get tools like this every Wednesday
One featured tool, three on the radar. No fluff.
Similar Tools

Data visualization and exploration platform

Privacy-focused website analytics

OpenTelemetry-native observability with logs, traces, and metrics

Open-source feature management platform

Open source feature flagging and remote config

Leading open source web analytics platform
A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores
Trust Signals
License: MIT License
ee/ directory is under a proprietary PostHog Enterprise license; posthog-foss is the MIT-only mirror.
Commercial use: ✓ Yes
About
- Stars
- 40,666
- Forks
- 3,596
Explore Further
More tools in the directory
rea
Reverse engineer anything with agents, from app behavior down to native binaries.
435.8k ★openclaw
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
394.0k ★everything-claude-code
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
298.1k ★