Softwr

Databases · head to head

Google Cloud Spanner vs Nhost

Google Cloud Spanner logo

Google Cloud Spanner

Databases

Globally distributed relational database with strong consistency and up to 99.999% availability

From
Free
Free plan
Yes
Nhost logo

Nhost

Databases

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

From
Free
Free plan
Yes

The short version

  • Nhost is a hosted backend platform.
  • Google Cloud Spanner is free; Nhost starts at $25/mo.
  • Only Google Cloud Spanner lists strong global consistency; only Nhost lists postgres database.
  • Where Google Cloud Spanner falls short: pricing has compute, storage, replication and network components.
  • 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.

How do Google Cloud Spanner and Nhost differ?

Google Cloud Spanner and Nhost differ on pricing model. Only the attributes on which Google Cloud Spanner and Nhost actually diverge.

Attributes where Google Cloud Spanner and Nhost differ
AttributeGoogle Cloud SpannerNhost
Pricing modelUsage-basedPer month plus usage

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

Not yet recorded: category for Nhost.

Which features does each one have?

They share no listed features; 9 appear only for Google Cloud Spanner and 8 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 Google Cloud Spanner

  • Strong global consistency
  • Automatic sharding
  • Single, dual and multi-region configurations
  • Spanner Graph
  • Vector and full-text search
  • Columnar engine for analytics
  • BigQuery federated queries
  • Spanner Omni

Only in Nhost

  • Postgres database
  • Hasura GraphQL
  • Authentication
  • Storage
  • Functions
  • AI toolkit
  • Nhost Run
  • Infrastructure as code

What is each one used for?

Google Cloud Spanner is most often brought in for global transactional systems; Nhost for A startup that wants Postgres, auth and a GraphQL API without writing a backend. The jobs each tool is most often brought in to do.

Google Cloud Spanner

  • Global transactional systemsnot Nhost
  • Mission-critical apps needing 99.999% availabilitynot Nhost
  • Applications needing relational plus graph and vectornot Nhost
  • Real-time analytics on operational datanot Nhost
  • Scaling beyond a single database servernot Nhost

Nhost

  • A startup that wants Postgres, auth and a GraphQL API without writing a backendnot Google Cloud Spanner
  • A React or Vue team using real-time GraphQL subscriptionsnot Google Cloud Spanner
  • A developer who wants backend config in git through the CLInot Google Cloud Spanner
  • An app that needs file storage and auth plus a few server functionsnot Google Cloud Spanner

Where do Google Cloud Spanner and Nhost fall short?

Google Cloud Spanner's most cited limit: pricing has compute, storage, replication and network components. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Google Cloud Spanner

  • Pricing has compute, storage, replication and network components
  • Cost is high for small or single-region workloads
  • Tied to Google Cloud outside the Omni option
  • Schema and query patterns differ from standard PostgreSQL deployments

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

How much do Google Cloud Spanner and Nhost cost?

Google Cloud Spanner is free to use; Nhost has a free plan, with paid plans from $25/mo. Plan by plan below, from each vendor's own pricing page.

Google Cloud Spanner

Free

No published plan breakdown. See the Google Cloud Spanner review.

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

Which should you pick?

Choose Google Cloud Spanner if

  • You need strong global consistency.
  • You want to start without paying.
  • You also want automatic sharding.

Choose Nhost if

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

Questions people ask

Is Google Cloud Spanner or Nhost better?
It depends on the job. Google Cloud Spanner fits global transactional systems; Nhost fits a startup that wants Postgres, auth and a GraphQL API without writing a backend. Google Cloud Spanner starts at Free and Nhost at Free.
Which is cheaper, Google Cloud Spanner or Nhost?
Google Cloud Spanner starts at Free and Nhost at Free.
Does Google Cloud Spanner or Nhost run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Google Cloud Spanner for free?
Both have a free tier, so you can try either at no cost before committing.
What is Google Cloud Spanner best used for?
Google Cloud Spanner is most often used for global transactional systems, mission-critical apps needing 99.999% availability, applications needing relational plus graph and vector, real-time analytics on operational data. Of those, global transactional systems and mission-critical apps needing 99.999% availability are not what Nhost is typically brought in for.
What can Google Cloud Spanner do that Nhost cannot?
Google Cloud Spanner covers Strong global consistency, Automatic sharding, Single, dual and multi-region configurations, Spanner Graph. Nhost covers Postgres database, Hasura GraphQL, Authentication, Storage.

Answered from the vendors’ own pages

Google Cloud Spanner: Is there a free trial?

Yes, a free trial instance lasts 90 days with up to 10 GiB of data.

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

Google Cloud Spanner: What availability does Spanner offer?

Up to 99.999% availability, depending on configuration.

Source
Nhost: Does the free plan pause?

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

Google Cloud Spanner: How is Spanner billed?

By hourly compute by edition, plus storage and replication, with committed use discounts of one and three years.

Source
Nhost: Are there user limits on auth?

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

Google Cloud Spanner: Can Spanner run outside Google Cloud?

Spanner Omni is a downloadable version for on-premises, other clouds or a laptop.

Source
Share

Related pages

Other head to heads