Cybersecurity · head to head
Ory Kratos vs Spring Cloud Gateway

Spring Cloud Gateway
APIs
API gateway built on Project Reactor for building microservices
- From
- Free
- Rated
- -
The short version
- Each has a real cost: Ory Kratos headless means you build every screen, which is significant work compared with a hosted login page; Spring Cloud Gateway released under the Apache 2.0 license, free and open source with no commercial tier
- They diverge on capability: Ory Kratos covers Headless API, Spring Cloud Gateway covers Routing.
- Prices and features above were last checked on 30 August 2026.
Where they differ
Only the attributes on which Ory Kratos and Spring Cloud Gateway actually diverge.
| Attribute | Ory Kratos | Spring Cloud Gateway |
|---|---|---|
| Pricing model | Open-source self-hosted, with a paid managed network | open-source |
| Platforms | Linux, Docker, Kubernetes, Self-hosted | Java, Spring Boot |
| Category | Cybersecurity | APIs |
| Founded | Unknown | 1998 |
Identical on both: starting price (Free), free tier (Yes), user rating (Not yet rated).
What each one covers
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 Ory Kratos
- Headless API
- Self-service flows
- Multi-factor authentication
- Pluggable identity schemas
Only in Spring Cloud Gateway
- Routing
- Path Rewriting
- Circuit Breaker
- Spring Boot
- Spring Security
- Spring Cloud
- Java support
- Spring Boot support
What people use each for
The jobs each tool is most often brought in to do.
Ory Kratos
- Products needing complete control over the look and flow of authenticationnot Spring Cloud Gateway
- Applications that must not hand user identity data to a third partynot Spring Cloud Gateway
- Teams building identity as infrastructure across several servicesnot Spring Cloud Gateway
Spring Cloud Gateway
- API Developmentnot Ory Kratos
- API Gatewaynot Ory Kratos
- API Testingnot Ory Kratos
- API Documentationnot Ory Kratos
- Microservicesnot Ory Kratos
Where each one falls short
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Ory Kratos
- Headless means you build every screen, which is significant work compared with a hosted login page
- More moving parts than a monolithic IAM: Kratos handles identity, and OAuth2 needs Ory Hydra alongside
- Documentation assumes real familiarity with identity concepts and is not a gentle introduction
- Self-hosting identity carries the security and availability burden that hosted providers absorb
Spring Cloud Gateway
- Released under the Apache 2.0 license, free and open source with no commercial tier
Pricing, plan by plan
Ory Kratos
Free- Self-hostedFree
- Full identity server
- All flows
- Community support
Spring Cloud Gateway
Free- Open SourceFree
- Core Spring Cloud Gateway
- Community support
Which should you pick?
Choose Ory Kratos if
- You need headless api.
- You want to start without paying.
- You work on Linux, Docker, Kubernetes, Self-hosted.
- You also want self-service flows.
Choose Spring Cloud Gateway if
- You need routing.
- You want to start without paying.
- You work on Java, Spring Boot.
- You also want path rewriting.
Questions people ask
- Is Ory Kratos or Spring Cloud Gateway better?
- Neither clearly leads. Ory Kratos starts at Free and Spring Cloud Gateway at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
- Which is cheaper, Ory Kratos or Spring Cloud Gateway?
- Ory Kratos starts at Free and Spring Cloud Gateway at Free.
- Does Ory Kratos or Spring Cloud Gateway run on more platforms?
- Ory Kratos runs on Linux, Docker, Kubernetes, Self-hosted. Spring Cloud Gateway runs on Java, Spring Boot.
- Can I use Ory Kratos for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Ory Kratos best used for?
- Ory Kratos is most often used for products needing complete control over the look and flow of authentication, applications that must not hand user identity data to a third party, teams building identity as infrastructure across several services. Of those, products needing complete control over the look and flow of authentication and applications that must not hand user identity data to a third party are not what Spring Cloud Gateway is typically brought in for.
- What can Ory Kratos do that Spring Cloud Gateway cannot?
- Ory Kratos covers Headless API, Self-service flows, Multi-factor authentication, Pluggable identity schemas. Spring Cloud Gateway covers Routing, Path Rewriting, Circuit Breaker, Spring Boot.
Answered from the vendors’ own pages
Ory Kratos: Is Ory Kratos free?
Yes, open source and free to self-host. Ory Network is a paid managed service.
Spring 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.
SourceOry Kratos: What does headless mean here?
Kratos provides identity flows as APIs and no user interface. You build the login, registration and recovery screens yourself.
Spring 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.
SourceOry Kratos: Does Kratos do OAuth2?
No. Kratos handles user identity; OAuth2 and OpenID Connect provider functionality is Ory Hydra, a separate component.
Related pages
More on Spring Cloud Gateway
Other head to heads
- Ory Kratos vs Logto
- Ory Kratos vs Authelia
- Ory Kratos vs 1Password
- Ory Kratos vs authentik
- Ory Kratos vs Clerk
- Ory Kratos vs Trivy
- Ory Kratos vs LastPass
- Ory Kratos vs HashiCorp Vault
- Ory Kratos vs Bitwarden
- Ory Kratos vs Frontegg
- Ory Kratos vs Infisical
- Ory Kratos vs Semgrep
- Ory Kratos vs Envysion
- Ory Kratos vs Feedzai
- Ory Kratos vs HashiCorp Boundary
- Ory Kratos vs JumpCloud
- Ory Kratos vs Appwrite
- Ory Kratos vs Hasura
- Ory Kratos vs PocketBase
- Ory Kratos vs Sanity
- Ory Kratos vs Kong Gateway
- Ory Kratos vs Tyk
- Ory Kratos vs Janus Gateway
- Ory Kratos vs Convoy
- Ory Kratos vs WSO2 API Manager
- Ory Kratos vs Gravitee
- Ory Kratos vs KeystoneJS
- Ory Kratos vs Strapi
- Ory Kratos vs Swagger/OpenAPI
- Ory Kratos vs Thredd
- Ory Kratos vs Thunder Client
- Ory Kratos vs Toqio
- Ory Kratos vs Kong
- Spring Cloud Gateway vs Logto
- Spring Cloud Gateway vs Authelia
- Spring Cloud Gateway vs 1Password
- Spring Cloud Gateway vs authentik
- Spring Cloud Gateway vs Clerk
- Spring Cloud Gateway vs Trivy
- Spring Cloud Gateway vs LastPass
- Spring Cloud Gateway vs HashiCorp Vault
- Spring Cloud Gateway vs Bitwarden
- Spring Cloud Gateway vs Frontegg
- Spring Cloud Gateway vs Infisical
- Spring Cloud Gateway vs Semgrep
- Spring Cloud Gateway vs Envysion
- Spring Cloud Gateway vs Feedzai
- Spring Cloud Gateway vs HashiCorp Boundary
- Spring Cloud Gateway vs JumpCloud
- Spring Cloud Gateway vs Appwrite
- Spring Cloud Gateway vs Hasura
- Spring Cloud Gateway vs PocketBase
- Spring Cloud Gateway vs Sanity
- Spring Cloud Gateway vs Kong Gateway
- Spring Cloud Gateway vs Tyk
- Spring Cloud Gateway vs Janus Gateway
- Spring Cloud Gateway vs Convoy
- Spring Cloud Gateway vs WSO2 API Manager
- Spring Cloud Gateway vs Gravitee
- Spring Cloud Gateway vs KeystoneJS
- Spring Cloud Gateway vs Strapi
- Spring Cloud Gateway vs Swagger/OpenAPI
- Spring Cloud Gateway vs Thredd
- Spring Cloud Gateway vs Thunder Client
- Spring Cloud Gateway vs Toqio
- Spring Cloud Gateway vs Kong

