← Back to Blogs
Keycloak · Identity costs

Keycloak vs Auth0: what you'll actually pay, and when to stay on Auth0

A cost comparison built on Auth0's list prices, Keycloak's own sizing guide and AWS pricing. All figures in USD.

· 8 min read · Lokesh Ravichandru, CTO

We worked on a citizen super app in Türkiye that signed in more than 200,000 people through Keycloak. Daily active users rose and fell from one day to the next.

When it came to sizing, 200,000 was never the number that mattered. What mattered was how many people tried to log in during the busiest minute.

Auth0 bills you for who logs in.
Keycloak bills you for how fast they log in.

Get that wrong and you either overpay Auth0 for users who barely show up, or under-build Keycloak for a Monday-morning spike. Here's how both price out, and when staying on Auth0 is the right call.

The short answer

Stay on Auth0Small B2C appLow thousands of users, mostly social login, nobody who wants to own identity.
Keycloak likely winsB2B with many SSO customersEvery enterprise customer brings its own connection, and Auth0 charges for each one.
Run the numbersBeyond Auth0's price listAbove the published tiers Auth0 quotes. Your peak traffic decides Keycloak's cost.

What does Auth0 cost as you grow?

Auth0 prices by monthly active users (MAU), in tiers, with separate B2C and B2B plans. Published monthly list prices:

MAUB2C EssentialsB2C ProfessionalB2B EssentialsB2B Professional
500$35$240$150$800
1,000$70$240$300$800
5,000$350$1,000$1,300$1,500
10,000$700$1,600$2,100$2,400
20,000$1,400$3,200$3,800Quote

Auth0 list prices, checked 14 Nov 2026.1 Annual billing is 11× the monthly price.

$100
a month for each enterprise connection beyond the 3 (Essentials) or 5 (Professional) included. Capped at 30.
25×
B2B Essentials from 500 to 20,000 users, with the same three enterprise customers.
Quote
above 50K MAU (B2C Essentials), 20K (B2C Pro, B2B Essentials) or 10K (B2B Pro).

If every enterprise customer brings its own Entra ID or Okta tenant, your SSO bill grows with your sales pipeline. And a 200,000-user app like the one above sits entirely in quote territory.

What does Keycloak actually cost to run?

Keycloak is open source under Apache 2.0, with no licence fee and no per-user price. You pay for infrastructure and for the people who run it. Infrastructure depends on traffic, and Keycloak's own sizing guide is specific about how much:2

15/s
password logins per vCPU. Hashing does most of the work.
120/s
token refreshes or machine-to-machine tokens per vCPU.
+150%
CPU headroom for spikes.
0.35–0.7
database vCPU per 100 logins, logouts and refreshes a second.

Keycloak's 26.4 benchmark ran 500 logins and 2,500 token refreshes a second on three pods with Aurora PostgreSQL, and reported near-linear vertical scaling up to 12,000 requests a second.3

We priced that guidance on AWS: three Graviton nodes on Amazon EKS (one per availability zone), Aurora PostgreSQL with a standby in a second zone, and an Application Load Balancer.4 Put the two meters side by side:

Auth0 meter

Users

Auth0 B2B Essentials monthly price by monthly active users$150 at 500 MAU, $300 at 1,000, $1,300 at 5,000, $2,100 at 10,000, $3,800 at 20,000.$0$1K$2K$3K$4K$150500$3001K$1,3005K$2,10010K$3,80020KMonthly active users
Keycloak meter

Logins per second

Keycloak on AWS monthly infrastructure cost by peak password logins per secondAbout $777 a month from zero to 36 logins per second, rising in steps to about $2,058 at 300 logins per second.$0$1K$2K$3K$4K050100150200250300$780/mo up to ~36 logins/s$2,058Peak password logins per second

Left: Auth0 B2B Essentials, monthly list price. Right: Keycloak on AWS US East, monthly on-demand infrastructure, password logins only. Same dollar scale.

$780/mo

A highly available Keycloak on AWS costs about the same at 5,000 users as at 500,000, until your peak passes roughly 36 password logins a second.2,4

Excludes database storage, backups, data transfer, monitoring and AWS Support. On-demand prices, no reserved-instance discounts.

People are the other half: upgrades, patches, monitoring and the occasional 2 a.m. page. Keycloak releases often, and staying current matters for security. That cost depends far more on your team than on Keycloak, so we don't guess it. We work out what the price gap can pay for instead.

Where's the crossover for you?

Take your Auth0 bill, subtract Keycloak's infrastructure, and divide by what an engineer costs. At the US median for software developers, fully loaded ($92 an hour),5,6 this is how many hours a month the gap pays for:

B2C Essentials, 10,000 MAUAuth0 $7,700/yr
0h
B2C Essentials, 20,000 MAUAuth0 $15,400/yr
5h
B2B Professional, 10,000 MAU, 5 connectionsAuth0 $26,400/yr
15h
B2B Professional, 10,000 MAU, 12 connectionsAuth0 $34,100/yr
22h
B2C Essentials, 50,000 MAUAuth0 $38,500/yr
26h
B2B Essentials, 20,000 MAU, 3 connectionsAuth0 $41,800/yr
29h
0h40h · one engineer-week

Auth0 list prices with annual billing, against Keycloak's $9,320 a year floor (peak under 36 logins/s). Illustrative; your invoice and traffic will differ.

At 10,000 to 20,000 users the gap is real but modest: a few days of engineering a month. It widens fastest with enterprise connections and with scale, which is exactly where Auth0 stops publishing prices.

Switching to Keycloak doesn't save money by itself. It saves money when the hours to run it cost less than the gap.

That's why most teams that switch either already run Kubernetes, or hand day-to-day operations to a partner who runs Keycloak every day.

