Softwr

APIs · head to head

Directus vs PubNub

Directus logo

Directus

APIs

Open-source data platform providing REST and GraphQL APIs

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

  • Directus is an open-source data platform.
  • Free plans on both; paid from $25/mo and $98/mo.
  • Only Directus lists REST API; only PubNub lists pub/sub messaging.
  • Where Directus falls short: the free Core tier is a hard limit of 3 seats, 25 collections and 5 flows.
  • Where PubNub falls short: free plan storage history is limited to 7 days, which is short for apps needing longer message retention.

How do Directus and PubNub differ?

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

Attributes where Directus and PubNub differ
AttributeDirectusPubNub
Pricing modelOpen-sourceFreemium
PlatformsAPI, Web, Self-hostedWeb, iOS, Android, API
Founded20142010

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

Which features does each one have?

They share no listed features; 11 appear only for Directus 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 Directus

  • REST API
  • GraphQL API
  • Database management
  • PostgreSQL
  • MySQL
  • SQLite
  • Webhooks
  • 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?

Directus is most often brought in for running a self hosted headless CMS over a schema you already own; PubNub for building realtime chat applications. The jobs each tool is most often brought in to do.

Directus

  • Wrapping an existing SQL database in a REST and GraphQL API with an admin interfacenot PubNub
  • Running a self hosted headless CMS over a schema you already ownnot PubNub

PubNub

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

Where do Directus and PubNub fall short?

Directus's most cited limit: the free Core tier is a hard limit of 3 seats, 25 collections and 5 flows. 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.

Directus

  • Free permissive use of the self hosted product is limited to organisations under $5M annual revenue with fewer than 50 employees, so crossing either threshold turns a free dependency into a paid licence
  • The free Core tier is a hard limit of 3 seats, 25 collections and 5 flows
  • The Team plan is $499 a month billed annually, or $599 monthly, with extra seats at $50 each
  • Team caps collections at 50, expandable to 100, and flows at 20

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 Directus and PubNub cost?

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

Directus

Free
  • CommunityFree
    • Self-hosted Directus
    • Community support
  • Cloud$25/mo
    • Managed cloud
    • Automatic updates
    • Backups

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 Directus if

  • You need rest api.
  • You want to start without paying.
  • You work on API, Web, 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 Directus or PubNub better?
It depends on the job. Directus fits wrapping an existing SQL database in a REST and GraphQL API with an admin interface; PubNub fits building realtime chat applications. Directus starts at Free and PubNub at Free.
Which is cheaper, Directus or PubNub?
Directus starts at Free and PubNub at Free.
Does Directus or PubNub run on more platforms?
Directus runs on API, Web, Self-hosted. PubNub runs on Web, iOS, Android, API.
Can I use Directus for free?
Both have a free tier, so you can try either at no cost before committing.
What is Directus best used for?
Directus is most often used for wrapping an existing sql database in a rest and graphql api with an admin interface, running a self hosted headless cms over a schema you already own. Of those, wrapping an existing sql database in a rest and graphql api with an admin interface and running a self hosted headless cms over a schema you already own are not what PubNub is typically brought in for.
What can Directus do that PubNub cannot?
Directus covers REST API, GraphQL API, Database management, PostgreSQL. PubNub covers Pub/sub messaging, Presence tracking, Message persistence, Serverless Functions.

Answered from the vendors’ own pages

Directus: What is Directus's pricing?

Directus Core is free and self-hosted. The Team tier costs $499/month (annual) or $599/month (rolling), including 10 user seats and cloud hosting at $99/month additional. Enterprise plans have custom pricing. Additional seats cost $50/month each.

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
Directus: Can I use Directus for free?

Yes, Directus Core is completely free with 3 user seats, 25 Collections, 5 Flows, AI Assistant, and Advanced RBAC. Self-hosting is available at no cost.

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
Directus: How many user seats does each Directus tier include?

Core includes 3 user seats, Team includes 10 SSO seats, and Enterprise includes custom SSO seat counts. Additional Team seats cost $50/seat per month.

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
Directus: What happens to my monthly Directus plan if I switch?

Monthly plans are grandfathered for six months after switching, and annual plans are honored until renewal. Self-hosted licenses are handled case-by-case at renewal.

Source
Directus: Is there a free trial for Directus?

No trial period is mentioned. Users can start with the free Core tier immediately without a credit card.

Source
Share

Related pages

Other head to heads