Blog 11 min read

Estimate Redis cache cost per month

method for overseas founders pricing session/cache layers: separate Upstash Redis PAYG/Fixed vs ElastiCache Serverless Valkey GB-hour+ECPU vs Cloudflare KV per-key ops, with a dated side-project vs steady worked example

Overseas SaaS and Next.js builders often price CDN bandwidth, object storage, API/edge functions and managed Postgres first, then ask what the session or cache layer costs. Redis-compatible commands, always-on GB-hours, and edge key-value ops are different meters — do not fold them into the Postgres or function worksheet.

This is a method article. It shows how to separate per-command serverless Redis (Upstash PAYG), fixed Redis storage tiers, GB-hour + ECPU serverless cache (Amazon ElastiCache Serverless for Valkey), and per-key edge KV (Cloudflare Workers KV), run a dated side-project vs steady worked example, and flag the traps that make apples-to-oranges comparisons. Start from the prior delivery steps: estimate serverless Postgres cost per month, estimate serverless function cost per month and estimate object storage and egress cost per month. No vendor is recommended. All dollar figures are illustrative, based on public list prices re-checked on 2026-11-03 Asia/Shanghai (upstash.com/pricing/redis, aws.amazon.com/elasticache/pricing/, developers.cloudflare.com/kv/platform/pricing/). ElastiCache Serverless Valkey figures below are for US East (N. Virginia) worked-example rates on the AWS pricing page; other regions and Redis OSS / Memcached Serverless rates differ — see the traps section. Prices change, so re-check each vendor's current pricing page before you decide.

1. Step 1: separate session/cache billing from Postgres, functions and object storage

Do not fold Redis or KV into the Postgres, function or object-storage worksheet. Four layers:

  • Managed Postgres: CU-hours, always-on compute sizes or cluster SKUs plus disk. Covered in the serverless Postgres method.
  • Function invoke / compute: requests, CPU-ms, GB-seconds or active-CPU + memory. Covered in the serverless function method.
  • Object storage + egress: GB stored and egress from the bucket. Covered in the object storage and egress method.
  • Session / cache: how commands, GB-hours, ECPUs or per-key reads/writes are billed while the cache holds sessions, rate limits or hot keys — plus storage minima and included free tiers.

Monthly cache cost ≈ command $ or Fixed tier (or GB-hours + ECPUs, or KV ops) + storage / GB-month overages − included free allowances. Session/cache ≠ Postgres ≠ functions ≠ object storage. Keep Redis Cloud Pro interactive quotes and node-based ElastiCache SKUs off the serverless worksheet until you need them.

2. Step 2: pick the billing model

ModelWhat you payTypical fit
Upstash Redis PAYGCommands per 100K + GB-month storage after 1 GB free (+ bandwidth after free allowance)Spiky side projects and intermittent session stores that want Redis protocol without a flat tier
Upstash Redis FixedFlat monthly tier by max storage size (optional Prod Pack / read regions)When command volume makes PAYG expensive and you can size a storage tier
ElastiCache Serverless ValkeyGB-hours + ECPUs (always-on storage floor; min 100 MB metered)When you want AWS-managed Valkey serverless and accept an idle GB-hour floor (not scale-to-zero $0)
Cloudflare KVPer-million reads / writes / deletes / lists + GB-month storage (not Redis protocol)When small edge key-values are enough and Redis commands / data structures are not required

Out of MVP scope (do not invent into the cache line): Redis Cloud Essentials/Pro interactive calculator quotes; ElastiCache on-demand node SKUs, reserved nodes, Global Datastore, data tiering; Upstash Kafka / QStash / Vector; Workers Paid subscription CPU itself (link Workers pricing separately).

3. Step 3: dated list prices (re-verified 2026-11-03)

Illustrative list rates used below. Re-check the linked pages; free tiers, rounding, billing cadence and regional multipliers can nudge small workloads.

Line (list, 2026-11-03)Upstash RedisElastiCache Serverless Valkey (us-east-1)Cloudflare KV (Workers Paid)
Primary meterPAYG $0.20/100K commands (reads = writes); Fixed flat by size: 250MB $10, 1GB $20, 5GB $100, 10GB $200, 50GB $400…Storage $0.084/GB-hour + compute $0.0023/million ECPUs; minimum metered storage 100 MBReads $0.50/M after 10M included; writes / deletes / lists $5.00/M after 1M each
StoragePAYG $0.25/GB-month after first 1 GB free; Fixed includes tier max dataGB-hours continuously metered (hourly average); Valkey min 100 MB — not a sleep-to-$0 storage line1 GB included, then $0.50/GB-month
Bandwidth / egressPAYG free to 200 GB/mo then $0.03/GB; Fixed includes tier bandwidth capVPC endpoint: no in-Region transfer charge to the cache itself (app→cache footnotes on AWS page); do not invent cross-AZ into the MVP lineEgress free (Workers KV does not charge data transfer / egress)
Add-ons / notesOptional Prod Pack +$200/DB-month; optional read-region add-on (+$5… on Fixed); global replica writes multiply PAYG commandsRegion disclaimer — rates from US East (N. Virginia) worked examples; Redis OSS Serverless footnote only: $0.125/GB-hour + $0.0034/M ECPU, min 1 GBFirst 1000 namespaces included, then $0.10/namespace-month; Free plan = hard daily caps (note only)

4. Worked example: side project vs steady cache

