Web Development · head to head
Nhost vs Preact

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

Preact
Web Development
3kB alternative to React with the same modern API
- From
- Free
- Free plan
- Yes
The short version
- Nhost is a hosted backend platform.
- Preact is free; Nhost starts at $25/mo.
- Only Nhost lists postgres database; only Preact lists 3kB runtime.
- 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 Preact falls short: compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose.
How do Nhost and Preact differ?
Nhost and Preact differ on pricing model. Only the attributes on which Nhost and Preact actually diverge.
Identical on both: starting price (Free), free tier (Yes), platforms (Web).
Not yet recorded: category for Nhost.
Which features does each one have?
They share no listed features; 8 appear only for Nhost and 4 only for Preact. 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 Preact
- 3kB runtime
- preact/compat
- Same modern API
- Fast rendering
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; Preact for embedded widgets that load inside someone else’s page and must stay small. 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 Preact
- A React or Vue team using real-time GraphQL subscriptionsnot Preact
- A developer who wants backend config in git through the CLInot Preact
- An app that needs file storage and auth plus a few server functionsnot Preact
Preact
- Embedded widgets that load inside someone else’s page and must stay smallnot Nhost
- Marketing and content sites where JavaScript payload affects Core Web Vitalsnot Nhost
- Applications targeting low-bandwidth or low-powered devicesnot Nhost
Where do Nhost and Preact fall short?
Preact's most cited limit: behavioural differences from React exist in edge cases, particularly around event handling. 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
Preact
- Compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose
- Behavioural differences from React exist in edge cases, particularly around event handling
- A much smaller community, so unusual problems have fewer existing answers than React
How much do Nhost and Preact cost?
Nhost has a free plan, with paid plans from $25/mo; Preact 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
Preact
Free- PreactFree
- Full library
- Commercial use permitted
- No usage limits
Which should you pick?
Choose Nhost if
- You need postgres database.
- You want to start without paying.
- You also want hasura graphql.
Choose Preact if
- You need 3kb runtime.
- You want to start without paying.
- You also want preact/compat.
Questions people ask
- Is Nhost or Preact better?
- It depends on the job. Nhost fits a startup that wants Postgres, auth and a GraphQL API without writing a backend; Preact fits embedded widgets that load inside someone else’s page and must stay small. Nhost starts at Free and Preact at Free.
- Which is cheaper, Nhost or Preact?
- Nhost starts at Free and Preact at Free.
- Does Nhost or Preact run on more platforms?
- Both run on Web, so platform support will not decide this one for you.
- 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 Preact is typically brought in for.
- What can Nhost do that Preact cannot?
- Nhost covers Postgres database, Hasura GraphQL, Authentication, Storage. Preact covers 3kB runtime, preact/compat, Same modern API, Fast rendering.
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.
Preact: Is Preact free?
Yes, open source under the MIT licence.
Nhost: Does the free plan pause?
Yes. Starter projects are paused after one week of inactivity.
Preact: Can I use React libraries with Preact?
Most, through the preact/compat layer. Compatibility is good but not complete, so libraries relying on React internals can break.
Nhost: Are there user limits on auth?
No. The pricing page lists unlimited total users on every plan.
Preact: Why choose Preact over React?
Bundle size, almost always. If payload is not a binding constraint, React’s ecosystem is usually the better trade.
Related 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 SolidJS
- Nhost vs Lit
- Nhost vs Vue.js
- Nhost vs React
- Nhost vs Qwik
- Nhost vs Stencil
- Nhost vs Svelte
- Nhost vs Alpine.js
- Nhost vs jQuery
- Nhost vs MUI
- Nhost vs esbuild
- Nhost vs Bootstrap
- Nhost vs Rspack
- Nhost vs Sass
- Nhost vs Symfony
- Nhost vs Vuetify
- Nhost vs Wappler
- Nhost vs WP Rocket
- Preact vs Cloudflare Workers
- Preact vs AppSignal
- Preact vs Kiro
- Preact vs Jenkins
- Preact vs Jitsu
- Preact vs Frappe
- Preact vs Gitea
- Preact vs Deno
- Preact vs Blacksmith
- Preact vs Atlantis
- Preact vs Graphite
- Preact vs LocalStack
- Preact vs Beefree SDK
- Preact vs Datadog APM
- Preact vs Deep Code
- Preact vs env zero
- Preact vs Fig
- Preact vs GoLand
- Preact vs SolidJS
- Preact vs Lit
- Preact vs Vue.js
- Preact vs React
- Preact vs Qwik
- Preact vs Stencil
- Preact vs Svelte
- Preact vs Alpine.js
- Preact vs jQuery
- Preact vs MUI
- Preact vs esbuild
- Preact vs Bootstrap
- Preact vs Rspack
- Preact vs Sass
- Preact vs Symfony
- Preact vs Vuetify
- Preact vs Wappler
- Preact vs WP Rocket
