Cutting session replay costs

We aim to be significantly cheaper than our competitors. Session replay is pay-as-you-go and you are billed for the number of session recordings at ingestion time. This means:

  • The total number of sessions retained in PostHog doesn't affect your bill.
  • You don't have to worry about deleting old sessions.
  • You don't have to worry about the cost of storing old sessions.

Below are a few ways to reduce costs by recording fewer sessions:

  1. Disable automatic recording and programmatically start and stop recordings
  2. Set a feature flag with the conditions that define which users or sessions you want to record.
  3. Set a minimum recording duration.
  4. Set a sampling rate for recordings.
  5. Make sure you capture at least one event per session to reduce the costs while maintaining all filtering options.

Community questions

Was this page useful?

Questions about this page? or post a community question.