Skip to content
Agents tracked: 504 Releases (7d): 602 Agent status: no reported issuesSince last limit reset: Claude 13d · Codex 11d For AI agents: Markdown Updated Nov 24, 2026

Redis

Very fast memory storage for caches and sessions.

Databases and backends

WebsitePricingGitHub

1. Price

Free tier: Up to 30 MB. As reported on the official pricing page, checked Oct 9, 2026.

redis.io/pricing/

Checked against the maker's official pages, pricing on Oct 9, 2026. Tap a verdict to see its source.How we checkedReport an error

What Redis does

Redis is a database that keeps data in memory, so reads and writes take a fraction of a millisecond. Apps use it to remember things for a short time, such as cached pages, login sessions, counters, leaderboards and job queues. You can use Redis Cloud, run by the Redis company with a free 30 MB database, or run the open-source server yourself.

  • Redis is one of 29 APIs in the Databases and backends category on AgentGid.
  • Its cheapest paid plan ($5 a month) is the 1st cheapest of the 18 here with a monthly plan.
  • It is one of 26 that can be started for free.
  • 8 of them ship an official MCP server; Redis does not.
  • Its official SDK is the 3rd most downloaded in the category (22.3M a week).

What people build with it

Cache slow pages and lookups

Keep the result of a slow database query or outside service in memory, so the next visitor gets it instantly.

Login sessions

Store each signed-in user's session data, so any of your servers can check who is logged in.

Game and contest leaderboards

Keep players sorted by score as points change, and show the top ten or a player's rank at any moment.

Limit requests per user

Count how many requests each user or address made in the last minute and slow down anyone who sends too many.

Background job queues

Put slow work such as sending emails or resizing images in a queue, and let a worker process it outside the web request.

Memory and search for AI features

Store text embeddings and find the most similar ones, for example to reuse an earlier answer to a similar question.

Redis popularity

20.7M
SDK downloads a week
+27.1% on the 4-week average
159
public agent repos use its SDK
17.6K
GitHub stars, redis/node-redis
SDK downloads per weeknpm redis 20,677,198

SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.

Pricing

Free tier

Up to 30 MB

Cheapest plan

$5 a month

Usage price

$0.007 per hour (Essentials), $0.014 per hour (Pro)

Plans

Added automatically: its SDK was in 73 of the public agent repos we sampled when it was added; integrations in LangChain, LlamaIndex. Prices read from the official pricing page. Redis 8 and later is tri-licensed: RSALv2, SSPLv1 or AGPLv3 at your choice (LICENSE.txt); Redis 7.2 and earlier are BSD-3.

What one action costs

ActionPrice
1 hour of a Redis Cloud Essentials database (smallest size, about $5 a month)$0.007
1 hour of a Redis Cloud Pro deployment (minimum $200 a month)$0.014
Price history
  • A year of the pricing page in the Internet Archive (12 months): the lowest monthly figure went from $5 (2025-10) to $5 (2026-10).

As reported on the official pricing page, checked Oct 9, 2026. Prices change: confirm before you buy. redis.io/pricing

Limits

Free

30 MB, one database, shared deployment

Essentials

250 MB to 100 GB, one database, shared deployment

Pro

Unlimited memory and multiple databases on a dedicated deployment

From the official docs. redis.io/pricing

Key and access

How it signs in

Username and password of a database user (Redis Cloud gives a "default" user), usually inside the connection URL redis[s]://user:password@host:port. The separate Redis Cloud management API uses its own keys and is off by default.

Environment variable
none read by node-redis (pass url to createClient); the Redis MCP server reads REDIS_HOST, REDIS_PORT and REDIS_USERNAME
Safe in browser code
No, keep it on your server
Card at sign-up

Not stated on the pages we read

Steps only a person can do

  • Sign up for Redis Cloud, create the free database and pick the cloud provider and region. Read the public endpoint and the default user's password, and store them as REDIS_URL=rediss://default:<password>@<endpoint> in .env.
  • When the data grows past 30 MB or needs an uptime guarantee, choose a paid Essentials or Pro plan and add payment. No code change if the endpoint stays the same; otherwise update REDIS_URL.

Commercial use and your data

Redis Cloud is a paid online service with a free tier. From version 8 the Redis server lets you pick one of three licenses, one of them open source. Using it inside your own app is fine, but selling Redis itself as a hosted service is restricted. The official client libraries are MIT.

In a paid app
With conditions

Using Redis (Cloud or self-hosted) as your app's data store is fine; offering Redis itself as a competing hosted service is restricted under RSALv2 and SSPLv1.

“If you are building a solution that leverages Redis, but does not specifically compete with Redis itself, there is no impact.” source

inside-app-bundle
With conditions

The official clients (node-redis, redis-py) are MIT; keep the license notice.

“MIT License Copyright (c) 2022-2023, Redis, inc.” source

