APIs · head to head
Nhost vs PubNub

Nhost
APIs
Postgres backend with GraphQL, authentication, storage and functions, from $25 a month
- From
- Free
- Free plan
- Yes

PubNub
APIs
Realtime communication platform for chat, IoT, and live data apps
- From
- Free
- Free plan
- Yes
The short version
- Nhost is a hosted backend platform.
- Free plans on both; paid from $25/mo and $98/mo.
- Only Nhost lists postgres database; only PubNub lists pub/sub messaging.
- Where Nhost falls short: the API layer is Hasura GraphQL, so teams who want a REST-first or other access pattern are working against the platform's default.
- Where PubNub falls short: free plan storage history is limited to 7 days, which is short for apps needing longer message retention.
How do Nhost and PubNub differ?
Nhost and PubNub differ on pricing model and platforms. Only the attributes on which Nhost and PubNub actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: category for Nhost, founded for Nhost.
Which features does each one have?
They share no listed features; 8 appear only for Nhost 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 Nhost
- Postgres database
- Hasura GraphQL
- Authentication
- Storage
- Functions
- AI toolkit
- Nhost Run
- Infrastructure as code
Only in PubNub
- Pub/sub messaging
- Presence tracking
- Message persistence
- Serverless Functions
- File sharing
- Encryption and access controls
What is each one used for?
Nhost is most often brought in for A startup that wants Postgres, auth and a GraphQL API without writing a backend; PubNub for building realtime chat applications. The jobs each tool is most often brought in to do.
Nhost
- A startup that wants Postgres, auth and a GraphQL API without writing a backendnot PubNub
- A React or Vue team using real-time GraphQL subscriptionsnot PubNub
- A developer who wants backend config in git through the CLInot PubNub
- An app that needs file storage and auth plus a few server functionsnot PubNub
PubNub
- Building realtime chat applicationsnot Nhost
- Streaming live IoT sensor datanot Nhost
- Adding presence indicators to collaborative appsnot Nhost
- Running edge logic with serverless Functions on realtime eventsnot Nhost
Where do Nhost and PubNub fall short?
PubNub's most cited limit: 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.
Nhost
- The API layer is Hasura GraphQL, so teams who want a REST-first or other access pattern are working against the platform's default
- Starter projects are paused after one week of inactivity, which makes the free tier unsuitable for anything that must stay available
- Point-in-time recovery starts at $100 on top of the plan, so recovery beyond the 7 days of daily backups is an extra cost
- Compute, custom domains ($10 per project per month), egress and storage overage are metered, so the plan fee understates the running bill for a busy app
- Team costs $599 a month, a large jump from Pro at $25, so growing teams that need the Team tier's limits face a steep step
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 Nhost and PubNub cost?
Nhost 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.
Nhost
Free- StarterFree
- 1 project and 1 workspace member
- 1 GB database, 1 GB storage, 5 GB egress
- 10 functions with 10 second execution time
- Pro$25/mo
- $15 in compute credits included
- 10 GB database, 50 GB storage, 50 GB egress
- 50 functions, 180 second execution time
- Team$599/mo
- $15 in compute credits included
- Everything in Pro, with 600 second function execution time
- EnterpriseOn request
- Custom pricing
- Dedicated clusters available as an add-on
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 Nhost if
- You need postgres database.
- You want to start without paying.
- You also want hasura graphql.
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 Nhost or PubNub better?
- It depends on the job. Nhost fits a startup that wants Postgres, auth and a GraphQL API without writing a backend; PubNub fits building realtime chat applications. Nhost starts at Free and PubNub at Free.
- Which is cheaper, Nhost or PubNub?
- Nhost starts at Free and PubNub at Free.
- Does Nhost or PubNub run on more platforms?
- Nhost runs on Web. PubNub runs on Web, iOS, Android, API.
- Can I use Nhost for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Nhost best used for?
- Nhost is most often used for a startup that wants postgres, auth and a graphql api without writing a backend, a react or vue team using real-time graphql subscriptions, a developer who wants backend config in git through the cli, an app that needs file storage and auth plus a few server functions. Of those, a startup that wants postgres, auth and a graphql api without writing a backend and a react or vue team using real-time graphql subscriptions are not what PubNub is typically brought in for.
- What can Nhost do that PubNub cannot?
- Nhost covers Postgres database, Hasura GraphQL, Authentication, Storage. PubNub covers Pub/sub messaging, Presence tracking, Message persistence, Serverless Functions.
Answered from the vendors’ own pages
Nhost: How much does Nhost cost?
Starter is $0, Pro is $25 a month and Team is $599 a month, plus metered usage beyond included amounts. Enterprise is custom.
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.
SourceNhost: Does the free plan pause?
Yes. Starter projects are paused after one week of inactivity.
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.
SourceNhost: Are there user limits on auth?
No. The pricing page lists unlimited total users on every plan.
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.
SourceRelated pages
Other head to heads
- Nhost vs Cloudflare Workers
- Nhost vs AppSignal
- Nhost vs Kiro
- Nhost vs Jenkins
- Nhost vs Jitsu
- Nhost vs Frappe
- Nhost vs Gitea
- Nhost vs Deno
- Nhost vs Blacksmith
- Nhost vs Atlantis
- Nhost vs Graphite
- Nhost vs LocalStack
- Nhost vs Beefree SDK
- Nhost vs Datadog APM
- Nhost vs Deep Code
- Nhost vs env zero
- Nhost vs Fig
- Nhost vs GoLand
- Nhost vs Pusher
- Nhost vs Ably
- Nhost vs Liveblocks
- Nhost vs Novu
- Nhost vs Courier
- Nhost vs api.video
- Nhost vs Svix
- Nhost vs Yapily
- Nhost vs Lithic
- Nhost vs Mux
- Nhost vs MX Technologies
- Nhost vs Increase
- Nhost vs 10x Banking
- Nhost vs Bruno
- Nhost vs Marqeta
- Nhost vs Temenos Transact
- Nhost vs Apidog
- Nhost vs Microsoft Azure API Management
- PubNub vs Cloudflare Workers
- PubNub vs AppSignal
- PubNub vs Kiro
- PubNub vs Jenkins
- PubNub vs Jitsu
- PubNub vs Frappe
- PubNub vs Gitea
- PubNub vs Deno
- PubNub vs Blacksmith
- PubNub vs Atlantis
- PubNub vs Graphite
- PubNub vs LocalStack
- PubNub vs Beefree SDK
- PubNub vs Datadog APM
- PubNub vs Deep Code
- PubNub vs env zero
- PubNub vs Fig
- PubNub vs GoLand
- PubNub vs Pusher
- PubNub vs Ably
- PubNub vs Liveblocks
- PubNub vs Novu
- PubNub vs Courier
- PubNub vs api.video
- PubNub vs Svix
- PubNub vs Yapily
- PubNub vs Lithic
- PubNub vs Mux
- PubNub vs MX Technologies
- PubNub vs Increase
- PubNub vs 10x Banking
- PubNub vs Bruno
- PubNub vs Marqeta
- PubNub vs Temenos Transact
- PubNub vs Apidog
- PubNub vs Microsoft Azure API Management
