Comparison · Redis

Valkey vs Redis: Where the Fork and Redis 8.0 Diverge

Valkey and Redis are each an in-memory data store built on the same key-value model, with every core data type in common, from strings and hashes to sorted sets, streams and geospatial indexes. They share a code base up to Redis 7.2.4 and have diverged since. This page compares them on license, features, cloud support and compatibility, using what the projects and providers document.

Tyler Eastridge

By Tyler Eastridge, Head of Operations

LinkedIn · Updated

7 min read6 sections
On this page
Short answer

Short answer

Valkey is a fork of Redis 7.2.4 run by the Linux Foundation, launched on 28 March 2024, eight days after Redis Ltd. announced that Redis would move from the BSD-3-Clause license to dual licensing under the Redis Source Available License v2 (RSALv2) and the Server Side Public License v1 (SSPLv1), starting with Redis 7.4. Valkey stays BSD-3-Clause. Redis 8, generally available on 1 May 2025, added the OSI-approved AGPLv3 as a third option, so Redis is open source again for anyone who accepts AGPL terms. Pick Redis 8 for JSON, time series, probabilistic types, vector sets and the Redis Query Engine in the core server. Pick Valkey for BSD terms, the Valkey engines on AWS and Google Cloud, or its multithreaded I/O.

Valkey vs Redis on the same criteria

