Upstash Redis
A strong pick. 3rd of 10 caching and Redis clients.
@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
Overall7.3
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.0, likely 6.0 to 8.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.
- pkgpulse.com/guides/ioredis-vs-node-redis-vs-upstash-redis-clients-2026: Right choice for serverless; TCP clients for servers
- npm downloads ratio: About 7.8x year over year vs 4.1 median
- vercel.com/docs/redis.md: Vercel KV replaced by Upstash Redis
GPT-6.2 Sol: 7.6, likely 6.5 to 8.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.
- github.com/upstash/redis-js/releases/tag/@upstash%2Fredis@1.41.0: Current stable release with bundled command documentation.
- developers.cloudflare.com/workers/databases/third-party-integrations/upstash: Documents the client’s edge deployment path.
- redis.io/docs/latest/develop/clients/nodejs/connect: Documents node-redis connections and client-side caching.
- bitsfolio.com/upstash-vs-redis-cloud-serverless-latency-cost: Reports different latency trade-offs for cold and warm workloads.
Needed by many4.4
How many developers need a tool for this job?
Claude Opus 5.5: 4.5, likely 3.5 to 6.0
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.
- github description: HTTP based Redis client for serverless and edge functions
- pkgpulse.com/guides/ioredis-vs-node-redis-vs-upstash-redis-clients-2026: Recommended for serverless and edge; ioredis or node-redis for long-running servers
- upstash.com/docs/redis/sdks/ts/overview: Targets Lambda, Workers, Fastly, Next.js and browsers
GPT-6.2 Sol: 4.3, likely 3.2 to 5.4
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.
- survey.stackoverflow.co/2026/technology: 28.3% of respondents to the database question reported using Redis.
- github.com/upstash/redis-js: Documents the Upstash REST API and supported runtimes.
- developers.cloudflare.com/workers/databases/third-party-integrations/upstash: Shows how to use the SDK in Cloudflare Workers.
Helps a lot7.3
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.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.
- github.com/upstash/redis-js/releases: Recent releases add hybrid search, vector indexes and array commands
- pkgpulse.com/guides/ioredis-vs-node-redis-vs-upstash-redis-clients-2026: HTTP latency 1-5 ms vs sub-ms TCP; no Sentinel
- community.fly.io/t/upstash-redis-latency-timeouts/22186: User report of high latency on Upstash via Fly
- npm hasTypes: Ships TypeScript types
GPT-6.2 Sol: 7.5, likely 6.4 to 8.6
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.
- github.com/upstash/redis-js/releases/tag/@upstash%2Fredis@1.41.0: Stable release bundles SDK source and command documentation.
- upstash.com/docs/redis/sdks/ts/pipelining/auto-pipeline: Documents automatic batching behavior.
- upstash.com/docs/redis/features/restapi: Documents transactions and Redis command coverage.
- github.com/upstash/redis-js/issues/1499: User reports changed key names under default deserialization in 1.41.0.
- bitsfolio.com/upstash-vs-redis-cloud-serverless-latency-cost: Independent test found faster cold starts and slower sustained reads.
Holds up over time7.7
Will it still be a good choice in two years?
Claude Opus 5.5: 7.5, likely 6.5 to 8.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.
- github releasesLastYear: 72 releases, latest 1.41.0 on 2026-11-02
- github openIssues/closedIssues: 10 open vs 143 closed
- vercel.com/docs/redis.md: Vercel KV moved to Upstash Redis in December 2024
- github.com/upstash/redis-js/releases: 1.40.0 changed the default responseEncoding
GPT-6.2 Sol: 7.8, likely 6.5 to 8.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.
- github commitsLastYear, github releasesLastYear, npm versionsLastYear: 68 commits, 72 GitHub releases, and 16 npm versions in the past year.
- github.com/upstash/redis-js/releases: Shows stable and canary releases.
- github.com/upstash/redis-js/pulls: Shows recent fixes in review and older pending pull requests.
- a16z.com/announcement/investing-in-upstash: Investor confirms commercial backing for Upstash.
Used widely5.7
How many use it, and is that growing?
Claude Opus 5.5: 6.0, likely 5.0 to 7.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.
- npm downloadsLast4Weeks: 31.6M vs 4.08M a year ago
- dependents repos: 3,702 repos and 98 packages
- github stars: 987 stars, far fewer than ioredis or node-redis
GPT-6.2 Sol: 5.3, likely 4.0 to 6.6
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.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: Download growth is well above the catalog baseline.
- dependents, peers dependentRepos: 3,702 tracked repositories and 98 packages, versus 50,169 repositories for ioredis and 154,264 for node-redis.
- github.com/upstash/ratelimit-js/releases: Upstash Ratelimit declares the Redis client as a peer dependency.
Vouched for6.7
Who stands behind it being good?
Claude Opus 5.5: 6.0, likely 4.5 to 7.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.
- vercel.com/changelog/upstash-joins-the-vercel-marketplace: Upstash in the Vercel Marketplace
- community.vercel.com/t/switching-from-vercel-kv-to-upstash-kv-questions/2660: Users migrating from @vercel/kv to @upstash/redis
- upstash.com/blog/upstash-vs-redis-cloud-a-2026-comparison: Benchmarks are mostly vendor-run
- hackerNews / bluesky: No stories or posts found
GPT-6.2 Sol: 7.4, likely 6.2 to 8.6
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.
- authjs.dev/getting-started/adapters/upstash-redis: Auth.js maintains a dedicated adapter using the SDK.
- unstorage.unjs.io/drivers/upstash: Unstorage offers a built-in Upstash driver.
- developers.cloudflare.com/workers/databases/third-party-integrations/upstash: Cloudflare documents the SDK as a Workers integration.
- supabase.com/docs/guides/functions/examples/upstash-redis: Supabase provides a current Edge Functions example using the SDK.
- vercel.com/docs/redis: Vercel confirms its migration of existing KV stores to Upstash.
- community.fly.io/t/upstash-performance/26637: User benchmark reports service-tier latency on a specific deployment.
Safe8.0
How safe is it to depend on?
Claude Opus 5.5: 8.0, likely 7.0 to 9.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.
- advisories total: 0 advisories
- npm dependencies: 1 dependency
- scorecard: No Scorecard data
- npm license: MIT
GPT-6.2 Sol: 8.0, likely 6.8 to 9.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.
- npm license, npm dependencies, advisories total, scorecard: MIT, one direct dependency, zero OSV advisories, and no collected Scorecard.
- raw.githubusercontent.com/upstash/redis-js/c400d2c/.github/workflows/npm-publish.yml: The release workflow requests provenance and uses an npm token.
- upstash.com/trust/vulnerability-disclosure: Vendor disclosure policy explicitly covers open-source SDKs.
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
- npm downloads, 4 weeks
- 32M ×7.8 in a year
- GitHub stars
- 987
- Commits, 12 months
- 68
- npm version
- 1.41.0 Nov 2026
- Versions, 12 months
- 16
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
The client of Upstash, a paid Redis service.
Read on 21 November 2026 from GitHub (upstash/redis-js), npm (@upstash/redis), OSV and the OpenSSF Scorecard.
Caching and Redis clients
- 8.3node-redis
- 8.2lru-cache
- 7.3Upstash Redis
- 7.1Valkey GLIDE
- 7.0unstorage
- 6.9ioredis
- 6.5BentoCache
- 6.3Keyv
- 6.2cache-manager
- 3.2node-cache