Vybes is now valued at $10M.Read more

Technology

Upstash vs Redis Cloud vs Momento: Serverless Cache Compared

Upstash bills per request, Redis Cloud bills per instance, and Momento now sells dedicated Valkey capacity. Picking the wrong one will either drain your budget or slow down your edge workloads.

Nate LaquisUpdated 13 min read

Why Serverless Caching Is No Longer Optional

Pick Upstash if you are a startup running on Vercel, Cloudflare Workers or any serverless platform, because it bills per request, has a free tier and talks HTTP from anywhere. Pick Redis Cloud if you run steady, high traffic from servers or containers in one cloud region and want Redis 8 with search, JSON and Active-Active replication. Pick Momento only if you are an AWS team that wants dedicated, managed Valkey capacity and has outgrown a pay-per-request cache.

Traditional caching meant spinning up an ElastiCache Redis instance, picking a region, choosing an instance type, and paying whether you used it or not. For monolithic apps running in a single AWS region, that model works fine. It breaks down the moment you deploy to the edge, run Cloudflare Workers, or build a globally distributed Next.js app on Vercel.

Edge functions execute in 300+ data centers worldwide. A cache sitting in us-east-1 adds 80 to 200ms of round-trip latency for users in Tokyo or Sao Paulo. That defeats the purpose of edge deployment. You need a cache that lives close to your compute, scales to zero when idle, and charges you only for what you use.

That is the promise of serverless caching. Upstash, Redis Cloud, and Momento take very different approaches to pricing, latency, protocol support, and edge compatibility. Momento in particular changed course in 2026, moving from its own pay-per-GB serverless API toward managed Valkey clusters.

If you are building on edge function platforms, your choice of cache directly affects your p99 latency, monthly bill, and architectural flexibility. If you have not yet settled where your code runs at all, read our edge functions vs serverless vs containers guide first, since the cache follows the compute.

Global network visualization showing distributed serverless cache nodes across continents

Pricing Models: Pay-Per-Request vs Instance-Based

Pricing is where these three platforms diverge most sharply, and it is the first thing you should evaluate because it determines your cost curve as traffic scales. All prices below were checked in December 2026.

Upstash: Pay-Per-Request

Upstash charges $0.20 per 100K commands on Pay as You Go, plus $0.25 per GB of storage on every replica. Bandwidth is free up to 200GB a month. The free tier gives you one database with 500K commands a month, 250MB of data and 10GB of bandwidth. You pay nothing for commands when your cache sits idle, and you can set a monthly budget so a runaway loop does not surprise you.

For a typical SaaS app handling 50M cache commands per month, commands come to roughly $100/month. For a low-traffic staging environment doing 500K commands per month, the free tier covers it. If you want flat bills, Upstash also sells Fixed plans from $10/month for 250MB up to $1,500/month for 500GB, with no per-command charge.

Redis Cloud: Instance-Based Tiers

Redis Cloud (from Redis Inc.) has a free 30MB database for testing. Essentials starts at $5/month on shared infrastructure, with plans from 250MB up to 100GB. Pro is the dedicated tier, priced from $0.014/hour with a $200/month minimum, and it is the tier that includes Active-Active multi-region, private connectivity and up to 99.999% uptime.

You pay for the plan whether it processes zero commands or ten million. The upside is predictable cost at high throughput. If your application consistently runs hundreds of millions of commands a month, Redis Cloud's capacity pricing beats a per-request bill. The crossover with Upstash's Pay as You Go typically sits somewhere around 60M to 100M commands a month, depending on how much memory you need.

Momento: Capacity Pricing for Managed Valkey

Momento used to be the per-GB-transferred option, with a free monthly allowance. That is no longer what its public price list shows. Momento now prices its Valkey caches by capacity. Flex starts at $13 per GB-month (Standard tier, us-east-1), and Cluster bills each instance at the AWS list price plus 25%, so a small t4g.micro node runs about $7.56 for 30 days. Most accounts get 200GB of transfer a month, then $0.05 per GB. There are no request or connection charges.

Cluster and Flex entered limited preview in September 2026. The original Serverless configuration still exists, but it is no longer on the public price list, so get a quote before you plan around it.

Bottom line: Upstash wins for bursty and low-traffic workloads. Redis Cloud wins for high-throughput, always-on applications. Momento is now a dedicated-capacity product for AWS teams, priced against ElastiCache rather than against Upstash.

