Clerk vs Supabase Auth: which should builders use?
Both handle sign-up, sign-in and sessions for AI-built web and mobile apps. Clerk is a dedicated auth product with prebuilt sign-in UI and Organizations for B2B, billed per Monthly Retained User: Hobby is free up to 50,000 MRUs per app, Pro is $25 a month ($20 billed annually). Supabase Auth comes with the open-source Supabase backend and ties straight into Postgres Row Level Security, billed per monthly active user: 50,000 free, 100,000 on Pro from $25 a month. Lovable and Bolt.new connect to Supabase natively, and the two can be combined: Supabase accepts Clerk as a third-party auth provider.
| Made by | Clerk | Supabase (open source) |
|---|---|---|
| What it is | Hosted auth and user management: prebuilt UI, Organizations (B2B), Billing and machine auth (API keys, M2M tokens) | Auth inside an open-source backend (Postgres, Storage, Edge Functions, Realtime); users live in your Postgres auth schema |
| Free plan | Hobby $0, no card: 50,000 MRUs per app, unlimited apps, up to 3 dashboard seats, up to 3 social connections, sessions fixed at 7 days, "Secured by Clerk" branding | Free $0: 50,000 MAUs, 2 active projects (projects pause after 1 week idle), social OAuth, anonymous sign-ins, basic MFA, 1-hour auth audit logs |
| Paid plans | Pro $25/mo ($20/mo billed annually); Business $300/mo ($250/mo annually) with 10 dashboard seats and a SOC 2 report; Enterprise custom, annual only | Pro from $25/mo (100,000 MAUs, $10 compute credits); Team from $599/mo; Enterprise custom. Auth comes with the database plan, not sold separately |
| How users are billed | Monthly Retained Users: a user counts only if they come back 24+ hours after signing up ("First Day Free") | Monthly active users: anyone who signs in or refreshes a token in the billing cycle, counted once |
| Past the included users | $0.02 per MRU from 50,001 to 100,000, $0.018 to 1M, $0.015 to 10M, $0.012 above; a one-month grace period if Hobby goes past 50K | $0.00325 per MAU over 100,000 on Pro and Team; Free stops at 50,000 |
| MFA | Pro and up: authenticator apps, SMS codes and backup codes; not on Hobby | Basic MFA (authenticator app, TOTP) on every plan; Advanced MFA by phone is $75/mo for the first project, then $10/mo per project (Pro and up), plus SMS costs |
| Passkeys | Pro and up (plus biometric sign-in for native apps) | Experimental on every plan; opt in from supabase-js v2.105.0+, supabase_flutter v2.15.0+ or supabase-swift v2.48.0+ |
| Social and phone sign-in | Hobby up to 3 social connections, Pro unlimited; SMS codes on Pro+, $0.01 per SMS in the US and Canada | Social OAuth providers on every plan, custom OAuth/OIDC providers, Web3 sign-in; phone sign-in through your own SMS provider (Twilio, MessageBird, Vonage) |
| Enterprise SSO | Pro: 1 SSO connection (SAML, OIDC or EASIE) per app, then $75/mo each (2-15), $60/mo each (16-100) | SAML 2.0 on Pro and up: 50 SSO MAUs included, then $0.015 per SSO MAU |
| Directory Sync (SCIM) | Pro: 1 connection per app, then $75/mo each; billing for Directory Sync starts Jan 1, 2027 (free until then) | No SCIM directory sync for your app's users |
| Organizations / B2B | Organizations on every plan: 100 Monthly Retained Organizations per app, up to 20 members each; B2B Authentication add-on $100/mo ($85 annually) for unlimited members, custom roles, verified domains, then $1 per MRO | No Organizations product: model teams in your own tables and enforce access with Row Level Security |
| Prebuilt UI | Yes: SignIn, SignUp, UserButton, OrganizationSwitcher and more; remove Clerk branding from Pro | No hosted UI components; you build forms with supabase-js (Next.js starter template includes auth pages) |
| Database tie-in | No database. Supabase's third-party auth lets Clerk session tokens drive Supabase RLS (billed by Supabase as Third-Party MAUs, same 50K/100K quotas) | Auth JWTs plug into Postgres Row Level Security via auth.uid() and auth.jwt(); RLS is the main authorization model |
| Open source / self-host | No: hosted only | Yes: open source, self-host with Docker or run locally with the Supabase CLI |
| AI coding tools | Clerk Skills for Claude Code, Cursor, Codex, Copilot and others, a Clerk CLI and a Clerk MCP server; a documented Lovable + Supabase + Clerk build | Native in Lovable (all plans) and Bolt.new (Pro and Teams); Supabase MCP server for coding agents |
| Pricing (approx.) | Hobby free (50K MRU/app); Pro from $25/mo ($20/mo annual) | Free tier (2 projects; pause after 1 week idle); Pro from $25/mo |
| Our rankings | not in a ranking yet | #2 in Deploy & ship |
How the pricing compares
Both start at $0 and $25 a month, but they count users differently. Clerk bills Monthly Retained Users: someone who signs up and never comes back after the first 24 hours is free, which helps apps that get a spike of one-time visitors. Hobby covers 50,000 MRUs per app; Pro ($25 a month, $20 billed annually) includes the same 50,000 and then charges $0.02 per MRU, falling to $0.012 at volume. Supabase bills monthly active users, everyone who signs in or refreshes a session in the cycle, but includes more of them: 50,000 on Free and 100,000 on Pro, then $0.00325 each. At 100,000 active users, Supabase Pro's auth line is $0, while Clerk Pro would add about $1,000 a month for the 50,000 retained users over the limit. The extras are priced differently too: Clerk includes one SSO connection on Pro and charges $75 a month for each extra one, while Supabase charges $0.015 per SSO user past 50, and $75 a month for phone MFA.
The free plans, side by side
Clerk Hobby is a full production auth service with no card: 50,000 retained users per app, unlimited apps, email codes, magic links, passwords and Organizations with up to 20 members. It leaves out MFA, passkeys, custom session lengths (fixed at 7 days), more than 3 social providers and removing the "Secured by Clerk" badge. Supabase Free includes basic MFA, social OAuth and anonymous sign-ins with 50,000 monthly active users, but it's part of a free database project: you get two active projects, and each one pauses after a week without activity, which takes sign-in down with it until you restore it.
Moving between them
You often don't need to: Supabase's third-party auth integration accepts Clerk session tokens, so you can keep Clerk for sign-in and use Supabase only for data, with RLS policies that read the Clerk user ID. Supabase counts those users as Third-Party MAUs on the same 50,000 / 100,000 quotas. To move users into Clerk, Clerk's open-source migration tool imports a JSON or CSV file through the Backend API (rate limited), along with the password hashing algorithm, so existing passwords keep working; Clerk also documents a trickle migration that runs both systems while active users move over, and it only bills retained users, not the size of the imported user table. Going the other way, Clerk's dashboard exports a CSV of users that includes hashed passwords, but Supabase has no Clerk importer, so you load users yourself. Either way, existing sessions end at the switch, and Clerk Organizations have to be rebuilt as tables and RLS policies in Supabase.
Pick Clerk if…
You want drop-in sign-in UI, Organizations for a multi-tenant B2B SaaS, enterprise SSO and SCIM on a $25 plan, or many sign-ups who never return (First Day Free), or you're adding auth with Clerk Skills in Claude Code or Cursor.
Prices like these change every week.
Get verified AI tool price changes and free-tier alerts in one Friday email. Free, plus the AI Builder Price Sheet.
Pick Supabase if…
You're building with Lovable or Bolt.new, already use Supabase for data, want 100,000 active users included on Pro, want MFA on the free plan, want RLS as the single source of truth, or may self-host later.
Our verdict
Default to Supabase Auth when the app already runs on Supabase, especially from Lovable or Bolt.new: it's included with the database, covers 100,000 active users on Pro and keeps authorization in RLS. Pick Clerk when sign-in UX, B2B Organizations or enterprise SSO matter more than bundling, or combine them, with Clerk for identity and Supabase RLS reading Clerk tokens.
Frequently asked questions
Is Clerk free?
Yes. Clerk's Hobby plan is $0 with no credit card and covers 50,000 Monthly Retained Users per app, with unlimited apps, prebuilt sign-in UI and Organizations of up to 20 members. MFA, passkeys, custom session lengths and removing Clerk branding need Pro at $25 a month ($20 billed annually).
Is Supabase Auth free?
Yes, on the Supabase Free plan: 50,000 monthly active users with social OAuth, anonymous sign-ins and basic (authenticator app) MFA. The catch is the project: Free allows two active projects and pauses a project after one week of inactivity. Pro, from $25 a month, includes 100,000 MAUs and never pauses.
What is a Monthly Retained User in Clerk?
A user who comes back 24 hours or more after signing up. Clerk calls this First Day Free: a user who signs up and never returns after day one isn't counted. Supabase counts every user who signs in or refreshes a session during the billing cycle.
Can I use Clerk with Supabase?
Yes. Supabase supports Clerk as a third-party auth provider: activate the Supabase integration in the Clerk dashboard, add Clerk under Third-Party Auth in Supabase, and write RLS policies on the Clerk user ID. Supabase bills those users as Third-Party MAUs (50,000 free, 100,000 on Pro, then $0.00325 each), and Clerk still bills its own MRUs.
Does Supabase Auth have prebuilt sign-in components like Clerk?
Not as a hosted component library. Supabase gives you client SDKs and Auth APIs, and its Next.js starter includes sign-in pages you can edit, but you build and style the forms yourself. Clerk ships SignIn, SignUp, UserButton and OrganizationSwitcher components.
Does Clerk charge for Directory Sync?
From January 1, 2027. Pro and Business include one Directory Sync (SCIM or Google Workspace) connection per app, and each extra one will cost $75 a month (2-15 connections) or $60 a month (16-100), counted separately from SSO connections. Clerk says there's no charge for Directory Sync until then.
Facts and prices checked on vendor pages on Oct 23, 2026: Clerk pricing (checked Oct 23, 2026), Clerk docs: Directory Sync (checked Oct 23, 2026), Clerk changelog: Self-serve Directory Sync (Sep 30, 2026) (checked Oct 23, 2026), Clerk docs: Organizations (checked Oct 23, 2026), Clerk docs: Migrating to Clerk (checked Oct 23, 2026), Clerk docs: Integrate Supabase with Clerk (checked Oct 23, 2026), Clerk docs: Billing (checked Oct 23, 2026), Clerk docs: Building with AI (Skills, CLI, MCP) (checked Oct 23, 2026), Clerk blog: Lovable + Supabase + Clerk (checked Oct 23, 2026), Supabase pricing (checked Oct 23, 2026), Supabase docs: Auth (checked Oct 23, 2026), Supabase docs: Monthly active users (checked Oct 23, 2026), Supabase docs: Third-party MAUs (checked Oct 23, 2026), Supabase docs: SSO MAUs (checked Oct 23, 2026), Supabase docs: Advanced MFA Phone (checked Oct 23, 2026), Supabase docs: Multi-factor authentication (checked Oct 23, 2026), Supabase docs: Passkeys (checked Oct 23, 2026), Supabase docs: SAML SSO (checked Oct 23, 2026), Supabase docs: Anonymous sign-ins (checked Oct 23, 2026), Supabase docs: Clerk third-party auth (checked Oct 23, 2026), Lovable docs: Supabase (checked Oct 23, 2026), Bolt help: Supabase (checked Oct 23, 2026). Plans and limits change often, so confirm before you buy.
Related
Supabase vs Firebase→v0 vs Bolt.new→Lovable vs Bolt.new→Best hosting for AI apps→Best AI app builder→Best AI tool for internal tools→Best AI tool for mobile apps→Lovable alternatives (6 options with prices)→Bolt.new alternatives (6 options with prices)→Replit vs Lovable→Base44 vs Lovable→AI tool price tracker→AI tool price changes→Vercel vs Netlify→Railway vs Vercel→Go deeper
Paid guides built from the same verified, dated data. Coming this week.
AI Coding Cost Playbook
Which AI coding plan to buy, how the limits really work, how to stretch them, and what a month actually costs.
$29 · ZIP (21 files) + READMEClaude Code & Cursor Rules Pack
Drop-in CLAUDE.md, .cursor/rules and AGENTS.md templates, 8 prompt templates and 4 setup checklists, so your agent stops re-learning your repo every session.