Guides · 2026-10-01
Managed Redis pricing 2026: real bills at 3 sizes
Most apps pick up a Redis sooner or later — for sessions, a job queue, rate limiting or a cache in front of Postgres. It rarely gets the same scrutiny as the database, yet the same workload costs anywhere from $4 to $200 a month depending on where you run it. The pricing models differ even more than for Postgres: Upstash bills per command, Railway per second of RAM, Render and DigitalOcean per node, and Heroku sells HA-only plans by the megabyte. We priced one Redis/Valkey workload on all five at three sizes, from list prices verified on 2026-10-01.
The same Redis at three sizes
Monthly USD, single region, excluding tax, with persistence turned on (a queue or session store that loses data on restart is a bug, not a saving). Hover a price for its lines. Green marks the cheapest at each size.
| Provider | Side project / sessions200MB used, 2M commands/mo | Small production800MB used, 50M commands/mo | Growing app4GB used, 500M commands/mo |
|---|---|---|---|
| Upstash | $4.00Pay-as-you-goFixed 250MB would be $10 | $20.00Fixed 1GBPay-as-you-go would be $100.00 | $100.00Fixed 5GBPay-as-you-go would be $1000.75 |
| Railway | $5.00HobbyThe $5 minimum also covers your app services | $11.12HobbyUsage estimate at stated averages | $54.60HobbyHobby volumes stop at 5GB — Pro past that |
| Render Key Value | $10.00256MB | $32.001GB | $135.005GB |
| DigitalOcean Valkey | $15.001GiB node | $30.002GiB nodeA 1GiB node holds only ~700MB | $120.008GiB nodeA 4GiB node holds only ~2.8GiB |
| Heroku Key-Value Store | $60.00Premium-2Mini ($3) is only 25MB and keeps no data on restart | $200.00Premium-5 | $750.00Premium-7Nothing between 1GB and 7GB |
What the table says
- Small and bursty: Upstash pay-as-you-go wins. Two million commands is $4, and the free tier (256MB, 500K commands, 10GB bandwidth) covers a lot of hobby use. Railway is close behind because a 250MB Redis barely dents the $5 Hobby minimum you are probably already paying for your app.
- Busy but small: move Upstash to a fixed plan. At 50M commands pay-as-you-go would be $100; the fixed 1GB plan is $20 with no per-command charge. Railway’s ~$11 is cheaper still, but it is just a container — no managed failover, and backups are whatever you configure.
- Render and DigitalOcean are the predictable middle. Render’s ladder is $10 / $32 / $135; DigitalOcean is $15 / $30 / $120 once you account for the 30% of node memory it reserves. Both are per-node with no command metering, so a traffic spike can’t surprise you.
- Heroku costs 5–6× Render because it only sells HA. Every Premium plan includes a standby and AOF persistence; there is no cheap persistent tier between Mini (25MB, no persistence) and Premium-0 ($15 for 50MB). If you need a hot standby, compare it with DigitalOcean primary + standby ($30 / $60 / $240) or Upstash plus the $200 Prod Pack, and the gap narrows.
Line-by-line breakdown
Upstash
Side project / sessions · Pay-as-you-go$4.00
- 2M commands × $0.20/100K$4.00
- 0.2GB storage (first 1GB free)$0.00
Small production · Fixed 1GB$20.00
- Fixed 1GB (no per-command charge)$20.00
Growing app · Fixed 5GB$100.00
- Fixed 5GB (no per-command charge)$100.00
Persistence: Durable storage on all plans · HA: Prod Pack +$200/mo per database
Railway
Side project / sessions · Hobby$5.00
- 0.25GB RAM (avg)$2.50
- 0.02 vCPU (avg)$0.40
- 0.2GB volume (RDB/AOF)$0.03
- Raised to plan minimum$5.00
Small production · Hobby$11.12
- 1GB RAM (avg)$10.00
- 0.05 vCPU (avg)$1.00
- 0.8GB volume (RDB/AOF)$0.12
Growing app · Hobby$54.60
- 5GB RAM (avg)$50.00
- 0.2 vCPU (avg)$4.00
- 4GB volume (RDB/AOF)$0.60
Persistence: Your config on a volume (template default) · HA: Not packaged — you run replicas yourself
Render Key Value
Side project / sessions · 256MB$10.00
- Standard CPU, 256MB, 250 conn.$10.00
Small production · 1GB$32.00
- Standard CPU, 1GB, 1,000 conn.$32.00
Growing app · 5GB$135.00
- Standard CPU, 5GB, 5,000 conn.$135.00
Persistence: Disk-backed on paid plans (free has none) · HA: Not listed
DigitalOcean Valkey
Side project / sessions · 1GiB node$15.00
- 1GiB / 1 vCPU (~0.7GiB usable)$15.00
Small production · 2GiB node$30.00
- 2GiB / 1 vCPU (~1.4GiB usable)$30.00
Growing app · 8GiB node$120.00
- 8GiB / 4 vCPU (~5.6GiB usable)$120.00
Persistence: RDB by default · HA: Matching standby node at the same price
Heroku Key-Value Store
Side project / sessions · Premium-2$60.00
- Premium-2 (250MB, 200 conn.)$60.00
Small production · Premium-5$200.00
- Premium-5 (1GB, 1,000 conn.)$200.00
Growing app · Premium-7$750.00
- Premium-7 (7GB, 10,000 conn.)$750.00
Persistence: AOF every second on Premium and up · HA: Included on every Premium plan
Per-command pricing: where it crosses over
Upstash pay-as-you-go is $0.20 per 100,000 commands. The number that matters is not your traffic but your commands per page view: a session read, a rate-limit INCR and a cache lookup is already three commands, and a BullMQ worker keeps issuing commands even when its queue is empty. Monthly cost for a dataset under 1GB:
| Commands / month | ≈ per second | Pay-as-you-go | Fixed 250MB | Fixed 1GB |
|---|---|---|---|---|
| 500K | 0.2 | $1.00 | $10.00 | $20.00 |
| 1M | 0.4 | $2.00 | $10.00 | $20.00 |
| 2M | 0.8 | $4.00 | $10.00 | $20.00 |
| 5M | 1.9 | $10.00 | $10.00 | $20.00 |
| 10M | 3.9 | $20.00 | $10.00 | $20.00 |
| 25M | 9.6 | $50.00 | $10.00 | $20.00 |
| 50M | 19.3 | $100.00 | $10.00 | $20.00 |
| 100M | 38.6 | $200.00 | $10.00 | $20.00 |
The break-even with the fixed 250MB plan is 5M commands a month — under two commands per second on average. Past that, a fixed plan or a per-node provider is cheaper. Upstash lets you set a monthly budget on pay-as-you-go; when you hit it the database is rate-limited rather than billed further, which protects the wallet but not your uptime.
The do-it-yourself floor
Valkey is a single binary with tiny CPU needs, so it is the easiest service to self-host. If you already run your app on a VPS, a Redis next to it costs nothing extra. Cheapest VPS plans in our data set (2026-10-05) for a standalone instance:
| Workload | Provider | Plan | RAM | $/month |
|---|---|---|---|---|
| ~1GB of data (needs ≥2GB RAM) | OVHcloud VPS | VPS-1 | 4GB | $4.54 |
| ~5GB of data (needs ≥8GB RAM) | OVHcloud VPS | VPS-2 | 8GB | $8.50 |
What you give up: automatic failover, someone else patching it, and a backup you never had to think about. For a cache that can be rebuilt from Postgres, that trade is easy. For a job queue holding unsent emails or payments, a managed instance is cheap insurance. Leave RAM headroom either way — background saves fork the process and can briefly need up to twice the dataset in memory.
How to choose
- Serverless front end (Vercel, Netlify, Cloudflare): Upstash — HTTP API, no connection pool to exhaust from short-lived functions, and one of the Redis options in Vercel’s marketplace. See Is Vercel worth it? for the rest of that bill, or the exit-from-Vercel calculator, which adds a ~$10 Redis line when the target platform needs one.
- App already on a PaaS: use its Redis for private networking and one bill — Railway is the cheapest of the three, Render the most predictable. Compare the platforms in Railway vs Render.
- Still on Heroku: the Redis add-on is often the line that makes leaving worth it. Our Heroku exit guide prices the full bill, and Heroku alternatives ranks the platforms.
- Need a hot standby: DigitalOcean primary + standby is the cheapest packaged HA here; Heroku includes it on every Premium plan.
- Redis Cloud: Essentials starts at $0.007/hour (about $5/month) with a 30MB free plan; per-size prices are only shown when you configure a database, so we left it out of the table rather than guess.
Price the rest of the stack
Redis is usually the third line after compute and the database. For the database: managed Postgres at 3 sizes. For the app: Rails on Heroku, Django on Render, Next.js on Railway, or the full hosting cost calculator.
Methodology: prices were read from each provider’s official pricing page or docs on 2026-10-01. Workloads are memory actually used plus monthly commands; each provider gets the smallest plan whose listed memory holds the data (DigitalOcean: 70% of node RAM, per its docs). Upstash shows the cheaper of pay-as-you-go and the smallest fitting fixed plan; bandwidth stays inside the included allowance at an average 0.5KB per command. Railway rows are estimates at the RAM/CPU averages shown (dataset plus ~25% overhead) at $10/GB-month RAM, $20/vCPU-month and $0.15/GB-month volume. Free tiers are mentioned but not tabled because none covers these workloads (Upstash Free stops at 500K commands; Render Free and Heroku Mini keep no data on restart). VPS rows come from our live data set (2026-10-05). No Redis provider in this article pays us; DigitalOcean and some VPS providers have affiliate links (disclosed in the footer), which never change the ordering or the numbers.
FAQ
What is the cheapest managed Redis in 2026?
For a small persistent workload (about 200MB, 2 million commands a month), Upstash pay-as-you-go is the cheapest at about $4, followed by Railway inside its $5 Hobby minimum and Render’s 256MB Key Value at $10. At 800MB and 50 million commands, Upstash’s fixed 1GB plan ($20) and Railway (~$11) lead; at 4GB, Railway (~$55) and Upstash’s fixed 5GB plan ($100) lead.
When does Upstash pay-as-you-go stop being cheap?
Pay-as-you-go costs $0.20 per 100,000 commands. At 5 million commands a month that is $10, the price of the fixed 250MB plan, and at 10 million it is $20, the price of the fixed 1GB plan. Fixed plans have no per-command charge, so above roughly 5–10 million commands a month a fixed plan is cheaper.
Why is Heroku Key-Value Store so much more expensive?
Every Heroku Premium plan includes a high-availability standby and AOF persistence, and memory is small per dollar: Premium-2 is $60 for 250MB and Premium-5 is $200 for 1GB. The cheap Mini plan ($3, 25MB) has no persistence and no HA. If you need a standby anyway, compare Heroku with DigitalOcean’s primary plus standby node (double the node price).
Does a 1GB DigitalOcean Valkey node hold 1GB of data?
No. DigitalOcean allocates 70% of a Valkey node’s memory as usable and 10% to the replication log, so a 1GiB node holds roughly 700MB. That is why an 800MB dataset needs the 2GiB node ($30) in our comparison.