PostHog vs Mixpanel 2026: A Dimension by Dimension Comparison

PostHog vs Mixpanel compared on pricing, event allowances, SQL access, session replay, feature flags, self-hosting and who operates the tool. Every price verified on the vendor pricing pages in August 2026.

PostHog vs Mixpanel 2026: A Dimension by Dimension Comparison

The short answer: PostHog wins if your team writes SQL, wants feature flags and experiments on the same bill as analytics, or needs a published rate card. Mixpanel wins if the people asking the questions are product managers and analysts rather than engineers, and you want deep behavioural analysis without a sales call. On price, PostHog publishes every tier of every meter and starts at $0.00005 per event after 1 million free events a month. Mixpanel also gives 1 million free events a month but publishes only its worst rate, $0.00028 per event, for customers who exceed a 1 million event plan. Both are strong platforms. The split is engineer-operated versus analyst-operated. Verified August 2026.

PostHog sells a bundle of engineering-adjacent products that happens to include analytics. Mixpanel sells the analysis layer and sells it very well. Comparing them on "which has better funnels" misses the decision, which is about who opens the tool on a Tuesday morning and what they type into it.

This comparison uses one benchmark workload throughout: 5 million events a month, 50,000 session recordings, 1 million feature flag requests. Every price was read on the vendor's own page in August 2026.

At a glance

Dimension PostHog Mixpanel
Free tier 1M events, 5K recordings, 1M flag requests, 1M warehouse rows, monthly 1M events, 10K session replays, 5 saved reports per seat
Paid entry Pay as you go, no minimum, no seat fees Growth, starts at $0, first 1M events free
Published rate after free tier $0.00005 per event, falling to $0.000009 at 250M+ $0.00028 per event on a 1M plan; committed rates not published
Self-serve ceiling Unlimited usage 20M events per month on Growth
SQL over your own event data Yes, full SQL editor with JOINs Query API and warehouse connectors, no in-app SQL editor
Session replay included free 5,000 recordings per month 10,000 on Free, 20,000 on Growth
Feature flags Included, 1M requests free per month Native, listed under Enterprise and add-ons
Self-host Yes, MIT licence, officially unsupported No
Access controls Platform packages at $250/mo and $750/mo Bundled into Enterprise, custom quoted
Billing limits Per product spend caps Not available

Sources: posthog.com/pricing, posthog.com/platform-packages, mixpanel.com/pricing, docs.mixpanel.com/docs/pricing. Checked August 2026.

Quick verdict

Pick PostHog when the account owner is an engineer, when you would otherwise buy analytics plus replay plus a flag vendor plus a survey tool, or when finance wants a rate card before signing.

Pick Mixpanel when a product manager or growth analyst owns the tool, when behavioural cohorts and retention curves are the daily work rather than an occasional query, and when you want that depth on a self-serve plan instead of behind a demo.

Both do things a marketing analytics tool does not: cohort analysis at depth, retention curves sliced by behaviour, session replay at scale, warehouse integration. Neither is a lightweight choice.

Pricing model, and where each one bites

Both meter on events and both give you 1 million events a month for nothing. That is where the similarity ends.

PostHog publishes every tier of every meter. Product analytics runs $0.00005 per event from 1 to 2 million, $0.0000343 from 2 to 15 million, $0.0000295 from 15 to 50 million, $0.0000218 from 50 to 100 million, $0.000015 from 100 to 250 million and $0.000009 above that. Session replay runs $0.005 per recording from 5,000 to 15,000, then $0.0035 to 50,000, then $0.002 to 150,000. Feature flags run $0.0001 per request from 1 to 2 million, falling to $0.00001 above 50 million. Managed warehouse rows cost $0.000015 each from 1 to 10 million. All from posthog.com/pricing, August 2026.

Mixpanel publishes the free allowance and the plan shapes, but not the committed volume rate card. What it does publish, in its billing documentation, is the overage rate for the smallest paid plan: "If you're only on a 1M monthly events plan, the additional data rate is $.00028 per event." It adds that a right sized plan costs less, because volume discounts are built into larger plans. Those plan prices live behind a slider, not in a published table.

What the benchmark workload costs

