Cybersecurity · head to head
Ory Kratos vs Spring Cloud Gateway

Ory Kratos
Cybersecurity
Headless identity and user management API
- 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
- Spring Cloud Gateway is a library for building API gateways.
- Both are free.
- Only Ory Kratos lists headless API; only Spring Cloud Gateway lists path Rewriting.
- Where Ory Kratos falls short: headless means you build every screen, which is significant work compared with a hosted login page.
- 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 Ory Kratos and Spring Cloud Gateway differ?
Ory Kratos and Spring Cloud Gateway differ on pricing model, platforms (Linux, Self-hosted against API, Spring Boot) and category (Cybersecurity against APIs). 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, Self-hosted | API, Spring Boot |
| Category | Cybersecurity | APIs |
| Founded | 2019 | 1998 |
Identical on both: starting price (Free), free tier (Yes).
Which features does each one have?
They share no listed features; 4 appear only for Ory Kratos and 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 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 is each one used for?
Ory Kratos is most often brought in for products needing complete control over the look and flow of authentication; Spring Cloud Gateway for API Development. 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 do Ory Kratos and Spring Cloud Gateway fall short?
Ory Kratos's most cited limit: headless means you build every screen, which is significant work compared with a hosted login page. 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.
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
- 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 Ory Kratos and Spring Cloud Gateway cost?
Ory Kratos is free to use; Spring Cloud Gateway is free to use. Plan by plan below, from each vendor's own pricing page.
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, 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 API, Spring Boot.
- You also want path rewriting.
Questions people ask
- Is Ory Kratos or Spring Cloud Gateway better?
- It depends on the job. Ory Kratos fits products needing complete control over the look and flow of authentication; Spring Cloud Gateway fits aPI Development. Ory Kratos starts at Free and Spring Cloud Gateway at Free.
- 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, Self-hosted. Spring Cloud Gateway runs on API, 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 Clerk
- Ory Kratos vs Frontegg
- Ory Kratos vs Descope
- Ory Kratos vs Logto
- Ory Kratos vs Okta
- Ory Kratos vs Trivy
- Ory Kratos vs Bitwarden
- Ory Kratos vs Dashlane
- Ory Kratos vs HashiCorp Vault
- Ory Kratos vs Semgrep
- Ory Kratos vs LastPass
- Ory Kratos vs Infisical
- Ory Kratos vs HackerOne
- Ory Kratos vs HID Global
- Ory Kratos vs Imperva
- Ory Kratos vs Keygen
- Ory Kratos vs Nmap
- Ory Kratos vs Recorded Future
- Ory Kratos vs Kong Gateway
- Ory Kratos vs Tyk
- Ory Kratos vs Janus Gateway
- Ory Kratos vs WSO2 API Manager
- Ory Kratos vs Convoy
- Ory Kratos vs Gravitee
- Ory Kratos vs Zuplo
- Ory Kratos vs AWS API Gateway
- Ory Kratos vs HTTPie
- Ory Kratos vs KeystoneJS
- Ory Kratos vs Swagger/OpenAPI
- Ory Kratos vs GraphQL Apollo
- Ory Kratos vs Svix
- Ory Kratos vs Synctera
- Ory Kratos vs Tuum
- Ory Kratos vs Weavr
- Ory Kratos vs Codat
- Ory Kratos vs Courier
- Spring Cloud Gateway vs Clerk
- Spring Cloud Gateway vs Frontegg
- Spring Cloud Gateway vs Descope
- Spring Cloud Gateway vs Logto
- Spring Cloud Gateway vs Okta
- Spring Cloud Gateway vs Trivy
- Spring Cloud Gateway vs Bitwarden
- Spring Cloud Gateway vs Dashlane
- Spring Cloud Gateway vs HashiCorp Vault
- Spring Cloud Gateway vs Semgrep
- Spring Cloud Gateway vs LastPass
- Spring Cloud Gateway vs Infisical
- Spring Cloud Gateway vs HackerOne
- Spring Cloud Gateway vs HID Global
- Spring Cloud Gateway vs Imperva
- Spring Cloud Gateway vs Keygen
- Spring Cloud Gateway vs Nmap
- Spring Cloud Gateway vs Recorded Future
- 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
