← Back to Blogs
Keycloak · Identity costs

Keycloak vs Okta: what you're really paying for, and when to switch

Okta sells a platform. Keycloak is an identity provider. Here is how to compare the parts you actually use, in USD.

· 8 min read · Lokesh Ravichandru, CTO

Most Keycloak vs Okta comparisons line up feature tables and declare a winner. That misses the question a CTO actually has to answer.

Which parts of Okta are you using, and what would those parts cost to run yourself?

Okta sells a platform. Keycloak is an identity provider. If your team uses Okta for single sign-on and MFA and little else, you're paying platform prices for a feature you could run on your own infrastructure. If you depend on Okta to create and remove accounts across fifty SaaS tools when people join and leave, that's a different conversation.

The short answer

Keycloak likely winsEmployee SSO and MFA onlyCheaper once you're past a few hundred employees, if someone can run it.
Keep OktaLifecycle automation and many SaaS appsKeycloak can't replace that without extra tooling.
Keycloak fits wellCustomer or partner sign-inOkta's customer identity starts at $3,000 a month before usage.
Split itA mix of bothOkta for staff, Keycloak for customers, or one brokered into the other.

Two Okta products, two different comparisons

Okta sells Workforce Identity for your employees and customer identity for the people who use your product. It also owns Auth0. The pricing models have almost nothing in common, so the comparison with Keycloak splits too.1

Workforce Identity$6–$17per employee, per monthStarter, Core Essentials and Essentials are published, billed annually, with a $1,500 annual minimum. Professional and Enterprise are quoted.
Customer identity$3,000a month, before usageThe published Enterprise base platform. B2C and B2B suites and usage add-ons are quoted. That's $36,000 a year before a customer signs in.
Workforce planPer user / monthWhat's added
Starter$6SSO, MFA, Universal Directory, 5 workflows
Core Essentials$14Lower-cost bundle without advanced security and compliance
Essentials$17Adaptive MFA, privileged access, lifecycle management, governance, 50 workflows

Okta list prices, checked 14 Nov 2026.

What does Keycloak cost to run?

Keycloak is open source under Apache 2.0: no licence, no per-user fee. You pay for infrastructure and for the people who keep it healthy. Infrastructure depends on how many sign-ins hit it per second, not on how many accounts exist. Keycloak's sizing guide puts it at about 15 password logins per second per vCPU, with 150% headroom for spikes.2

$780/mo

A highly available Keycloak on AWS (three Graviton nodes on Amazon EKS, Aurora PostgreSQL with a standby, a load balancer) costs about $9,320 a year at list prices, until peak traffic passes roughly 36 password logins a second.3

For workforce identity that ceiling is high. If all 5,000 employees of a large company signed in within the same ten minutes, that would be about 8 logins a second.

Where does Keycloak start to pay off?

Infrastructure is only half the bill. The fair test is how much engineering time the price gap pays for. At the US median for software developers, fully loaded ($92 an hour),4,5 here's Okta's list price against Keycloak with 20 hours a month of your team's time:

Annual cost

Okta per employee vs Keycloak's flat cost

Annual cost by number of employees: Okta Starter and Essentials vs Keycloak on AWSOkta Starter rises $72 a year per employee and Essentials $204. Keycloak infrastructure stays at about $9,320 a year, or about $31,400 with 20 engineer hours a month. Starter crosses that line at about 436 employees, Essentials at about 154.$0$50K$100K$150K$200K02004006008001,000EmployeesOkta EssentialsOkta StarterKC + 20 h/moKeycloak infra~154~436
Keycloak infrastructureKeycloak + 20 h/month of engineeringOkta EssentialsOkta Starter

Okta list prices, annual billing. Keycloak: AWS US East on-demand, excluding storage, backups and monitoring. Illustrative.

Engineering time on KeycloakBreak-even vs StarterBreak-even vs Essentials
10 hours a month~280 employees~100 employees
20 hours a month~440 employees~150 employees
40 hours a month~740 employees~260 employees

For SSO and MFA, per-seat pricing stops making sense somewhere in the hundreds of employees. But only if you compare like for like.

What does Okta do that Keycloak doesn't?

Most comparisons skip this, and it's where switching projects go wrong.

Okta WorkforceKeycloak
Single sign-onOIDC, SAMLOIDC, SAML
MFA and passkeysYesYes, passkeys supported since 26.46
User directoryUniversal DirectoryBuilt-in users, plus LDAP and Active Directory federation
Joiner-mover-leaver automationLifecycle management, workflowsNot built in. Needs SCIM tooling or custom work
Pre-built app integrationsLarge catalogueStandard protocols; you configure each app
Risk-based MFAIncluded from EssentialsConditional flows you configure; no built-in risk scoring
Where it runsOkta's cloudYour cloud, your region, or on-premises

