Auth and identity
Auth0 vs Keycloak
Auth0 is a hosted identity service with 25,000 free MAU and tiered paid plans; Keycloak is a free, Apache-licensed identity server with no user limits that you run and patch yourself.
The short answer
The trade is money against operations. Auth0 runs everything for you: free up to 25,000 MAU, then fixed MAU tiers such as B2C Essentials at $35 for 500 MAU and $700 at 10,000, or B2B Essentials from $150. Keycloak has no paid plans and no user limits; you pay only for the servers and database it runs on, and you handle upgrades, themes and clustering.
Protocol coverage overlaps: both handle OIDC, SAML, social login and enterprise connections. Keycloak adds built-in LDAP and Active Directory federation and fine-grained authorization, and suits internal SSO across many company applications. Auth0 adds 30+ SDKs, Actions and Forms for custom flows, attack protection and a Token Vault for AI agents.
On data location, Auth0 lets you pick a tenant region such as the EU, UK or Japan, and offers self-hosting only as a private deployment add-on on Enterprise. Keycloak runs wherever you put it, but the project itself offers no hosted service or paid support.
Choose Auth0 if
- You do not want to run or patch an identity server
- You sell to enterprises that need SSO, SCIM and compliance reports
- You are building AI agents that call third-party APIs for users
Choose Keycloak if
- You have many users and want no per-MAU fees
- You need LDAP or Active Directory federation for internal SSO
- You must keep identity data on your own servers
Side by side
| Auth0 | Keycloak | |
|---|---|---|
| Stages | HobbyIndieStartupScale-upEnterprise | HobbyIndieStartupScale-upEnterprise |
| What it is | Hosted customer identity (CIAM) | Open-source identity server |
| From | From $35/mo (B2C Essentials, 500 MAU) | Open source |
| Free tier | Up to 25,000 MAU, unlimited social connections, passwordless, 5 organizations, 1 custom domain, 1 enterprise connection, self-service SSO and SCIM; community support only | Entirely free and open source (Apache 2.0) with no user limits; you provide the servers and database |
| Free MAU | 25,000 MAU | Unlimited (self-hosted) |
| After free | B2C from $35/mo for 500 MAU; B2B from $150/mo | Free; you pay only for hosting |
| Enterprise SSO | 1 connection free; 3 on B2B Essentials; extra $100/mo each | SAML 2.0 and OIDC, free |
| Self-host | No (private cloud on Enterprise) | Yes (Apache 2.0) |
| Open source | No | Yes |
| Self-hostable | No | Yes |
| EU data residency | Available | Available |
| Compliance | ISO 27001, ISO 27017, ISO 27018, CSA STAR Level 2 | Not stated |
| Checked | 28 Sept 2026 | 28 Sept 2026 |
| Strengths |
|
|
| Limitations |
|
|
Plans
Auth0
| Free | Free |
| B2C Essentials | $35/mo |
| B2C Professional | $240/mo |
| B2B Essentials | $150/mo |
| B2B Professional | $800/mo |
| Enterprise | Custom |
Keycloak
| Keycloak | Free |