Developer Tools · head to head
Keycloak vs Spring Cloud Gateway

Keycloak
Developer Tools
Open-source identity and access management server.
- From
- Free
- Free plan
- Yes

Spring Cloud Gateway
APIs
API gateway built on Project Reactor for building microservices
- From
- Free
- Free plan
- Yes
The short version
- Keycloak is an open-source IAM platform supporting OpenID Connect, OAuth 2; Spring Cloud Gateway is a library for building API gateways.
- Both are free.
- Where Keycloak falls short: requires self-hosted deployment and operational expertise to install, configure and maintain.
- Where Spring Cloud Gateway falls short: ships as a library for building a gateway on Spring, so you write, package and operate the gateway application yourself.
How do Keycloak and Spring Cloud Gateway differ?
Keycloak and Spring Cloud Gateway differ on platforms and category (Developer Tools against APIs). Only the attributes on which Keycloak and Spring Cloud Gateway actually diverge.
| Attribute | Keycloak | Spring Cloud Gateway |
|---|---|---|
| Platforms | Self-hosted, Linux, Windows, API | API, Spring Boot |
| Category | Developer Tools | APIs |
Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes).
Not yet recorded: founded for Keycloak.
Which features does each one have?
They share no listed features; 8 only for Spring Cloud Gateway. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Keycloak
Nothing recorded that Spring Cloud Gateway does not also cover.
Only in Spring Cloud Gateway
- Routing
- Path Rewriting
- Circuit Breaker
- Spring Boot
- Spring Security
- Spring Cloud
- Java support
- Spring Boot support
What is each one used for?
Keycloak is most often brought in for open-source projects and communities requiring free IAM without licensing costs; Spring Cloud Gateway for API Development. The jobs each tool is most often brought in to do.
Keycloak
- Organisations requiring self-hosted identity infrastructure for compliance or data residencynot Spring Cloud Gateway
- Companies with existing LDAP/Active Directory systems needing federated authenticationnot Spring Cloud Gateway
- Open-source projects and communities requiring free IAM without licensing costsnot Spring Cloud Gateway
- Enterprises building custom identity workflows requiring fine-grained authorisationnot Spring Cloud Gateway
- Teams with sufficient operational expertise to manage infrastructurenot Spring Cloud Gateway
Spring Cloud Gateway
- API Developmentnot Keycloak
- API Gatewaynot Keycloak
- API Testingnot Keycloak
- API Documentationnot Keycloak
- Microservicesnot Keycloak
Where do Keycloak and Spring Cloud Gateway fall short?
Keycloak's most cited limit: requires self-hosted deployment and operational expertise to install, configure and maintain. Spring Cloud Gateway's: ships as a library for building a gateway on Spring, so you write, package and operate the gateway application yourself. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Keycloak
- Requires self-hosted deployment and operational expertise to install, configure and maintain
- No managed cloud option provided by Red Hat; organisations must operate infrastructure themselves or use third-party distributions
- Clustering and high-availability configurations require additional operational knowledge
- Community support only; commercial support requires third-party vendors or distributions
Spring Cloud Gateway
- Ships as a library for building a gateway on Spring, so you write, package and operate the gateway application yourself
- Offered in two variants, Server WebFlux and Server Web MVC, each with its own dependency, so you must pick a stack up front
How much do Keycloak and Spring Cloud Gateway cost?
Keycloak is free to use; Spring Cloud Gateway is free to use. Plan by plan below, from each vendor's own pricing page.
Keycloak
Free- Open-sourceFree
- Full platform functionality
- Self-hosted deployment
- Community support
Spring Cloud Gateway
Free- Open SourceFree
- Core Spring Cloud Gateway
- Community support
Which should you pick?
Choose Keycloak if
- You want to start without paying.
- You work on Self-hosted, Linux, Windows, API.
Choose Spring Cloud Gateway if
- You need routing.
- You want to start without paying.
- You work on API, Spring Boot.
- You also want path rewriting.
Questions people ask
- Is Keycloak or Spring Cloud Gateway better?
- It depends on the job. Keycloak fits organisations requiring self-hosted identity infrastructure for compliance or data residency; Spring Cloud Gateway fits aPI Development. Keycloak starts at Free and Spring Cloud Gateway at Free.
- Which is cheaper, Keycloak or Spring Cloud Gateway?
- Keycloak starts at Free and Spring Cloud Gateway at Free.
- Does Keycloak or Spring Cloud Gateway run on more platforms?
- Keycloak runs on Self-hosted, Linux, Windows, API. Spring Cloud Gateway runs on API, Spring Boot.
- Can I use Keycloak for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Keycloak best used for?
- Keycloak is most often used for organisations requiring self-hosted identity infrastructure for compliance or data residency, companies with existing ldap/active directory systems needing federated authentication, open-source projects and communities requiring free iam without licensing costs, enterprises building custom identity workflows requiring fine-grained authorisation. Of those, organisations requiring self-hosted identity infrastructure for compliance or data residency and companies with existing ldap/active directory systems needing federated authentication are not what Spring Cloud Gateway is typically brought in for.
- What can Keycloak do that Spring Cloud Gateway cannot?
- Spring Cloud Gateway covers Routing, Path Rewriting, Circuit Breaker, Spring Boot.
Answered from the vendors’ own pages
Keycloak: What protocols does Keycloak support?
Keycloak supports OpenID Connect, OAuth 2.0 and SAML 2.0 protocols for authentication and authorisation.
SourceSpring Cloud Gateway: Is Spring Cloud Gateway free?
Yes, Spring Cloud Gateway is free and open-source software. It is part of the Spring ecosystem and available through GitHub repositories with open-source dependencies like spring-cloud-starter-gateway-server-webflux and spring-cloud-starter-gateway-server-webmvc.
SourceKeycloak: Can Keycloak integrate with existing user directories?
Yes. Keycloak supports user federation with LDAP and Active Directory systems, allowing organisations to leverage existing user directories.
SourceSpring Cloud Gateway: What enterprise support is available for Spring Cloud Gateway?
Tanzu Spring provides optional enterprise support including Day 0 access to security patches for organizations requiring guaranteed support, but specific pricing is not published on the Spring Cloud Gateway project page.
SourceKeycloak: Is Keycloak free?
Yes. Keycloak is fully open-source and free to deploy and use. No licensing fees are required.
SourceRelated pages
More on Spring Cloud Gateway
Other head to heads
- Keycloak vs Jenkins
- Keycloak vs Soketi
- Keycloak vs Atlantis
- Keycloak vs Kubernetes
- Keycloak vs GitLab
- Keycloak vs Buildkite
- Keycloak vs Coder
- Keycloak vs Depot
- Keycloak vs Bitbucket
- Keycloak vs Losant
- Keycloak vs Ansible
- Keycloak vs Vite
- Keycloak vs IAR Embedded Workbench
- Keycloak vs Istio
- Keycloak vs Keil MDK
- Keycloak vs Namespace
- Keycloak vs Nix
- Keycloak vs Octopus Deploy
- Keycloak vs Kong Gateway
- Keycloak vs Tyk
- Keycloak vs Janus Gateway
- Keycloak vs WSO2 API Manager
- Keycloak vs Convoy
- Keycloak vs Gravitee
- Keycloak vs Zuplo
- Keycloak vs AWS API Gateway
- Keycloak vs HTTPie
- Keycloak vs KeystoneJS
- Keycloak vs Swagger/OpenAPI
- Keycloak vs GraphQL Apollo
- Keycloak vs Svix
- Keycloak vs Synctera
- Keycloak vs Tuum
- Keycloak vs Weavr
- Keycloak vs Codat
- Keycloak vs Courier
- Spring Cloud Gateway vs Jenkins
- Spring Cloud Gateway vs Soketi
- Spring Cloud Gateway vs Atlantis
- Spring Cloud Gateway vs Kubernetes
- Spring Cloud Gateway vs GitLab
- Spring Cloud Gateway vs Buildkite
- Spring Cloud Gateway vs Coder
- Spring Cloud Gateway vs Depot
- Spring Cloud Gateway vs Bitbucket
- Spring Cloud Gateway vs Losant
- Spring Cloud Gateway vs Ansible
- Spring Cloud Gateway vs Vite
- Spring Cloud Gateway vs IAR Embedded Workbench
- Spring Cloud Gateway vs Istio
- Spring Cloud Gateway vs Keil MDK
- Spring Cloud Gateway vs Namespace
- Spring Cloud Gateway vs Nix
- Spring Cloud Gateway vs Octopus Deploy
- Spring Cloud Gateway vs Kong Gateway
- Spring Cloud Gateway vs Tyk
- Spring Cloud Gateway vs Janus Gateway
- Spring Cloud Gateway vs WSO2 API Manager
- Spring Cloud Gateway vs Convoy
- Spring Cloud Gateway vs Gravitee
- Spring Cloud Gateway vs Zuplo
- Spring Cloud Gateway vs AWS API Gateway
- Spring Cloud Gateway vs HTTPie
- Spring Cloud Gateway vs KeystoneJS
- Spring Cloud Gateway vs Swagger/OpenAPI
- Spring Cloud Gateway vs GraphQL Apollo
- Spring Cloud Gateway vs Svix
- Spring Cloud Gateway vs Synctera
- Spring Cloud Gateway vs Tuum
- Spring Cloud Gateway vs Weavr
- Spring Cloud Gateway vs Codat
- Spring Cloud Gateway vs Courier
