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:
- Disable automatic recording and programmatically start and stop recordings
- Set a feature flag with the conditions that define which users or sessions you want to record.
- Set a minimum recording duration.
- Set a sampling rate for recordings.
- Make sure you capture at least one event per session to reduce the costs while maintaining all filtering options.
PostHog is an all-in-one developer platform for building successful products. We provide product analytics, web analytics, session replay, error tracking, feature flags, experiments, surveys, LLM analytics, data warehouse, CDP, and an AI product assistant to help debug your code, ship features faster, and keep all your usage and customer data in one stack.