ModelFarebeta
Back to AI Toolkit

Better Auth

Add authentication flows and session handling to an application.

Toolkit

Backend & APIs · Documentation reviewed 2026-11-10. Not independently tested.

When it helps

TypeScript applications needing configurable authentication and integrations with their framework and database.

What to consider

MIT-licensed core. It does not automatically secure an application; review cookie settings, secrets, provider callbacks, account recovery, and permission checks.

Getting started

Follow the integration guide for your framework, configure a supported database adapter, and test sign-in, sign-out, recovery, and session handling.

Access & costs

Runs
Local / Self-hosted
External account
Optional
API key
Optional
Costs
Local or service costs

The core library needs no external provider account. Social login and email delivery require configured providers; those services and your database can incur costs.

  • Supported JavaScript runtime and web framework
  • Supported database adapter
  • Application secrets
  • Provider configuration for optional social login or email

Repository evidence

Stars: 30,830 · License: MIT

Last code push: 2026-11-22

Statistics retrieved: 2026-11-23T00:42:59+00:00

Counts are snapshots, not live rankings. Review the repository license and any hosted-service terms before adopting it.

Adding model calls?

Plan the tokens, retries, and fallback costs before connecting your tools.

Open the planner