KEEP IT

The value is the network, the data or the infrastructure. Keep paying.

Authentication as a service: hosted sign-in flows, sessions, social providers, passkeys and multi-factor, plus organisations and roles for business applications.

Promptfree, for everyone, and the only version there is
Build me session-based authentication for one application, using a maintained library for the cryptography.

STACK
- Astro with a Node adapter, SQLite via better-sqlite3
- A maintained password hashing library — argon2id — and a maintained session library; write neither yourself

SESSIONS, NOT TOKENS
- Opaque session id in an httpOnly, Secure, SameSite=Lax cookie
- Server-side session table with user id, created time, last seen, IP hash and user agent bucket
- Rotate the id on privilege change; expire absolutely at 30 days and idly at 14

PASSWORDS
- argon2id with parameters written in the README and reviewed yearly
- Check new passwords against the Have I Been Pwned range API using k-anonymity, never sending the password
- Never limit length below 64 characters, and never strip characters

EMAIL VERIFICATION AND RESET
- Single-use tokens, hashed in the database, expiring in 30 minutes
- A reset always reports the same message whether or not the address exists
- Resetting invalidates every existing session

RATE LIMITING
- Per address and per IP hash, with exponential backoff and a lockout that unlocks by email

WHAT IS OUT OF SCOPE
- Social login, passkeys, SAML, organisations — each is its own project, and the README should say so

Include a README on the hashing parameters, the session lifetimes and the incident plan if the table leaks.

What you lose

  • Session handling, token rotation and revocation done by people who have thought about it properly
  • Sign-in components that already handle every awkward state: expired links, locked accounts, device changes
  • Social providers, passkeys, magic links and multi-factor, all maintained as they change
  • Organisations, invitations and roles, which is a surprising amount of work
  • Being the party responsible when a session-fixation bug is found

If you would rather not build

  • Lucia — a guide and library for session-based auth you own
  • Auth0 — paid, the enterprise standard, more expensive

The escape hatch

open source · no votes, no paid placement

Keycloak

$0

Full identity server with SSO, social login and SAML, self-hosted.

keycloak/keycloakfree · open source

Ory Kratos

$0

Identity and user management API you run yourself, without a UI opinion.

ory/kratosfree · open source

Why this verdict

our own opinion · changed only by a person

29/100

Verdict no at 29: sessions and password handling are well-trodden and this prompt does them carefully. It is still a no because the failure mode is total — an authentication bug is every account at once, and the maintained edges keep moving.

History

tracked since 9 Aug 2026 · nothing is ever overwritten

Interest · last 30 days

Nothing recorded yet. This chart fills in once the page has visitors, votes or prompt copies — it will not draw a flat line to look busy.

Questions about Clerk

answered from the record above

Is Clerk free?

No — the plan we track is $25 a month. Pro at $25/month plus $0.02 per monthly active user beyond the free 10,000; add-ons for SAML and B2B are billed separately.

Can you replace Clerk by building your own?

KEEP IT. The value is the network, the data or the infrastructure. Keep paying. Replacement score 29 out of 100, build time longer than it saves. Read what you lose before you decide.

How much does Clerk cost?

$25 a month on Pro — $300 a year. Recorded 9 Aug 2026.

What do you lose by replacing Clerk?

Session handling, token rotation and revocation done by people who have thought about it properly; Sign-in components that already handle every awkward state: expired links, locked accounts, device changes; Social providers, passkeys, magic links and multi-factor, all maintained as they change; Organisations, invitations and roles, which is a surprising amount of work; Being the party responsible when a session-fixation bug is found. If any of those carry weight for you, keep paying.

Is there an open-source alternative to Clerk?

Yes: Keycloak, Ory Kratos. The prompt on this page is for when you want it your way instead.

Related entries

same category first, most replaced first

All 36 in Dev tools

Coming soon

Every week, something stops being worth paying for.

New verdicts, prices that moved, entries added. One email a week. Unsubscribe in one click.

free forever · no tracking pixel · every prompt stays free on the site

Esc