Databases

Self-hosted Redis alternatives

2 open-source or source-available apps you can run on your own server instead of Redis, whose paid plans start at $5/mo (Redis Cloud) (checked 2026-10-01). The install method for each one is taken from its own docs.
Short answer: self-host Valkey or Dragonfly DB instead of Redis. The software is free to run and you pay for the server; source-available ones have limits in their license. Licenses checked 2026-10-01, install docs read 2026-11-30.
  1. 1
    Valkey

    Open-source key-value store forked from Redis

    Linux Foundation fork of Redis 7.2.

    Open source (BSD-3-Clause) · ★ 27k · Docker or Linux package

    Valkey ships as the valkey/valkey container image and as OS packages, listening on port 6379. The docs advise firewalling the port and setting a password or ACLs. Install docs.

  2. 2
    Dragonfly DB

    Redis- and Memcached-compatible in-memory data store

    Redis-compatible in-memory store; free to self-host, Apache-2.0 from 2030.

    Source-available (BSL-1.1) · ★ 32k · Docker

    Run the Dragonfly image with docker run; it speaks the Redis protocol on port 6379. The docs list at least 4 GB RAM and Linux kernel 4.19 or newer. Install docs.

All free Redis alternatives. All self-hosted alternatives.

Open source: OSI-approved license. Free to self-host: the code is public and free to run yourself, with limits in the license. The install line is left out when I have not read it on the project's own docs.