Softwr

Databases · head to head

Upstash vs Valkey

Upstash logo

Upstash

Databases

Serverless data for modern developers

From
Free
Free plan
Yes
Valkey logo

Valkey

Databases

Open-source in-memory data store forked from Redis

From
Free
Free plan
Yes

The short version

  • Valkey is free; Upstash starts at $10/mo.
  • Only Upstash lists serverless Kafka; only Valkey lists BSD licensed.
  • Where Upstash falls short: HTTP-based REST API only, no TCP connections means higher latency than self-hosted or connection-pooled Redis.
  • Where Valkey falls short: younger project, so its track record is short even though the codebase is not.

How do Upstash and Valkey differ?

Upstash and Valkey differ on platforms and year founded (2020 against 2024). Only the attributes on which Upstash and Valkey actually diverge.

Attributes where Upstash and Valkey differ
AttributeUpstashValkey
PlatformsAPI, Vercel Edge, Web, AWS LambdaLinux, macOS, Self-hosted
Founded20202024

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

Not yet recorded: pricing model for Upstash.

Which features does each one have?

They share no listed features; 20 appear only for Upstash and 4 only for Valkey. 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 Upstash

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

Only in Valkey

  • Redis-compatible
  • BSD licensed
  • Rich data structures
  • Replication and persistence

What is each one used for?

Upstash is most often brought in for caching; Valkey for migrating from Redis without rewriting application code. The jobs each tool is most often brought in to do.

Upstash

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

Valkey

  • Continuing on a permissively licensed in-memory store after the Redis licence changenot Upstash
  • Caching and session storage where a foundation-governed project is a procurement requirementnot Upstash
  • Migrating from Redis without rewriting application codenot Upstash

Where do Upstash and Valkey fall short?

Upstash's most cited limit: HTTP-based REST API only, no TCP connections means higher latency than self-hosted or connection-pooled Redis. Valkey's: younger project, so its track record is short even though the codebase is not. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

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

Valkey

  • Younger project, so its track record is short even though the codebase is not
  • Divergence from Redis grows over time, so compatibility is strongest near the fork point and weakens as both evolve
  • Ecosystem tooling and documentation still frequently assume Redis, leaving translation work

How much do Upstash and Valkey cost?

Upstash has a free plan, with paid plans from $10/mo; Valkey is free to use. Plan by plan below, from each vendor's own pricing page.

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

Valkey

Free
  • ValkeyFree
    • Full functionality
    • Self-hosted
    • No usage limits

Which should you pick?

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.

Choose Valkey if

  • You need redis-compatible.
  • You want to start without paying.
  • You work on Linux, macOS, Self-hosted.
  • You also want bsd licensed.

Questions people ask

Is Upstash or Valkey better?
It depends on the job. Upstash fits caching; Valkey fits continuing on a permissively licensed in-memory store after the Redis licence change. Upstash starts at Free and Valkey at Free.
Which is cheaper, Upstash or Valkey?
Upstash starts at Free and Valkey at Free.
Does Upstash or Valkey run on more platforms?
Upstash runs on API, Vercel Edge, Web, AWS Lambda. Valkey runs on Linux, macOS, Self-hosted.
Can I use Upstash for free?
Both have a free tier, so you can try either at no cost before committing.
What is Upstash best used for?
Upstash is most often used for caching, session storage, real-time messaging, rate limiting. Of those, caching and session storage are not what Valkey is typically brought in for.
What can Upstash do that Valkey cannot?
Upstash covers Serverless Redis, Serverless Kafka, QStash, Global Replication. Valkey covers Redis-compatible, BSD licensed, Rich data structures, Replication and persistence.

Answered from the vendors’ own pages

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
Valkey: Is Valkey free?

Yes, BSD-licensed open source under the Linux Foundation.

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
Valkey: Why does Valkey exist?

Redis changed its licence away from BSD in 2024. Valkey is the community fork continuing under permissive terms, backed by AWS, Google Cloud and Oracle among others.

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
Valkey: Can I switch from Redis to Valkey?

At the fork point it is drop-in compatible with existing clients and data. The further both projects move from that point, the more you should verify the specific features you use.

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