Softwr

APIs · head to head

Hasura vs PubNub

Hasura logo

Hasura

APIs

GraphQL engine that instantly creates production-ready GraphQL API from databases

From
Free
Rated
-
PubNub logo

PubNub

APIs

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

From
Free
Rated
-

The short version

  • Each has a real cost: Hasura active model definition: model/command accessed more than 1,000 times monthly; PubNub free plan storage history is limited to 7 days, which is short for apps needing longer message retention.
  • They diverge on capability: Hasura covers GraphQL API, PubNub covers Pub/sub messaging.
  • Prices and features above were last checked on 30 August 2026.

Where they differ

Only the attributes on which Hasura and PubNub actually diverge.

Attributes where Hasura and PubNub differ
AttributeHasuraPubNub
PlatformsWebweb, ios, android, api
Founded2017Unknown

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

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 Hasura

  • GraphQL API
  • Real-time subscriptions
  • Access control
  • PostgreSQL
  • MySQL
  • Webhooks
  • REST APIs
  • Cloud support

Only in PubNub

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

What people use each for

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

Hasura

  • Automatic GraphQL API generation from existing databasesnot PubNub
  • Real-time data subscriptions for modern applicationsnot PubNub
  • Backend infrastructure for web and mobile applicationsnot PubNub
  • Event-triggered webhooks for database changesnot PubNub

PubNub

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

Where each one falls short

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

Hasura

  • Active model definition: model/command accessed more than 1,000 times monthly
  • Private DDN requires Base or Advanced plan

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.

Pricing, plan by plan

Hasura

Free
  • DDN FreeFree
    • Unlimited models
    • 1 supergraph developer
    • 15-minute observability retention
  • DDN Base$5/month
    • Per active model billing
    • Unlimited developers
    • 30-day observability retention
  • DDN Advanced$30/month
    • Per active model billing
    • Federated collaboration
    • Multi-repo CI/CD

PubNub

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

Which should you pick?

Choose Hasura if

  • You need graphql api.
  • You want to start without paying.
  • You also want real-time subscriptions.

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 Hasura or PubNub better?
Neither clearly leads. Hasura starts at Free and PubNub at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, Hasura or PubNub?
Hasura starts at Free and PubNub at Free.
Does Hasura or PubNub run on more platforms?
Hasura runs on Web. PubNub runs on web, ios, android, api.
Can I use Hasura for free?
Both have a free tier, so you can try either at no cost before committing.
What is Hasura best used for?
Hasura is most often used for automatic graphql api generation from existing databases, real-time data subscriptions for modern applications, backend infrastructure for web and mobile applications, event-triggered webhooks for database changes. Of those, automatic graphql api generation from existing databases and real-time data subscriptions for modern applications are not what PubNub is typically brought in for.
What can Hasura do that PubNub cannot?
Hasura covers GraphQL API, Real-time subscriptions, Access control, PostgreSQL. PubNub covers Pub/sub messaging, Presence tracking, Message persistence, Serverless Functions.

Answered from the vendors’ own pages

Hasura: How much does Hasura cost?

Hasura DDN Free is free. DDN Base starts at $5/active model/month, and DDN Advanced starts at $30/active model/month.

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
Hasura: What is an active model in Hasura pricing?

An active model is defined as any model or command accessed more than 1,000 times monthly.

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
Hasura: Is there a free version of Hasura?

Yes, Hasura DDN Free is always free and includes unlimited models, 1 supergraph developer, and 15-minute observability retention.

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