APIs · head to head
Hasura vs PubNub

Hasura
APIs
GraphQL engine that instantly creates production-ready GraphQL API from databases
- From
- Free
- Rated
- -

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.
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.
SourcePubNub: 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.
SourceHasura: 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.
SourcePubNub: 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.
SourceHasura: 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.
SourcePubNub: 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.
SourceRelated pages
Other head to heads
- Hasura vs PocketBase
- Hasura vs Parse Server
- Hasura vs Appwrite
- Hasura vs GraphQL Apollo
- Hasura vs GraphQL Playground
- Hasura vs Directus
- Hasura vs Asyncapi
- Hasura vs Janus Gateway
- Hasura vs Strapi
- Hasura vs Gravitee
- Hasura vs Bruno
- Hasura vs KeystoneJS
- Hasura vs Lithic
- Hasura vs Stoplight
- Hasura vs Swan
- Hasura vs Temenos Transact
- Hasura vs Token.io
- Hasura vs Treasury Prime
- Hasura vs Pusher
- Hasura vs Ably
- Hasura vs Liveblocks
- Hasura vs Svix
- Hasura vs Apollo GraphQL
- Hasura vs Yapily
- Hasura vs Increase
- Hasura vs Episode Six
- Hasura vs Moov
- Hasura vs MX Technologies
- Hasura vs Meniga
- Hasura vs Skaleet
- Hasura vs Synctera
- PubNub vs PocketBase
- PubNub vs Parse Server
- PubNub vs Appwrite
- PubNub vs GraphQL Apollo
- PubNub vs GraphQL Playground
- PubNub vs Directus
- PubNub vs Asyncapi
- PubNub vs Janus Gateway
- PubNub vs Strapi
- PubNub vs Gravitee
- PubNub vs Bruno
- PubNub vs KeystoneJS
- PubNub vs Lithic
- PubNub vs Stoplight
- PubNub vs Swan
- PubNub vs Temenos Transact
- PubNub vs Token.io
- PubNub vs Treasury Prime
- PubNub vs Pusher
- PubNub vs Ably
- PubNub vs Liveblocks
- PubNub vs Svix
- PubNub vs Apollo GraphQL
- PubNub vs Yapily
- PubNub vs Increase
- PubNub vs Episode Six
- PubNub vs Moov
- PubNub vs MX Technologies
- PubNub vs Meniga
- PubNub vs Skaleet
- PubNub vs Synctera
