← Keycloak services
Keycloak · Sizing calculator

How much infrastructure does Keycloak need?

Three questions. The pods, nodes and database for your peak traffic, priced on AWS in USD.

  1. 1Traffic
  2. 2Setup
  3. 3Your team
  4. ✓Your sizing
Question 1 of 3

How busy does sign-in get?

Keycloak is sized by your busiest moments, not your user count.

People who sign in on a typical day.
When do they sign in?
How long do they stay active?
Do your services call APIs with machine tokens?
Question 2 of 3

Where will it run?

We size it on AWS: Amazon EKS, Graviton nodes and Aurora PostgreSQL.

Database
Keycloak's guide allows 0.35 vCPU (lower cost) to 0.7 vCPU (faster) per 100 logins, logouts and refreshes a second.
Question 3 of 3

What does your team's time cost?

Optional, but it turns an infrastructure bill into a full running cost.

Engineer cost per hour
US median pay for software developers ($64.44/h), plus benefits. Source: US Bureau of Labor Statistics.
Hours a month your team would spend running Keycloak
Your sizing is ready

Where should we send it?

See your sizing now. We'll email you a copy with the assumptions behind it.

We use your details to send your sizing and to reply if you ask for a review. No newsletter.

Keycloak pods–
Kubernetes nodes–
Database–

Want an engineer to review this sizing?We'll check it against your real traffic, plan the load test and map how to run it.
Talk to our Keycloak team

Paying for Auth0 today?Compare your Auth0 bill with Keycloak on AWS, plan by plan.

Auth0 cost calculator →
Method

How we size it

1 · Peak trafficDaily users and when they arrive give logins a second at the busiest hour. Session length gives token refreshes, assuming Keycloak's default 5-minute access tokens. Or enter peak rates from your logs.
2 · Keycloak's rules1 vCPU per 15 password logins a second and per 120 refreshes or machine tokens, plus 150% headroom. 1,250 MB memory request per pod. Database at 0.35 to 0.7 vCPU per 100 requests a second.
3 · AWS pricesGraviton nodes on Amazon EKS, Aurora PostgreSQL I/O-Optimized, an Application Load Balancer. US East on-demand. Team time at US median pay or your own rate.

Estimates from list prices, not quotes. Excludes database storage, backups, data transfer, monitoring, AWS Support and discounts. Memory figures include 10,000 cached sessions per pod. Keycloak's guide recommends larger caches, and so more memory, when more than 2,500 different client applications sign users in at the same time. Load test before you size production.

Is Keycloak free?What it costs to run, who runs it, and when paid support makes sense.

Read the guide →
Evidence

Sources

Prices and benchmarks checked 14 Nov 2026.

  1. 1
    KeycloakConcepts for sizing CPU and memory resourcesvCPU per login, refresh and machine token; 150% headroom; database sizing.keycloak.org ↗
  2. 2
    Keycloak · Oct 2025Keycloak 26.4 performance benchmarks500 logins/s on three pods; near-linear scaling to 12,000 requests/s.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 ↗