Skip to content

Better Auth

Better Auth is an open source authentication framework for TypeScript, with built-in sessions, 50+ authentication methods, multi-tenancy and enterprise features such as SSO and SAML. On 7 July 2026 the team announced that Better Auth is joining Vercel. The framework is free, and a managed dashboard and infrastructure service costs $20 a month on the Pro plan.

By Better AuthOpen sourceAuth

Facts checked on against the sources listed at the end of this page.

Pricing
Open sourcePaid from $20 a month for Pro (managed infrastructure)
Open source
YesMIT
GitHub stars
30,753+423 in the last 30 days
npm downloads a week
20Mup 5% on the week before
Latest release
v1.7.252 days ago
Releases in 90 days
6about 2 a month

A good fit for

  • TypeScript apps that want auth in their own codebase and database
  • Teams that need passkeys, SSO or multi-tenant organizations
  • Projects that want to avoid a per-user fee from a hosted auth provider
  • Apps that need to authenticate AI agents over MCP

Not a good fit for

  • Non-TypeScript back ends: the framework is TypeScript
  • Teams that want a fully hosted login service with no auth code to maintain
  • Anyone who needs a statement on long-term pricing after the Vercel deal: the announcement gives none

Better Auth pricing

The framework is free and open source. Paid plans are for the managed infrastructure and dashboard: Starter is free, Pro is $20 a month and Enterprise is custom.

PlanPriceWhat you get
Starter$0 a month1 dashboard seat, 10,000 audit logs a month with 1 day retention, 1,000 security detections a month and community support.
Pro$20 a monthUnlimited dashboard seats, 20,000 audit logs a month then $0.0001 per event, 10,000 security detections a month then $0.001 per event, email support. Transactional email is $0.001 and SMS $0.09. Custom domain and log drain are $25 a month each.
EnterpriseCustom pricingAudit logs, security detection, retention policies, SSO, directory sync, log drain, custom dashboard domain and dedicated Slack support.

Prices in USD, checked on 6 October 2026. Current prices on better-auth.com.

Main features

Credential auth
Sessions, email verification and password reset built in.
50+ authentication methods
Passkeys, magic links, API keys, JWTs and OAuth.
Multi-tenancy
Teams, roles, invitations and access control.
Enterprise features
SSO, SAML 2.0, SCIM and directory sync.
Security tooling
Bot detection, IP blocking and email validation.
AI agent auth
MCP auth and token exchange.
Wide framework support
Next.js, Nuxt, SvelteKit, Astro, Hono and 20+ others.

About Better Auth

Better Auth is a code-first authentication framework for TypeScript. It includes credential auth with sessions, email verification and password reset, and lists 50+ methods including passkeys, magic links, API keys, JWTs and OAuth.

It supports multi-tenancy with teams, roles and invitations, enterprise features such as SSO, SAML 2.0, SCIM and directory sync, security features such as bot detection and IP blocking, and MCP auth for AI agents. It works with Next.js, Nuxt, SvelteKit, Astro, Hono and 20+ other frameworks.

On 7 July 2026 Better Auth published "Better Auth is joining Vercel". The post says Vercel shares the commitment to keeping auth open source and framework and platform agnostic. It names two focuses: the Better Auth framework and the Agent Auth Protocol for securing agent workflows. The post also says Better Auth previously acquired Auth.js (NextAuth.js) and will keep maintaining it. The post does not give pricing details.

Made by
Better Auth
Free plan
The framework is free. The managed Starter plan is $0 a month with 1 dashboard seat.
Available on
TypeScript, Next.js, Nuxt, SvelteKit, Astro, Hono

Usage and activity

Weekly npm downloads of better-auth, last 12 months.

05M10M15M20MOctDecFebAprJunAugNov18 October 2025: 399,196 downloads a week25 October 2025: 442,811 downloads a week1 November 2025: 424,819 downloads a week8 November 2025: 453,844 downloads a week15 November 2025: 477,574 downloads a week22 November 2025: 507,935 downloads a week29 November 2025: 562,182 downloads a week6 December 2025: 673,862 downloads a week13 December 2025: 681,783 downloads a week20 December 2025: 688,710 downloads a week27 December 2025: 507,777 downloads a week3 January 2026: 536,843 downloads a week10 January 2026: 753,620 downloads a week17 January 2026: 865,840 downloads a week24 January 2026: 933,784 downloads a week31 January 2026: 1,020,952 downloads a week7 February 2026: 1,133,193 downloads a week14 February 2026: 1,202,655 downloads a week21 February 2026: 1,208,532 downloads a week28 February 2026: 1,345,219 downloads a week7 March 2026: 1,566,073 downloads a week14 March 2026: 1,741,685 downloads a week21 March 2026: 1,806,446 downloads a week28 March 2026: 2,006,322 downloads a week4 April 2026: 2,107,064 downloads a week11 April 2026: 2,137,886 downloads a week18 April 2026: 2,246,520 downloads a week25 April 2026: 2,372,016 downloads a week2 May 2026: 2,551,453 downloads a week9 May 2026: 2,716,895 downloads a week16 May 2026: 3,123,787 downloads a week23 May 2026: 3,252,284 downloads a week30 May 2026: 3,222,284 downloads a week6 June 2026: 3,951,952 downloads a week13 June 2026: 4,151,508 downloads a week20 June 2026: 4,506,170 downloads a week27 June 2026: 4,298,059 downloads a week4 July 2026: 4,531,436 downloads a week11 July 2026: 5,478,892 downloads a week18 July 2026: 5,923,741 downloads a week25 July 2026: 6,258,760 downloads a week1 August 2026: 6,594,196 downloads a week8 August 2026: 6,425,740 downloads a week15 August 2026: 6,777,992 downloads a week22 August 2026: 7,146,447 downloads a week29 August 2026: 7,455,030 downloads a week5 September 2026: 8,506,192 downloads a week27 September 2026: 10,692,270 downloads a week4 October 2026: 12,589,614 downloads a week31 October 2026: 17,334,914 downloads a week7 November 2026: 18,751,782 downloads a week14 November 2026: 19,744,474 downloads a week

Recent releases

Better Auth alternatives

All 9 alternatives to Better Auth, side by side

Questions about Better Auth

Is Better Auth open source?

Yes. The pricing page says the framework is free and open source and that pricing is for its managed infrastructure.

Did Vercel acquire Better Auth?

On 7 July 2026 Better Auth announced it is joining Vercel. The post says Vercel shares the commitment to keeping auth open source and framework and platform agnostic.

How much does Better Auth cost?

The framework is free. The managed infrastructure has a free Starter plan, Pro at $20 a month and custom Enterprise pricing.

Does Better Auth maintain Auth.js?

According to the 7 July 2026 announcement, Better Auth previously acquired Auth.js (NextAuth.js) and will continue maintaining it.

Better Auth vs Clerk: what is the difference?

Better Auth is an open source framework you run in your own app. Clerk is a hosted authentication service.

Sources and links

Work on Better Auth? Claim this listing. Something wrong or out of date? Suggest a correction. Stats come from the public GitHub and npm APIs and update every day.

Better Auth: pricing, features and alternatives (2026) | ScratchDB