I also like to rate limit route that calls OpenAI API since the cost can quickly go up. Vercel KV behind the scene should based on Upstash Redis, so it's the same offering. Another solution is to put behind the authentication. Definitively not as bullet proof as the rate limiting. But, you can combine rate limiting and authentication to prevent spam. I think Vercel KV and Upstash is a good start for rate limiting but if you want to further, I would suggest Arcjet . They provide rate limiting, bot protection, and more to secure your routes. They have a pretty generous free tier. I use it in Next.js Boilerplate , you can take a look as inspiration. Answer from ixartz on reddit.com
🌐
Upstash
upstash.com
Upstash: Serverless Data Platform
"Upstash's global Redis has been a game changer — low latency, zero downtime, and easy to use across frontend and backend.
Blog
Articles and tutorials from Upstash and community.
About
Upstash is a serverless data platform providing low latency and high scalability for real-time applications. Optimize your data infrastructure with Upstash's managed services for Redis, Vector, QStash, and other key data technologies.
Pricing
Upstash is a serverless data platform providing low latency and high scalability for real-time applications. Optimize your data infrastructure with Upstash's managed services for Redis, Vector, QStash, and other key data technologies.
Careers4
Help us build the cutting edge data platform for the serverless era.
🌐
GitHub
github.com › upstash › redis-js
GitHub - upstash/redis-js: HTTP based Redis Client for Serverless and Edge Functions
@upstash/redis is an HTTP/REST based Redis client for typescript, built on top of Upstash REST API.
Starred by 890 users
Forked by 87 users
Languages   TypeScript 99.3% | JavaScript 0.7%
Discussions

Is Upstash Redis free tier enough for rate limiting?
I also like to rate limit route that calls OpenAI API since the cost can quickly go up. Vercel KV behind the scene should based on Upstash Redis, so it's the same offering. Another solution is to put behind the authentication. Definitively not as bullet proof as the rate limiting. But, you can combine rate limiting and authentication to prevent spam. I think Vercel KV and Upstash is a good start for rate limiting but if you want to further, I would suggest Arcjet . They provide rate limiting, bot protection, and more to secure your routes. They have a pretty generous free tier. I use it in Next.js Boilerplate , you can take a look as inspiration. More on reddit.com
🌐 r/nextjs
7
9
February 23, 2025
Upstash Redis Commands usage incremented even without being used
Monitoring, at a guess? To get the numbers for the dashboard, typically something would be running Redis commands to populate it - scan to get all the keys, dbsize to see how big it is, etc. More on reddit.com
🌐 r/redis
4
0
January 22, 2025
typescript - Redis operations on Vercel hang after execution when using Upstash - Stack Overflow
This code runs without any issues locally, but it hangs when deployed on Vercel. When I check the Redis monitoring in Upstash, I notice that sometimes the data is successfully inserted, while other... More on stackoverflow.com
🌐 stackoverflow.com
How does one connect to an Upstash Redis database programmatically?
The Upstash dashboard provides an example to connect to my Redis instance using a connection string: const Redis = require("ioredis"); // Using *** to mask my credentials let client = new Redis("redis://:***@fly-***.upstash.io:6379"); client.set('foo', 'bar'); However, this does not work (unable ... More on community.fly.io
🌐 community.fly.io
1
0
July 15, 2023
🌐
PyPI
pypi.org › project › upstash-redis
upstash-redis · PyPI
Inspired by other Redis clients like @upstash/redis and redis-py, the goal of this SDK is to provide a simple way to use Redis over the Upstash REST API.
      » pip install upstash-redis
    
