Softwr

Developer Tools · head to head

Nhost vs Terraform

Nhost logo

Nhost

Developer Tools

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

From
Free
Free plan
Yes
Terraform logo

Terraform

Developer Tools

Automate infrastructure on any cloud

From
Free
Free plan
Yes

The short version

  • Nhost is a hosted backend platform; Terraform is an infrastructure as code tool.
  • Free plans on both; paid from $25/mo and $0.1/mo.
  • Only Nhost lists postgres database; only Terraform lists resource graph.
  • 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 Terraform falls short: HCL syntax requires learning a domain-specific language with limited GUI alternatives.

How do Nhost and Terraform differ?

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

Attributes where Nhost and Terraform differ
AttributeNhostTerraform
PlatformsWebLinux, macOS, Windows

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

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

Which features does each one have?

They share 1 listed feature; 7 appear only for Nhost and 19 only for Terraform. 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

Only in Terraform

  • Resource graph
  • Plan & apply
  • State management
  • Provider ecosystem
  • Modules
  • Workspaces
  • Remote backends
  • AWS

Both cover

  • Infrastructure as code

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

Terraform

  • Multi-cloud provisioningnot Nhost
  • Infrastructure automationnot Nhost
  • Environment replicationnot Nhost
  • Disaster recoverynot Nhost
  • Compliance automationnot Nhost

Where do Nhost and Terraform fall short?

Terraform's most cited limit: HCL syntax requires learning a domain-specific language with limited GUI alternatives. 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

Terraform

  • HCL syntax requires learning a domain-specific language with limited GUI alternatives
  • State file management is complex, especially at scale with multiple workspaces
  • terraform import workflow is fiddly and must be done one resource at a time
  • No native error handling or try-catch capabilities like traditional programming languages
  • No automatic rollback capability - must manually delete and re-run if needed

How much do Nhost and Terraform cost?

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

Terraform

Free
  • HCP Terraform Essentials$0.1/resource/month
  • HCP Terraform Standard$0.47/resource/month
  • HCP Terraform Premium$0.99/resource/month

Which should you pick?

Choose Nhost if

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

Choose Terraform if

  • You need resource graph.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want plan & apply.

Questions people ask

Is Nhost or Terraform better?
It depends on the job. Nhost fits a startup that wants Postgres, auth and a GraphQL API without writing a backend; Terraform fits multi-cloud provisioning. Nhost starts at Free and Terraform at Free.
Which is cheaper, Nhost or Terraform?
Nhost starts at Free and Terraform at Free.
Does Nhost or Terraform run on more platforms?
Nhost runs on Web. Terraform runs on Linux, macOS, Windows.
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 Terraform is typically brought in for.
What can Nhost do that Terraform cannot?
Nhost covers Postgres database, Hasura GraphQL, Authentication, Storage. Terraform covers Resource graph, Plan & apply, State management, Provider ecosystem. Both handle Infrastructure as code.

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.

Terraform: Is there a free tier?

Yes. The free tier supports up to 500 managed resources and 1 concurrent run. The legacy free tier ends March 31, 2026; remaining organizations auto-convert to the enhanced free tier.

Source
Nhost: Does the free plan pause?

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

Terraform: What clouds does Terraform support?

Terraform supports AWS, Microsoft Azure, Google Cloud Platform, Oracle Cloud, Docker, and HashiCorp's own HCP Terraform managed service, with over 2000 providers available.

Source
Nhost: Are there user limits on auth?

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

Terraform: Do I need HCP Terraform Cloud or can I run locally?

Terraform runs locally by default, storing state on your machine. For team collaboration and production use, remote backends like S3, Azure Storage, or HCP Terraform are recommended for locking and security.

Source
Terraform: Is HCL hard to learn?

HCL is designed to be human-readable and sits between JSON and YAML. It supports comments, variables, functions, and conditional logic. While beginners can get started quickly, mastering advanced features takes practice.

Source
Share

Related pages

Other head to heads