Clerk vs Hanko for Solo Developers
Comparing Clerk and Hanko for solo developers. Features, pricing, pros and cons, and which one to pick for your next project.
Quick Comparison
| Feature | Clerk | Hanko |
|---|---|---|
| Type | Managed auth service with pre-built UI | Passkey-first auth (cloud or self-hosted) |
| Free tier | 50,000 MAU (Hobby) | 10,000 MAU cloud / unlimited self-hosted |
| Paid plan | Pro $25/mo ($20/mo annual) + $0.02 per MAU over 50K | Pro $29/mo + $0.01 per MAU over 10K |
| Self-hosting | Not available (cloud only) | Free, backend AGPL-3.0 |
| SDK / version | @clerk/nextjs 7.4.2, @clerk/clerk-react 5.61.3 | @teamhanko/hanko-elements 2.6.0, backend Hanko 2.5 |
| Primary language | TypeScript SDKs (service is closed) | Go backend, MIT-licensed web components |
| Learning Curve | Easy (React components) | Easy (web components) |
| Best For | Full-featured auth with social logins and user management | Passkey-first, passwordless authentication |
| Solo Dev Rating | 9/10 | 7/10 |
Clerk Overview
Clerk is the managed auth service that makes authentication feel effortless in React and Next.js applications. Drop in pre-built components for sign-in, sign-up, user profiles, and organization management. Configure social providers (Google, GitHub, Apple) through the dashboard. Protect routes with middleware. Done.
The developer experience sets Clerk apart. The useUser() hook gives you the authenticated user anywhere in your component tree. The <UserButton /> component handles profile management, session switching, and sign-out. The management dashboard shows user activity, sessions, and lets you perform admin actions.
Clerk supports email/password, social logins, multi-factor auth, magic links, and passkeys. It's a comprehensive auth solution that covers every common authentication method. The free Hobby tier now includes 50,000 monthly active users with all core auth features unlocked, a sizable jump from the 10,000 it offered earlier.
Hanko Overview
Hanko is an authentication solution built around passkeys and passwordless login. Instead of passwords being the default with passkeys as an option, Hanko flips the model: passkeys are the primary authentication method, with email one-time codes as the fallback. No passwords to store, hash, or breach.
Hanko provides web components (<hanko-auth> and <hanko-profile>) that you embed in your application. These aren't React-specific, they're standard web components that work in any framework: React, Vue, Svelte, Angular, vanilla JavaScript. The auth flow guides users through passkey registration and login, falling back to email codes when passkeys aren't available.
The self-hosted option is genuinely free. Hanko's backend is open source (written in Go), and you can deploy it alongside your application. The cloud-hosted version offers a free tier with 10,000 MAU, similar to Clerk. For solo developers who want passwordless auth without a managed service dependency, the self-hosted path is compelling.
Key Differences
Authentication philosophy. Clerk is a comprehensive auth platform that supports every method: passwords, social logins, MFA, magic links, and passkeys. Hanko is focused specifically on passkey-first, passwordless authentication. Clerk gives you everything. Hanko gives you the future of auth (passkeys) done really well.
Social logins. Clerk supports dozens of social providers out of the box: Google, GitHub, Apple, Discord, and many more. Configuring them takes clicks in the dashboard. Hanko's primary flow is passkeys + email codes. Social login support is more limited. If your users expect "Sign in with Google" or "Sign in with GitHub," Clerk is the straightforward choice.
Framework compatibility. Clerk's pre-built components are React-native and work best in the React/Next.js ecosystem. Other frameworks get less polished support. Hanko uses standard web components that work in any framework or even without a framework. For Vue, Svelte, or Angular developers, Hanko's approach is more universal.
Self-hosting option. Hanko can be self-hosted completely free. The Go backend is lightweight and easy to deploy. Clerk is cloud-only. There is no self-hosted Clerk option. If you need or want to self-host your auth infrastructure, Hanko provides that while Clerk does not.
User management. Clerk includes a comprehensive user management dashboard: view users, edit profiles, ban accounts, manage sessions, and impersonate users. Hanko's admin capabilities are more limited. The focus is on the authentication flow itself, not user management and administration.
Passwordless vs. traditional. Hanko's entire identity is passwordless. The UX is built around passkeys as the primary method, with email codes as fallback. There's no password field. Clerk supports passwordless methods (magic links, passkeys) but also supports traditional email/password. If you want to force a passwordless experience, Hanko is purpose-built for it.
Maturity and ecosystem. Clerk has been around longer, has more integrations, more documentation, and a larger community. Hanko is newer and more focused. Clerk's ecosystem advantage means more tutorials, more Stack Overflow answers, and more examples to learn from. The npm download gap makes that concrete. The @clerk/nextjs package pulled roughly 1.37 million weekly downloads in late May 2026, while @teamhanko/hanko-elements sat around 4,400 over the same week. That is two very different community sizes.
By the Numbers (2026)
Here is where each tool actually stands as of late May 2026, with sources at the bottom of the post.
| Metric | Clerk | Hanko |
|---|---|---|
| Free tier | 50,000 MAU (Hobby plan) | 10,000 MAU (cloud Starter), unlimited self-hosted |
| Paid plan base | $25/mo, or $20/mo billed annually (Pro) | $29/mo (Pro) |
| Overage rate | $0.02 per MAU above 50,000 | $0.01 per MAU above 10,000 |
| Top published tier | Business $300/mo ($250/mo annual) | Enterprise, custom pricing |
| Startup deal | None published | Up to 1,000,000 MAU free for qualifying startups |
| Self-hosting | Not available, cloud only | Free, backend under AGPL-3.0 |
| Latest SDK | @clerk/nextjs 7.4.2, @clerk/clerk-react 5.61.3 | @teamhanko/hanko-elements 2.6.0 |
| Latest backend | Closed-source managed service | Hanko 2.5 (backend/v2.5.0), released 2026-03-03 |
| Primary language | TypeScript SDKs (service is proprietary) | Go backend, MIT-licensed web components |
| GitHub stars | 1,706 on clerk/javascript (SDK monorepo) | 8,939 on teamhanko/hanko |
| npm weekly downloads | ~1,370,000 (@clerk/nextjs) | ~4,400 (@teamhanko/hanko-elements) |
A few things to read carefully here. Clerk's GitHub star count reflects only its open-source SDK monorepo, because the auth service itself is closed and cloud-hosted. Hanko's higher star count reflects that the whole backend is open. The npm download numbers tell the opposite story about real-world install volume, where Clerk dominates by roughly 300 to 1. Stars measure interest in open code, downloads measure how many projects actually ship with the package.
Real Cost at Solo-Dev Scale
The pricing pages list rates, but rates do not tell you what you will actually pay. Let me run a realistic solo-dev workload through both.
Assume a small SaaS that grows to 25,000 monthly active users. That is a healthy indie product, well past the free hobby stage but nowhere near enterprise scale.
Clerk at 25,000 MAU. The free Hobby tier covers 50,000 MAU, so 25,000 is still fully inside the free tier. Your auth bill is $0 per month. You only start paying once you cross 50,000, and then it is the $20 to $25 Pro base plus $0.02 for each MAU above 50,000.
Hanko Cloud at 25,000 MAU. The free Starter tier covers 10,000 MAU, so you are 15,000 over. That puts you on the Pro plan at $29 per month base, plus $0.01 for each of the extra 15,000 users. That overage is 15,000 times $0.01, which is $150. Total is $29 plus $150, so $179 per month.
Hanko self-hosted at 25,000 MAU. The backend is free with no user cap, so your only cost is the server you run it on. A small managed VPS or container instance in the $5 to $20 per month range is plenty for an auth service at this size, since the Go backend is lightweight. Call it roughly $10 per month in infrastructure.
So at 25,000 MAU the spread is wide. Clerk Cloud is free because of its huge 50,000-MAU hobby tier. Hanko Cloud is the most expensive of the three at $179 per month, because its free tier is five times smaller. Hanko self-hosted is the cheapest paid option at around $10 per month, but you trade that saving for the work of running, patching, and backing up the service yourself.
The headline takeaway for a solo dev under 50,000 users is blunt. On the managed-cloud path Clerk is currently the cheaper option, often free, thanks to that 50,000-MAU tier. Hanko only wins on cost if you are willing to self-host. If you are not running your own infrastructure, the "Hanko is the free one" intuition is now backwards for any project between 10,000 and 50,000 users.
When to Choose Clerk
- You want comprehensive auth with social logins, passwords, and passkeys
- You're building with React or Next.js and want the best developer experience
- You need a user management dashboard for admin tasks
- You want a battle-tested solution with extensive documentation
- Your users expect traditional sign-in options (Google, email/password)
When to Choose Hanko
- You want to go passwordless-first with passkeys as the primary method
- You need a self-hosted auth solution that costs nothing to run
- You're building with a non-React framework (Vue, Svelte, Angular)
- You believe passkeys are the future and want to adopt them now
- You prefer open-source infrastructure you can inspect and modify
The Verdict
For most solo developers today, Clerk is the safer and more practical choice. It supports every auth method your users might expect, has excellent documentation, and integrates seamlessly with the React ecosystem. Passkeys are supported alongside traditional methods, so you get the benefits of modern auth without forcing users into an unfamiliar flow.
Hanko is the right choice for developers who are committed to a passwordless future. If your product targets tech-savvy users who have passkey-capable devices, or if you're building something where eliminating passwords is a feature (security-focused tools, for example), Hanko's passkey-first approach is elegant and forward-thinking.
The practical consideration is user expectations. Most users in 2025 still expect to see "Sign in with Google" or an email/password form. Passkey adoption is growing but isn't universal. Clerk lets you offer passkeys alongside traditional methods, easing the transition. Hanko pushes users toward passkeys more aggressively, which is great for security but might confuse users who haven't encountered passkeys before.
If you're unsure, go with Clerk. You can always enable passkeys as an option and see how your users respond. Going all-in on passkeys with Hanko is a bet on the future. It's probably the right bet, but it's still a bet.
Sources
All figures checked on 2026-05-28.
- Clerk pricing, plans and per-MAU rates: https://clerk.com/pricing
- Clerk changelog and plan updates: https://clerk.com/changelog
- Hanko pricing, plans and per-MAU rates: https://www.hanko.io/pricing
- Hanko Startup Plan (up to 1,000,000 MAU free): https://www.hanko.io/startup-plan
- Hanko repository, license and GitHub stars: https://github.com/teamhanko/hanko
- Hanko releases (latest backend version and date): https://github.com/teamhanko/hanko/releases
- Clerk SDK monorepo and GitHub stars: https://github.com/clerk/javascript
- @clerk/nextjs version and weekly downloads: https://registry.npmjs.org/@clerk/nextjs and https://api.npmjs.org/downloads/point/last-week/@clerk/nextjs
- @teamhanko/hanko-elements version and weekly downloads: https://registry.npmjs.org/@teamhanko/hanko-elements and https://api.npmjs.org/downloads/point/last-week/@teamhanko/hanko-elements
Like this? You'll like what I'm building too.
Two ways to support and get more of this work.
HEARTH
A privacy-first Life OS for your desktop. Journal, tasks, and notes that stay on your machine. Coming soon, direct download from this site.
Read moreMY TOOLKITS
Receipts-first toolkits for shipping after hours, building Claude agents, publishing on Amazon, and more. The exact methods I used, not theory.
Browse on WhopRelated Articles
Angular vs HTMX for Solo Developers
Comparing Angular and HTMX for solo developers. Features, pricing, pros and cons, and which one to pick for your next project.
Angular vs Qwik for Solo Developers
Comparing Angular and Qwik for solo developers. Features, pricing, pros and cons, and which one to pick for your next project.
Angular vs SolidJS for Solo Developers
Comparing Angular and SolidJS for solo developers. Features, pricing, pros and cons, and which one to pick for your next project.