PostHog, 5 million events plus 50,000 recordings plus 1 million flag requests, at published rates:

  • Events: 1 million free, then 1 million at $0.00005 ($50.00), then 3 million at $0.0000343 ($102.90). Subtotal $152.90.
  • Session replay: 5,000 free, then 10,000 at $0.005 ($50.00), then 35,000 at $0.0035 ($122.50). Subtotal $172.50.
  • Feature flags: 1 million requests, entirely inside the free tier. Subtotal $0.
  • Total: $325.40 a month, about $3,905 a year.

Mixpanel at the same event volume, sitting on a 1 million event Growth plan: 4 million billable events at $0.00028 is $1,120 a month. That is the punishment rate, not the intended price, and Mixpanel says so on the page. A right sized 5 million event plan costs materially less. We are not quoting a figure for it because Mixpanel does not publish one.

Three structural details matter more than the headline rate.

PostHog lets you set a spend limit per product, and on the free plan usage stops at the limit so you cannot be charged by surprise. Mixpanel's documentation states that setting a billing limit is not currently possible, and instead sends alerts at 85, 100, 110, 120, 200, 300 and 400 percent of plan volume. If a bad deploy triples your event volume, PostHog stops and Mixpanel invoices.

Mixpanel's add-ons are surcharges on data, not flat fees: Group Analytics adds 40 percent and Data Pipelines adds 20 percent of the additional data ingested. For a B2B product needing account level analysis, that 40 percent is a permanent multiplier.

In Mixpanel's favour, it excludes a named list of calls from billing, including $identify, $create_alias, $merge, $opt_in, session recording checkpoints and all profile creation and updates. On a heavily instrumented product that exclusion is worth real money, and PostHog has no equivalent.

Winner: PostHog, on transparency and spend control, not necessarily on the final invoice.

Data model and query access

This is the cleanest difference between the two.

PostHog ships a SQL editor that queries your raw tables directly: events, persons, groups, raw_session_replay_events, and any connected external source. It supports all four JOIN types, window functions, CTEs and subqueries. Its documented example of joining events to a Stripe customer table on email is the kind of thing that normally requires a warehouse first.

Mixpanel gives you ingestion, export and query APIs, warehouse connectors for pulling data in, and a Data Pipelines add-on at a 20 percent surcharge for pushing data out. It does not give you a SQL prompt against its own event store. The intended path is that you model in the warehouse and analyse in Mixpanel's report builder.

That is a product choice, not a gap: the builder is faster than SQL for the questions it was designed for. But if your answer is not one of the shapes it offers, PostHog gets you there and Mixpanel sends you to your warehouse.

Winner: PostHog, decisively, for anyone who will write the query.

Analysis depth: cohorts, retention and attribution

Mixpanel is the specialist and it shows on the plan sheet. Behavioural cohorts, multi-touch attribution, formulas and unlimited saved metrics, custom and borrowed properties, and statistical significance testing are all on the self-serve Growth plan. Free omits or limits them, and caps you at 5 saved reports per seat, which is the real constraint on that tier rather than the event count.

PostHog covers the same ground, and its warehouse joins let you build cohorts off external data Mixpanel would need imported first. What it lacks is Mixpanel's decade of refinement on the analysis surface itself: the report builder, the property picker, the way a half formed question turns into a chart. There is a workflow difference too. Mixpanel's Free plan blocks report viewing entirely once you pass 1 million events. PostHog's free tier stops ingesting but leaves existing reports readable.

Winner: Mixpanel, for teams whose main job is behavioural analysis rather than building.

Session replay

Mixpanel includes 10,000 replays a month on Free and 20,000 free a month on Growth, customisable to 500,000. PostHog includes 5,000 recordings free, then charges from $0.005 each, with mobile recordings metered separately at 2,500 free and $0.010 after. At the benchmark 50,000 recordings, PostHog costs $172.50 a month for replay alone; Mixpanel's Growth allowance covers a smaller site outright.

PostHog's counter is that replay sits beside error tracking, logs and exception capture in the same account, so a recording is one click from a stack trace. That is a real engineering advantage. It is not a pricing advantage.

Winner: Mixpanel on included volume and cost. PostHog on debugging workflow.

Feature flags and experimentation

