# Upstash Redis: 7.3 out of 10

A strong pick. 3rd of 10 in [Caching and Redis clients](https://elestia.ai/opensource/caching/index.md).

@upstash/redis is Upstash's Redis client. It sends each command over HTTP, so it works in Vercel, Cloudflare Workers, Lambda and other edge runtimes where TCP clients like ioredis cannot run. It is the clear pick for serverless apps on Upstash, but it is tied to one paid service and adds latency on long-running servers.

**Best for:** Teams on serverless or edge platforms, Vercel above all, that want a hosted Redis without managing connections.

## Scores

- **Overall: 7.3** (likely 6.3 to 8.3)
  - Claude Opus 5.5 (7.0): For serverless and edge apps it is the strongest Redis client in the category: active, well typed, fast-growing and backed by Vercel's move to Upstash. It drops in value outside that niche, because it needs Upstash and loses to ioredis or node-redis over TCP on long-running servers. That keeps it a strong pick for a named kind of project, not the category default.
  - GPT-6.2 Sol (7.6): Upstash Redis is a strong pick when a new edge or serverless project needs shared Redis state over HTTP and already accepts Upstash as its provider. The typed API, active releases, and platform integrations make it easy to adopt in that setting. For a long-running Node.js service with TCP access, node-redis offers broader Redis compatibility and client-side caching. The value of HTTP access depends on the runtime, and the latency trade-off depends on the workload.
- **Needed by many: 4.4** (likely 3.4 to 5.7)
  - Claude Opus 5.5 (4.5): Its users are developers who deploy to serverless or edge platforms and pick Upstash as their Redis host. That is a large group in the Next.js and Vercel world, but narrower than the whole category. It does not serve in-memory caching or self-hosted Redis over TCP.
  - GPT-6.2 Sol (4.3): Shared caching, sessions, and rate limiting are common backend needs, and the HTTP client works across several JavaScript runtimes. Its audience is narrower than Redis users as a whole because the client targets Upstash’s REST API. The developer survey measures Redis use across languages and leaves the size of this particular audience uncertain.
- **Helps a lot: 7.3** (likely 6.2 to 8.3)
  - Claude Opus 5.5 (7.0): Within its niche it is the best tool: it covers most Redis commands plus pipelines, transactions, scripts and new search and vector commands, with good types and auto JSON handling. HTTP adds roughly 1 to 5 ms per command compared with co-located TCP, and it has no Cluster or Sentinel support. Some users report high latency on the service side, but that is about the hosted service more than the client.
  - GPT-6.2 Sol (7.5): Version 1.41.0 gives teams a typed API, automatic batching, and explicit transactions. Bundled source and command-level documentation give coding agents a version-matched reference. An open key deserialization report and missing Redis commands lower the score. One independent comparison found faster cold starts and slower warm requests, with results tied to the services and deployment tested.
- **Holds up over time: 7.7** (likely 6.5 to 8.7)
  - Claude Opus 5.5 (7.5): A funded company maintains it as the main SDK of its product, with 72 releases and 68 commits in the last year and only 10 open issues. Vercel moved Vercel KV users onto Upstash, which ties the client into a large platform. The risks are dependence on one company's business and minor releases that change default behaviour.
  - GPT-6.2 Sol (7.8): Upstash has a commercial reason to maintain the client, and 68 commits and 16 npm versions in the past year show steady work. The repository publishes canaries, which helps explain the higher GitHub release count. Recent fixes are in review, though some pull requests have been open for months. The client’s dependence on one provider and limited visibility into who can authorize releases keep the range wide.
- **Used widely: 5.7** (likely 4.5 to 6.8)
  - Claude Opus 5.5 (6.0): Downloads rose from 4.1M to 31.6M per 4 weeks, a ratio of about 7.8, well above the 4.1 median, so it is gaining ground. It has 3,702 dependent repos, far behind ioredis (50k) and node-redis (154k). Some downloads come through @upstash/ratelimit, Vercel templates and other libraries rather than direct choice.
  - GPT-6.2 Sol (5.3): Four-week npm downloads rose from 4.08 million to 31.64 million, a 7.75× increase against the catalog median of 4.1×. The 3,702 tracked dependent repositories trail ioredis and node-redis by a wide margin. Automated installs and downstream packages such as Upstash Ratelimit make the share of growth attributable to new projects hard to estimate.
- **Vouched for: 6.7** (likely 5.4 to 7.8)
  - Claude Opus 5.5 (6.0): Vercel chose Upstash as the successor to Vercel KV and points users to this package, which is a strong current endorsement. Independent comparisons call it the right choice for serverless. Most benchmarks come from Upstash itself, and there are no Hacker News or Bluesky signals and no survey data.
  - GPT-6.2 Sol (7.4): Auth.js and Unstorage ship adapters, and Cloudflare and Supabase document the SDK for their edge runtimes. Vercel moved existing KV stores to the Upstash service in 2024. A Fly.io user’s benchmark also shows how service-tier latency can affect a real workload. The evidence is strongest for ecosystem support, with limited SDK-specific satisfaction data and production measurements.
- **Safe: 8.0** (likely 6.9 to 9.0)
  - Claude Opus 5.5 (8.0): It has no known advisories, one runtime dependency and an MIT licence, and a company publishes it. There is no OpenSSF Scorecard to confirm branch protection or signed releases, which keeps the range open. Your data goes over HTTPS to a third-party service, which is a deployment concern rather than a package risk.
  - GPT-6.2 Sol (8.0): The MIT-licensed SDK has one direct dependency and zero recorded OSV advisories. The 1.41.0 workflow publishes from GitHub Actions with npm provenance and uses an npm token. Upstash’s disclosure policy covers the SDK. The missing OpenSSF Scorecard and limited visibility into publisher access leave some uncertainty about release safeguards.

## Good

- Connectionless HTTP design that works in Cloudflare Workers, Vercel Edge, Deno and Lambda without connection pooling.
- Strong TypeScript types, automatic JSON serialization and support for pipelines and transactions.
- Vercel's official replacement for Vercel KV, and the base of @upstash/ratelimit and other Upstash SDKs.
- Very active, company-backed releases with one runtime dependency and no known advisories.

## Bad

- It works only with Upstash, or with a self-hosted HTTP proxy, so you are tied to one vendor.
- Each command is an HTTP request, so it is slower than ioredis or node-redis over TCP on long-running servers.
- Minor releases sometimes change defaults, such as the responseEncoding switch and abort() return values in 1.40.0.
- No Cluster or Sentinel support, and you must handle any outage of the service yourself.

## The numbers

- Downloads, 4 weeks: 32M
- In a year: ×7.8
- GitHub stars: 987
- Commits, 12 months: 68
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/upstash/redis-js
- npm: https://www.npmjs.com/package/@upstash/redis

The client of Upstash, a paid Redis service.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
