DEV Community

Alex Spinov
Alex Spinov

Posted on

Upstash Has a Free Serverless Redis — Zero Maintenance, Pay-Per-Request Caching

Upstash provides serverless Redis and Kafka with a generous free tier.

What You Get for Free

  • Redis — 10,000 commands/day, 256MB storage
  • Kafka — 10,000 messages/day
  • QStash — serverless message queue, 500 messages/day
  • Vector — vector database for AI, 10,000 queries/day
  • Global replication — multi-region, low latency everywhere
  • REST API — works from serverless functions (Vercel, Cloudflare Workers)
  • SDKs — JavaScript, Python, Go, and REST

Quick Start

# Sign up: console.upstash.com (free, no credit card)
# Create a Redis database in 10 seconds

# Use from anywhere — even edge functions
npm install @upstash/redis
Enter fullscreen mode Exit fullscreen mode
import { Redis } from '@upstash/redis'

const redis = Redis.fromEnv()

// Cache API responses
await redis.set('user:123', userData, { ex: 3600 })
const cached = await redis.get('user:123')

// Rate limiting
const requests = await redis.incr(`ratelimit:${ip}`)
if (requests > 100) throw new Error('Rate limited')
Enter fullscreen mode Exit fullscreen mode

Why Developers Choose It

Self-hosted Redis needs a server 24/7. Managed Redis (AWS ElastiCache) starts at $12/mo:

  • Upstash free tier handles most side projects entirely
  • Pay-per-request — $0.2 per 100K commands beyond free tier
  • REST API — works in serverless environments (no persistent connections)
  • Zero ops — no servers, no patches, no monitoring

A developer was paying $25/mo for a DigitalOcean droplet just to run Redis for caching. Switched to Upstash — free tier covers their 8K daily commands, and the REST API works directly from Vercel Edge Functions.


Need Custom Data Solutions?

I build production-grade scrapers and data pipelines for startups, agencies, and research teams.

Browse 88+ ready-made scrapers on Apify → — Reddit, HN, LinkedIn, Google, Amazon, and more.

Custom project? Email me: spinov001@gmail.com — fast turnaround, fair pricing.

Top comments (0)