Softwr

APIs · head to head

Spring Cloud Gateway vs Valkey

Spring Cloud Gateway logo

Spring Cloud Gateway

APIs

API gateway built on Project Reactor for building microservices

From
Free
Rated
-
Valkey logo

Valkey

Databases

Open-source in-memory data store forked from Redis

From
Free
Rated
-

The short version

  • Each has a real cost: Spring Cloud Gateway released under the Apache 2.0 license, free and open source with no commercial tier; Valkey younger project, so its track record is short even though the codebase is not
  • They diverge on capability: Spring Cloud Gateway covers Routing, Valkey covers Redis-compatible.
  • Prices and features above were last checked on 30 August 2026.

Where they differ

Only the attributes on which Spring Cloud Gateway and Valkey actually diverge.

Attributes where Spring Cloud Gateway and Valkey differ
AttributeSpring Cloud GatewayValkey
Pricing modelopen-sourceOpen source, no licence fee; managed cloud billed separately
PlatformsJava, Spring BootLinux, macOS, Docker, Self-hosted
CategoryAPIsDatabases
Founded1998Unknown

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 Spring Cloud Gateway

  • Routing
  • Path Rewriting
  • Circuit Breaker
  • Spring Boot
  • Spring Security
  • Spring Cloud
  • Java support
  • Spring Boot support

Only in Valkey

  • Redis-compatible
  • BSD licensed
  • Rich data structures
  • Replication and persistence

What people use each for

The jobs each tool is most often brought in to do.

Spring Cloud Gateway

  • API Developmentnot Valkey
  • API Gatewaynot Valkey
  • API Testingnot Valkey
  • API Documentationnot Valkey
  • Microservicesnot Valkey

Valkey

  • Continuing on a permissively licensed in-memory store after the Redis licence changenot Spring Cloud Gateway
  • Caching and session storage where a foundation-governed project is a procurement requirementnot Spring Cloud Gateway
  • Migrating from Redis without rewriting application codenot Spring Cloud Gateway

Where each one falls short

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Spring Cloud Gateway

  • Released under the Apache 2.0 license, free and open source with no commercial tier

Valkey

  • Younger project, so its track record is short even though the codebase is not
  • Divergence from Redis grows over time, so compatibility is strongest near the fork point and weakens as both evolve
  • Ecosystem tooling and documentation still frequently assume Redis, leaving translation work

Pricing, plan by plan

Spring Cloud Gateway

Free
  • Open SourceFree
    • Core Spring Cloud Gateway
    • Community support

Valkey

Free
  • ValkeyFree
    • Full functionality
    • Self-hosted
    • No usage limits

Which should you pick?

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.

Choose Valkey if

  • You need redis-compatible.
  • You want to start without paying.
  • You work on Linux, macOS, Docker, Self-hosted.
  • You also want bsd licensed.

Questions people ask

Is Spring Cloud Gateway or Valkey better?
Neither clearly leads. Spring Cloud Gateway starts at Free and Valkey at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, Spring Cloud Gateway or Valkey?
Spring Cloud Gateway starts at Free and Valkey at Free.
Does Spring Cloud Gateway or Valkey run on more platforms?
Spring Cloud Gateway runs on Java, Spring Boot. Valkey runs on Linux, macOS, Docker, Self-hosted.
Can I use Spring Cloud Gateway for free?
Both have a free tier, so you can try either at no cost before committing.
What is Spring Cloud Gateway best used for?
Spring Cloud Gateway is most often used for api development, api gateway, api testing, api documentation. Of those, api development and api gateway are not what Valkey is typically brought in for.
What can Spring Cloud Gateway do that Valkey cannot?
Spring Cloud Gateway covers Routing, Path Rewriting, Circuit Breaker, Spring Boot. Valkey covers Redis-compatible, BSD licensed, Rich data structures, Replication and persistence.

Answered from the vendors’ own pages

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.

Source
Valkey: Is Valkey free?

Yes, BSD-licensed open source under the Linux Foundation.

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.

Source
Valkey: Why does Valkey exist?

Redis changed its licence away from BSD in 2024. Valkey is the community fork continuing under permissive terms, backed by AWS, Google Cloud and Oracle among others.

Valkey: Can I switch from Redis to Valkey?

At the fork point it is drop-in compatible with existing clients and data. The further both projects move from that point, the more you should verify the specific features you use.

Share

Related pages

Other head to heads