Softwr

APIs · head to head

Nhost vs PocketBase

Nhost logo

Nhost

APIs

Postgres backend with GraphQL, authentication, storage and functions, from $25 a month

From
Free
Free plan
Yes
PocketBase logo

PocketBase

APIs

Open-source backend with REST API, real-time subscriptions and Admin UI

From
Free
Free plan
Yes

The short version

  • Nhost is a hosted backend platform; PocketBase is a lightweight, open-source backend.
  • PocketBase is free; Nhost starts at $25/mo.
  • Only Nhost lists postgres database; only PocketBase lists REST API.
  • 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 PocketBase falls short: requires technical expertise to deploy and maintain.

How do Nhost and PocketBase differ?

Nhost and PocketBase differ on platforms. Only the attributes on which Nhost and PocketBase actually diverge.

Attributes where Nhost and PocketBase differ
AttributeNhostPocketBase
PlatformsWebLinux, Windows, macOS

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

Not yet recorded: pricing model for PocketBase, category for Nhost, founded for Nhost.

Which features does each one have?

They share no listed features; 8 appear only for Nhost and 9 only for PocketBase. 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 PocketBase

  • REST API
  • Real-time subscriptions
  • Admin UI
  • SQLite
  • Webhooks
  • File storage
  • Go support
  • Docker support

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; PocketBase for embedded realtime database with REST API. 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 PocketBase
  • A React or Vue team using real-time GraphQL subscriptionsnot PocketBase
  • A developer who wants backend config in git through the CLInot PocketBase
  • An app that needs file storage and auth plus a few server functionsnot PocketBase

PocketBase

  • Embedded realtime database with REST APInot Nhost
  • Backend-as-a-service for single-file deploymentsnot Nhost
  • Rapid application development with email/OAuth2 authenticationnot Nhost
  • File storage and media attachment managementnot Nhost
  • Lightweight alternative to Firebase or traditional backend infrastructurenot Nhost
  • Go and JavaScript customisable application frameworknot Nhost

Where do Nhost and PocketBase fall short?

PocketBase's most cited limit: requires technical expertise to deploy and maintain. 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

PocketBase

  • Requires technical expertise to deploy and maintain
  • No built-in hosting provided
  • Community support only

How much do Nhost and PocketBase cost?

Nhost has a free plan, with paid plans from $25/mo; PocketBase is free to use. 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

PocketBase

Free
  • PocketBase (open source, self-hosted)Free

Which should you pick?

Choose Nhost if

  • You need postgres database.
  • You want to start without paying.
  • You also want hasura graphql.

Choose PocketBase if

  • You need rest api.
  • You want to start without paying.
  • You work on Linux, Windows, macOS.
  • You also want real-time subscriptions.

Questions people ask

Is Nhost or PocketBase better?
It depends on the job. Nhost fits a startup that wants Postgres, auth and a GraphQL API without writing a backend; PocketBase fits embedded realtime database with REST API. Nhost starts at Free and PocketBase at Free.
Which is cheaper, Nhost or PocketBase?
Nhost starts at Free and PocketBase at Free.
Does Nhost or PocketBase run on more platforms?
Nhost runs on Web. PocketBase runs on Linux, Windows, macOS.
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 PocketBase is typically brought in for.
What can Nhost do that PocketBase cannot?
Nhost covers Postgres database, Hasura GraphQL, Authentication, Storage. PocketBase covers REST API, Real-time subscriptions, Admin UI, SQLite.

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.

PocketBase: How much does PocketBase cost?

PocketBase is completely free and open-source. It is a self-hosted backend solution with database, authentication, and file storage capabilities at no cost.

Source
Nhost: Does the free plan pause?

Yes. Starter projects are paused after one week of inactivity.

PocketBase: Is PocketBase open-source?

Yes, PocketBase is open-source software. You can download, modify, and deploy it yourself at no cost with no licensing restrictions.

Source
Nhost: Are there user limits on auth?

No. The pricing page lists unlimited total users on every plan.

Share

Related pages

Other head to heads