Upstash Redis Free Tier vs. Self-Hosted Valkey
Compare serverless HTTP Redis (500k commands/mo free) against self-hosting BSD-licensed Valkey in ~64 MB RAM.
Bottom-Line Verdict & Crossover Point
Choose Upstash for edge rate-limiting and low-volume Next.js/Workers sessions over HTTPS; switch to self-hosted Valkey the moment you run BullMQ polling queues or exceed 500k monthly commands.
Financial Crossover Point: BullMQ/Sidekiq idle polling burns 500k commands in hours; running Valkey inside your existing $5 VPS Docker network drops queue command fees to $0.
| Dimension | Upstash Redis | Valkey |
|---|---|---|
| Monthly Command Cap | 500,000 commands/mo free ($0.20/100k after) | Unlimited internal commands (zero per-req cost) |
| Edge / Serverless Protocol | Native HTTPS/REST (zero TCP pool exhaustion) | TCP RESP protocol inside private Docker/VPC |
| Memory Included | 250 MB on Free tier | Runs comfortably in 64-512 MB+ on your VPS |
| License | Managed proprietary cloud | BSD-3-Clause (OSI-approved Linux Foundation) |
Upstash Redis
Cloud Free TierHTTP/REST serverless Redis and QStash queues built for edge functions.
Inspect full quotas & Docker snippet →Valkey
Self-Hosted OSSLinux Foundation BSD-licensed open-source drop-in successor to Redis.
Inspect full quotas & Docker snippet → Want to calculate exact monthly savings across your full stack?
Launch Cloud vs $5 VPS Calculator →