If your IT team's daily work happens in Okta Workflows and lifecycle rules, Keycloak will feel like a step back. If your Okta tenant is mostly a login page in front of internal apps, you're paying for capability you don't use.

The options most comparisons miss

This doesn't have to be all or nothing.

Split by audienceKeep Okta for employees. Put customers and partners on Keycloak, where per-user pricing hurts most and data location matters most.
Broker Okta into KeycloakApplications talk to Keycloak; employees still authenticate with Okta behind it. Change what sits behind later without touching the apps.
Move SSO, keep governanceIf lifecycle automation is the only thing keeping you on Essentials, check whether your HR system and a SCIM tool can cover it.
Pattern 2 · Keycloak as the identity layerApplications connect to Keycloak; Keycloak brokers employees to Okta and signs in customers directly Customer appPartner portalInternal tools Keycloakone identity layer Oktaemployees Keycloak userscustomers, partners

The best identity architecture is the one you can change later.

Putting Keycloak in front of your applications, even while Okta stays behind it, turns a future migration from a big-bang project into a configuration change.

Why data location matters more in Europe

Okta runs in Okta's cloud. Keycloak runs wherever you deploy it: your AWS account, a German region, an on-premises data centre. Google search data shows more interest in Keycloak in Germany than in the United States:7

Average monthly Google searches for "keycloak", Oct 2025 to Sep 2026.

The top German result for "keycloak vs okta" is a list of European alternatives to Okta. For organisations that need identity data under their own control, self-hosting isn't an engineering preference. It's a procurement requirement.

What does switching from Okta involve?

  1. PasswordsOkta's APIs don't return user passwords, according to Okta's developer forum.8 Decide early how users will get their passwords into Keycloak, and test it before cutover.
  2. ApplicationsRe-register each app's OIDC or SAML integration. Catalogue apps you never configured by hand need the most attention.
  3. MFAUsers re-enrol factors. Plan the communication; it's the step employees notice.
  4. ProvisioningAnything Okta created or removed automatically needs a new owner before cutover.
  5. CutoverMove in phases, by application or department, with a rollback path at each step.

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

Who should run Keycloak?

Option 1Your own teamIf you already operate Kubernetes and stateful services.
Option 2A managed partnerControl of the data without the 2 a.m. pages. How we run it
Option 3Red Hat buildSupported through Red Hat Runtimes or OpenShift subscriptions. Red Hat supports it but doesn't run it.9

Questions we hear

Is Keycloak a good alternative to Okta?

For single sign-on and MFA, yes. Keycloak supports the same standards (OIDC, OAuth 2.0, SAML) and runs where you choose. It doesn't replace Okta's lifecycle management, workflow automation or app catalogue without extra tooling.

Is Keycloak cheaper than Okta?

On licence, yes: Keycloak has none. A highly available setup on AWS costs about $9,320 a year in infrastructure at list prices. Whether it's cheaper overall depends on how many employees you have and how many hours your team spends running it.3

Can you get user passwords out of Okta?

Okta's APIs don't return user passwords, according to an Okta staff answer on its developer forum. Plan how passwords will be handled before you start a migration.8

Can Keycloak and Okta work together?

Yes. Keycloak can broker authentication to Okta, so applications use Keycloak while employees keep signing in with Okta.

Does Okta own Auth0?

Yes. Okta completed its acquisition of Auth0 in 2021.

Before your next Okta renewal

List what you actually use. If it's SSO and MFA, price Keycloak against it.

Send us your Okta plan and headcount. One of our Keycloak engineers will map what moving, splitting or brokering 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
    OktaOkta pricingWorkforce: Starter $6, Core Essentials $14, Essentials $17 per user/month, $1,500 annual minimum. Customer identity: $3,000/month base platform.okta.com ↗
  2. 2
    KeycloakConcepts for sizing CPU and memory resourcesvCPU per login, refresh and machine token; 150% headroom; database sizing.keycloak.org ↗
  3. 3
    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 ↗
  4. 4
    US Bureau of Labor StatisticsSoftware developers: median pay$64.44 an hour median pay, 2025.bls.gov ↗
  5. 5
    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 ↗
  6. 6
    Keycloak · Sep 2025Keycloak 26.4 releasedPasskeys supported.keycloak.org ↗
  7. 7
    OpenSEO · Google dataKeyword researchAverage monthly searches for "keycloak", Oct 2025 to Sep 2026: Germany about 14,800, United States about 12,100.
  8. 8
    Okta Developer ForumGet current users' passwordsOkta staff reply: "Okta APIs will not return a user's password back."devforum.okta.com ↗
  9. 9
    Red HatSubscriptions for Red Hat build of KeycloakEntitled through Runtimes or OpenShift, counted by cores; not sold alone.redhat.com ↗