Skip to main content
Caching
11 min read
Updated

ValkeyvsRedis

A 2026 comparison of Valkey and Redis: the BSD vs AGPL license split, performance, built-in modules, managed-service cost, and which in-memory store to pick.

Valkey
Redis
Caching
In-Memory Database
Open Source
DevOps

Valkey

A permissive BSD-licensed fork of Redis 7.2.4, created in 2024 and governed by the Linux Foundation. Wire-compatible with Redis, with a strong focus on multi-core performance.

Visit website

Redis

The original in-memory data store, open source again under AGPLv3 since Redis 8. Redis 8 folds the former Redis Stack modules into the core engine and has the largest ecosystem in the space.

Visit website

Until 2024, picking an in-memory data store was simple: you used Redis. Then the licensing ground shifted. In March 2024 Redis Inc. moved Redis off the permissive BSD license to a source-available pair of licenses (SSPLv1 and RSALv2), and the Linux Foundation forked the last BSD release, Redis 7.2.4, as Valkey. Backed by AWS, Google Cloud, Oracle, Ericsson, and Snap, Valkey turned into a serious project fast.

The story did not stand still. In May 2025, Redis 8 added the OSI-approved AGPLv3 as a third license option, so Redis Open Source is open source again, though under a copyleft license rather than the old permissive BSD. Redis 8 also folded the former Redis Stack modules (JSON, Query Engine, time series, probabilistic types, and vector sets) into the core engine. Valkey, meanwhile, kept its permissive BSD license and pushed hard on performance, with Valkey 9.1 (May 2026) reporting around 2.1 million requests per second.

So in 2026 this is no longer a simple fork-versus-original story. Both projects are open source, both speak the same RESP protocol, and both are fast. The real differences are the license model (permissive BSD versus copyleft AGPL), governance (a foundation versus a single vendor), the built-in feature set, and what you pay on managed services.

This comparison breaks the decision down across licensing, performance, features, ecosystem, and cost, then gives you a use-case guide and a verdict. If you want the full migration walkthrough and a closer look at the AGPL question, see our companion post on whether Valkey is ready to replace Redis.

Feature Comparison

Licensing & Governance

License
Valkey
BSD 3-Clause (permissive)
Redis
AGPLv3 plus RSALv2/SSPLv1 (open source, but copyleft)
Governance
Valkey
Linux Foundation, multi-vendor steering
Redis
Single vendor (Redis Inc.)
Network Copyleft Risk
Valkey
None; BSD imposes no source-disclosure obligation
Redis
AGPL may require disclosing changes if you modify and serve it

Architecture

Protocol & Client Compatibility
Valkey
RESP-compatible; existing Redis clients work unchanged
Redis
Reference implementation of the RESP protocol
Latest Version
Valkey
Valkey 9.1 (May 2026)
Redis
Redis 8.2 (February 2026)

Features

Built-in Modules (JSON, Search)
Valkey
Available as separate modules (valkey-search, valkey-json)
Redis
Bundled into core in Redis 8 (JSON, Query Engine, time series)
Vector / AI Search
Valkey
Vector similarity via the valkey-search module
Redis
Native vector sets and Query Engine in core

Performance

Multi-core Performance
Valkey
Multithreaded I/O; 9.1 reaches ~2.1M req/s with prefetch and SIMD gains
Redis
Redis 8 added 30+ improvements and ~2x throughput; core stays mostly single-threaded

Operations

Managed Service Availability
Valkey
AWS ElastiCache and MemoryDB, Google Memorystore, Oracle OCI Cache
Redis
AWS, Azure, GCP, and Redis Cloud
Commercial Support
Valkey
Via cloud providers and third parties; no single Valkey vendor
Redis
Redis Enterprise and Redis Cloud with SLAs and active-active

Cost

Managed Service Cost
Valkey
~20% lower on ElastiCache and ~30% lower on MemoryDB than Redis OSS
Redis
Higher list price on managed Redis OSS for the same workload

Ecosystem

Ecosystem & Mindshare
Valkey
Growing fast; Redis knowledge transfers directly
Redis
Largest community, most clients, deepest tutorial base

Pros and Cons

Valkey

Strengths

  • Permissive BSD 3-Clause license with no copyleft or source-available restrictions
  • Vendor-neutral governance under the Linux Foundation (AWS, Google Cloud, Oracle, Ericsson, Snap)
  • Lower managed-service cost: AWS prices Valkey roughly 20% below Redis OSS on ElastiCache and about 30% below on MemoryDB
  • Heavy investment in multi-core performance: Valkey 9 added memory prefetching, zero-copy responses, and SIMD, and 9.1 reaches around 2.1 million requests per second
  • Drop-in compatible with the RESP protocol and existing Redis clients up to the 7.2.4 fork point
  • Reads the same RDB and AOF files, which makes migration from older Redis close to a snapshot restore

