Softwr

Cybersecurity · head to head

Nhost vs Trivy

Nhost logo

Nhost

Cybersecurity

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

From
Free
Free plan
Yes
Trivy logo

Trivy

Cybersecurity

Open-source vulnerability and misconfiguration scanner

From
Free
Free plan
Yes

The short version

  • Nhost is a hosted backend platform.
  • Trivy is free; Nhost starts at $25/mo.
  • Only Nhost lists postgres database; only Trivy lists multi-target scanning.
  • 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 Trivy falls short: reports what public advisory databases know, so coverage varies by ecosystem and unfixed CVEs create noise.

How do Nhost and Trivy differ?

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

Attributes where Nhost and Trivy differ
AttributeNhostTrivy
Pricing modelPer month plus usageOpen source, no licence fee
PlatformsWebLinux, macOS, Windows, Self-hosted

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 Nhost and 4 only for Trivy. 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 Trivy

  • Multi-target scanning
  • Vulnerability detection
  • Misconfiguration checks
  • Secret detection

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; Trivy for failing a pull request when a container image introduces a known CVE. 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 Trivy
  • A React or Vue team using real-time GraphQL subscriptionsnot Trivy
  • A developer who wants backend config in git through the CLInot Trivy
  • An app that needs file storage and auth plus a few server functionsnot Trivy

Trivy

  • Failing a pull request when a container image introduces a known CVEnot Nhost
  • Scanning Terraform and Kubernetes manifests for misconfiguration before applynot Nhost
  • Catching committed secrets as part of an existing CI stepnot Nhost

Where do Nhost and Trivy fall short?

Trivy's most cited limit: reports what public advisory databases know, so coverage varies by ecosystem and unfixed CVEs create noise. 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

Trivy

  • Reports what public advisory databases know, so coverage varies by ecosystem and unfixed CVEs create noise
  • No built-in triage or exception workflow, so suppressing accepted risk is managed in config files
  • Findings are point-in-time from CI, with no continuous runtime monitoring unless you add the commercial platform

How much do Nhost and Trivy cost?

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

Trivy

Free
  • TrivyFree
    • Full scanner
    • Unlimited scans
    • Community support

Which should you pick?

Choose Nhost if

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

Choose Trivy if

  • You need multi-target scanning.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, Self-hosted.
  • You also want vulnerability detection.

Questions people ask

Is Nhost or Trivy better?
It depends on the job. Nhost fits a startup that wants Postgres, auth and a GraphQL API without writing a backend; Trivy fits failing a pull request when a container image introduces a known CVE. Nhost starts at Free and Trivy at Free.
Which is cheaper, Nhost or Trivy?
Nhost starts at Free and Trivy at Free.
Does Nhost or Trivy run on more platforms?
Nhost runs on Web. Trivy runs on Linux, macOS, Windows, Self-hosted.
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 Trivy is typically brought in for.
What can Nhost do that Trivy cannot?
Nhost covers Postgres database, Hasura GraphQL, Authentication, Storage. Trivy covers Multi-target scanning, Vulnerability detection, Misconfiguration checks, Secret detection.

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.

Trivy: Is Trivy free?

Yes, open source from Aqua Security with no licence fee. Aqua sells a commercial platform around it.

Nhost: Does the free plan pause?

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

Trivy: What can Trivy scan?

Container images, filesystems, Git repositories, Kubernetes clusters and infrastructure-as-code, for vulnerabilities, misconfigurations, secrets and licences.

Nhost: Are there user limits on auth?

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

Trivy: Does Trivy need a server?

No. It is a single binary, which is a large part of why it became a default in CI.

Share

Related pages

Other head to heads