Latency and Global Performance

A cache that adds 50ms to every request is worse than no cache at all. Latency is the whole reason you are caching in the first place, so here are the numbers that matter.

Upstash: Global Replication with REST API

Upstash Global databases replicate data to read regions you choose. Read requests route to the nearest replica, delivering single-digit millisecond latency for cached reads close to the user. Write latency depends on the primary region, typically 10 to 30ms from the nearest edge location. Note the cost side: on Pay as You Go, every write to a read region counts as a command, so one primary plus one read region costs $0.40 per 100K writes.

The key differentiator is Upstash's REST API. Traditional Redis clients keep a persistent TCP connection open, which is awkward in stateless edge environments where nothing survives between requests. Upstash's HTTP-based API works everywhere HTTP works. In practice, Upstash REST API calls from Cloudflare Workers complete in 2 to 10ms when the data is in a nearby replica.

Redis Cloud: Fixed Regions, Low Latency Within Region

Redis Cloud delivers excellent latency within its deployed region. Expect sub-1ms p99 for most operations when your compute runs in the same AWS, GCP, or Azure region. Active-Active geo-replication gives you local reads and writes in several regions, but it only comes with Pro, which starts at $200/month.

Without Active-Active, you are locked to a single region. A Redis Cloud database in us-east-1 gives you sub-1ms reads from Lambda in the same region, but 80 to 150ms reads from a Cloudflare Worker in Singapore. For edge-first apps, that is a dealbreaker unless you pay for Pro.

Momento: AWS Regions, Dedicated Nodes

Momento runs on AWS and delivers low single-digit millisecond latency within the same AWS region. Its Cluster configuration lets you choose instance type, shards, replicas and availability zones, which gives you predictable performance because nobody else shares your nodes.

Cross-region latency follows standard AWS inter-region numbers: 20 to 80ms depending on distance. Momento does not offer the global edge replication that Upstash provides. If your compute runs on Cloudflare Workers or Vercel, your requests must travel to the AWS region your cache lives in.

Data center server racks powering distributed cache infrastructure for low-latency applications

API and Protocol Compatibility

How you talk to your cache matters as much as how fast it responds. Protocol support determines which compute platforms can connect, which client libraries you can use, and how much code you need to write.

Upstash: REST API and Redis Protocol

Upstash supports both the standard Redis protocol over TCP (compatible up to Redis 8.4) and a REST API over HTTPS. The REST API is the reason most teams pick it. Every Redis command maps to an HTTP call. You can call Upstash from any environment that supports fetch, including Cloudflare Workers, Vercel Functions, Deno Deploy, and even browser-side JavaScript.

Upstash publishes official SDKs for TypeScript (@upstash/redis), Python, and Go. The TypeScript SDK wraps the REST API with full type safety and pipeline support. For traditional server environments, you can use any standard Redis client (ioredis, redis-py) over TCP.

Redis Cloud: Full Redis Protocol

Redis Cloud supports the complete Redis protocol, and with Redis 8 the former Redis Stack modules ship in the core: the Redis Query Engine (formerly RediSearch), JSON, time series and probabilistic structures. If a Redis client library exists for your language, it works with Redis Cloud, including Lua scripting, transactions (MULTI/EXEC), pub/sub, and streams.

The trade-off is that the Redis protocol wants a persistent TCP connection. This works in containers and standard Lambda functions (with connection reuse). It is a poor fit for edge runtimes, where sockets cannot be shared across requests and every request would pay a fresh TLS handshake. Redis Cloud has no HTTP data API, so edge access usually means a proxy layer.

Momento: Its Own SDKs, Now Plus a Redis-Compatible Endpoint

Momento built its name on its own API, with official SDKs for TypeScript, Python, Java, Go, Kotlin, Swift, Rust, and .NET running over gRPC. Those SDKs expose only cache-shaped operations (get, set, delete, increment, sorted sets, dictionaries), which keeps them small and easy to learn.

The 2026 Cluster and Flex configurations change the picture. They run Valkey behind a gateway that exposes a RESP endpoint on port 6379 over TLS, so standard Valkey and Redis clients connect to it directly. If you start on Momento today, use that endpoint and a standard client. Code written against the older proprietary SDK has to be rewritten to move anywhere else.

For a deeper look at caching fundamentals, see our Redis vs Memcached comparison and our caching strategy guide.

Edge Computing Integration

