Softwr

Software · head to head

KeystoneJS vs PostHog

KeystoneJS logo

KeystoneJS

Software

Powerful Node.js headless CMS framework and API platform

From
Free
Rated
-
PostHog logo

PostHog

Software

The single platform to analyze, test, observe, and deploy new features

From
Free
Rated
-

The short version

  • Each has a real cost: KeystoneJS database support is limited to PostgreSQL, MySQL and SQLite; PostHog the free tier covers 1M events, 5K web session recordings and 2.5K mobile recordings per month before usage-based billing starts
  • They diverge on capability: KeystoneJS covers REST API, PostHog covers Product analytics.

Where they differ

Only the attributes on which KeystoneJS and PostHog actually diverge.

Attributes where KeystoneJS and PostHog differ
AttributeKeystoneJSPostHog
Pricing modelopen-sourceusage-based
PlatformsNode.js, Self-hostedWeb, Ios, Android, Api
Founded20162020

Identical on both: starting price (Free), free tier (Yes), user rating (Not yet rated), category (Unknown).

What each one covers

Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in KeystoneJS

  • REST API
  • GraphQL API
  • Admin interface
  • Node.js
  • Next.js
  • React
  • Databases
  • Node.js support

Only in PostHog

  • Product analytics
  • Session recording
  • Feature flags
  • A/B testing
  • Heatmaps
  • SQL access
  • Data warehouse
  • Apps platform

What people use each for

The jobs each tool is most often brought in to do.

KeystoneJS

  • Building a headless CMS with a GraphQL API from a TypeScript schemanot PostHog
  • Generating a configurable Admin UI for editorsnot PostHog
  • Adding structured rich text content with the document fieldnot PostHog

PostHog

  • Product analyticsnot KeystoneJS
  • Feature experimentationnot KeystoneJS
  • User behavior trackingnot KeystoneJS
  • A/B testingnot KeystoneJS
  • Debug production issuesnot KeystoneJS

Where each one falls short

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

KeystoneJS

  • Database support is limited to PostgreSQL, MySQL and SQLite
  • Keystone 5 is a separate legacy product documented on a different site and is not covered by the Keystone 6 docs
  • Upgrading requires following a dedicated Migrate to 8.0.0 guide, so major versions are not drop-in
  • Free support is a community Slack; enterprise-grade consulting and support is a separate paid engagement with Thinkmill and no published price

PostHog

  • The free tier covers 1M events, 5K web session recordings and 2.5K mobile recordings per month before usage-based billing starts
  • Accounts without a card on file are limited to 1 project; adding one raises it to 6
  • Data retention is 1 year until a card is added, which extends it to 7 years
  • Support is community-only until the account is on a paid plan
  • Error tracking is capped at 100K exceptions and surveys at 1500 responses per month on the free tier

Pricing, plan by plan

KeystoneJS

Free
  • Open SourceFree
    • Full KeystoneJS
    • Community support

PostHog

Free
  • FreeFree
    • 1M events/month
    • 5K sessions/month
    • Unlimited users
  • Paid$undefined/month
    • $0.00031/event
    • $0.005/session
    • Advanced permissions
  • Enterprise$undefined/month
    • SAML SSO
    • Advanced security
    • Dedicated support

Which should you pick?

Choose KeystoneJS if

  • You need rest api.
  • You want to start without paying.
  • You work on Node.js, Self-hosted.
  • You also want graphql api.

Choose PostHog if

  • You need product analytics.
  • You want to start without paying.
  • You work on Web, Ios, Android, Api.
  • You also want session recording.

Questions people ask

Is KeystoneJS or PostHog better?
Neither clearly leads. KeystoneJS starts at Free and PostHog at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, KeystoneJS or PostHog?
KeystoneJS starts at Free and PostHog at Free.
Does KeystoneJS or PostHog run on more platforms?
KeystoneJS runs on Node.js, Self-hosted. PostHog runs on Web, Ios, Android, Api.
Can I use KeystoneJS for free?
Both have a free tier, so you can try either at no cost before committing.
What is KeystoneJS best used for?
KeystoneJS is most often used for building a headless cms with a graphql api from a typescript schema, generating a configurable admin ui for editors, adding structured rich text content with the document field. Of those, building a headless cms with a graphql api from a typescript schema and generating a configurable admin ui for editors are not what PostHog is typically brought in for.
What can KeystoneJS do that PostHog cannot?
KeystoneJS covers REST API, GraphQL API, Admin interface, Node.js. PostHog covers Product analytics, Session recording, Feature flags, A/B testing.

Related pages

Other head to heads