Developer Tools · head to head
Nhost vs Sourcegraph

Nhost
Developer Tools
Postgres backend with GraphQL, authentication, storage and functions, from $25 a month
- From
- Free
- Free plan
- Yes

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.
| Attribute | Nhost | Sourcegraph |
|---|---|---|
| Starting price | Free | $16000/year |
| Pricing model | Per month plus usage | Subscription |
| Free tier | Yes | No |
| Platforms | Web | Web, 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.
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.
SourceNhost: 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.
SourceNhost: 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.
SourceSourcegraph: 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.
SourceSourcegraph: 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.
SourceRelated pages
More on Sourcegraph
Other head to heads
- Nhost vs Cloudflare Workers
- Nhost vs AppSignal
- Nhost vs Kiro
- Nhost vs Jenkins
- Nhost vs Jitsu
- Nhost vs Frappe
- Nhost vs Gitea
- Nhost vs Deno
- Nhost vs Blacksmith
- Nhost vs Atlantis
- Nhost vs Graphite
- Nhost vs LocalStack
- Nhost vs Beefree SDK
- Nhost vs Datadog APM
- Nhost vs Deep Code
- Nhost vs env zero
- Nhost vs Fig
- Nhost vs GoLand
- Nhost vs GitHub Copilot
- Nhost vs Cody
- Nhost vs Sweep
- Nhost vs Bazel
- Nhost vs Moonrepo
- Nhost vs Nixpacks
- Nhost vs Pieces for Developers
- Nhost vs Sonatype Nexus Repository
- Nhost vs Claude Code
- Nhost vs Harness
- Nhost vs HCP Terraform
- Nhost vs Bitbucket
- Nhost vs CodeSandbox
- Nhost vs Depot
- Nhost vs Neovim
- Nhost vs Turborepo
- Nhost vs Arduino Cloud
- Nhost vs Daytona
- Sourcegraph vs Cloudflare Workers
- Sourcegraph vs AppSignal
- Sourcegraph vs Kiro
- Sourcegraph vs Jenkins
- Sourcegraph vs Jitsu
- Sourcegraph vs Frappe
- Sourcegraph vs Gitea
- Sourcegraph vs Deno
- Sourcegraph vs Blacksmith
- Sourcegraph vs Atlantis
- Sourcegraph vs Graphite
- Sourcegraph vs LocalStack
- Sourcegraph vs Beefree SDK
- Sourcegraph vs Datadog APM
- Sourcegraph vs Deep Code
- Sourcegraph vs env zero
- Sourcegraph vs Fig
- Sourcegraph vs GoLand
- Sourcegraph vs GitHub Copilot
- Sourcegraph vs Cody
- Sourcegraph vs Sweep
- Sourcegraph vs Bazel
- Sourcegraph vs Moonrepo
- Sourcegraph vs Nixpacks
- Sourcegraph vs Pieces for Developers
- Sourcegraph vs Sonatype Nexus Repository
- Sourcegraph vs Claude Code
- Sourcegraph vs Harness
- Sourcegraph vs HCP Terraform
- Sourcegraph vs Bitbucket
- Sourcegraph vs CodeSandbox
- Sourcegraph vs Depot
- Sourcegraph vs Neovim
- Sourcegraph vs Turborepo
- Sourcegraph vs Arduino Cloud
- Sourcegraph vs Daytona