redistribute-files
With conditions

Redis 8+ server code may be shared under the AGPLv3 option, which requires releasing your changes' source.

“AGPLv3 is a copyleft license.” source

Where data is stored

AWS, Google Cloud or Azure regions you choose; Essentials is offered in fewer regions than Pro.

“Your choice of cloud provider and region may affect latency between your application and your database, and may affect what connectivity options are available for your database.” source

Errors to handle

ECONNREFUSED / ECONNRESET / ETIMEDOUT

The client cannot reach Redis, the connection dropped, or a command timed out.

Retry with backoff, or fall back to the main database for cache reads.

WRONGTYPE

A command was used on a key that holds a different kind of value.

Fix the code or the key naming; do not retry.

OOM command not allowed

The database reached its memory limit and refuses writes.

Set expiries, choose an eviction policy, or move to a larger plan.

LOADING / BUSY / TRYAGAIN

Redis is starting up and loading data, or is temporarily busy.

Retry with backoff, a limited number of times.

Use it from an agent

Our agent check

3 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP no, status page no, AI assistants allowed yes

Checked Nov 13, 2026.

MCP server

Redis MCP server (redis-mcp-server)

uvx --from redis-mcp-server@latest redis-mcp-server --url redis://localhost:6379/0

npm
npm install redis

Alternatives

Redis This page

Free (open source)Free tier

Upstash Redis

Pick Upstash Redis when you want a managed Redis with global replication and vector search, reachable from serverless and edge code.

from $0.03 per GB bandwidthFree tier

MongoDB Atlas

Pick MongoDB Atlas when you need a managed database for your main app data rather than a fast in-memory store.

from $0.08/hourFree tier

DuckDB

Pick DuckDB when you need analytics over CSV or Parquet files on one machine, with no server at all.

Free (open source)No free tier

All databases and backends APIs

Get started

Tell your AI assistant

“Add Redis to my Node.js server as a cache: pin redis@6.3.1, read REDIS_URL (rediss://...) from .env, attach an error listener, set an expiry on every cached key, fall back to the database when Redis is unreachable, and close the client with close() on shutdown.”

  1. Create a free Redis Cloud database (choose the cloud and region), then copy its endpoint and the password of the "default" user from the Security section; or run Redis Open Source locally.

    From redis.io/docs/latest/operate/rc/rc-quickstart/

  2. Install the official Node.js client.

    npm install redis

    From redis.io/docs/latest/develop/clients/nodejs/

  3. Connect with a connection URL and store a value (official example).

    import { createClient } from 'redis';
    
    const client = createClient({ url: 'redis://alice:foobared@awesome.redis.server:6380' });
    client.on('error', err => console.log('Redis Client Error', err));
    await client.connect();
    
    await client.set('key', 'value');
    const value = await client.get('key');

    From redis.io/docs/latest/develop/clients/nodejs/connect/

First request

Redis is reached through a client library over its own protocol, not over HTTP; this is the official node-redis example (localhost, port 6379).

import { createClient } from 'redis';

const client = createClient();
client.on('error', err => console.log('Redis Client Error', err));
await client.connect();

await client.hSet('user-session:123', {
    name: 'John',
    surname: 'Smith',
    company: 'Redis',
    age: 29
})
let userSession = await client.hGetAll('user-session:123');
console.log(JSON.stringify(userSession, null, 2));

Mistakes to avoid

Creating a client without an "error" listener.
Always add client.on('error', ...) before connect().

Without a handler, a dropped connection becomes an unhandled error that can stop the process.

Calling client.quit() or client.disconnect() from older node-redis examples.
Use client.close() for a clean shutdown and client.destroy() to drop the connection at once.

In node-redis v5 and later quit() is replaced and disconnect() was renamed.

Expecting numbers back from hGetAll or get.
Convert values after reading, for example Number(session.age).

Redis returns stored values as strings; the docs example stores age 29 and reads back "29".

Letting the app fail when the cache is down.
Catch connection errors (ECONNREFUSED, ECONNRESET, ETIMEDOUT) and read from the main database instead.

The Redis docs recommend graceful degradation for connection errors.

Putting the Redis connection URL with its password in front-end code or a public repository.
Keep REDIS_URL in server-side environment variables only.

The database password lets anyone read and change all data.

Questions

Is there a free plan?

Yes. Redis Cloud has a free database of up to 30 MB on a shared deployment, and Redis Open Source is free to run yourself.

Which clouds and regions can host my Redis Cloud database?

Amazon Web Services, Google Cloud or Microsoft Azure, in a region you pick when you create the database.

Which Node.js client should I use?

The Redis docs recommend node-redis (the "redis" package); the older ioredis is still documented.

Is Redis open source again?

Yes, from Redis 8 you may choose AGPLv3, an approved open-source license, or RSALv2 or SSPLv1.