This is where the choice gets made for you. If you are deploying to edge runtimes, compatibility is a hard requirement.

Cloudflare Workers

Upstash is the clear winner here. Workers do have a TCP sockets API (connect()), but sockets cannot be created once and shared across requests, and the mainstream Redis clients are built around Node's long-lived connections. So reaching Redis Cloud or a Momento RESP endpoint from a Worker means a new TLS connection per request, a niche client library, or an HTTP proxy in front of Redis. Each adds latency and another thing to break.

Upstash's REST API works in Workers with no tricks. The @upstash/redis SDK is designed for edge environments, stays small, and handles automatic retries and pipeline batching. Upstash also offers @upstash/ratelimit for distributed rate limiting at the edge, one of the most common edge use cases.

Vercel Functions

Vercel sunset its own Vercel KV product and moved every KV store to Upstash Redis in December 2024. New Redis databases on Vercel come through the Upstash Marketplace integration, which provisions the database and injects the environment variables. Vercel's own docs now recommend the Node.js runtime with Fluid compute over the Edge runtime. That makes Redis Cloud and Momento usable from Vercel Functions over TCP, as long as your function runs in the same region as the cache. Upstash is still the default because it is one click away and works on either runtime.

AWS Lambda and Lambda@Edge

All three platforms work with standard Lambda functions. For Lambda@Edge, Upstash's REST API provides the most reliable connectivity because Lambda@Edge has limited VPC support. Momento fits standard Lambda well because it lives in AWS regions. Redis Cloud integrates through standard Redis clients, though connection management in Lambda's short-lived model needs care. If you are AWS-only, also price ElastiCache Serverless for Valkey, which AWS lists from about $6/month.

Deno Deploy and Other Edge Platforms

Upstash works on Deno Deploy, Netlify Edge Functions, and Fastly Compute via its REST API. Momento and Redis Cloud need TCP or gRPC connectivity, and support for that varies by platform.

If edge computing is central to your architecture, Upstash is the only one of the three that works consistently across every major edge runtime without workarounds.

Developer writing edge function code integrating serverless cache on a monitor

Advanced Features: Queues, Rate Limiting, and Beyond

Caching is the core use case, but modern applications need more from their data layer. Each platform has expanded beyond simple get/set operations, in very different directions.

Upstash: Messaging and Rate Limiting

Upstash offers QStash, a serverless message queue and task scheduler built for edge and serverless environments. QStash lets you enqueue HTTP callbacks with configurable retries, delays, and CRON scheduling. The free tier covers 1,000 messages a day, and Pay as You Go is $1 per 100K messages. Every delivery attempt counts, so retries are billed. Upstash Workflow builds durable multi-step jobs on top of QStash.

Upstash also provides @upstash/ratelimit, a production-ready library that implements sliding window, fixed window, and token bucket algorithms on their Redis backend. You can add distributed rate limiting to any edge function in under 10 lines of code, which saves API builders from hand-rolling it on raw Redis commands.

If you read older comparisons that list Upstash Kafka, ignore that part. Upstash shut Kafka down in March 2025 and pointed users to QStash and Workflow.

Redis Cloud: The Full Redis 8 Feature Set

Redis Cloud's feature set is the widest of the three because it runs full Redis 8. The Query Engine provides full-text search, secondary indexing and vector search directly in your cache layer. JSON stores and queries documents with JSONPath syntax. Time series handles metrics with downsampling and aggregation. The probabilistic types (Bloom filters, Count-Min Sketch, Top-K) give you space-efficient approximate counting.

Together these turn Redis into a multi-model database. If your application needs full-text search, vector search or time-series analytics alongside caching, Redis Cloud can save you a separate Elasticsearch or InfluxDB deployment.

Redis Cloud also supports Active-Active geo-replication with conflict-free replicated data types (CRDTs), enabling concurrent writes to multiple regions without data conflicts. That needs a Pro plan.

Momento: Topics and Valkey Tooling

Momento offers Topics, a pub/sub messaging system that works alongside its cache. Topics broadcast real-time events to connected clients, useful for chat features, live dashboards, and notification systems.

The bigger shift is focus. Momento now leads with managed Valkey and Valkey tooling for teams that run it themselves, plus a separate AI inference product. The original cache API stays deliberately small: caches, sorted sets, dictionaries, lists, and topics. No Lua scripting and no modules. The new Valkey configurations give you the standard Valkey command set through the RESP endpoint instead.

