Softwr

Software · head to head

Nhost vs OpenTofu

Nhost logo

Nhost

Software

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

From
Free
Free plan
Yes
OpenTofu logo

OpenTofu

Software

Open-source infrastructure as code tool, a drop-in Terraform replacement under the Linux Foundation

From
Free
Free plan
Yes

The short version

  • Nhost is a hosted backend platform; OpenTofu is a Linux Foundation open-source fork of Terraform under the MPL 2.
  • OpenTofu is free; Nhost starts at $25/mo.
  • Only Nhost lists postgres database; only OpenTofu lists drop-in Terraform compatibility.
  • 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 OpenTofu falls short: compatibility with Terraform is not guaranteed as the projects diverge.

How do Nhost and OpenTofu differ?

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

Attributes where Nhost and OpenTofu differ
AttributeNhostOpenTofu
Pricing modelPer month plus usageOpen-source

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

Which features does each one have?

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

  • Drop-in Terraform compatibility
  • Declarative infrastructure configuration
  • Client-side state encryption
  • Provider for_each
  • Exclude flag for plan and apply
  • Early variable evaluation in modules
  • Large provider and module registry

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; OpenTofu for replacing Terraform under an open-source licence. 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 OpenTofu
  • A React or Vue team using real-time GraphQL subscriptionsnot OpenTofu
  • A developer who wants backend config in git through the CLInot OpenTofu
  • An app that needs file storage and auth plus a few server functionsnot OpenTofu

OpenTofu

  • Replacing Terraform under an open-source licencenot Nhost
  • Multi-cloud infrastructure provisioningnot Nhost
  • Encrypting Terraform-style statenot Nhost
  • Reusable infrastructure modulesnot Nhost

Where do Nhost and OpenTofu fall short?

OpenTofu's most cited limit: compatibility with Terraform is not guaranteed as the projects diverge. 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

OpenTofu

  • Compatibility with Terraform is not guaranteed as the projects diverge
  • No project-run hosted service for state and runs
  • Commercial support comes from third parties
  • Newer ecosystem of tutorials than Terraform

How much do Nhost and OpenTofu cost?

Nhost has a free plan, with paid plans from $25/mo; OpenTofu 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

OpenTofu

Free

No published plan breakdown. See the OpenTofu review.

Which should you pick?

Choose Nhost if

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

Choose OpenTofu if

  • You need drop-in terraform compatibility.
  • You want to start without paying.
  • You also want declarative infrastructure configuration.

Questions people ask

Is Nhost or OpenTofu better?
It depends on the job. Nhost fits a startup that wants Postgres, auth and a GraphQL API without writing a backend; OpenTofu fits replacing Terraform under an open-source licence. Nhost starts at Free and OpenTofu at Free.
Which is cheaper, Nhost or OpenTofu?
Nhost starts at Free and OpenTofu at Free.
Does Nhost or OpenTofu 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 OpenTofu is typically brought in for.
What can Nhost do that OpenTofu cannot?
Nhost covers Postgres database, Hasura GraphQL, Authentication, Storage. OpenTofu covers Drop-in Terraform compatibility, Declarative infrastructure configuration, Client-side state encryption, Provider for_each.

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.

OpenTofu: What licence does OpenTofu use?

Mozilla Public License 2.0.

Source
Nhost: Does the free plan pause?

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

OpenTofu: Why was OpenTofu created?

As a fork of Terraform after HashiCorp changed its licence, begun in August 2023.

Source
Nhost: Are there user limits on auth?

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

OpenTofu: What is the latest version?

1.13.11, published on 30 November 2026.

Source
Share

Related pages

Other head to heads