Auth0 or Keycloak: which fits?

Stay on Auth0 if

  • Your users number in the low thousands and grow slowly
  • No one wants to own an identity system at 2 a.m.
  • Most users sign in with Google or Apple
  • Procurement needs a vendor-backed SLA
  • Engineering time is your scarcest resource

Move to Keycloak if

  • Enterprise customers each want their own SSO
  • Your user count is heading into quote territory
  • Customers or regulators ask where identity data lives
  • Your login flow needs steps Auth0 makes awkward
  • You already run Kubernetes and stateful services

On features, the two are closer than the pricing suggests. The real difference is control.

Auth0Keycloak
ProtocolsOIDC, OAuth 2.0, SAMLOIDC, OAuth 2.0, SAML
B2B multi-tenancyOrganizationsOrganizations, fully supported since 26.07
Passkeys and MFAYesYes, passkeys supported since 26.48
Enterprise SSOPriced per connection on B2B plansIdentity brokering, no per-connection fee
CustomisationActions (hosted functions)Authenticators, themes and extensions (SPIs)
Data locationAuth0's regionsYour cloud, your region, or on-premises
Who keeps it runningAuth0, owned by OktaYour team or a partner

What does switching involve?

Moving off Auth0 is very doable, but it isn't a weekend job. The parts that need a plan:

  1. Password hashesAuth0 exports them only through a support case, encrypted with your PGP key and signed off by a CISO, CSO or VP. It reviews each request and gives no ETA.9 Start early, or move users on their next login instead.
  2. ConnectionsRe-create social logins and each enterprise SSO connection, and test them with the customer's IT team.
  3. MFADecide how enrolled factors carry over or how users re-enrol.
  4. Custom logicAuth0 Actions become Keycloak authenticators or extensions.
  5. TokensApps that read specific claims must get the same claims from Keycloak.
  6. CutoverMove in phases, by application or user group, with a rollback path at each step.

Our IdP migration service covers each of these, from Auth0, Okta, Azure AD B2C or an in-house login.

Who should run Keycloak?

Option 1Your own teamCheapest on paper if you already have platform engineers. The cost is their attention.
Option 2A managed partnerUpgrades, patches, monitoring and incidents handled for you. You keep control of the data. How we run it
Option 3Red Hat buildSupported through Red Hat Runtimes or OpenShift subscriptions, priced by cores. Red Hat supports it but doesn't run it.10

Questions we hear

Why is Auth0 so expensive?

Auth0 charges by monthly active users in tiers, and its B2B plans add $100 a month for every enterprise SSO connection beyond the 3 or 5 included. The bill grows with your user base and your enterprise customer count, even when your traffic doesn't.1

Is Keycloak free?

The software is free and open source under Apache 2.0. Running it isn't. A highly available setup on AWS starts at about $780 a month in infrastructure at list prices, plus the time to operate it.2,4

Does Okta own Auth0?

Yes. Okta completed its acquisition of Auth0 in 2021. Auth0 is now Okta's customer identity product.

Is Keycloak outdated?

No. Keycloak is a Cloud Native Computing Foundation incubating project under active development. Organizations became fully supported in Keycloak 26.0 and passkeys in 26.4.11,7,8

Can Keycloak do MFA?

Yes. Keycloak supports one-time passwords, WebAuthn security keys and passkeys, and conditional flows that ask for a second factor only when it's needed.

Before your next renewal

Close call? Keep Auth0. Clear gap? Plan the move while you can do it in phases.

Send us your Auth0 plan and peak traffic. One of our Keycloak engineers will check the numbers and map what a move would involve.

Talk to our Keycloak team
Lokesh RavichandruCTO, Grootan Technologies. Lokesh has led enterprise Keycloak migrations and upgrades, and Keycloak and AI implementations for clients in Germany, Switzerland, Singapore and Australia.
Evidence

Sources

Every number on this page comes from a public source. Prices checked 14 Nov 2026.

  1. 1
    Auth0Auth0 pricingPlan prices by monthly active users, SSO connection add-ons, annual billing.auth0.com/pricing ↗
  2. 2
    KeycloakConcepts for sizing CPU and memory resourcesvCPU per login, refresh and machine token; 150% headroom; database sizing.keycloak.org ↗
  3. 3
    Keycloak · Oct 2025Keycloak 26.4 performance benchmarks500 logins/s on three pods; near-linear scaling to 12,000 requests/s.keycloak.org ↗
  4. 4
    Amazon Web ServicesAWS pricing, US East (N. Virginia)EKS $0.10/h, ALB $0.0225/h plus LCUs, Aurora I/O-Optimized. Graviton c7g and Aurora r7g instance prices via price trackers.EKS ↗ · ELB ↗ · Aurora ↗ · c7g ↗ · r7g ↗
  5. 5
    US Bureau of Labor StatisticsSoftware developers: median pay$64.44 an hour median pay, 2025.bls.gov ↗
  6. 6
    US Bureau of Labor StatisticsEmployer costs for employee compensationWages are 70% of total compensation (June 2026), so $64.44 becomes $92 fully loaded.bls.gov ↗
  7. 7
    Keycloak · Oct 2024Keycloak 26.0 releasedOrganizations fully supported.keycloak.org ↗
  8. 8
    Keycloak · Sep 2025Keycloak 26.4 releasedPasskeys supported.keycloak.org ↗
  9. 9
    Auth0 docsExport password hashes and MFA secretsSupport case, PGP key, executive sign-off, no ETA.auth0.com ↗
  10. 10
    Red HatSubscriptions for Red Hat build of KeycloakEntitled through Runtimes or OpenShift, counted by cores; not sold alone.redhat.com ↗
  11. 11
    Cloud Native Computing FoundationKeycloak project pageIncubating project since April 2023.cncf.io ↗