Weaknesses

  • JSON and vector search ship as separate modules (valkey-search, valkey-json) rather than bundled in core
  • Younger project with smaller mindshare and fewer dedicated tutorials, though Redis knowledge transfers directly
  • Module and extension ecosystem is still maturing next to Redis Stack's history
  • No single commercial vendor selling an all-in enterprise and support bundle; you go through cloud providers or third parties
Redis

Strengths

  • Open source again under AGPLv3 since Redis 8 (May 2025), alongside RSALv2 and SSPLv1
  • Redis 8 builds the former Redis Stack into core: JSON, Query Engine, time series, probabilistic types, and vector sets
  • Largest community, the most client libraries, and the deepest library of tutorials and answers
  • Redis 8 added more than 30 performance improvements, with up to roughly 2x throughput over Redis 7
  • Native vector sets (built by the original Redis creator) make it strong for AI and semantic-search workloads
  • Redis Enterprise and Redis Cloud add active-active replication, tiering, and vendor support with SLAs

Weaknesses

  • AGPLv3 is copyleft with network obligations: modifying Redis and offering it as a service can require disclosing your changes
  • Still single-vendor governance under Redis Inc., and the 2024 relicensing showed the license can change
  • The tri-license (RSALv2, SSPLv1, AGPLv3) is more work to reason about than a plain BSD license
  • Managed Redis OSS generally costs more than managed Valkey for the same workload
  • The 2024 source-available move left a trust gap that still factors into some teams' decisions

Decision Matrix

Pick this if...

You self-host and want a permissive BSD license

Valkey

You want to minimize managed cache cost on AWS or GCP

Valkey

You need vector search, JSON, or a query engine built into core

Redis

You modify the engine and expose it as a network service

Valkey

You want the largest ecosystem and hiring familiarity

Redis

You rely on Redis Enterprise features (active-active, tiering, vendor SLA)

Redis

You want vendor-neutral, foundation governance

Valkey

You use a managed cache and never touch the engine source

Either

Use Cases

You self-host the cache and want zero licensing friction or relicensing risk

Valkey

Valkey's BSD license is permissive and cannot be pulled out from under you the way Redis was relicensed in 2024. For teams that self-manage and want a license that will not change terms, Valkey is the safer bet.

You run on AWS or Google Cloud and want to lower managed cache costs

Valkey

Cloud providers price managed Valkey below managed Redis OSS, roughly 20% lower on ElastiCache and about 30% lower on MemoryDB. Since the two are wire-compatible, the savings come with little change to your application.

You need vector search, JSON, or a query engine built into the data store for an AI feature

Redis

Redis 8 bundles JSON, the Query Engine, time series, and vector sets into the core engine, so you get them without adding modules. With Valkey you assemble the same capabilities from separate modules, which is more setup.

You build a SaaS that modifies the engine and exposes it as a network service

Valkey

AGPLv3's network copyleft can require you to publish your modifications when you serve a modified Redis over a network. Valkey's BSD license has no such obligation, which is why several vendors standardized on it.

You want the broadest ecosystem, client libraries, and hiring familiarity

Redis

Redis still has the biggest community, the most mature client libraries across languages, and the deepest base of tutorials and Stack Overflow answers. Onboarding and troubleshooting are easier when most engineers already know it.

You use a managed cache and never modify the engine source

Either

If you do not modify and redistribute the engine, the AGPL obligations do not bite, and both stores are fast and RESP-compatible. The choice comes down to cost and feature needs, and migrating later is straightforward because they share a protocol.

Verdict

Valkey4.3 / 5
Redis4.4 / 5

Valkey and Redis are wire-compatible and both fast, so for most teams the decision comes down to licensing, cost, and built-in features rather than raw performance. Valkey wins on a permissive BSD license, vendor-neutral governance, and lower managed-service prices. Redis 8 wins on a richer core, folding JSON, search, time series, and vector sets into the engine, plus the largest ecosystem and a commercial vendor. Redis returning to open source under AGPLv3 narrowed the license gap, but AGPL is copyleft while Valkey stays permissive.

Our Recommendation

Choose Valkey if you self-host, want a permissive license, or want to lower managed cache costs. Choose Redis if you need its built-in modules (vector, search, JSON) or rely on Redis Enterprise features and ecosystem. Both speak the same protocol, so migrating later is straightforward if your priorities change.

Frequently Asked Questions

