Softwr

Web Development · head to head

Gatsby vs Nhost

Gatsby logo

Gatsby

Web Development

Open-source React framework for building websites and apps

From
Free
Free plan
Yes
Nhost logo

Nhost

Web Development

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

From
Free
Free plan
Yes

The short version

  • Nhost is a hosted backend platform.
  • Gatsby is free; Nhost starts at $25/mo.
  • Only Gatsby lists react-based component development; only Nhost lists postgres database.
  • Where Gatsby falls short: Gatsby Cloud hosting ended in August 2023 and was merged into Netlify.
  • 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.

How do Gatsby and Nhost differ?

Gatsby and Nhost differ on pricing model and platforms. Only the attributes on which Gatsby and Nhost actually diverge.

Attributes where Gatsby and Nhost differ
AttributeGatsbyNhost
Pricing modelOpen-sourcePer month plus usage
PlatformsWeb, Windows, macOS, LinuxWeb

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

Not yet recorded: category for Nhost.

Which features does each one have?

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

  • React-based component development
  • GraphQL data layer
  • Plugin and theme ecosystem
  • Static site generation
  • Server-side rendering
  • Deferred Static Generation
  • Headless CMS integration
  • Cloud Functions support

Only in Nhost

  • Postgres database
  • Hasura GraphQL
  • Authentication
  • Storage
  • Functions
  • AI toolkit
  • Nhost Run
  • Infrastructure as code

What is each one used for?

Gatsby is most often brought in for marketing sites pulling content from a headless CMS; Nhost for A startup that wants Postgres, auth and a GraphQL API without writing a backend. The jobs each tool is most often brought in to do.

Gatsby

  • Marketing sites pulling content from a headless CMSnot Nhost
  • Blogs and documentation sites built in Reactnot Nhost
  • Static sites with image optimisation pluginsnot Nhost
  • Migrating existing Gatsby Cloud sites to Netlifynot Nhost

Nhost

  • A startup that wants Postgres, auth and a GraphQL API without writing a backendnot Gatsby
  • A React or Vue team using real-time GraphQL subscriptionsnot Gatsby
  • A developer who wants backend config in git through the CLInot Gatsby
  • An app that needs file storage and auth plus a few server functionsnot Gatsby

Where do Gatsby and Nhost fall short?

Gatsby's most cited limit: Gatsby Cloud hosting ended in August 2023 and was merged into Netlify. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Gatsby

  • Gatsby Cloud hosting ended in August 2023 and was merged into Netlify
  • The GitHub repository's releases section is empty, so release cadence is unclear
  • Requires React and GraphQL knowledge; there is no visual editor
  • Hosting, CMS and build services are paid separately
  • Official hosting guidance now centres on Netlify

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

How much do Gatsby and Nhost cost?

Gatsby is free to use; Nhost has a free plan, with paid plans from $25/mo. Plan by plan below, from each vendor's own pricing page.

Gatsby

Free

No published plan breakdown. See the Gatsby review.

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

Which should you pick?

Choose Gatsby if

  • You need react-based component development.
  • You want to start without paying.
  • You work on Web, Windows, macOS, Linux.
  • You also want graphql data layer.

Choose Nhost if

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

Questions people ask

Is Gatsby or Nhost better?
It depends on the job. Gatsby fits marketing sites pulling content from a headless CMS; Nhost fits a startup that wants Postgres, auth and a GraphQL API without writing a backend. Gatsby starts at Free and Nhost at Free.
Which is cheaper, Gatsby or Nhost?
Gatsby starts at Free and Nhost at Free.
Does Gatsby or Nhost run on more platforms?
Gatsby runs on Web, Windows, macOS, Linux. Nhost runs on Web.
Can I use Gatsby for free?
Both have a free tier, so you can try either at no cost before committing.
What is Gatsby best used for?
Gatsby is most often used for marketing sites pulling content from a headless cms, blogs and documentation sites built in react, static sites with image optimisation plugins, migrating existing gatsby cloud sites to netlify. Of those, marketing sites pulling content from a headless cms and blogs and documentation sites built in react are not what Nhost is typically brought in for.
What can Gatsby do that Nhost cannot?
Gatsby covers React-based component development, GraphQL data layer, Plugin and theme ecosystem, Static site generation. Nhost covers Postgres database, Hasura GraphQL, Authentication, Storage.

Answered from the vendors’ own pages

Gatsby: Is Gatsby free?

Yes. Gatsby is open source under the MIT License, and the project site lists no paid Gatsby plans. You pay separately for hosting and any CMS you connect.

Source
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.

Gatsby: What happened to Gatsby Cloud?

Netlify acquired Gatsby, Inc. in February 2023 and ended Gatsby Cloud in August 2023, folding it into Netlify. The Gatsby site offers migration paths to Netlify.

Source
Nhost: Does the free plan pause?

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

Gatsby: Does Gatsby support server-side rendering?

Yes. Wikipedia says version 4 added server-side rendering and Deferred Static Generation alongside static generation. The Gatsby site also mentions Cloud Functions.

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