Softwr

APIs · head to head

KeystoneJS vs PubNub

KeystoneJS logo

KeystoneJS

APIs

Powerful Node.js headless CMS framework and API platform

From
Free
Free plan
Yes
PubNub logo

PubNub

APIs

Realtime communication platform for chat, IoT, and live data apps

From
Free
Free plan
Yes

The short version

  • KeystoneJS is a powerful, flexible headless CMS and API platform.
  • KeystoneJS is free; PubNub starts at $98/mo.
  • Only KeystoneJS lists REST API; only PubNub lists pub/sub messaging.
  • Where KeystoneJS falls short: database support is limited to PostgreSQL, MySQL and SQLite.
  • Where PubNub falls short: free plan storage history is limited to 7 days, which is short for apps needing longer message retention.

How do KeystoneJS and PubNub differ?

KeystoneJS and PubNub differ on pricing model (Open-source against Freemium), platforms and year founded (2016 against 2010). Only the attributes on which KeystoneJS and PubNub actually diverge.

Attributes where KeystoneJS and PubNub differ
AttributeKeystoneJSPubNub
Pricing modelOpen-sourceFreemium
PlatformsAPI, Self-hostedWeb, iOS, Android, API
Founded20162010

Identical on both: starting price (Free), free tier (Yes), category (APIs).

Which features does each one have?

They share no listed features; 9 appear only for KeystoneJS and 6 only for PubNub. 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 PubNub

  • Pub/sub messaging
  • Presence tracking
  • Message persistence
  • Serverless Functions
  • File sharing
  • Encryption and access controls

What is each one used for?

KeystoneJS is most often brought in for headless CMS implementation; PubNub for building realtime chat applications. The jobs each tool is most often brought in to do.

KeystoneJS

  • Headless CMS implementationnot PubNub
  • Content management systemsnot PubNub
  • Customizable API-driven applicationsnot PubNub

PubNub

  • Building realtime chat applicationsnot KeystoneJS
  • Streaming live IoT sensor datanot KeystoneJS
  • Adding presence indicators to collaborative appsnot KeystoneJS
  • Running edge logic with serverless Functions on realtime eventsnot KeystoneJS

Where do KeystoneJS and PubNub fall short?

KeystoneJS's most cited limit: database support is limited to PostgreSQL, MySQL and SQLite. PubNub's: free plan storage history is limited to 7 days, which is short for apps needing longer message retention. 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

PubNub

  • Free plan storage history is limited to 7 days, which is short for apps needing longer message retention
  • MAU-based pricing means costs scale directly with user growth, which can be less predictable than flat message-based pricing
  • Pro-tier custom pricing above 50,000 MAU requires contacting sales rather than self-serve checkout

How much do KeystoneJS and PubNub cost?

KeystoneJS is free to use; PubNub has a free plan, with paid plans from $98/mo. Plan by plan below, from each vendor's own pricing page.

KeystoneJS

Free
  • Open SourceFree
    • Full KeystoneJS
    • Community support

PubNub

Free
  • FreeFree
    • Up to 200 MAU or 1M transactions
    • 1GB data storage (7 days)
    • 5 test Serverless Functions
  • Starter$98/mo
    • 1,000 MAU included
    • User management
    • Insights
  • ProOn request
    • Custom MAU packages
    • Volume discounts
    • Enterprise-scale configurations

Which should you pick?

Choose KeystoneJS if

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

Choose PubNub if

  • You need pub/sub messaging.
  • You want to start without paying.
  • You work on Web, iOS, Android, API.
  • You also want presence tracking.

Questions people ask

Is KeystoneJS or PubNub better?
It depends on the job. KeystoneJS fits headless CMS implementation; PubNub fits building realtime chat applications. KeystoneJS starts at Free and PubNub at Free.
Which is cheaper, KeystoneJS or PubNub?
KeystoneJS starts at Free and PubNub at Free.
Does KeystoneJS or PubNub run on more platforms?
KeystoneJS runs on API, Self-hosted. PubNub 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 headless cms implementation, content management systems, customizable api-driven applications. Of those, headless cms implementation and content management systems are not what PubNub is typically brought in for.
What can KeystoneJS do that PubNub cannot?
KeystoneJS covers REST API, GraphQL API, Admin interface, Node.js. PubNub covers Pub/sub messaging, Presence tracking, Message persistence, Serverless Functions.

Answered from the vendors’ own pages

KeystoneJS: Is KeystoneJS free?

Yes, KeystoneJS is free and open source with no licensing fees. Core platform has no lock-in and is contributed to by 250+ developers.

Source
PubNub: What does PubNub cost?

PubNub offers a free plan for up to 200 MAU or 1 million transactions, a Starter plan at $98/month for 1,000 MAU, and custom Pro pricing for larger volumes, e.g. around $550/month for 10,000 MAU.

Source
KeystoneJS: What are hosting costs for KeystoneJS?

KeystoneJS is self-hosted and deployment-agnostic. Hosting costs depend on your chosen deployment platform (Vercel, AWS, Heroku, etc.) and infrastructure, not KeystoneJS itself.

Source
PubNub: Is there a free plan, and what are its limits?

Yes, the free plan supports up to 200 monthly active users or 1 million transactions, includes 1GB of data storage retained for 7 days, and requires no credit card.

Source
KeystoneJS: Does KeystoneJS offer paid support?

Enterprise support with tailored options is available from Thinkmill, the company behind KeystoneJS. Pricing details available upon request.

Source
PubNub: How is usage metered?

PubNub bills primarily by Monthly Active Users, defined as a unique user who connects at least once in a billing cycle; messages are bundled into MAU pricing with no separate per-message fees, and overage is billed proportionally.

Source
Share

Related pages

Other head to heads