Assumptions (illustrative, list prices as of 2026-11-03 Asia/Shanghai). Scenario A — side project / spiky edge session: 5M commands/mo, ~0.5 GB data, read-heavy (map KV as ~4.5M reads + 0.5M writes). Scenario B — steady prod cache: 100M commands/mo, 10 GB data (map KV as ~90M reads + 10M writes). ElastiCache assumes ~1 ECPU per small GET/SET (<1 KB). No Upstash Prod Pack, no ElastiCache backups/node SKUs, no KV extra namespaces.

OptionMathMonthly
Upstash PAYG (Scenario A)5M cmds × $0.20/100K = $10; storage 0.5 GB within 1 GB free≈ $10.00
ElastiCache Serverless Valkey (Scenario A)0.5 GB × 730 h × $0.084 = $30.66; 5M ECPUs × $0.0023/M ≈ $0.01≈ $30.67 (GB-hour floor — not scale-to-zero)
Cloudflare KV Paid (Scenario A)4.5M reads + 0.5M writes + 0.5 GB within included ops/storage≈ $0–few $ overages
Upstash PAYG → Fixed (Scenario B)PAYG: 100M × $0.20/100K = $200 + (10 − 1) GB × $0.25 = $2.25 → $202.25; Fixed 10GB flat $200 (size needs 10 GB)PAYG ≈ $202.25; Fixed 10GB ≈ $200 (prefer Fixed at this volume)
ElastiCache Serverless Valkey (Scenario B)10 GB × 730 h × $0.084 = $613.20; 100M ECPUs × $0.0023/M = $0.23≈ $613.43
Cloudflare KV Paid (Scenario B)Reads overage 80M × $0.50/M = $40; writes overage 9M × $5/M = $45; storage 9 × $0.50 = $4.50≈ $89.50 (write-heavy caution; KV ≠ Redis protocol)

Apples note: Upstash PAYG can sit near $10 on a quiet side project while ElastiCache Serverless Valkey still owes GB-hours every hour the cache exists (here ~$30.67 at 0.5 GB) — it does not sleep to $0 compute/storage. At 100M commands, Upstash PAYG (~$202) crosses into Fixed 10GB (~$200); if your working set fit Fixed 1GB ($20) the crossover would be much sharper. Cloudflare KV can look cheap on read-heavy small keys, but write overages at $5/M add up fast, and KV is not a Redis command surface. Treat totals as worksheets, not invoices — and re-check vendor pages before you commit.

5. Step 5: traps (idle GB-hours; KV writes; global replicas; Redis Cloud Pro; node SKUs; KV≠Redis)

  • ElastiCache idle GB-hours ≠ scale-to-zero: Serverless Valkey keeps metering storage (min 100 MB) while the cache exists. Comparing that floor to Upstash PAYG on a sleeping side project is apples-to-oranges.
  • KV write-heavy vs Upstash commands: Cloudflare KV writes/deletes/lists are $5/M after the included 1M. A write-heavy “cache” can cost more on KV than the same ops as Upstash commands at $0.20/100K.
  • Upstash global-replica command multiplication: On PAYG, each write replicated to a read region counts as an extra command (Upstash FAQ: 1 primary + 1 read region → 100K writes = $0.40).
  • Redis Cloud Pro out of MVP: Pro quotes often come from an interactive calculator with plan floors — do not invent a line item from a landing page without fetching the current quote path.
  • Mixing node-based ElastiCache into serverless totals: On-demand / reserved node SKUs, Global Datastore and data tiering are a different product. Keep them off the Serverless Valkey worksheet.
  • KV ≠ Redis protocol: Cloudflare KV is per-key edge storage. No Redis data structures, no Redis wire protocol — fine for simple session blobs, not a drop-in Redis replacement.

Pick from measured command volume vs storage size, whether you need Redis compatibility, idle vs always-on tolerance, and write intensity — not from a single vendor landing-page claim.

6. Checklist before you commit

  1. Finish Postgres, function and object-storage worksheets separately from the session/cache line.
  2. Choose a billing model: Upstash PAYG vs Fixed tier vs ElastiCache Serverless Valkey GB-hour+ECPU vs Cloudflare KV per-key ops.
  3. Forecast monthly commands (or KV reads/writes), average stored GB, and whether bandwidth / Prod Pack / read regions will fire.
  4. Apply minima and included allowances explicitly (Upstash 1 GB PAYG storage free; ElastiCache Valkey 100 MB min; KV included ops + 1 GB).
  5. Set ElastiCache region (MVP rates = us-east-1 worked examples); re-price if you run elsewhere or on Redis OSS Serverless.
  6. Exclude Redis Cloud Pro, node-based ElastiCache, Upstash Kafka/QStash/Vector and Workers CPU subscription from the MVP cache line until you need them.
  7. Re-check every list price on the vendor's current pricing page before you commit.

7. Calculators and related reading

Use these calculators to check current Redis / cache prices.

Several vendors are listed on purpose. The aim is to compare per-command Redis vs Fixed tiers vs GB-hour+ECPU serverless cache vs per-key edge KV structures, not to pick a vendor in advance. Keep Postgres, functions and object storage on their own worksheets.

Turn cache cost into a clear product site

Infrastructure math only helps when product pages, APIs and buyer inquiries convert. If you want help with that, contact us or see how the platform fits.

Next step

Want a crawlable inquiry site for that topic?

Tell us the product, target market, and how many sites you need. We build English inquiry pages search engines and AI crawlers can read—then route buyer messages into one admin.