Softwr

Identity and Access Management · head to head

Amazon Cognito vs Nhost

Amazon Cognito logo

Amazon Cognito

Identity and Access Management

AWS customer identity service for sign-in, federation and access tokens, priced per active user

From
Free
Free plan
Yes
Nhost logo

Nhost

Identity and Access Management

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.
  • Free plans on both; paid from $0.015/mo and $25/mo.
  • Only Amazon Cognito lists user pools with sign-up and sign-in; only Nhost lists postgres database.
  • Where Amazon Cognito falls short: SMS and email delivery are billed separately through SNS and SES.
  • 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 Amazon Cognito and Nhost differ?

Amazon Cognito and Nhost differ on pricing model. Only the attributes on which Amazon Cognito and Nhost actually diverge.

Attributes where Amazon Cognito and Nhost differ
AttributeAmazon CognitoNhost
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 Amazon Cognito 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 Amazon Cognito

  • User pools with sign-up and sign-in
  • Social, SAML and OIDC federation
  • Passkeys and one-time passwords
  • OAuth 2.0 machine-to-machine tokens
  • Managed Login with UI editor
  • Adaptive authentication on Plus
  • Compromised credential detection
  • Multi-Region replication

Only in Nhost

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

What is each one used for?

Amazon Cognito is most often brought in for customer sign-in for AWS-hosted apps; 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.

Amazon Cognito

  • Customer sign-in for AWS-hosted appsnot Nhost
  • Federating enterprise SAML and OIDC identity providersnot Nhost
  • Machine-to-machine tokens for microservicesnot Nhost
  • Passwordless login with passkeysnot Nhost
  • Authenticating AI agents on AWSnot Nhost

Nhost

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

Where do Amazon Cognito and Nhost fall short?

Amazon Cognito's most cited limit: SMS and email delivery are billed separately through SNS and SES. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon Cognito

  • SMS and email delivery are billed separately through SNS and SES
  • Plus tier has no free tier, and advanced security needs it or an add-on
  • Federated SAML and OIDC users have only 50 free MAUs
  • Best suited to teams already building on AWS

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 Amazon Cognito and Nhost cost?

Amazon Cognito has a free plan, with paid plans from $0.015/mo; Nhost has a free plan, with paid plans from $25/mo. Plan by plan below, from each vendor's own pricing page.

Amazon Cognito

Free
  • Essentials$0.015
    • Managed Login
    • Passwordless sign-in
    • 10,000 free MAUs
  • Plus$0.02
    • Threat protection
    • Adaptive authentication
    • No free tier

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 Amazon Cognito if

  • You need user pools with sign-up and sign-in.
  • You want to start without paying.
  • You also want social, saml and oidc federation.

Choose Nhost if

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

Questions people ask

Is Amazon Cognito or Nhost better?
It depends on the job. Amazon Cognito fits customer sign-in for AWS-hosted apps; Nhost fits a startup that wants Postgres, auth and a GraphQL API without writing a backend. Amazon Cognito starts at Free and Nhost at Free.
Which is cheaper, Amazon Cognito or Nhost?
Amazon Cognito starts at Free and Nhost at Free.
Does Amazon Cognito or Nhost run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Amazon Cognito for free?
Both have a free tier, so you can try either at no cost before committing.
What is Amazon Cognito best used for?
Amazon Cognito is most often used for customer sign-in for aws-hosted apps, federating enterprise saml and oidc identity providers, machine-to-machine tokens for microservices, passwordless login with passkeys. Of those, customer sign-in for aws-hosted apps and federating enterprise saml and oidc identity providers are not what Nhost is typically brought in for.
What can Amazon Cognito do that Nhost cannot?
Amazon Cognito covers User pools with sign-up and sign-in, Social, SAML and OIDC federation, Passkeys and one-time passwords, OAuth 2.0 machine-to-machine tokens. Nhost covers Postgres database, Hasura GraphQL, Authentication, Storage.

Answered from the vendors’ own pages

Amazon Cognito: How much does Amazon Cognito cost?

Essentials is $0.015 per monthly active user and Plus is $0.020, after the free tier. Lite uses tiered pricing starting around $0.0055.

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.

Amazon Cognito: Is there a free tier?

Lite and Essentials include 10,000 free MAUs per account or AWS organisation. Plus has no free tier.

Source
Nhost: Does the free plan pause?

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

Amazon Cognito: What sign-in methods are supported?

Passwords, social login, SAML and OIDC federation, and passwordless sign-in with passkeys or SMS and email one-time passwords.

Source
Nhost: Are there user limits on auth?

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

Amazon Cognito: Are SMS messages included?

No. SMS and email messages for verification and MFA are billed separately through Amazon SNS and Amazon SES.

Source
Share

Related pages

Other head to heads