Skip to content
Compare

Keycloak alternatives, and when each one fits better

Keycloak is not the right choice for every team. Here are twelve alternatives, what each one is, and when it fits better than Keycloak, whether we run Keycloak for you or you run it yourself.

Checked on · Sources

The short answer

Pick a hosted service such as Auth0, Cognito, Firebase Authentication or Clerk if you want a free tier and do not mind paying per user later. Pick Zitadel, Ory, FusionAuth, SuperTokens or authentik if you want another self-hostable server with a different design. Stay with Keycloak if you want open source with the widest protocol support, LDAP and Active Directory federation, and realms you can take anywhere.

At a glance

Entry prices and the highest published SLA

The lowest published price and the best uptime commitment each platform lists, from its own pages. Each comparison has the full table.

PlatformHow it runsEntry priceHighest SLA
Keycloak on RealmDeployManaged Keycloak, dedicated cluster$199/mo (Starter)99.95% (Enterprise)
Auth0Hosted identity serviceFree up to 25,000 MAU; Essentials from $35/mo199.99% (Enterprise)2
OktaHosted identity serviceWorkforce from $6 per user/mo, billed annually3“99.99% availability” (FAQ)4
Amazon CognitoHosted identity serviceFree to 10,000 MAU; Essentials $0.015 per MAU above599.99% (Plus)6
Microsoft Entra External ID and Azure AD B2CHosted identity serviceFirst 50,000 MAU free, then $0.03 per MAU7Not published on the pages we read8
Firebase AuthenticationHosted identity serviceNo cost up to 50K MAU999.95% (Identity Platform)10
ClerkHosted identity serviceFree to 50,000 MRU per app; Pro $25/mo1199.99% (Enterprise)11
WorkOSHosted identity serviceAuthKit free to 1M users; SSO $125 per connection/mo1299.99% (enterprise customers)13
FusionAuthTheir cloud or self-hostedCommunity free (self-hosted); Starter $162/mo billed annually14Up to 99.99% (HA Cloud, Enterprise)15
ZitadelTheir cloud or self-hostedFree to 100 DAU; Pro US$100/mo16Up to 99.99% (Enterprise)17
OryTheir cloud or self-hostedDeveloper free; Production $770/yr1899.99% (Enterprise)19
SuperTokensTheir cloud or self-hostedCloud free under 5K MAU, then $0.02 per MAU20Not published (contact sales)20
authentikSelf-hosted onlyOpen source free; Enterprise $5 per workforce user/mo21Not published (Enterprise Plus)21
When they fit

When each alternative fits better

Where one of these describes you, that platform is likely the better choice.

Hosted identity service

Auth0

Okta’s hosted identity service, priced by monthly active users, with Node.js Actions and a free tier.

Fits better when: You want a hosted service with a free tier up to 25,000 monthly active users, Node.js code at sign-in, or a region in the UK, Canada, Australia or Japan.

Keycloak vs Auth0
Hosted identity service

Okta

Workforce Identity per user per month, and Okta Customer Identity from $3,000 a month, both run by Okta.

Fits better when: You are buying workforce identity for your own staff, want Okta’s app integrations, or need a cell in Japan, Australia, Canada or India.

Keycloak vs Okta
Hosted identity service

Amazon Cognito

AWS’s user pools, free to 10,000 monthly active users, with Lambda triggers and an SLA up to 99.99%.

Fits better when: Your app runs on AWS, you want a free tier up to 10,000 monthly active users, and Lambda triggers fit how you build.

Keycloak vs Amazon Cognito
Hosted identity service

Microsoft Entra External ID and Azure AD B2C

Microsoft’s customer identity: Azure AD B2C is closed to new customers, and External ID is where new features go.

Fits better when: You are deep in Microsoft’s cloud and want customer sign-in there, with the first 50,000 monthly active users free.

Keycloak vs Microsoft Entra External ID and Azure AD B2C
Hosted identity service

Firebase Authentication

Google’s sign-in for apps, free to 50,000 monthly active users, with SAML, OIDC and an SLA after the Identity Platform upgrade.

Fits better when: You are building a web or mobile app on Firebase and want sign-in working quickly, free up to 50,000 monthly active users.

Keycloak vs Firebase Authentication
Hosted identity service

Clerk

Sign-in components for web apps, free to 50,000 monthly retained users per app, hosted in the US only.