Published   Oct 22, 2025
Version   1.5.0
🌐
Vercel
vercel.com › marketplace › upstash
Upstash for Vercel – Vercel
Upstash Redis: Upstash provides a serverless database service that is compatible with the Redis API.
🌐
GitHub
github.com › upstash
Upstash · GitHub
Upstash is a Serverless Data Platform offering Redis, Vector Database, QStash, and Workflow APIs.
🌐
Fly.io
fly.io › docs › upstash › redis
Upstash for Redis®*
Select a database to connect to empty-water-3291 (sjc) 200M Proxying local port 16379 to remote [fdaa:0:6d6b:0:1::3]:6379 127.0.0.1:16379> set foo bar OK 127.0.0.1:16379> get foo "bar" 127.0.0.1:16379> ``` ### Update a Redis database Upstash Redis instances can't change their primary region or name, but the following may change: * Read regions * Pricing plan * Eviction settings Use `flyctl redis update` and follow the prompts.
Find elsewhere
🌐
Reddit
reddit.com › r/nextjs › is upstash redis free tier enough for rate limiting?
r/nextjs on Reddit: Is Upstash Redis free tier enough for rate limiting?
February 23, 2025 -

I'm developing a small public website for fun that makes calls to a route, which makes a few other calls to the OpenAI API, and I want to rate limit that route. I may be over-engineering a bit, but there's really nothing stopping an (anonymous) user from pasting a setInterval in their browser and spamming the API.

I've been researching for a while now and found that a lot of people have recommended Vercel KV, which I couldn't find anything updated (maybe it's deprecated?), and Upstash Redis. I tried the latter, and it was pretty easy and good, but then I realized that I had already made almost 1k out of 10k requests in the development environment in just a few hours (I use it for both caching and rate limiting), which means that eventually the API spam would affect the service anyway. Digging through the source code of the libraries, I found that there is an option to set the local cache behavior[1][2], but I'm not sure how effective it is.

For those who used the free tier, was it enough? Does Vercel have anything for free that could help, since this also affects their infrastructure?

🌐
Reddit
reddit.com › r/redis › upstash redis commands usage incremented even without being used
r/redis on Reddit: Upstash Redis Commands usage incremented even without being used
January 22, 2025 -

I am a beginner in database usage and I've decided to explore my option, and landed on redis with serverless option by Upstash. I've been following along this great video by Josh tried coding

However, as I implement my code, the commands usage in the Upstash dashboard keeps on incrementing by the seconds without me making any call to the Upstash redis. It looks something like this

with SCAN, EVAL being the most used even though the operation that I'm using are `rpush`, `sadd`, `hset`. But after a while those commands usage in the dashboard resets back to 0.

Is this something i should worry about, or is it just a normal behaviour?

Cheers

🌐
Dragonfly
dragonflydb.io › guides › upstash-solution-overview-pros-cons-and-alternatives
Upstash: Solution Overview, Pros/Cons, and Alternatives
July 21, 2025 - Upstash is a serverless data platform intended for developers building real-time and event-driven applications. It provides managed data stores (i.e., Redis) and a messaging platform (QStash) with flexible pricing options.
🌐
npm
npmjs.com › package › @upstash › redis
@upstash/redis - npm
2 weeks ago - An HTTP/REST based Redis client built on top of Upstash REST API.. Latest version: 1.35.8, last published: 11 days ago. Start using @upstash/redis in your project by running `npm i @upstash/redis`. There are 256 other projects in the npm registry ...
      » npm install @upstash/redis
    
Published   Dec 12, 2025
Version   1.35.8
Author   Andreas Thomas
🌐
Medium
medium.com › upstash
Upstash
Upstash is a serverless database with Redis API. It is the perfect database for the serverless applications thanks to its per-request pricing, ease of use and durable storage optimized for low latency data.
🌐
Stack Overflow
stackoverflow.com › questions › 79052385 › redis-operations-on-vercel-hang-after-execution-when-using-upstash
typescript - Redis operations on Vercel hang after execution when using Upstash - Stack Overflow
I'm also using Upstash's QStash, and I'm experiencing similar issues. Sometimes it triggers successfully, while other times it gets stuck at the first call. All of these operations work normally when run locally. import { Redis } from '@upstash/redis' const redis = new Redis({ url: process.env.UPSTASH_REDIS_REST_URL!, token: process.env.UPSTASH_REDIS_REST_TOKEN!, enableAutoPipelining: true, retry: { retries: 5, backoff: (retryCount) => Math.exp(retryCount) * 50, }, }) const result = await Promise.all([ redis.hset(taskId + '_info', {platform,searchId,collectionId,}), redis.rpush(taskId, ...keywords), redis.expire(taskId, TASK_EXPIRY_TIME), redis.expire(taskId + '_info', TASK_EXPIRY_TIME) ]);```
🌐
Pipedream
pipedream.com › apps › upstash-redis
Upstash Redis API Integrations - Pipedream
Build and run workflows using the Upstash Redis API. Use 1000s of source-available triggers and actions across 3,000+ apps.
🌐
Heroku Dev Center
devcenter.heroku.com › articles › upstash-redis
Upstash for Redis®* | Heroku Dev Center
August 24, 2022 - Serverless Database for Redis® with durable storage and low latency. Upstash is a serverless database with Redis API and durable storage.
🌐
Stacktape
docs.stacktape.com › 3rd-party-resources › upstash-redises
Upstash Serverless Redis
Upstash provides a serverless Redis service, which allows you to use the fast, in-memory NoSQL data store without having to manage your own servers.