← Blog

PostHog pricing when you only want feature flags

PostHog pricing for feature flags starts at zero: free for the first 1,000,000 requests a month. Past that, the meter runs on a tiered rate, $0.0001 per request to 2 million, $0.000045 to 10 million, $0.000025 to 50 million, and $0.00001 beyond. There is no base fee on the flags line itself.

For a team that also wants PostHog’s analytics, session replay, and surveys, that’s most of the story. But flags are one line item inside a much bigger platform, and the two things a flags-only team usually needs next, SSO and SAML, live behind a separate, workspace-wide fee that has nothing to do with flag volume.

This post walks the actual per-request tiers, what counts as a billable request, the platform packages that sit next to the meter, and the real monthly bill at a few realistic volumes.

Key Takeaways

  • PostHog’s feature flags (bundled with experiments, one meter) are free to 1,000,000 requests a month, then $0.0001/request to 2M, $0.000045 to 10M, $0.000025 to 50M, and $0.00001 beyond.
  • A “request” isn’t one per flag checked. It’s counted per SDK call, and a single always-on backend without ETag support can burn 864,000 requests a month from polling alone.
  • There’s no base fee on the flags meter, but SSO enforcement needs the $250/mo Boost package and SAML needs the $750/mo Scale package, billed across the whole workspace.
  • A team at 10 million flag requests a month pays about $460 in usage. Add Scale for a SAML requirement and the same team pays $1,210/mo, most of it unrelated to flags.
  • dif’s CLI and SDK are free and MIT licensed with no request meter. dif Cloud, the optional hosted layer, is a flat $50/mo.

What PostHog charges for feature flags

PostHog treats feature flags and experiments as one product with one meter. PostHog’s pricing page lists a straight volume curve: no seats, no per-flag charge, just a declining rate as volume grows.

Monthly requestsPrice per request
First 1,000,000Free
1,000,001 - 2,000,000$0.0001
2,000,001 - 10,000,000$0.000045
10,000,001 - 50,000,000$0.000025
50,000,000+$0.00001

There’s no charge for how many flags you define, and no per-seat line anywhere on this meter. The only variable is how often your app calls out for a flag decision.

What counts as a request

A request isn’t one per flag your code checks. On the frontend, PostHog counts a request when the SDK initializes, a user is identified, user properties update, reloadFeatureFlags() is called, or a group is created, regardless of how many flags that call returns.

On the backend, it depends on local evaluation. Without it, every flag evaluation is one request. With it, your server polls for flag definitions on an interval (30 seconds by default) and evaluates locally, and the billing splits sharply: one request per poll if the SDK version supports ETags and nothing changed, ten requests per poll if it doesn’t support ETags.

That multiplier matters more than the per-request price. PostHog’s own billing guide works the math: one always-on backend instance polling every 30 seconds generates about 86,400 requests a month with ETag support, or 864,000 without it. That’s most of the free tier consumed by a single server checking in on itself, before a user ever sees a flag.

The math at real volume

Run the published tiers against two sizes of team.

A team at 3 million flag requests a month pays nothing on the first million, $100 on the next million, and $45 on the million after that. Total: $145/month.

A team at 10 million requests a month pays the same $100 for the second million, then $360 for the remaining 8 million at the $0.000045 rate. Total: $460/month. On an older SDK without ETag support, a meaningful share of that 10 million could be one backend instance polling in the background, not real user traffic.

Where the platform fee hides

Feature flags carry no base fee, but most teams asking about PostHog pricing are also asking a second question: what does it cost to turn on SSO. That answer lives outside the flags meter entirely, in PostHog’s platform packages, billed per workspace regardless of flag volume:

  • Boost costs $250/mo and adds unlimited projects, white labeling, a HIPAA BAA, and SSO enforcement.
  • Scale costs $750/mo, includes everything in Boost, and adds SAML plus priority support.
  • Enterprise is a custom quote that includes everything in Scale, plus role-based access control, dedicated support, and training.

A security review that requires SAML, a normal ask once a company passes a few dozen employees, puts a team on Scale. Run the 10-million-request team from above through that requirement: $460 in flag usage plus $750 for Scale is $1,210 a month, and $750 of that is unrelated to feature flags. It’s the price of the rest of the platform.

What a flags-only team is actually buying

PostHog’s flags evaluate through the same SDK that captures analytics events, session replay, and surveys. That’s the product: one dashboard for analytics and experimentation together, and for a team that wants all of it, the breadth is a real strength.