Valkey vs Redis on the same criteria
Redis (Redis Ltd.)Valkey (Linux Foundation)
OriginThe original project, maintained by Redis Ltd.Forked from Redis 7.2.4, announced by the Linux Foundation on 28 March 2024
License7.2 and earlier: BSD-3-Clause. 7.4: RSALv2 or SSPLv1. 8 and later: RSALv2, SSPLv1 or AGPLv3BSD-3-Clause
Current major lineRedis 8.x (8.0 GA on 1 May 2025)Valkey 9.x (9.0 on 21 October 2025, 9.1 on 19 May 2026)
Threading and performanceRedis 8 lists over 30 performance improvements, including up to 87% faster commands (Redis's figures)Valkey 8.0 introduced asynchronous I/O threading; the project measured 360K to 1.19M requests per second against Valkey 7.2 on one AWS instance type
Built-in data typesJSON, time series, five probabilistic types, vector set (beta) and the Redis Query Engine in coreCore types; JSON, Bloom, Search and LDAP ship as modules in the Valkey Bundle image
Managed cloud servicesRedis Cloud; Azure Managed Redis runs Redis Enterprise softwareAmazon ElastiCache and MemoryDB for Valkey; Google Cloud Memorystore for Valkey
Moving from Redis OSS 7.2 or earlierUpgrade to Redis 8 under its new license termsEffectively an upgrade: same protocol, configuration and RDB/AOF formats
Moving from Redis 7.4 or laterNormal Redis upgrade pathData files do not load; replicate or export keys instead
Table · Valkey vs Redis on the same criteria. Scroll sideways on small screens.

Is Redis open source? The license change in three steps

Redis's license changed twice in fourteen months, and the answer to "is Redis open source" depends on the version.

Redis versionLicenseOSI-approved open source?
7.2.x and earlierBSD-3-ClauseYes
7.4.xRSALv2 or SSPLv1No
8.0 and laterRSALv2, SSPLv1 or AGPLv3, at the user's choiceYes, under AGPLv3

Redis Ltd. announced the first change on 20 March 2024; its own licensing page notes that SSPLv1 is not an open source license. Valkey followed on 28 March 2024, continuing from Redis 7.2.4 under BSD. On 1 May 2025 Redis Ltd. added AGPLv3 starting with Redis 8 and folded the former Redis Stack modules into the core server under the same three licenses.

For teams running Redis internally as a cache or data store, none of the three licenses changes day-to-day use. They matter if you modify the server and offer it over a network, which AGPLv3's network clause covers, or sell Redis as a service. Ask legal once. Support dates by version are in Redis end of life.

Features and performance characteristics: what each project documents

Valkey. Valkey 8.0, generally available on 16 September 2024, reworked I/O threading so the main thread and I/O threads run concurrently. In the project's own test (8 I/O threads, 512-byte values, SET commands on an AWS c7g.16xlarge), throughput rose from 360K to 1.19M requests per second against Valkey 7.2 and average latency fell from 1.792 ms to 0.542 ms. Valkey 9.0 (21 October 2025) added atomic slot migration, hash field expiration and numbered databases in cluster mode. Valkey 9.1 (19 May 2026) cut per-key memory overhead by up to 44% for strings. Most of Valkey's performance work has gone into threading and memory efficiency.

Redis. Redis 8 brought eight data structures into the core server: vector set (beta), JSON, time series, and five probabilistic types (Bloom filter, cuckoo filter, count-min sketch, top-k and t-digest), alongside the Redis Query Engine. Redis Ltd. reports over 30 performance improvements, with up to 87% faster commands, up to 2x more operations per second and up to 18% faster replication.

Each figure is a vendor benchmark, not a head-to-head test, so measure with your own workload. The feature gap is easier to judge: if you use Redis Query Engine indexes, vector sets or Redis 8's JSON commands, check the Valkey module equivalents command by command.

Cloud provider adoption

AWS launched Amazon ElastiCache for Valkey (AWS ElastiCache) on 8 October 2024, priced 33% lower for Serverless and 20% lower for node-based clusters than its other engines, and Amazon MemoryDB for Valkey the same day at 30% below MemoryDB for Redis OSS. ElastiCache supports Valkey and Redis OSS side by side, and AWS says an existing Redis OSS cache can be upgraded to Valkey in a few clicks with zero downtime. Google Cloud runs Memorystore for Valkey, which made Valkey 9.1 generally available on 24 September 2026. Microsoft went the other way: Azure Managed Redis runs Redis Enterprise software, and Azure Cache for Redis is being retired.

Compatibility and migration between Redis and Valkey

On Valkey compatibility, the project's documentation states that it is compatible with Redis OSS 7.2 and all earlier open-source versions, so moving from any of those is effectively an upgrade. The details that matter in production:

  • Protocol and clients. Valkey speaks RESP2 and RESP3, and existing Redis client libraries connect without code changes.
  • Data files. Redis OSS 2.x to 7.2.x RDB and AOF files load into Valkey. Files written by Redis Community Edition 7.4 or later do not.
  • Version checks. INFO reports redis_version:7.2.4 for backward compatibility; read valkey_version to confirm you are running Valkey.
  • Lua and modules. Scripts using the redis namespace keep working, and modules written against the RedisModule_ API load in Valkey.
  • Cut-over. A Valkey node can replicate from a Redis 7.2 primary with REPLICAOF, allowing a failover-style switch.

Whether to migrate at all, and what goes wrong when teams do, is covered in should I migrate from Redis to Valkey.

How to choose: Redis vs Valkey

  1. Are you on Redis 7.2 or earlier? Both Valkey and Redis 8 are straightforward upgrades; the choice is about license and feature set.
  2. Do you depend on Redis Stack modules or need vector search in the core server? Redis 8 builds in what used to be separate Redis Stack modules. On Valkey, test the Valkey Bundle modules first.
  3. Are you on Redis 7.4 or later? Your data files will not load into Valkey, so a move means replicating or exporting keys.
  4. Is the cache managed on AWS or Google Cloud? Both offer Valkey engines, and on AWS they are priced below the alternatives.
  5. Does legal review rule out AGPL or source-available terms? Valkey's BSD license is the simplest answer.

Teams pinned to older Redis or Valkey versions

Redis 6.2 reaches end of life on 1 April 2027 and Redis 7.0 is already out of support. OSSeva, AceMQ's extended support platform, backports CVE fixes to Redis 6.2.x, 7.0.x and 7.2.x and to Valkey 7.2.x and Valkey 8.x, delivered as signed packages and images. Those Redis versions stay BSD licensed, so a patched build sidesteps the license question while the upgrade is planned. AceMQ's Redis support and Valkey support cover both under one contract.

Frequently asked questions

Is Redis open source?

It depends on the version. Redis 7.2 and earlier are BSD-3-Clause open source. Redis 7.4 is available only under RSALv2 or SSPLv1, which are source-available rather than OSI-approved licenses. From Redis 8, released on 1 May 2025, you can also use Redis under AGPLv3, which is an OSI-approved open source license.

What was the Redis license change?

On 20 March 2024 Redis Ltd. announced that, starting with Redis 7.4, Redis would be dual licensed under RSALv2 and SSPLv1 instead of BSD-3-Clause. On 1 May 2025 it added AGPLv3 as a third option starting with Redis 8.

Is Valkey a drop-in replacement for Redis?

For Redis OSS 7.2 and earlier, yes: Valkey started from Redis 7.2.4, uses the same protocol, configuration and RDB and AOF formats, and existing client libraries connect without changes. For Redis 7.4 and later it is not, because those data files do not load into Valkey and Redis 8's built-in JSON, time series and vector sets have no core Valkey equivalent.

Is Valkey faster than Redis?

Valkey 8.0's multithreaded I/O raised throughput from 360K to 1.19M requests per second against Valkey 7.2 in the project's own test, and Redis Ltd. reports up to 87% faster commands in Redis 8. Neither figure comes from a neutral head-to-head test, so measure with your own workload.

Which cloud providers support Valkey?

AWS offers Amazon ElastiCache for Valkey and Amazon MemoryDB for Valkey, both launched on 8 October 2024, and Google Cloud offers Memorystore for Valkey. Microsoft's managed offering, Azure Managed Redis, runs Redis Enterprise software instead.

Do Redis modules work on Valkey?

Modules written against the RedisModule_ API load in Valkey. Redis Ltd.'s own modules are now part of Redis 8 under its licenses, so Valkey offers its own JSON, Bloom and Search modules, shipped in the Valkey Bundle image.

Can I get security patches for an older Redis or Valkey version?

Yes. OSSeva, AceMQ's extended support platform, backports CVE fixes to Redis 6.2.x, 7.0.x and 7.2.x and to Valkey 7.2.x and 8.x, so you can stay on the version you run while you plan the move.

Redis services

Where this gets done

The work behind this page, run by the same engineers who wrote it.

More resources

Other Redis guides, comparisons and research

From the blog

Recent Redis articles

Next step

Need this done on your Redis or Valkey estate?

Named senior engineers for latency, memory, replication and failover, 24/7, with a 15-minute emergency SLA.