Tools/PostHog/posthog

PostHog

Open source product analytics, session recording, and A/B testing

37.5k+139/wkgrowthTypeScriptMIT Licensetrending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Jun 2026

PostHog gives you product analytics, session recordings, feature flags, A/B testing, and surveys in one platform. Self-host it or use their cloud. Basically, Mixpanel + Hotjar + LaunchDarkly combined, but open source. The free cloud tier is generous: 1 million events/month, 5K session recordings, unlimited feature flags. That covers most startups well past launch.

Self-hosting is free with no feature restrictions (it's the same codebase). Docker Compose or Kubernetes. The catch with self-hosting: PostHog runs on ClickHouse for analytics, which needs real infrastructure. Minimum production setup is 8GB RAM, and it grows with your event volume.

Cloud pricing scales with usage: events beyond 1M are ~$0.00031 each, recordings beyond 5K are ~$0.005 each. A mid-size app doing 5M events/month pays roughly $125/mo. That's significantly cheaper than Mixpanel or Amplitude at the same scale. Solo to small teams: free cloud tier. You'll hit 1M events/month faster than you think if you instrument everything, so be selective about what you track. Medium teams: cloud paid tier, math works out well. Large orgs: self-host for data sovereignty or use cloud enterprise.

The catch: doing everything means nothing is best-in-class. The session recordings are solid but not Hotjar-level. The feature flags work but LaunchDarkly has deeper targeting. The analytics are good but not Amplitude-deep. PostHog wins on breadth and value, not depth in any single feature.

Free vs Self-Hosted vs Paid

free self hosted paid cloud

Free Cloud Tier

  • 1M events/month
  • 5K session recordings/month
  • Unlimited feature flags and A/B tests
  • Unlimited team members

Cloud Paid

  • Events: ~$0.00031/event beyond 1M (volume discounts apply)
  • Recordings: ~$0.005/recording beyond 5K
  • Surveys: ~$0.20/response beyond 250
  • Example: 5M events + 10K recordings = ~$150/mo

Self-Hosted

  • Free, all features included. Same MIT-licensed codebase.
  • Infrastructure: minimum 8GB RAM, ClickHouse + Postgres + Redis + Kafka
  • Realistic cost: $50-200/mo in compute for a small deployment, scaling up with event volume
  • Ops burden: significant. ClickHouse tuning and maintenance

When to Pay for Cloud

When self-hosting ops cost exceeds cloud pricing, or when you don't have the infra team to maintain ClickHouse. For most teams under 10M events/month, cloud is cheaper than self-hosting.

Free cloud tier handles most startups. Cloud paid is cheaper than competitors at scale. Self-host only if data sovereignty requires it.

Self-hosting ops:significant
View pricing page →

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Similar Tools

Score
86/100 · A
Adoption27/30
Maintenance25/25
Community9/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

High adoption: 32,612 starsActive community: 2,524 forks

About

Stars
37,539
Forks
3,150

Explore Further

More tools in the directory