For a team that wants only the flag, you’re still running the project structure, the dashboard, and the org settings built for the full suite. That’s not a flaw in PostHog. It’s a mismatch for a narrower ask: a flag that gates one feature doesn’t need a session-replay pipeline sitting next to it.

dif’s model: a flag is a file, not a product line

dif skips the platform question because there’s no platform. Every feature flag lives in your repo as one Markdown file:

---
id: new-pricing-page
status: active
owner: sam@acme.com
surface: pricing
audience:
  include:
    - plan: [trial]
variants:
  - id: "off"
    weight: 80
  - id: "on"
    weight: 20
metrics:
  primary: upgraded_to_paid
---

## Brief

Hold at 20% until trial-to-paid conversion has two weeks of data.

There’s no request to meter, because evaluation never leaves the process. The SDK is about 5 kB gzipped and makes no network call to pick a variant. The .md format covers the full file structure, and the open-source LaunchDarkly alternative post covers the broader files-versus-dashboard argument.

Install is npm install -g @dif.sh/cli, then dif init. The CLI reference documents every verb. No account, no API key, and no platform package gating it.

Side by side

PlanEntry priceFlag meterSSOSAML
PostHog, flags onlyFree to 1M req/mo$0.0001 to $0.00001 per request past 1MBoost, $250/moScale, $750/mo
dif CLI + SDKFree (MIT)No meterGit / PR access controlGit / PR access control
dif Cloud Pro$50/mo (or $500/yr)1M events included, then $0.02 per 1kNot on ProNot on Pro
dif Cloud EnterpriseCustom quotePooled eventsIncludedIncluded

Where PostHog is the right pick

PostHog wins outright on two things. The free tier is real: 1 million flag requests a month covers most small apps with room to spare, and the open-source edition is self-hostable for free if you’d rather run the infrastructure yourself. And if the goal really is one dashboard for product analytics, session replay, surveys, and experiments together, PostHog’s breadth is hard to match by bolting together separate tools.

dif doesn’t compete on that breadth and doesn’t pretend to. There’s no built-in session replay or surveys. Analytics is bring-your-own (Segment, Amplitude, a webhook) or the optional dif Cloud layer. If a single dashboard for everything is the goal, PostHog is the better fit.

FAQ

How much does PostHog charge for feature flags? Feature flags (bundled with experiments) are free for the first 1,000,000 requests a month, then $0.0001 per request to 2 million, $0.000045 to 10 million, $0.000025 to 50 million, and $0.00001 beyond. There’s no base fee on the flags line.

What counts as a “request” in PostHog’s feature flag pricing? It’s counted per SDK call, not per flag checked. Frontend calls (SDK init, identify, reloadFeatureFlags()) count once each. Backend local evaluation polls count once per poll with ETag support, or ten times per poll without it, which can add up fast on an always-on server.

Does PostHog charge extra for SSO or SAML? Yes. SSO enforcement requires the $250/mo Boost platform package, and SAML requires the $750/mo Scale package. Both are billed per workspace, independent of flag request volume.

Is PostHog free for small teams that only want feature flags? Up to 1 million requests a month, yes, with no card required. Past that volume, or past a need for SAML, the bill grows from two different places: the usage meter and the platform package.

Is there a feature-flag-only alternative to PostHog? Yes. dif’s CLI and SDK are free, MIT licensed, and limited to flags and experiments as files in your repo, with no analytics platform attached. Install with npm install -g @dif.sh/cli and run dif init.

Can I self-host PostHog instead of paying for Cloud? Yes. PostHog’s open-source edition is self-hostable at no cost. You run the infrastructure yourself instead of PostHog Cloud billing you per request.

The bottom line on PostHog pricing

The usage meter is the cheap part. Free to a million requests, and still under $500 a month at 10 million, most teams never feel the per-request rate at all. The number worth planning around is the platform fee: $250/mo for SSO or $750/mo for SAML, charged across the whole workspace the moment a security review asks for either.

If you want the full suite, analytics, session replay, surveys, and flags together, that platform fee buys a lot. If a flag is the only thing on the list, you’re paying for a platform you don’t use to get a checkbox you do need.

dif’s answer is to skip the platform. Flags are Markdown files, the CLI and SDK are free forever, and dif Cloud, when you want hosted analysis, is a flat $50/mo with no per-request meter. Run npm install -g @dif.sh/cli, then dif init, and read the file format for yourself. No account, and no platform tier to buy before you can start.