Softwr

Databases · head to head

Cloudflare Workers vs Upstash

Cloudflare Workers logo

Cloudflare Workers

Databases

Serverless compute on Cloudflare's network, free to start and $5 a month minimum on the paid plan

From
Free
Free plan
Yes
Upstash logo

Upstash

Databases

Serverless data for modern developers

From
Free
Free plan
Yes

The short version

  • Free plans on both; paid from $5/mo and $10/mo.
  • Only Cloudflare Workers lists durable Objects; only Upstash lists serverless Redis.
  • Where Cloudflare Workers falls short: free has a 10 ms CPU cap.
  • Where Upstash falls short: HTTP-based REST API only, no TCP connections means higher latency than self-hosted or connection-pooled Redis.

How do Cloudflare Workers and Upstash differ?

Cloudflare Workers and Upstash differ on platforms. Only the attributes on which Cloudflare Workers and Upstash actually diverge.

Attributes where Cloudflare Workers and Upstash differ
AttributeCloudflare WorkersUpstash
PlatformsWeb, Linux, macOS, WindowsAPI, Vercel Edge, Web, AWS Lambda

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: pricing model for Upstash, category for Cloudflare Workers, founded for Cloudflare Workers.

Which features does each one have?

They share no listed features; 6 appear only for Cloudflare Workers and 20 only for Upstash. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Cloudflare Workers

  • Edge execution
  • Workers KV
  • Durable Objects
  • Hyperdrive
  • Queues
  • Spend limits

Only in Upstash

  • Serverless Redis
  • Serverless Kafka
  • QStash
  • Global Replication
  • REST API
  • Edge Functions Support
  • Rate Limiting
  • Caching

What is each one used for?

Cloudflare Workers is most often brought in for A low-latency API or middleware; Upstash for caching. The jobs each tool is most often brought in to do.

Cloudflare Workers

  • A low-latency API or middlewarenot Upstash
  • A full-stack app with static assetsnot Upstash
  • A cron-driven data jobnot Upstash
  • Rewriting or protecting traffic at the edgenot Upstash

Upstash

  • Cachingnot Cloudflare Workers
  • Session storagenot Cloudflare Workers
  • Real-time messagingnot Cloudflare Workers
  • Rate limitingnot Cloudflare Workers
  • Serverless backendsnot Cloudflare Workers

Where do Cloudflare Workers and Upstash fall short?

Cloudflare Workers's most cited limit: free has a 10 ms CPU cap. Upstash's: HTTP-based REST API only, no TCP connections means higher latency than self-hosted or connection-pooled Redis. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Cloudflare Workers

  • Free has a 10 ms CPU cap
  • The runtime is not full Node.js, so some libraries do not run
  • Costs scale with CPU time, so heavy compute surprises
  • Durable Objects and other products are billed separately
  • Logs and Logpush follow separate observability pricing from December 2026

Upstash

  • HTTP-based REST API only, no TCP connections means higher latency than self-hosted or connection-pooled Redis
  • Rate limiting occurs when traffic exceeds configured budget cap or request limits
  • Kafka service discontinued in March 2025, requiring migration to Upstash Workflow or alternatives
  • Limited Redis feature support compared to self-hosted Redis or Redis Cloud
  • High-request-volume workloads can accumulate significant costs due to per-request pricing model

How much do Cloudflare Workers and Upstash cost?

Cloudflare Workers has a free plan, with paid plans from $5/mo; Upstash has a free plan, with paid plans from $10/mo. Plan by plan below, from each vendor's own pricing page.

Cloudflare Workers

Free
  • Workers FreeFree
    • 100,000 requests per day
    • 10 ms CPU per invocation
  • Workers Paid$5/mo
    • 10 million requests included, then $0.30 per million
    • 30 million CPU ms included, then $0.02 per million

Upstash

Free
  • FreeFree
    • 256 MB data
    • 500K commands per month
    • 10 GB bandwidth
  • Pay-as-you-go$0.2
    • Per-request billing
    • Storage at $0.25/GB
    • Unlimited commands
  • Fixed Plan$10/mo
    • 250 MB Redis
    • Predictable pricing
    • Global replication available at higher tiers

Which should you pick?

Choose Cloudflare Workers if

  • You need edge execution.
  • You want to start without paying.
  • You work on Web, Linux, macOS, Windows.
  • You also want workers kv.

Choose Upstash if

  • You need serverless redis.
  • You want to start without paying.
  • You work on API, Vercel Edge, Web, AWS Lambda.
  • You also want serverless kafka.

Questions people ask

Is Cloudflare Workers or Upstash better?
It depends on the job. Cloudflare Workers fits a low-latency API or middleware; Upstash fits caching. Cloudflare Workers starts at Free and Upstash at Free.
Which is cheaper, Cloudflare Workers or Upstash?
Cloudflare Workers starts at Free and Upstash at Free.
Does Cloudflare Workers or Upstash run on more platforms?
Cloudflare Workers runs on Web, Linux, macOS, Windows. Upstash runs on API, Vercel Edge, Web, AWS Lambda.
Can I use Cloudflare Workers for free?
Both have a free tier, so you can try either at no cost before committing.
What is Cloudflare Workers best used for?
Cloudflare Workers is most often used for a low-latency api or middleware, a full-stack app with static assets, a cron-driven data job, rewriting or protecting traffic at the edge. Of those, a low-latency api or middleware and a full-stack app with static assets are not what Upstash is typically brought in for.
What can Cloudflare Workers do that Upstash cannot?
Cloudflare Workers covers Edge execution, Workers KV, Durable Objects, Hyperdrive. Upstash covers Serverless Redis, Serverless Kafka, QStash, Global Replication.

Answered from the vendors’ own pages

Cloudflare Workers: Is Cloudflare Workers free?

Yes, with 100,000 requests a day.

Upstash: Does Upstash have a free tier?

Yes. The free tier provides 256 MB of data and 500,000 commands per month with 10 GB of bandwidth in a single region, no credit card required.

Source
Cloudflare Workers: What does Paid cost?

A $5 monthly minimum plus usage.

Upstash: How does Upstash work with edge platforms like Vercel and Cloudflare Workers?

Upstash uses a REST API instead of TCP connections, enabling it to work from Vercel Edge, Cloudflare Workers, and AWS Lambda without persistent connections or connection pooling.

Source
Cloudflare Workers: Are static assets charged?

No, they are free and unlimited.

Upstash: What programming languages are supported?

Upstash provides native SDKs for Python, Node.js, Go, and Rust. Java, C#, and PHP developers can use the REST API or community libraries.

Source
Upstash: Is Upstash Kafka still available?

No. Upstash Kafka was deprecated on September 11, 2024 and fully discontinued on March 11, 2025. Upstash Workflow is now recommended for durable serverless messaging and task queuing.

Source
Upstash: How is Upstash pricing structured?

Upstash uses per-request pricing at $0.20 per 100K commands for Redis, $0.25/GB for storage, and $0.40 per 100K requests for Vector database. Idle applications cost nothing.

Source
Upstash: Can Upstash be used with AWS Lambda?

Yes. Upstash works with AWS Lambda via its REST API, eliminating the need for connection pooling and making it ideal for stateless serverless functions.

Source
Share

Related pages

Other head to heads