Softwr

Developer Tools · head to head

Nhost vs Sourcegraph

Nhost logo

Nhost

Developer Tools

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

From
Free
Free plan
Yes
Sourcegraph logo

Sourcegraph

Developer Tools

Code search and intelligence platform for large codebases with Cody AI assistant

From
$16000/year
Free plan
No

The short version

  • Nhost is a hosted backend platform; Sourcegraph is an enterprise code intelligence platform.
  • Nhost has a free plan, then $25/mo; Sourcegraph starts at $16000/yr.
  • 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 Sourcegraph falls short: enterprise pricing starting at $16k annually creates significant barrier for small teams.

How do Nhost and Sourcegraph differ?

Nhost and Sourcegraph differ on starting price (Free against $16000/year), pricing model and free tier (Yes against No). Only the attributes on which Nhost and Sourcegraph actually diverge.

Attributes where Nhost and Sourcegraph differ
AttributeNhostSourcegraph
Starting priceFree$16000/year
Pricing modelPer month plus usageSubscription
Free tierYesNo
PlatformsWebWeb, Self-hosted

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. 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 Sourcegraph

Nothing recorded that Nhost does not also cover.

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; Sourcegraph for large-scale code migrations across hundreds of repositories. 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 Sourcegraph
  • A React or Vue team using real-time GraphQL subscriptionsnot Sourcegraph
  • A developer who wants backend config in git through the CLInot Sourcegraph
  • An app that needs file storage and auth plus a few server functionsnot Sourcegraph

Sourcegraph

  • Large-scale code migrations across hundreds of repositoriesnot Nhost
  • Enterprise governance and code ownership trackingnot Nhost
  • AI-assisted bug hunting and security pattern detectionnot Nhost
  • Onboarding engineers into large unfamiliar codebasesnot Nhost
  • Regulatory compliance and code audit trailsnot Nhost

Where do Nhost and Sourcegraph fall short?

Sourcegraph's most cited limit: enterprise pricing starting at $16k annually creates significant barrier for small teams. 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

Sourcegraph

  • Enterprise pricing starting at $16k annually creates significant barrier for small teams
  • No free tier or standard plan published; all options require custom sales engagement
  • Complex enterprise-only positioning limits adoption compared to GitHub Copilot's pervasiveness
  • Requires indexing entire codebase; not suitable for small or ephemeral projects

How much do Nhost and Sourcegraph cost?

Nhost has a free plan, with paid plans from $25/mo; Sourcegraph starts at $16000/yr. 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

Sourcegraph

$16000/year
  • Enterprise$16,000/yr
    • Scales with team size
    • Credits for AI features per user
    • Deep Search

Which should you pick?

Choose Nhost if

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

Choose Sourcegraph if

  • You work on Web, Self-hosted.

Questions people ask

Is Nhost or Sourcegraph better?
It depends on the job. Nhost fits a startup that wants Postgres, auth and a GraphQL API without writing a backend; Sourcegraph fits large-scale code migrations across hundreds of repositories. Nhost starts at Free and Sourcegraph at $16000/year.
Which is cheaper, Nhost or Sourcegraph?
Nhost has a free tier; the other does not. Paid plans start at Free for Nhost and $16000/year for Sourcegraph.
Does Nhost or Sourcegraph run on more platforms?
Nhost runs on Web. Sourcegraph runs on Web, Self-hosted.
Can I use Nhost for free?
Yes. Nhost has a free tier, so you can try it without paying. Sourcegraph starts at $16000/year.
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 Sourcegraph is typically brought in for.
What can Nhost do that Sourcegraph cannot?
Nhost covers Postgres database, Hasura GraphQL, Authentication, Storage.

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.

Sourcegraph: How much does Sourcegraph cost?

Sourcegraph's pricing page lists a single Enterprise plan starting at $16K, which it describes as a minimum annual contract. The price includes credits for AI features and scales with team size. Volume pricing is available through sales.

Source
Nhost: Does the free plan pause?

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

Sourcegraph: Does Sourcegraph have a free plan?

The pricing page lists only the Enterprise plan and a Contact sales button, with no free or self-serve tier shown. Its FAQ includes a question about a free trial, but the answer was not visible in the page text. Sourcegraph does offer a public code search across more than 1M public repositories.

Source
Nhost: Are there user limits on auth?

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

Sourcegraph: Can Sourcegraph be self-hosted?

Yes. The Enterprise plan includes single-tenant cloud, and the page also lists self-hosted as a deployment option. Enterprise admin and security controls are part of the plan.

Source
Sourcegraph: How do Sourcegraph AI credits work?

Credits for AI features are included per user and can be pooled across the organisation. The pricing page states there is no monthly credit expiry, that purchased credit buckets roll over on renewal, and that larger volume credit buckets are an add-on.

Source
Sourcegraph: Does Sourcegraph work with AI coding agents?

Sourcegraph offers a full MCP server, plus GraphQL and REST APIs and a CLI. The pricing page says it works with Claude Code, Cursor, Codex, Amp and more, giving agents context from the indexed codebase.

Source
Share

Related pages

Other head to heads