Authentication Providers - Notes
- Authentication Providers
- Notes
A brief list of authentication providers.
ℹ️ This is a "notes collection" item. I use notes collection to compile practical information for myself in an unpolished way. It's probably best not to rely on this information without verifying it against up-to-date sources. Also, it is not a good place to use as reference, as the content is subject to frequent updates without warning.
Intro
These notes are useful if you’re looking for a free (or not too expensive) authentication provider for your side project. If you’re looking for a business solution, please dig deeper for the necessary compliance requirements for your business, such as HIPAA, GDPR, SOC 2, etc.
Authentication is expensive, both in terms of development and actual costs. Most authentication providers offer free tiers; however, if your product somehow scales up, you might be in for a big surprise. :) Here, I’ll try to normalize the cost required to serve 1K users in a real-world environment as of today. (May 2025)
- I’ll use the next plan available after the free tier for each provider for the comparison.
- This is a note I’ve taken to get a relative overview of authentication provider pricing.
- I collected the information from the official pricing pages of the providers in May 2025, based on their monthly offers. Please refer to the respective pages for up-to-date pricing.
- Features like custom domains, business-to-business authentication, single sign-on, etc., might have custom pricing. The numbers below are mostly for basic features only.
- All providers count users only if they are active. Check their documentation for the definition of MAU (Monthly Active Users).
Authentication-only
- https://auth0.com/pricing
- Basic Paid Tier:
70$ / 1K users - Free Tier:
25K users - Monthly Cost per 1K Users:
70$ - B2C use case. Probably the most production ready provider for a wide range of domains.
- Basic Paid Tier:
- https://workos.com/pricing
- Basic Paid Tier:
2500$ / 1M users - Free Tier:
1M users(Only on a staging environment.) - Monthly Cost per 1K Users: Not Applicable /
~2.5$ - Actual pricing is scaled for 1M (million) users. I’m not sure if there is an option for fewer users.
- Basic Paid Tier:
- https://clerk.com/pricing
- Basic Paid Tier:
20$ / 1K+25$monthly subscription. - Free Tier:
10K users - Monthly Cost per 1K Users:
45$ - Seamless integration with Next.js App Router.
- Basic Paid Tier:
- https://stack-auth.com/pricing
- Basic Paid Tier:
49$ / 50K users - Free Tier:
10K users - Monthly Cost per 1K Users: Not Applicable /
~0.98$ - No per-user pricing,
49$monthly subscription for50Kusers. - Open source self-host option is offered.
- Seamless integration with Next.js App Router.
- Basic Paid Tier:
- https://stytch.com/pricing?vertical=b2c
- Basic Paid Tier:
200$ / 1K - Free Tier:
10K users - Monthly Cost per 1K Users:
200$
- Basic Paid Tier:
BaaS with Authentication
- https://supabase.com/pricing
- Basic Paid Tier:
3.25$ / 1K users+25$monthly subscription. - Free Tier:
50K users - Monthly Cost per 1K Users:
28.25$ - Build on top of Netlify’s GoTrue. (Netlify is not maintaining an Identity service or a library anymore.)
- Paid tier adds
50Kmore users to free tier and starts after100K users. - Since this is a BaaS product, you’ll get access to all paid features with the paid subscription.
- Basic Paid Tier:
- https://appwrite.io/pricing
- Basic Paid Tier:
3$ / 1K users+15$monthly subscription. - Free Tier:
75K users - Monthly Cost per 1K Users:
18$ - Paid tier adds
125Kmore users to free tier and starts after200K users. - Since this is a BaaS product, you’ll get access to all paid features with the paid subscription.
- Basic Paid Tier:
- https://neon.tech/pricing
- Offers an authentication solution in beta; no pricing details have been disclosed.
- Based on Stack Auth.
- https://firebase.google.com/pricing
- Basic Paid Tier:
5.5$ / 1K users - Free Tier:
50K users - Monthly Cost per 1K Users:
5.5$ - Pricing re-adjusts on user count. More users = lower cost. Each tier applies a reduced rate for users within that tier. See their pricing page for details. The numbers above apply to up to
100Kusers.
- Basic Paid Tier:
- https://aws.amazon.com/cognito/pricing/
- Basic Paid Tier:
5.5$ / 1K users - Free Tier:
10K users - Monthly Cost per 1K Users:
5.5$ - The estimations are for the “Lite Tier”. Cognito also offers an “Essentials Tier” with more login options. The numbers above apply to up to
100Kusers on the “Lite Tier”. More users = lower cost is also applies to this provider. - The “Lite Tier” offers only password-based methods.
- Separate charges apply for email messages.
- Basic Paid Tier:
- https://www.cloudflare.com/en-gb/plans/zero-trust-services/
- Cloudflare doesn’t offer a consumer identity solution; however, if you’re looking for an access solution for your staging environments on Cloudflare products, “Cloudflare Zero Trust / Access” can help.
- Limited to 50 users on the free tier.
JavaScript Libraries
- https://authjs.dev/
- Free and open-source, with welcoming documentation, framework support, and backed by major authentication providers.
- ISC License
- https://stack-auth.com/
- Open-source, per package licensing.
- MIT License (Client Libraries)
- AGPLv3 License (Server Components) — permissive, but derivative works must also be licensed under the same terms.
- https://www.better-auth.com/
- Open source, multi-framework, multi-method implementation.
- MIT License
- https://lucia-auth.com/
- No longer a maintained library, but still a great learning resource.
- Deprecated as of March 2025.
- MIT License (Library) + 0BSD (Site, code examples.)