Compare
Valkey vs Redis: License, Compatibility and Cost in 2026
Which is better, Redis or Valkey?
Redis has a free plan; Valkey is free and open source. Pick Redis if you want in-memory caching and real-time vector search; pick Valkey if you want open-source Redis-compatible datastore.
RedisIn-memory data store for caching, queues and real-time apps
ValkeyOpen-source key-value store forked from RedisWhich to pick
Pick Redis if you want…
- In-memory caching and real-time vector search
- Redis-compatible in-memory store
Pick Valkey if you want…
- Open-source Redis-compatible datastore
- A free, open-source tool
Redis is the original project; Valkey is a BSD-licensed fork with its own release cadence.
Written by the DevHunt team · updated Nov 15, 2026
The short answer
Valkey is the Linux Foundation fork of Redis, started after Redis left its BSD license in 2024. For core caching, sessions, queues and pub/sub they are the same thing: same protocol, same commands, same clients. Pick Valkey if you want a BSD-licensed engine with no license questions and cheaper managed hosting on AWS. Pick Redis if you want the features Redis Ltd. has shipped since the fork, such as the JSON, search and vector capabilities bundled into Redis 8, and AGPL or a commercial license works for you. Facts below are as of November 2026.
Valkey vs Redis at a glance
| Redis | Valkey | |
|---|---|---|
| Made by | Redis Ltd. | Linux Foundation project, multi-vendor |
| License | 7.4: RSALv2 or SSPLv1. 8.0 and later: RSALv2, SSPLv1 or AGPLv3 | BSD |
| Origin | Original project | Fork of the last BSD-licensed Redis (7.2 line) |
| Protocol and clients | RESP; all Redis clients | RESP; same clients work unchanged |
| Latest stable | Redis 8.10.3 (Oct 26, 2026); 8.12 in release candidates | Valkey 9.1.3 (Oct 26, 2026); 9.2 in release candidates |
| Bundled extras | JSON, search/query engine, time series, probabilistic types, vector sets in Redis 8 | Core engine; extra features through modules |
| AWS ElastiCache | Supported (Redis OSS engine) | Supported; 33% lower on Serverless, 20% lower on node-based |
| Google Cloud | Memorystore for Redis | Memorystore for Valkey |
| Official performance claim | n/a | 2.1 million requests per second on a single server (valkey.io) |
Sources: Redis licenses, Redis releases, Valkey, Valkey releases, ElastiCache pricing, Memorystore for Valkey.
The differences that matter
License. This is why Valkey exists. Redis 7.4 switched from BSD to a choice of RSALv2 or SSPLv1, which mainly blocks offering Redis as a managed service, and is not OSI open source. Contributors and cloud vendors then forked the last BSD code under the Linux Foundation as Valkey. Redis 8.0 then added AGPLv3 as an option, so Redis is open source again, but AGPL requires you to publish changes if you offer a modified Redis over a network. For most companies that just use Redis as a cache, any of these licenses is fine; for companies that host it for others, or whose legal team bans AGPL, Valkey is the simple answer.
Compatibility. Valkey started from the same code, so anything written for Redis 7.2 runs on Valkey: commands, Lua scripts, replication, Cluster, Sentinel and persistence files. Since the fork the two have grown apart. Redis 8 folded what used to be Redis Stack modules (JSON, search, time series) into the main distribution. Valkey ships its own features on its own roadmap. If you only use strings, hashes, lists, sets, sorted sets and streams, you will not notice the difference.
Managed hosting. AWS moved fast to Valkey: ElastiCache for Valkey costs 33% less than other engines on Serverless and 20% less than Redis OSS on node-based clusters. Google Cloud offers Memorystore for Valkey next to Memorystore for Redis. Serverless providers such as Upstash speak the Redis protocol, so either engine's clients work against them. Redis Ltd. sells Redis Cloud and Redis Software with the Redis 8 feature set.
Performance. Valkey reworked its I/O threading and cites 2.1 million requests per second on a single server on its official site. Redis publishes its own benchmarks for Redis 8. Treat vendor numbers as best cases; for a cache in front of a web app, network latency usually dominates and either engine is fast enough.
A concrete example
You run a Node.js API with ioredis talking to a self-hosted Redis 7.2 for sessions and rate limiting. Moving to Valkey: stop Redis, start valkey-server with the same config and dump.rdb, keep the same redis:// URL. Nothing in the app changes. On AWS, the same move is an engine change on ElastiCache that lowers the bill. If instead you planned to use Redis 8's built-in vector search for an AI feature, stay on Redis (or Redis Cloud), since that is where Valkey and Redis differ.
Which to pick
- You want a permissive license with no legal review: Valkey (BSD).
- You are on AWS ElastiCache and want a lower bill: Valkey.
- You need Redis 8's JSON, search, time series or vector features in one binary: Redis.
- You want a vendor with commercial support for the Redis feature set: Redis.
- You want serverless, pay-per-request caching: look at Upstash, or more Valkey alternatives.
More: all database tools and open-source alternatives.
Side by side
- What it is
- Redis:Redis is an in-memory data store for caching, queues, real-time apps and vector search.
- Valkey:Valkey is an open-source, high-performance key/value datastore compatible with Redis APIs.
- Best for
- Redis:In-memory caching and real-time vector search
- Valkey:Open-source Redis-compatible datastore
- Who it’s for
- Redis:Developers building fast, scalable back-ends and AI-enabled applications.
- Valkey:Developers needing fast in-memory storage for caching, queues, or primary databases.
- Pricing
- Redis:Freemium
- Valkey:Open source
- Starting price
- Redis:—
- Valkey:Free
- Free plan or trial
- Redis:Free plan (Free) · Free trial
- Valkey:Free to use
- Plans
- Redis:Free $0 · Essentials $0.007/hour per hour · Pro $0.014/hour per hour
- Valkey:—
- Open source
- Redis:—
- Valkey:Yes, 27,351 GitHub stars
- Works with
- Redis:—
- Valkey:Python, Java, Go, Node.js, PHP, C#, Ruby
Redis features
- In-memory key-value store. Provides sub-millisecond latency for caching and queueing workloads.
- Vector search engine. Retrieves relevant data from structured and unstructured sources using Redis-powered vector indexes.
- Multi-region active-active replication. Delivers local-speed reads and zero-downtime failover across regions.
- Tiered RAM + Flash storage (Flex). Scales to terabytes while reducing cost up to 80 % compared to pure RAM.
- Enterprise security features. Includes SAML SSO, RBAC, encryption in transit and at rest.
- Open-source core (Redis 8). Download and run the free open-source version on-premises or in any cloud.
Valkey features
- High performance engine. Delivers low-latency, high-throughput operations for a variety of workloads.
- Rich data types. Supports strings, hashes, lists, sets, sorted sets, bitmaps, hyperloglogs and more.
- Replication & HA. Runs as standalone, cluster, with built-in replication and high-availability options.
- Lua scripting & modules. Provides native Lua scripting and extensible modules for custom commands and data types.
- Multi-language clients. Official client libraries for Python, Java, Go, Node.js, PHP, C# and Ruby.
- Docker & binary releases. Offers ready-to-run Docker images and binary artifacts for multiple Linux distributions.
Redis vs Valkey FAQ
Is Valkey a drop-in replacement for Redis?+
For most apps, yes. Valkey was forked from the last BSD-licensed Redis code, so it speaks the same RESP protocol, uses the same commands and reads the same RDB and AOF files. Existing clients (redis-py, ioredis, Jedis, go-redis) connect unchanged. The gaps are features Redis added after the fork, such as the data types and query engine bundled into Redis 8, which Valkey implements differently or not at all.
Is Redis still open source?+
Redis 7.4 moved to a dual RSALv2 / SSPLv1 license, which the OSI does not count as open source. Starting with Redis 8.0, Redis added AGPLv3 as a third option, so Redis 8 can be used under an OSI-approved license again, with AGPL's copyleft terms. Valkey is under the BSD license.
Who maintains Valkey?+
Valkey is a Linux Foundation project, governed openly with contributors from several companies. Redis is developed by Redis Ltd.
Is Valkey cheaper on AWS?+
Yes. As of November 2026 AWS prices ElastiCache for Valkey 33% lower than other engines on ElastiCache Serverless and 20% lower than Redis OSS on node-based clusters. The engine itself is free either way; the saving is in the managed service price.
Should I migrate an existing Redis deployment to Valkey?+
If you run Redis 7.2 or earlier and only use core data types, migration is usually a restart onto Valkey with the same data files. If you depend on Redis 8 features (built-in JSON, search, time series, vector sets) or Redis Enterprise features, check each one first, because those are where the two projects have diverged.
What is the difference between Redis and Valkey?+
Valkey is an open-source fork of Redis offering core key-value capabilities without the enterprise features like active-active replication or Flex storage. Redis is the original project; Valkey is a BSD-licensed fork with its own release cadence.
Should I use Redis or Valkey?+
Pick Redis if you want in-memory caching and real-time vector search or Redis-compatible in-memory store. Pick Valkey if you want open-source Redis-compatible datastore or a free, open-source tool.
Is Redis or Valkey free?+
Redis has a free plan and paid plans. Valkey is free and open source.
Is Redis or Valkey open source?+
Valkey is open source (valkey-io/valkey on GitHub, BSD-3-Clause license). DevHunt has no public source repository on record for Redis.
More Redis comparisons
More Valkey comparisons
On DevHunt
Based on each tool's website and DevHunt data. Details may change; check the official sites.