Upstash is a serverless data platform. Redis and Kafka without servers to manage. Founded in 2020, investors include a16z. If you need Redis for serverless functions on Vercel or Cloudflare Workers — Upstash is practically a monopoly in this niche.
Website: upstash.com
Products
Upstash Redis — a Redis API-compatible service with pay-per-use pricing. No need to spin up an instance, configure replication, or monitor memory. You pay for the operations actually performed.
Upstash Kafka — serverless Apache Kafka. Producers, consumers, topics — everything like classic Kafka, but without brokers and ZooKeeper. REST API alongside the native Kafka protocol.
Upstash QStash — a message queue with guaranteed delivery. Perfect for async tasks in a serverless environment: the request comes in, the task goes to QStash, the client gets a 200 OK, processing happens in the background.
Honest Serverless Pricing
Redis: free 10,000 commands per day. Then $0.20 per 100,000 commands. Global database (cross-region replication) — $0.60 per 100,000 commands. For comparison: the smallest managed Redis on AWS (ElastiCache) starts at $12/mo for a tiny instance.
Kafka: free 10,000 messages per day. Beyond that, $1 per million messages. No storage, partition, or instance fees.
This is orders of magnitude cheaper than managed solutions from cloud giants for small to medium workloads. For high-throughput scenarios (billions of operations), the economics shift — you’ll need a calculator.
Global Replication
Upstash’s main killer feature — global databases. A single Redis database automatically replicated across regions. Data is read from the nearest region, written to the primary. Read latency under 5ms for 90% of the Earth’s users.
For serverless applications, this is a killer feature. A Vercel function in us-east reads from an Upstash global database — and a user in Singapore gets data with latency as if from a local data center.
Integrations
SDKs for TypeScript, Python, Go. Direct integration with Vercel, Netlify, Cloudflare Workers, AWS Lambda. The REST API lets you work with Redis from any environment without a TCP connection (Cloudflare Workers, Deno Deploy).
The @upstash/redis TypeScript library is one of the best in the ecosystem. Full typing, pipeline support, transactions, pub/sub. Documentation with examples for every framework.
Serverless Limitations
Maximum value size: 10 MB for Redis. This is enough for caching, sessions, and rate limits, but not for storing files.
Connection pooling in serverless environments is a problem. Upstash solves it via HTTP API, but HTTP request performance is lower than native Redis protocol. For hot paths with microsecond latency requirements — run regular Redis.
Vendor lock-in is moderate: the API is Redis-compatible, data can be exported, but global replication and REST API are proprietary layers. You can move back to regular Redis, but features will be lost.
Verdict
Upstash is the ideal Redis for the serverless world. The free tier covers hackathons and pet projects. Pay-per-use is more honest than monthly instance rental that idles 90% of the time. If your stack is Vercel/Netlify/Cloudflare Workers, Upstash is practically irreplaceable. For traditional monoliths on VPS — plain Redis in Docker is still simpler and faster.