PostHog includes feature flags with 1 million requests free a month and bills experiments through the same meter. No separate SKU, no plan gate.

Mixpanel is not absent here. It shipped Experimentation 2.0 with native flagging, sticky bucketing, guardrail metrics, cohort based targeting and third party flag integrations, documented on its experiments page. But its pricing page lists feature flags and experimentation under Enterprise, and shows experiment reporting and flags as add-ons rather than included features lower down. Flags on Mixpanel involve a conversation. On PostHog they involve a checkbox.

Winner: PostHog, on availability and price, with the caveat that Mixpanel's experiment analysis reads the same saved metrics and cohorts you already trust.

Self-hosting and open source

Only one of these can be self-hosted, and the honest version is more complicated than the marketing.

PostHog is open source under MIT with a Docker Compose deployment that runs on a single Linux VM with 4 vCPU, 16 GB RAM and 30 GB of storage. Then the disclaimers start. Self-hosted deployments are officially unsupported. PostHog publishes no CVEs, because it has no versions, shipping continuously from master. New Kubernetes deployments are no longer supported. There is no customer support for self-hosted instances. And critically: "All paid-plan features are Cloud-only." PostHog's own decision flowchart argues against self-hosting for nearly every reason someone might want it, including cost, where it says it has never seen the maths work out.

Mixpanel is cloud only, with US or EU data residency, GDPR and CCPA compliance and native SOC 2 Type II.

Winner: PostHog, but only for the buyer who needs the code in their own infrastructure for compliance and can accept an unsupported deployment. For everyone else this should not break the tie.

Implementation burden and who operates it

Both ship autocapture, so both can be recording page views and clicks minutes after the snippet goes live. Mixpanel's narrower surface means less to configure before the first chart is useful. PostHog's install is not harder, but with nine or more metered products the setup work is partly commercial: deciding which meters to turn on and where to cap them.

Underneath that is the decision this whole comparison rests on. PostHog's centre of gravity is the engineer. The SQL editor, the flag SDKs, the self-host option, error tracking, and a pricing model built from per product meters and spend caps all assume someone technical owns the account. Support reflects it: community on free, email on pay as you go, a Slack channel above $2,000 a month. Mixpanel's centre of gravity is the product manager and analyst: unlimited seats on every plan including Free, a report builder for people who do not write SQL, 24/5 support on paid plans, and a governance layer built to stop a large non-technical user base wrecking the taxonomy.

Pick the one that matches the person who will look at it every day, not the person choosing it.

Governance, security and access control

PostHog sells these as platform packages on top of usage: Boost at $250 a month for unlimited projects, white labelling, SSO and 2FA enforcement, access control and a HIPAA BAA; Scale at $750 a month adding SAML, approval workflows and priority support; Enterprise at custom pricing for RBAC, SCIM and property level access control. Verified August 2026.

Mixpanel bundles governance into Enterprise: SAML SSO and SCIM, audit logs, report level permissions, sensitive data classification, compartmentalised data access, HIPAA tooling and custom retention. It publishes no Enterprise price, and notes its MTU based Enterprise plan starts at $20,000 a year. So a mid sized team needing SSO enforcement can buy it from PostHog for $250 a month with a card, or start a procurement cycle with Mixpanel.

Winner: PostHog on cost and speed of access to the controls. Mixpanel on the depth of the governance itself, particularly sensitive data classification and compartmentalised access, which PostHog does not match.

PostHog advantages

  • Full SQL over your own event data, with JOINs across PostHog tables and connected sources.
  • Feature flags and experiments in the same account and bill, 1 million flag requests free monthly.
  • The entire rate card published, at every volume tier, for every product.
  • Per product spend limits, so a runaway deploy cannot produce a runaway invoice.
  • Access controls and SSO enforcement available self-serve at $250 a month.

Mixpanel advantages

  • The stronger behavioural analysis surface: cohorts, retention, flows, formulas and significance testing, all self-serve.
  • Double the free session replay allowance on Free, quadruple it on Growth.
  • A published list of event types excluded from billing, which materially lowers the metered count.
  • Unlimited seats on every plan including Free, so analysis is never rationed by licence.
  • Deeper data governance at the top of the range: sensitive data classification, compartmentalised access.

