Skip to content
Compare

Keycloak vs Clerk

Clerk sells sign-in and user management as components you drop into a web app, run as a managed service. Keycloak is an identity server that apps connect to over standard protocols, and RealmDeploy runs it for you.

Checked on · Sources

The short answer

Choose Clerk if you build a web app and want prebuilt sign-in components, a free tier up to 50,000 monthly retained users, and a low monthly price. Choose Keycloak on RealmDeploy if you need data in Europe, SAML as an identity provider, LDAP federation, or open-source software you can run yourself later.

Side by side

Keycloak on RealmDeploy and Clerk

Every fact on the right comes from Clerk’s own public pages; the number after it opens the source.

TopicKeycloak on RealmDeployClerk
Hosting modelManaged Keycloak: a dedicated cluster for each customer, set up and run by our team on Azure or AWSA managed service only1
Open sourceKeycloak is open source under Apache-2.0. We run the upstream image, unchanged.The SDKs are open source under MIT; the backend is a managed service21
OIDC, SAML and LDAPOpenID Connect, OAuth 2.0 and SAML 2.0, as identity provider and as a broker to outside providers. LDAP and Active Directory user federation.Enterprise SSO over SAML or OIDC. Clerk can act as an OAuth 2.0 and OIDC provider for other apps.34
User federation and migrationKeycloak’s own LDAP and Active Directory federation. We open the outgoing connection from your cluster to your directory.Bulk import keeps passwords when your old platform exports them. A trickle migration you build yourself with the API.5
Custom code and extensionsNot yet: tenant images run stock Keycloak, so custom providers, extensions and themes cannot be installed. Built-in flows, mappers and required actions are set in the admin console.Asynchronous webhooks, and custom JWT templates67
Pricing model and published pricesA price per plan, not per user, sized for about 5K, 100K or 500K active users. Starter $199/mo, billed monthly only. Premium $999/mo, or $799/mo billed yearly. Enterprise $2,499/mo, or $1,999/mo billed yearly. Custom through the contact form.Hobby free to 50,000 monthly retained users per app. Pro $25/mo, or $20/mo billed annually. Business $300/mo, or $250/mo billed annually. Extra users from $0.02 each; SSO connections beyond the first $75/mo each.7
Data residency and regionsAzure West Europe, AWS Frankfurt (eu-central-1) or AWS N. Virginia (us-east-1)US only; no region choice8
Self-host optionYes: Keycloak runs anywhere, so you can move your realms to a Keycloak you run yourselfNot offered1
Export and lock-inStandard Keycloak realms. Any Keycloak can import their export, users and password hashes included.The dashboard export includes password digests; the API and CLI exports do not9
Uptime SLAStarter: best effort, no SLA. Premium: 99.9%. Enterprise: 99.95%.99.99% on Enterprise only7
SupportWritten only. Starter: next business day. Premium: first response within 4 hours on weekdays. Enterprise: 24×7 for urgent issues.Community Discord on every plan, email support, priority email on Business, premium options and a Slack channel on Enterprise7

Their facts as published on 25 November 2026; a row is left out where we could not find a fact on their pages. Ours are on the pricing page.

What differs

The three differences that matter most

Components, or a protocol server

Clerk is built around prebuilt sign-in components and SDKs for web frameworks. Keycloak is a server your apps reach over OpenID Connect or SAML, with its own login pages. Any language with an OIDC library works with it.

Where the data lives

Clerk’s security page says it offers no regional data residency or region choice, and data is hosted in the US. Your Keycloak runs in the region you pick: Azure West Europe, AWS Frankfurt or AWS N. Virginia.

Enterprise sign-in

Clerk connects your users to their company’s SAML or OIDC provider, with one connection per app included on paid plans and $75 a month for each extra one. Keycloak brokers as many identity providers as you configure, and federates LDAP and Active Directory, at the plan price.

Which fits

Where each one fits better

If the second list describes you better, Clerk is the better choice.

Choose Keycloak on RealmDeploy if
  • Your data has to stay in Europe: we run in Azure West Europe and AWS Frankfurt.
  • You need Keycloak as a SAML identity provider, or LDAP and Active Directory federation.
  • You need many enterprise identity providers without a price per connection.
  • You want open-source software you can run yourself later.
  • You have apps in several languages that sign in over standard OpenID Connect.
Choose Clerk if
  • You build a web app and want prebuilt sign-in components in your framework.
  • You want to start free, up to 50,000 monthly retained users per app. We have no free plan.
  • You want a low monthly price: Clerk Pro is $25 a month, our Starter $199.
  • You need a 99.99% SLA: Clerk Enterprise has one. Our highest is 99.95%.
  • US hosting is fine for your users and your contracts.
Migration

Moving from Clerk

Clerk is not one of the sources on our migration page yet. Clerk’s dashboard export includes password digests; its API and CLI exports do not. Passwords come across only when the source exports hashes Keycloak can verify. Otherwise users set a new password by email link the first time they sign in. Before you plan a move, write to us through the contact form and we will tell you in writing what would carry over.

How migrations work
Questions

About Keycloak and Clerk

Is Keycloak an alternative to Clerk?

For sign-in, user management, roles and enterprise single sign-on, yes. Keycloak does not ship drop-in sign-in components for your web framework; users sign in on Keycloak’s login pages and your app connects over OpenID Connect.

Can Clerk keep data in Europe?

No. Clerk’s security page says it does not offer regional data residency or region selection, and data is hosted on US infrastructure. RealmDeploy runs in Azure West Europe, AWS Frankfurt or AWS N. Virginia.

What is a monthly retained user?

Clerk’s unit for billing: a user counts as retained when they come back 24 hours or more after signing up. Our plans are priced by plan, sized for about 5K, 100K or 500K active users.

Is Clerk cheaper than RealmDeploy?

For most small apps, yes: Hobby is free and Pro is $25 a month, against our Starter at $199. Enterprise SSO connections beyond the first cost $75 a month each on Clerk; Keycloak brokers identity providers at no extra charge.

Can I export my users from Clerk?

Yes. Clerk’s documentation says only the dashboard export includes password digests and TOTP secrets; the CLI and API exports cannot include them.

Is Clerk open source?

Its SDKs are, under MIT. The service behind them is managed by Clerk, with no self-host option. Keycloak is open source under Apache-2.0, server included.

Want a cluster of your own?

Order a realm in the dashboard, or write to us first about what you run today.