Softwr
Better Auth logo

Better Auth

Open source TypeScript authentication framework with an optional paid hosted dashboard

Better Auth has a free plan and paid plans start at $20/month. Better Auth is a TypeScript framework that adds authentication to your own app through plugins, with sessions and users stored in your database. Softwr lists it under Identity and Access Management. Better Auth is available on Linux, macOS, Windows.

Overview

What is Better Auth?

Better Auth is an authentication framework for TypeScript projects. You install it as a library and configure it in code; the homepage lists support for Next.js, Nuxt, SvelteKit, Astro, Hono and more than 20 other frameworks, a bring-your-own-database model, and built-in email and password sign-in with sessions, verification and password reset. Features such as two-factor, passkeys, magic links, SSO and SCIM come as plugins. The distinction from hosted identity services is where the data lives. Users and sessions sit in your own database and your code, so there is no per-monthly-active-user charge from the framework itself. The vendor has added a managed layer: a dashboard for user management, audit logs, a security detection feature it calls Sentinel, transactional email and SMS, and self-service SSO and directory sync, priced separately. The framework is free and open source; the managed infrastructure starts free and then costs $20 per month on Pro plus usage charges. The homepage carries an announcement that Better Auth is joining Vercel, and the announcement says the project will stay open source and framework agnostic. The trade-off is operational: you run and secure the auth tables yourself, and enterprise features are either paid plugins or paid dashboard add-ons.

What people use it for

  • Adding sign-in and organisations to a Next.js or SvelteKit app without a per-user hosted auth bill
  • Keeping user data in your own Postgres or other database for data residency reasons
  • Building a multi-tenant SaaS with roles, invitations and SSO for business customers
  • Starting on the free library and adding the dashboard once audit logs matter

The honest half

Where does Better Auth fall short?

The limits buyers hit most with Better Auth: you operate the authentication tables, upgrades and security patches yourself, which a hosted identity provider would otherwise carry; and the platform list is stated as TypeScript only, so teams on other server languages cannot use it directly. Each is concrete and checkable: the half of a review a vendor will not write.

  • You operate the authentication tables, upgrades and security patches yourself, which a hosted identity provider would otherwise carry.
  • The platform list is stated as TypeScript only, so teams on other server languages cannot use it directly.
  • Managed enterprise features are charged per connection ($50 per month each beyond the first on Pro), so SSO costs scale with the number of business customers.
  • Audit log retention is 1 day on Starter and 7 days on Pro, which is short for compliance regimes that require months of history.
  • The homepage announces that Better Auth is joining Vercel, so buyers weighing long-term independence should read the announcement and watch the roadmap.

Cross-shopped

What are the alternatives to Better Auth?

The closest alternatives to Better Auth are Auth0, Clerk and Keycloak. Each is a tool buyers genuinely weigh against it, with the reason why.

Pricing

How much does Better Auth cost?

Better Auth has a free plan, and paid plans start at $20/mo, across 4 plans. Taken from the vendor's own pricing page; prices move, so check before you buy.

Framework

Free

  • Free and open source library
  • You host the database and run the code

Starter

Free

  • 1 dashboard seat
  • 10,000 audit logs per month with 1 day retention
  • 1,000 security detections per month
  • Community support

Pro

$20 /mo

  • Unlimited seats
  • 20,000 audit logs per month then $0.0001 per event, 7 day retention
  • 10,000 security detections per month then $0.001 per event
  • Self-service SSO and Directory Sync, 1 connection each then $50 per month per connection
  • Email $0.001 each and SMS $0.09 each
  • Custom dashboard domain and log drain are $25 per month add-ons

Enterprise

On request

  • Custom audit log and detection volumes
  • Custom retention
  • Slack support and implementation assistance
  • Pricing not published

Capabilities

What can Better Auth do?

Better Auth lists 6 features, including plugin system, bring your own database and dashboard.

  • Plugin system

    Two-factor, passkey, magic link, email OTP, username, phone number and anonymous sign-in as add-ons

  • Bring your own database

    Users and sessions are stored in your own database

  • Dashboard

    User management, session monitoring and organisation oversight (managed, paid tiers)

  • Audit logs

    Auto-captured events with filtering and configurable retention

  • Sentinel

    Security detection for bots, brute force, breached passwords and impossible travel

  • Enterprise features

    Self-service SSO, SCIM provisioning and directory sync

Answered, with sources

Questions people ask

Each answer names the page it came from, so you can check it rather than take our word for it.

Is Better Auth free?

The framework is free and open source. The managed dashboard has a free Starter plan and a Pro plan at $20 per month plus usage.

Where is user data stored?

In your own database, which you connect to the framework.

Does it support SSO?

Yes, through enterprise plugins and through the paid managed dashboard, which charges $50 per month per connection beyond the first on Pro.

Share

Keep looking

Where to go from Better Auth

Best Identity and Access Management software for

Compare Better Auth with

Other Identity and Access Management software

  • Secure access for everyone

    Free, then $35/mo13 researched notes
  • Open-source identity provider with flexible authentication flows

    Free plan12 researched notes
  • Open-source authentication for apps, with prebuilt UI, self-hosting and per-user cloud pricing

    Free plan13 researched notes
  • Open-source, passkey-first authentication and user management you can self-host or run in the cloud

    Free, then $29/mo14 researched notes
  • Open-source authentication and two-factor portal for reverse proxies

    Open source11 researched notes
  • Open-source, multi-tenant identity platform with cloud and self-hosted options

    Free plan13 researched notes
  • Customer identity and access management for developers, self-hosted or in FusionAuth Cloud

    Free, then $162/mo12 researched notes
  • Organisation-wide identity, data and threat controls for Atlassian cloud, priced per user

    From $4.35/mo10 researched notes
  • Free, open source 2FA app with end-to-end encrypted backups across all platforms

    Open source11 researched notes
  • AWS customer identity service for sign-in, federation and access tokens, priced per active user

    Free plan13 researched notes
  • Free, open source 2FA app for Android with an encrypted vault

    Open source11 researched notes
  • Identity and access management suite for Active Directory, Entra ID, cloud apps and AI agents

    Pricing on request12 researched notes
  • Free two-factor and passwordless sign-in app for Microsoft work, school and personal accounts

    Free plan12 researched notes
  • Workforce identity platform with SSO, MFA and user lifecycle management

    From $3/user/month13 researched notes
  • Local-first authenticator and password manager, no account required

    From $9.99/yr11 researched notes
  • Workforce single sign-on and access management for AWS accounts and applications

    Free plan13 researched notes
  • Active Directory, Entra ID and Microsoft 365 user management, bulk provisioning and delegated help desk

    Free, then $595/yr11 researched notes

Softwr does not host reviews and shows no star rating for Better Auth, because a rating we did not collect is not ours to publish. What is here is the pricing and platform detail from the vendor’s own pages, limitations we could state concretely, and alternatives a reviewer confirmed people weigh against it. Tell us if any of it is wrong.

More on Better Auth