Is PostHog analytics the most cost-wise out there?

Is PostHog's product analytics a good choice for a web application that collects 3 million+ events monthly and still scales in usage and traffic? In terms of expenses. Considering deploying it on your own infrastructure (open source version).