Choose PostHog if you...

  • Have an engineer who will own the account and use the SQL editor.
  • Want flags, experiments, replay and analytics on one invoice rather than four.
  • Need a published rate card before signing anything.
  • Are worried about a traffic spike producing a bill you did not approve.
  • Have a compliance requirement that genuinely needs the code in your own infrastructure.

Choose Mixpanel if you...

  • Have product managers and analysts, not engineers, asking the daily questions.
  • Live in cohorts and retention curves rather than ad hoc queries.
  • Want behavioural depth and multi-touch attribution without a sales conversation.
  • Send heavy identity and profile traffic that Mixpanel would not bill you for.
  • Need session replay volume included rather than metered.

Conclusion

PostHog and Mixpanel are not competing for the same seat. PostHog is an engineering platform with excellent analytics attached, priced with unusual transparency and controllable to the dollar. Mixpanel is an analysis product with real depth, priced with less transparency but with a better replay allowance and a billing model that forgives heavy identity instrumentation. At the benchmark workload PostHog's published rates come to $325.40 a month; Mixpanel's comparable committed price is not published, which is itself a finding.

Choose on who operates the tool. Engineers who write SQL and ship behind flags will be happier on PostHog. Product managers who live in cohort and retention analysis will be happier on Mixpanel.

One scoping note, since we build in this space: Humblytics is analytics and A/B testing for growth leads and agencies running paid ads, where the question is which page and which ad produced Stripe revenue rather than which feature drove retention, so it answers a different question than either platform here and is not a replacement for their cohort, retention or behavioural segmentation work.

Frequently asked questions

Is PostHog cheaper than Mixpanel?

At small volumes both are free: PostHog gives 1 million events, 5,000 recordings and 1 million flag requests a month, Mixpanel gives 1 million events and 10,000 session replays. Above that, PostHog's published rate starts at $0.00005 per event and falls to $0.000009 above 250 million. Mixpanel publishes only its 1 million plan overage rate of $0.00028 per event and prices committed volume privately, so a direct comparison above the free tier cannot be made from public information alone. Verified August 2026.

Can you write SQL in Mixpanel?

Not against Mixpanel's own event store from inside the product. Mixpanel offers ingestion, export and query APIs, warehouse connectors for bringing data in, and a Data Pipelines add-on at a 20 percent surcharge for sending events out to a warehouse where you can run SQL. PostHog ships a SQL editor that queries its events, persons and session replay tables directly, including JOINs to connected external sources.

Does Mixpanel have feature flags?

Yes. Mixpanel shipped native feature flagging alongside Experimentation 2.0, with cohort based targeting, sticky bucketing and guardrail metrics. On the pricing page, though, feature flags and experimentation sit under the Enterprise plan and appear as add-ons rather than included features, so they are not part of the self-serve Growth plan the way PostHog includes them in its usage based pricing.

Can I self-host Mixpanel?

No. Mixpanel is cloud only, with US or EU data residency, GDPR and CCPA compliance and native SOC 2 Type II certification. PostHog can be self-hosted under an MIT licence via Docker Compose, but PostHog states that self-hosted deployments are officially unsupported, that no CVEs are published, and that all paid plan features are cloud only.

What happens if I exceed my event allowance?

On PostHog's free plan usage stops at the limit so you cannot be charged by surprise, and on pay as you go each product carries a billing limit you set. On Mixpanel's Free plan you are blocked from viewing reports once you pass 1 million monthly events until the allowance resets. On Mixpanel Growth data keeps flowing and the overage is billed the following month, and Mixpanel's documentation states that setting a billing limit is not currently possible.

Which is better for a B2B SaaS product?

Mixpanel, if account level analysis is central, but read the terms first. Its Group Analytics add-on costs an additional 40 percent of the data ingested, and Mixpanel's documentation warns that it cannot be implemented retroactively for events already ingested, so the decision has to be made before you instrument. PostHog has a groups concept with no percentage surcharge.

Do both offer an MCP server for agents?

Yes. PostHog lists PostHog MCP alongside its web app and Slack app as a surface its free tier applies across. Mixpanel ships Mixpanel MCP alongside Mixpanel Agent and Mixpanel Headless. Neither is unique in this: MCP servers are now standard across the analytics and experimentation category.