Softwr

Developer Tools · head to head

Nhost vs Trunk Code Quality

Nhost logo

Nhost

Developer Tools

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

From
Free
Free plan
Yes
Trunk Code Quality logo

Trunk Code Quality

Developer Tools

Metalinter that runs and manages linters, formatters and security scanners

From
Free
Free plan
Yes

The short version

  • Nhost is a hosted backend platform.
  • Trunk Code Quality is free; Nhost starts at $25/mo.
  • Only Nhost lists postgres database; only Trunk Code Quality lists version pinning through trunk.yaml.
  • 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 Trunk Code Quality falls short: private repositories with more than five active committers need a paid licence.

How do Nhost and Trunk Code Quality differ?

Nhost and Trunk Code Quality differ on pricing model and platforms. Only the attributes on which Nhost and Trunk Code Quality actually diverge.

Attributes where Nhost and Trunk Code Quality differ
AttributeNhostTrunk Code Quality
Pricing modelPer month plus usageFreemium
PlatformsWebmacOS, Linux, Windows

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

Not yet recorded: category for Nhost, founded for Nhost.

Which features does each one have?

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

  • Installs and runs over 100 linters and formatters
  • Version pinning through trunk.yaml
  • Hold the Line checks on new changes only
  • Background daemon that precomputes results
  • VS Code and Neovim editor integration
  • GitHub integration for pull request checks
  • Security scanning tools such as trivy and gitleaks
  • Runs in any CI environment

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; Trunk Code Quality for running one lint command across a polyglot repository. 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 Trunk Code Quality
  • A React or Vue team using real-time GraphQL subscriptionsnot Trunk Code Quality
  • A developer who wants backend config in git through the CLInot Trunk Code Quality
  • An app that needs file storage and auth plus a few server functionsnot Trunk Code Quality

Trunk Code Quality

  • Running one lint command across a polyglot repositorynot Nhost
  • Gradually fixing legacy code with Hold the Linenot Nhost
  • Pinning linter versions across a teamnot Nhost
  • Enforcing the same checks locally and in CInot Nhost
  • Adding security scanners to pull requestsnot Nhost

Where do Nhost and Trunk Code Quality fall short?

Trunk Code Quality's most cited limit: private repositories with more than five active committers need a paid licence. 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

Trunk Code Quality

  • Private repositories with more than five active committers need a paid licence
  • Paid Team and Enterprise prices are not published; quotes come from sales
  • Core CLI is closed source, with only plugins and the GitHub Action under MIT
  • Results depend on the underlying linters, so rule coverage is not Trunk's own

How much do Nhost and Trunk Code Quality cost?

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

Trunk Code Quality

Free
  • Free (up to 5 active committers on private repos)Free
  • Team (per seat)On request
  • Enterprise (annual site licence)On request

Which should you pick?

Choose Nhost if

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

Choose Trunk Code Quality if

  • You need installs and runs over 100 linters and formatters.
  • You want to start without paying.
  • You work on macOS, Linux, Windows.
  • You also want version pinning through trunk.yaml.

Questions people ask

Is Nhost or Trunk Code Quality better?
It depends on the job. Nhost fits a startup that wants Postgres, auth and a GraphQL API without writing a backend; Trunk Code Quality fits running one lint command across a polyglot repository. Nhost starts at Free and Trunk Code Quality at Free.
Which is cheaper, Nhost or Trunk Code Quality?
Nhost starts at Free and Trunk Code Quality at Free.
Does Nhost or Trunk Code Quality run on more platforms?
Nhost runs on Web. Trunk Code Quality runs on macOS, Linux, 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 Trunk Code Quality is typically brought in for.
What can Nhost do that Trunk Code Quality cannot?
Nhost covers Postgres database, Hasura GraphQL, Authentication, Storage. Trunk Code Quality covers Installs and runs over 100 linters and formatters, Version pinning through trunk.yaml, Hold the Line checks on new changes only, Background daemon that precomputes results.

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.

Trunk Code Quality: What does Trunk Code Quality do?

It is a metalinter that installs, pins and runs third party linters, formatters and security scanners from one CLI. A background daemon precomputes results for editor annotations.

Source
Nhost: Does the free plan pause?

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

Trunk Code Quality: Is Trunk Code Quality free?

Public and open source repositories have no stated usage limit, and private repositories with five or fewer active committers can use the CLI at no cost. Larger private teams need a paid licence.

Source
Nhost: Are there user limits on auth?

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

Trunk Code Quality: Which operating systems are supported?

The launcher supports macOS and Linux. Windows is supported from CLI version 1.13.0, using git-bash, msys2 or a PowerShell launcher.

Source
Trunk Code Quality: How many linters does it support?

The supported linters page claims over 100 linters and formatters. They cover many languages plus infrastructure, security, SQL and Markdown tooling.

Source
Share

Related pages

Other head to heads