Redis / Cache Cost Comparison
Compare the same cache workload across Upstash Redis, ElastiCache Serverless Valkey and Cloudflare KV. Scenario A (spiky edge): 5M cmds / 0.5 GB. Scenario B (steady prod): 100M cmds / 10 GB with PAYG→Fixed crossover. Units differ — commands vs GB-hours+ECPU vs per-key ops; KV is not Redis. Estimates only; provider pages prevail.
Math runs in your browser. Nothing is uploaded.
| Provider | Commands / ops | Storage | Other | Total / mo | Math |
|---|
—
Scenario A (spiky edge session / low steady): 5M commands/mo, ~0.5 GB, read-heavy. Upstash PAYG ≈ $10; ElastiCache Serverless Valkey still pays GB-hour floor + ECPUs (~$30+); CF KV often near $0 within included. Scenario B (steady prod): 100M cmds, 10 GB — Upstash PAYG cmds ≈ $200 → prefer Fixed 10 GB $200; ElastiCache ~$613 GB-hours + ECPU; CF KV write-heavy overages. Narrative: Upstash = command + optional Fixed flat; ElastiCache Serverless = always-on GB-hour floor + ECPU; KV = per-key ops, no Redis commands — apples for “cache cost”, not feature parity. Soft-link: serverless-postgres, serverless-compute, object-storage, CDN.
Estimates only. Official list prices as of 2026-11-03 (Asia/Shanghai); provider pages prevail. Sources: Upstash · ElastiCache · Cloudflare KV
Upstash Redis Cost Calculator · AWS ElastiCache Cost Calculator · Cloudflare KV Cost Calculator · Serverless Postgres Cost Comparison · Serverless Compute Cost Comparison · Object Storage Cost Comparison · CDN Bandwidth Cost Comparison
More in this group
- MongoDB Atlas Cost Calculator Atlas M0 · Flex · Dedicated → monthly $.
- Upstash Redis Cost Calculator Upstash Redis PAYG / Fixed → monthly $.
- AWS ElastiCache Cost Calculator ElastiCache Serverless Valkey → $/hr and $/mo.
- Cloudflare KV Cost Calculator Cloudflare KV Paid overages → monthly $.
- Serverless Postgres Cost Comparison Neon vs Supabase vs PlanetScale Postgres monthly $.
- Serverless Compute Cost Comparison Workers vs Lambda vs Vercel Fluid monthly compute $.
- Object Storage Cost Comparison R2 vs S3 vs B2 storage + egress monthly bill.
- CDN Bandwidth Cost Comparison Bunny vs Cloudflare vs CloudFront vs Fastly monthly CDN $.
How it works
- Which is cheapest on Scenario A (spiky edge)?
- Upstash PAYG ≈ $10 (5M cmds, storage within 1 GB free). Cloudflare KV is often near $0 within included ops. ElastiCache Serverless Valkey still pays a GB-hour floor (~$30 for 0.5 GB) — not scale-to-zero.
- What does Scenario B (steady prod) show?
- Upstash PAYG commands ≈ $200 for 100M cmds (plus storage) → Fixed 10 GB at $200 is usually preferred. ElastiCache ~$613 from GB-hours alone. CF KV write-heavy overages add up; remember KV ≠ Redis.
- Why aren't the apples identical?
- Upstash bills commands (+ optional Fixed flat). ElastiCache Serverless always bills GB-hours + ECPU. Cloudflare KV bills per-key reads/writes — no Redis protocol. Good for “cache cost”, not feature parity.
- Should I compare to Postgres or functions?
- Soft-link serverless-postgres, serverless-compute, object-storage and CDN bandwidth packs — storage → CDN → functions → Postgres → cache is a common 出海 SaaS stack, but billable units differ.
- Are rates dated?
- Yes. List prices verified 2026-11-03 Asia/Shanghai from Upstash Redis, ElastiCache (us-east-1) and Cloudflare KV docs. Provider pricing pages prevail.