# SuperTokens vs Better Auth: pricing, self-hosting and SDKs

> SuperTokens is an open-source authentication provider that you run as a managed service or self-host, while Better Auth is an open-source auth framework for…

Canonical: https://versuscraft.xyz/p/supertokens-vs-better-auth
Published: 2026-11-21
Last verified: 2026-11-21

_Last verified: 21 November 2026_

SuperTokens is an open-source authentication provider that you run as a managed service or self-host, while Better Auth is an open-source auth framework for TypeScript that lives inside your app. ([SuperTokens docs](https://supertokens.com/docs), [Better Auth docs](https://www.better-auth.com/docs)) Both are free to self-host without a per-user bill. ([SuperTokens pricing](https://supertokens.com/pricing), [Better Auth docs](https://www.better-auth.com/docs/comparison)) Pick SuperTokens if your backend is in Python or Go, or if you want a managed service that is free under 5K monthly active users. ([SuperTokens docs](https://supertokens.com/docs/references/backend-sdks/reference), [SuperTokens pricing](https://supertokens.com/pricing)) Pick Better Auth if your stack is TypeScript end to end and you want 2FA and rate limiting in the free framework. ([Better Auth docs](https://www.better-auth.com/docs), [Better Auth docs](https://www.better-auth.com/docs/comparison))

## Key takeaways

- Self-hosted, neither charges per user: SuperTokens has no MAU cap, and Better Auth has no per-user costs. ([SuperTokens pricing](https://supertokens.com/pricing), [Better Auth docs](https://www.better-auth.com/docs/comparison))
- SuperTokens bills MFA as a paid feature at $0.01 / MAU; Better Auth lists 2FA among its built-in features. ([SuperTokens pricing](https://supertokens.com/pricing), [SuperTokens docs](https://supertokens.com/docs/additional-verification/mfa/introduction))
- Better Auth's paid plans add a dashboard and audit logs to an install you still host yourself. ([Better Auth pricing](https://www.better-auth.com/pricing))
- SuperTokens runs a separate Core service on PostgreSQL; Better Auth runs inside your TypeScript app on the database you choose. ([SuperTokens docs](https://supertokens.com/docs), [SuperTokens docs](https://supertokens.com/docs/passwordless/pre-built-ui/setup/core/with-docker))

## At a glance

| | SuperTokens | Better Auth |
| --- | --- | --- |
| What it is | Open-source auth provider with a Core service | TypeScript auth framework inside your app |
| Self-hosted price | Free, no MAU cap | Free and open source |
| Paid plans | Managed service, $0.02 per MAU, free under 5K monthly active users | Tooling for your own install: $0/month or $20/month |
| MFA | Paid feature, $0.01 / MAU | Built-in 2FA |
| Backend languages | Node.js, Python, Golang | TypeScript |
| Databases | PostgreSQL | SQLite, PostgreSQL, MySQL and more |
| Enterprise SSO | Tenant-specific enterprise SSO | OIDC or SAML 2.0 plugin |
| Migration | Bulk and lazy, no forced logout | Auth0 guide, sessions invalidated |

## What does self-hosting each one cost?

SuperTokens says self-hosting its open-source features is free without any limits, and Better Auth says its framework is free and open source. ([SuperTokens pricing](https://supertokens.com/pricing), [Better Auth pricing](https://www.better-auth.com/pricing))

Self-hosted SuperTokens charges only for its paid features, and some of them need a license key. ([SuperTokens pricing](https://supertokens.com/pricing), [SuperTokens docs](https://supertokens.com/docs/passwordless/pre-built-ui/setup/core/with-docker)) MFA costs $0.01 / MAU with a minimum of $100/month, and account linking costs $0.005 / MAU. ([SuperTokens pricing](https://supertokens.com/pricing))

Better Auth's paid plans are for its managed infrastructure, which plugs a dashboard and audit logs into your self-hosted install. ([Better Auth pricing](https://www.better-auth.com/pricing)) Starter is $0/month with 1 dashboard seat and 10,000 audit logs/month. ([Better Auth pricing](https://www.better-auth.com/pricing)) Pro is $20/month with unlimited seats and 20,000 audit logs/month. ([Better Auth pricing](https://www.better-auth.com/pricing)) Pro also sells self-service SSO at 1 connection, then $50/month per connection. ([Better Auth docs](https://www.better-auth.com/docs/plugins/sso), [Better Auth pricing](https://www.better-auth.com/pricing))

## Paid plans: per-user hosting vs a flat tooling fee

SuperTokens' managed service is free under 5K monthly active users and charges $0.02 per MAU beyond it. ([SuperTokens pricing](https://supertokens.com/pricing)) Its pricing example, for an app that also uses account linking, bills every MAU once past the free tier: For 7,000 MAUs: $100 account linking minimum + $140 hosting (7,000 × $0.02) = $240/month. ([SuperTokens pricing](https://supertokens.com/pricing))

Better Auth's Pro price is a monthly plan fee rather than a per-user charge. ([Better Auth pricing](https://www.better-auth.com/pricing), [Better Auth docs](https://www.better-auth.com/docs/comparison)) It pays for dashboard and audit tooling, while your users stay in your own database. ([Better Auth pricing](https://www.better-auth.com/pricing), [Better Auth docs](https://www.better-auth.com/docs/comparison)) So compare SuperTokens' per-MAU bill with your own hosting costs plus a Better Auth plan.

## Architecture: a separate Core or a library in your app?

SuperTokens puts a Core service behind your backend: the backend SDK talks to the Core, and the frontend SDK calls routes on your backend. ([SuperTokens docs](https://supertokens.com/docs)) Self-hosted, the Core runs from a Docker image or directly on a VM, with PostgreSQL as its supported database. ([SuperTokens docs](https://supertokens.com/docs/passwordless/pre-built-ui/setup/core/with-docker)) SuperTokens Core dropped MySQL and MongoDB support with the 11.0.0 release. ([SuperTokens docs](https://supertokens.com/docs/passwordless/pre-built-ui/setup/core/with-docker)) The Core has no API key by default, so anyone who can reach an unprotected Core can run admin operations. ([SuperTokens docs](https://supertokens.com/docs/passwordless/pre-built-ui/setup/core/with-docker))

Better Auth runs inside your application instead, with its config in code. ([Better Auth docs](https://www.better-auth.com)) It connects to your own database or an ORM adapter such as Drizzle or Prisma. ([Better Auth docs](https://www.better-auth.com/docs/installation)) Its CLI migrate command only creates tables with the built-in Kysely adapter. ([Better Auth docs](https://www.better-auth.com/docs/concepts/database))

## SDKs and framework support

SuperTokens ships backend SDKs for Node.js, Python and Golang. ([SuperTokens docs](https://supertokens.com/docs/references/backend-sdks/reference)) On any other backend, SuperTokens has you run a separate auth server with one of those SDKs. ([SuperTokens docs](https://supertokens.com/docs/references/backend-sdks/other-frameworks))

Better Auth is a TypeScript framework that works with Next.js, Nuxt, SvelteKit, Astro, Hono and 20+ more frameworks. ([Better Auth docs](https://www.better-auth.com/docs), [Better Auth docs](https://www.better-auth.com))

## Features: MFA, SSO and sessions

Better Auth lists 2FA, multi-tenancy, multi-session and rate limiting as built-in features. ([Better Auth docs](https://www.better-auth.com/docs/comparison)) The SSO plugin connects each organization to its own OIDC or SAML 2.0 identity provider. ([Better Auth docs](https://www.better-auth.com/docs/plugins/sso)) Self-service SSO, where customers configure their own connection through an onboarding link, needs Better Auth's paid infrastructure. ([Better Auth docs](https://www.better-auth.com/docs/plugins/sso), [Better Auth pricing](https://www.better-auth.com/pricing)) In production mode, its rate limiter defaults to 100 requests per 10 seconds. ([Better Auth limits](https://www.better-auth.com/docs/concepts/rate-limit))

SuperTokens MFA supports email or SMS OTP, TOTP and WebAuthn passkeys, but only for paid users. ([SuperTokens docs](https://supertokens.com/docs/additional-verification/mfa/introduction)) Both use cookie-based sessions. ([SuperTokens pricing](https://supertokens.com/pricing), [Better Auth docs](https://www.better-auth.com/docs/concepts/session-management))

## Migrating from Auth0 or another provider

SuperTokens supports bulk and lazy migrations, and says users move over without changing their password or being logged out. ([SuperTokens docs](https://supertokens.com/)) Better Auth's Auth0 migration guide covers email and password with proper hashing, but that migration invalidates all active sessions. ([Better Auth docs](https://www.better-auth.com/docs/guides/auth0-migration-guide))

## Where SuperTokens wins

- Backend SDKs for Python and Golang as well as Node.js. ([SuperTokens docs](https://supertokens.com/docs/references/backend-sdks/reference))
- A managed service where SuperTokens handles scaling and updates for you. ([SuperTokens pricing](https://supertokens.com/pricing))
- Migration that keeps users signed in. ([SuperTokens docs](https://supertokens.com/))
- SOC 2 and GDPR compliance listed on the pricing page. ([SuperTokens pricing](https://supertokens.com/pricing))

## Where Better Auth wins

- 2FA and rate limiting come in the free, open-source framework. ([Better Auth docs](https://www.better-auth.com/docs/comparison), [Better Auth pricing](https://www.better-auth.com/pricing))
- Auth lives inside your app, with its config in code. ([Better Auth docs](https://www.better-auth.com))
- Wider database choice, from SQLite to MySQL. ([Better Auth docs](https://www.better-auth.com/docs/installation))
- An SSO plugin for OIDC or SAML 2.0 providers. ([Better Auth docs](https://www.better-auth.com/docs/plugins/sso))

## Limitations to plan for

- SuperTokens: MFA is a paid feature, and some self-hosted features need a license key. ([SuperTokens docs](https://supertokens.com/docs/additional-verification/mfa/introduction), [SuperTokens docs](https://supertokens.com/docs/passwordless/pre-built-ui/setup/core/with-docker))
- Better Auth: the free Starter plan keeps audit logs for 1 day, and self-service SSO starts on Pro. ([Better Auth pricing](https://www.better-auth.com/pricing), [Better Auth docs](https://www.better-auth.com/docs/plugins/sso))
- Better Auth: moving off Auth0 with its guide invalidates all active sessions. ([Better Auth docs](https://www.better-auth.com/docs/guides/auth0-migration-guide))

## Which one fits your use case

- For a team with a Python or Go API, SuperTokens fits because it ships backend SDKs for both. ([SuperTokens docs](https://supertokens.com/docs/references/backend-sdks/reference))
- A Next.js or SvelteKit app written in TypeScript suits Better Auth, since the auth runs inside the app. ([Better Auth docs](https://www.better-auth.com))
- If you need a second factor on a zero budget, Better Auth's 2FA is part of the free framework. ([Better Auth docs](https://www.better-auth.com/docs/comparison), [Better Auth pricing](https://www.better-auth.com/pricing))

## Verdict

Pick SuperTokens if your backend runs Python or Go or you want a managed option that is free under 5K monthly active users. ([SuperTokens docs](https://supertokens.com/docs/references/backend-sdks/reference), [SuperTokens pricing](https://supertokens.com/pricing)) Pick Better Auth if your app is TypeScript and you want 2FA and an OIDC or SAML SSO plugin in the free framework, with users kept in your own database. ([Better Auth docs](https://www.better-auth.com/docs), [Better Auth docs](https://www.better-auth.com/docs/comparison))

## Frequently asked questions

### Is SuperTokens free to self-host?

Yes, its open-source features are free without limits, while paid features such as MFA are billed separately. ([SuperTokens pricing](https://supertokens.com/pricing), [SuperTokens docs](https://supertokens.com/docs/additional-verification/mfa/introduction))

### Does Better Auth charge per user?

No. Better Auth has no per-user costs, and its paid plans cover managed infrastructure such as the dashboard and audit logs. ([Better Auth docs](https://www.better-auth.com/docs/comparison), [Better Auth pricing](https://www.better-auth.com/pricing))

### Is Better Auth part of Vercel?

Better Auth's homepage announces that Better Auth is joining Vercel. ([Better Auth docs](https://www.better-auth.com))

## Try SuperTokens

Run `npx create-supertokens-app@latest` to scaffold a starter app, then choose between the managed service and self-hosting ([SuperTokens](https://supertokens.com/)). ([SuperTokens docs](https://supertokens.com/), [SuperTokens docs](https://supertokens.com/docs))


## Sources

- [supertokens.com/pricing](https://supertokens.com/pricing)
- [better-auth.com/docs/comparison](https://www.better-auth.com/docs/comparison)
- [supertokens.com/docs/additional-verification/mfa/introduction](https://supertokens.com/docs/additional-verification/mfa/introduction)
- [better-auth.com/pricing](https://www.better-auth.com/pricing)
- [supertokens.com/docs](https://supertokens.com/docs)
- [supertokens.com/docs/passwordless/pre-built-ui/setup/core/with-docker](https://supertokens.com/docs/passwordless/pre-built-ui/setup/core/with-docker)
- [better-auth.com/docs](https://www.better-auth.com/docs)
- [better-auth.com/docs/installation](https://www.better-auth.com/docs/installation)
- [better-auth.com](https://www.better-auth.com)
- [supertokens.com/docs/references/backend-sdks/reference](https://supertokens.com/docs/references/backend-sdks/reference)
- [better-auth.com/docs/plugins/sso](https://www.better-auth.com/docs/plugins/sso)
- [supertokens.com](https://supertokens.com/)
- [better-auth.com/docs/guides/auth0-migration-guide](https://www.better-auth.com/docs/guides/auth0-migration-guide)