Fits better when: You build a web app and want prebuilt sign-in components, free up to 50,000 monthly retained users, and US hosting is fine.

Keycloak vs Clerk
Hosted identity service

WorkOS

Enterprise SSO and directory sync priced per connection, with AuthKit free up to 1 million users.

Fits better when: You sell to enterprises and want to add SAML and OIDC SSO for each customer through one API, with AuthKit free up to 1 million users.

Keycloak vs WorkOS
Their cloud or self-hosted

FusionAuth

A closed-source identity server, free to self-host, with dedicated cloud hosting and an SLA on Enterprise.

Fits better when: You want an identity server you can self-host for free or have hosted, with JavaScript lambdas, and open source is not a requirement.

Keycloak vs FusionAuth
Their cloud or self-hosted

Zitadel

Open-source identity under AGPL-3.0, with a free cloud tier and Pro from US$100 a month.

Fits better when: You want open-source identity with a low-cost cloud tier, or data residency in Switzerland or Australia.

Keycloak vs Zitadel
Their cloud or self-hosted

Ory

Open-source identity servers under Apache 2.0, and Ory Network, a managed service priced by daily active users.

Fits better when: You want headless, API-first identity with your own login screens, written around Ory’s separate open-source servers.

Keycloak vs Ory
Their cloud or self-hosted

SuperTokens

Open-core sign-in with SDKs for your backend, free to self-host and $0.02 per MAU in their cloud.

Fits better when: You want sign-in built into your own backend through SDKs and function overrides, free to self-host.

Keycloak vs SuperTokens
Self-hosted only

authentik

Open-source identity you host yourself, with an LDAP server and RADIUS, and a paid Enterprise edition.

Fits better when: You will host it yourself and want it to serve LDAP or RADIUS to older apps, or write policies in Python.

Keycloak vs authentik
When Keycloak fits

When Keycloak is still the better choice

Stay with Keycloak if
  • You need OpenID Connect, OAuth 2.0 and SAML 2.0, as identity provider and as broker, in one server.
  • You have LDAP or Active Directory and want users federated from it, with group and role mapping.
  • You serve several customers or teams and want a realm, with its own clients, roles and settings, for each.
  • You want open source under Apache-2.0 and an export format any Keycloak can import.
  • You want a price per plan rather than per monthly active user.
Then choose who runs it

If Keycloak fits, the next choice is who runs it. Our other comparisons put RealmDeploy next to the other Keycloak hosts, Red Hat’s supported build and running it yourself.

Keycloak hosts compared
Questions

About the alternatives

What is the best alternative to Keycloak?

It depends on why you are looking. For a hosted service with a free tier, Auth0, Cognito, Firebase Authentication or Clerk. For enterprise SSO through one API, WorkOS. For another open-source server, Zitadel, Ory, SuperTokens or authentik. If the reason is running Keycloak, a managed host such as RealmDeploy removes that work without changing the software.

Is Keycloak hard to run?

Running it well takes work: a database, clustering for high availability, TLS, backups you have tested, upgrades and someone on call. That is the work RealmDeploy does for you, from $199 a month.

Does Keycloak have managed hosting and an SLA?

The Keycloak project does not sell either. Several companies host it, and RealmDeploy is one: managed Keycloak with a 99.9% uptime SLA on Premium and 99.95% on Enterprise, and written support on every plan.

Which alternatives are open source?

Of the twelve here, Zitadel (AGPL-3.0), Ory’s servers (Apache 2.0), SuperTokens’ core (Apache 2.0 outside its ee/ directory) and authentik (MIT outside its enterprise directory). FusionAuth is free to self-host but closed source. The hosted services publish open-source SDKs, not their servers.

Which alternatives can I self-host?

FusionAuth, Zitadel, Ory, SuperTokens and authentik. authentik is self-hosted only. Auth0, Okta, Cognito, Microsoft Entra External ID, Firebase Authentication, Clerk and WorkOS are hosted services.

Can I move from these platforms to Keycloak?

We migrate from Auth0, Okta, Amazon Cognito, Azure AD B2C, Firebase Authentication and other Keycloak hosts. Passwords come across only when the source exports hashes Keycloak can verify; otherwise users set a new password by email link.

Where do these facts come from?

From each platform’s own public pricing, documentation and legal pages, read on 25 November 2026. Each comparison page lists the pages it used.

Want a cluster of your own?

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