Cutting session replay costs

Last updated:

|Edit this page|

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.

Questions? Ask Max AI.

It's easier than reading through 698 pages of documentation

Community questions

Was this page useful?

Next article

Network performance recording

Session replay allows you to capture network requests and responses, providing insights into network performance and potential issues. This feature can be particularly useful for debugging and optimizing your application's network interactions. Performance considerations Capturing network performance data can have an impact on your application's performance. Be mindful of the amount of data you're capturing and consider implementing sampling or other optimization techniques if you're dealing…

Read next article

PostHog.com doesn't use third party cookies - only a single in-house cookie.

No data is sent to a third party.

Ursula von der Leyen, President of the European Commission