For the core, yes. Valkey forked from Redis 7.2.4 and keeps the RESP protocol and command set, so existing Redis clients and most tooling work unchanged. Differences show up only in features each project added after the fork, such as Redis 8's bundled modules and Valkey's separate module set.
Briefly. In March 2024 Redis moved from BSD to the source-available SSPL and RSAL licenses. Redis 8 (May 2025) added the OSI-approved AGPLv3, so Redis Open Source is open source again, but under a copyleft license rather than the old permissive BSD. Valkey stayed BSD the entire time.
If you only use Redis as a cache or database without modifying its source, AGPL changes very little. If you modify Redis and offer it to others over a network, AGPL is generally read to require publishing those modifications. That network-copyleft clause is the main reason some vendors prefer Valkey's permissive BSD license.
In multi-core benchmarks, usually yes. Valkey invested heavily in I/O threading, and Valkey 9.1 reports around 2.1 million requests per second. Redis 8 also added large performance gains. For most workloads both are fast enough that operational fit and cost matter more than the raw numbers.
For Redis 7.2.x and earlier it is close to a drop-in. Valkey reads the same RDB and AOF files and speaks the same protocol, so you can often point clients at a Valkey instance or restore a snapshot. AWS ElastiCache even offers an in-place upgrade path. The catch is features added after the fork: Redis 8's core modules and data types are not in core Valkey.
AWS made Valkey the default for new ElastiCache and MemoryDB clusters and prices it below Redis OSS. Google Cloud offers Memorystore for Valkey, and Oracle supports Valkey on OCI Cache. Redis Inc. focuses on Redis Cloud and Redis Enterprise.

Related Comparisons

Container Registries
HarborvsDocker Hub
Read comparison
FinOps & Cost Management
InfracostvsKubecost
Read comparison
Artifact Management
JFrog ArtifactoryvsGitHub Packages
Read comparison
Programming Languages
GovsRust
Read comparison
Deployment Strategies
Blue-Green DeploymentsvsCanary Deployments
Read comparison
JavaScript Runtimes
BunvsNode.js
Read comparison
GitOps & CI/CD
FluxvsJenkins
Read comparison
Continuous Delivery
SpinnakervsArgo CD
Read comparison
Testing & Automation
SeleniumvsPlaywright
Read comparison
Code Quality
SonarQubevsCodeClimate
Read comparison
Serverless
AWS LambdavsGoogle Cloud Functions
Read comparison
Serverless
Serverless FrameworkvsAWS SAM
Read comparison
NoSQL Databases
DynamoDBvsMongoDB
Read comparison
Cloud Storage
AWS S3vsGoogle Cloud Storage
Read comparison
Databases
PostgreSQLvsMySQL
Read comparison
Caching
RedisvsMemcached
Read comparison
Kubernetes Networking
CiliumvsCalico
Read comparison
Service Discovery
Consulvsetcd
Read comparison
Service Mesh
IstiovsLinkerd
Read comparison
Reverse Proxy & Load Balancing
NginxvsTraefik
Read comparison
CI/CD
Argo CDvsJenkins X
Read comparison
Deployment Platforms
VercelvsNetlify
Read comparison
Infrastructure as Code
TerraformvsOpenTofu
Read comparison
Cloud Platforms
DigitalOceanvsAWS Lightsail
Read comparison
Monitoring & Observability
New RelicvsDatadog
Read comparison
Infrastructure as Code
PulumivsAWS CDK
Read comparison
Container Platforms
RanchervsOpenShift
Read comparison
CI/CD
CircleCIvsGitHub Actions
Read comparison
Security & Secrets
HashiCorp VaultvsAWS Secrets Manager
Read comparison
Monitoring & Observability
GrafanavsKibana
Read comparison
Security Scanning
SnykvsTrivy
Read comparison
Container Orchestration
Amazon ECSvsAmazon EKS
Read comparison
Infrastructure as Code
TerraformvsCloudFormation
Read comparison
Log Management
ELK StackvsLoki + Grafana
Read comparison
Source Control & DevOps Platforms
GitHubvsGitLab
Read comparison
Databases
SQLitevsMySQL
Read comparison
Databases
SQLitevsPostgreSQL
Read comparison
Configuration Management
AnsiblevsChef
Read comparison
Container Orchestration
Docker SwarmvsKubernetes
Read comparison
CI/CD
Bitbucket PipelinesvsGitHub Actions
Read comparison
Source Control & DevOps Platforms
BitbucketvsGitHub
Read comparison
Source Control & DevOps Platforms
BitbucketvsGitLab
Read comparison
Kubernetes Configuration
HelmvsKustomize
Read comparison
Monitoring & Observability
PrometheusvsDatadog
Read comparison
AI & Automation
CLIvsMCP
Read comparison
CI/CD
GitLab CIvsGitHub Actions
Read comparison
Containers
PodmanvsDocker
Read comparison
GitOps & CD
Argo CDvsFlux
Read comparison
CI/CD
JenkinsvsGitHub Actions
Read comparison
Infrastructure as Code
TerraformvsPulumi
Read comparison

Found an issue?