Softwr

APIs · head to head

Nhost vs Spring Cloud Gateway

Nhost logo

Nhost

APIs

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

From
Free
Free plan
Yes
Spring Cloud Gateway logo

Spring Cloud Gateway

APIs

API gateway built on Project Reactor for building microservices

From
Free
Free plan
Yes

The short version

  • Nhost is a hosted backend platform; Spring Cloud Gateway is a library for building API gateways.
  • Spring Cloud Gateway is free; Nhost starts at $25/mo.
  • Only Nhost lists postgres database; only Spring Cloud Gateway lists path Rewriting.
  • 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 Spring Cloud Gateway falls short: ships as a library for building a gateway on Spring, so you write, package and operate the gateway application yourself.

How do Nhost and Spring Cloud Gateway differ?

Nhost and Spring Cloud Gateway differ on pricing model and platforms (Web against API, Spring Boot). Only the attributes on which Nhost and Spring Cloud Gateway actually diverge.

Attributes where Nhost and Spring Cloud Gateway differ
AttributeNhostSpring Cloud Gateway
Pricing modelPer month plus usageOpen-source
PlatformsWebAPI, Spring Boot

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 Spring Cloud Gateway. 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 Spring Cloud Gateway

  • Routing
  • Path Rewriting
  • Circuit Breaker
  • Spring Boot
  • Spring Security
  • Spring Cloud
  • Java support
  • Spring Boot support

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; Spring Cloud Gateway for API Development. 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 Spring Cloud Gateway
  • A React or Vue team using real-time GraphQL subscriptionsnot Spring Cloud Gateway
  • A developer who wants backend config in git through the CLInot Spring Cloud Gateway
  • An app that needs file storage and auth plus a few server functionsnot Spring Cloud Gateway

Spring Cloud Gateway

  • API Developmentnot Nhost
  • API Gatewaynot Nhost
  • API Testingnot Nhost
  • API Documentationnot Nhost
  • Microservicesnot Nhost

Where do Nhost and Spring Cloud Gateway fall short?

Spring Cloud Gateway's most cited limit: ships as a library for building a gateway on Spring, so you write, package and operate the gateway application yourself. 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

Spring Cloud Gateway

  • Ships as a library for building a gateway on Spring, so you write, package and operate the gateway application yourself
  • Offered in two variants, Server WebFlux and Server Web MVC, each with its own dependency, so you must pick a stack up front

How much do Nhost and Spring Cloud Gateway cost?

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

Spring Cloud Gateway

Free
  • Open SourceFree
    • Core Spring Cloud Gateway
    • 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 Spring Cloud Gateway if

  • You need routing.
  • You want to start without paying.
  • You work on API, Spring Boot.
  • You also want path rewriting.

Questions people ask

Is Nhost or Spring Cloud Gateway better?
It depends on the job. Nhost fits a startup that wants Postgres, auth and a GraphQL API without writing a backend; Spring Cloud Gateway fits aPI Development. Nhost starts at Free and Spring Cloud Gateway at Free.
Which is cheaper, Nhost or Spring Cloud Gateway?
Nhost starts at Free and Spring Cloud Gateway at Free.
Does Nhost or Spring Cloud Gateway run on more platforms?
Nhost runs on Web. Spring Cloud Gateway runs on API, Spring Boot.
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 Spring Cloud Gateway is typically brought in for.
What can Nhost do that Spring Cloud Gateway cannot?
Nhost covers Postgres database, Hasura GraphQL, Authentication, Storage. Spring Cloud Gateway covers Routing, Path Rewriting, Circuit Breaker, Spring Boot.

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.

Spring Cloud Gateway: Is Spring Cloud Gateway free?

Yes, Spring Cloud Gateway is free and open-source software. It is part of the Spring ecosystem and available through GitHub repositories with open-source dependencies like spring-cloud-starter-gateway-server-webflux and spring-cloud-starter-gateway-server-webmvc.

Source
Nhost: Does the free plan pause?

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

Spring Cloud Gateway: What enterprise support is available for Spring Cloud Gateway?

Tanzu Spring provides optional enterprise support including Day 0 access to security patches for organizations requiring guaranteed support, but specific pricing is not published on the Spring Cloud Gateway project page.

Source
Nhost: Are there user limits on auth?

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

Share

Related pages

Other head to heads