Data Structures and Persistence

The depth of data structure support varies across these platforms, and it directly affects what you can build without bolting on more infrastructure.

Upstash Data Structures

Upstash supports the core Redis data structures: strings, lists, sets, sorted sets, hashes, and bitmaps. You get the same atomic operations (INCR, LPUSH, SADD, ZADD) that make Redis good for counters, leaderboards, and session management. It also has JSON commands compatible with the RedisJSON API, written by Upstash itself rather than taken from Redis. For search, Upstash has its own SEARCH commands, which are not compatible with the Redis Query Engine's FT commands. There is no time series module.

For persistence, Upstash provides durable storage by default. Data is written to disk and replicated before the write is acknowledged, which gives stronger durability than default Redis RDB snapshots.

Redis Cloud Data Structures

Redis Cloud supports every data structure in Redis 8, including streams, HyperLogLogs, geospatial indexes, JSON and time series. If a Redis command exists, Redis Cloud supports it.

Persistence is configurable: RDB snapshots, AOF logging, or both. High-availability plans include automatic failover. Backups are automated and can be exported to your own cloud storage.

Momento Data Structures

On the original API, Momento supports scalar values, sorted sets, dictionaries, lists, and sets. The dictionary type maps to Redis hashes. These cover the most common caching patterns, but you will miss streams, bitmaps, HyperLogLogs, and geospatial commands. On the Valkey configurations you get the Valkey data types instead.

Momento positions itself as a cache, not a primary database. Data lives in memory and expires on TTL. If you need Redis-as-a-database semantics, Upstash or Redis Cloud is the better fit.

When to Use Each: Practical Recommendations

Here is our opinionated take on when each one makes sense.

Choose Upstash When:

  • You deploy to edge runtimes. Cloudflare Workers, Vercel, Deno Deploy, Netlify Edge. Upstash is the only one of the three with first-class support across all of them. If your compute runs at the edge, your cache should too.
  • You want zero operational overhead. No instance sizing, no capacity planning, no connection pool tuning. Create a database, get a REST endpoint, start caching.
  • Your traffic is unpredictable or bursty. Pay-per-request pricing means a 10x traffic spike costs 10x more, instead of an overwhelmed instance dropping requests. For a startup that might go viral, that elasticity is worth a higher price per command.
  • You need rate limiting or background jobs at the edge. @upstash/ratelimit and QStash cover both without building them from scratch.

Choose Redis Cloud When:

  • You need search, JSON or time series next to your cache. Redis 8 ships the Query Engine, JSON, time series and probabilistic types in the core. If your application combines caching with full-text or vector search, Redis Cloud handles it in one system.
  • Your throughput is consistently high. Somewhere past 60M to 100M commands a month, capacity pricing beats Upstash's per-request model, and at 500M+ the gap is large.
  • You need multi-region writes. Active-Active with CRDTs on Pro is the most mature option of the three.
  • You run a traditional server architecture. If your compute lives in containers, VMs, or Lambda functions in one region, sub-1ms latency and full protocol support are hard to beat.

Choose Momento When:

  • You are all-in on AWS and want dedicated nodes. Cluster and Flex give you single-tenant Valkey with control over instance types, shards and replicas, without running it yourself.
  • You want Valkey rather than Redis. Valkey is the BSD-licensed fork of Redis. Redis 8 added an AGPLv3 option, but some legal teams still prefer Valkey, and Momento is built on it.

Momento is no longer the cheap pick for tiny workloads. If that was your reason, use the Upstash free tier.

For most teams building edge-first applications in 2026, Upstash is our default recommendation. Pay-per-request pricing, global replication, a REST API and the tools around it (QStash, rate limiting) make it the most versatile serverless cache of the three. Redis Cloud remains the right choice for complex, high-throughput workloads. Momento makes sense for AWS teams that want managed Valkey on dedicated capacity.

The cache is one piece of the stack. When we built Fake Friends, a Next.js 15 app on Vercel with MongoDB Atlas, Clerk and Stripe, it went from first commit to production in two days. Kanopy helps founders pick a stack and build the product on it. If you are planning an edge-first app and want a second opinion on the cache, the compute and the database, book a free strategy call.

Upstash Redisserverless cache comparisonRedis CloudMomento cacheedge caching

You picked the stack. We ship the product.

Thirty minutes. You leave with a plan and a number.

Book a free call