Softwr

Databases · head to head

CockroachDB vs Upstash

CockroachDB logo

CockroachDB

Databases

The cloud-native distributed SQL database

From
Free
Free plan
Yes
Upstash logo

Upstash

Databases

Serverless data for modern developers

From
Free
Free plan
Yes

The short version

  • CockroachDB is a cloud-native distributed SQL database.
  • Free plans on both; paid from $0.057/mo and $10/mo.
  • Only CockroachDB lists distributed SQL; only Upstash lists serverless Redis.
  • Where CockroachDB falls short: basic and Standard tiers limited to AWS and GCP (select regions only).
  • Where Upstash falls short: HTTP-based REST API only, no TCP connections means higher latency than self-hosted or connection-pooled Redis.

How do CockroachDB and Upstash differ?

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

Attributes where CockroachDB and Upstash differ
AttributeCockroachDBUpstash
PlatformsAWS, GCP, AzureAPI, Vercel Edge, Web, AWS Lambda
Founded20152020

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 1 listed feature; 19 appear only for CockroachDB and 19 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 CockroachDB

  • Distributed SQL
  • Automatic Sharding
  • Multi-region Replication
  • Geo-partitioning
  • ACID Transactions
  • Horizontal Scaling
  • Survivability
  • PostgreSQL Compatibility

Only in Upstash

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

Both cover

  • Cloud deployment

What is each one used for?

CockroachDB is most often brought in for distributed SQL database for scalable applications; Upstash for caching. The jobs each tool is most often brought in to do.

CockroachDB

  • Distributed SQL database for scalable applicationsnot Upstash
  • Multi-region deployment and failovernot Upstash

Upstash

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

Where do CockroachDB and Upstash fall short?

CockroachDB's most cited limit: basic and Standard tiers limited to AWS and GCP (select regions only). 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.

CockroachDB

  • Basic and Standard tiers limited to AWS and GCP (select regions only)
  • Azure support restricted to Advanced tier only
  • Basic tier limited to 50 million RUs and 10 GiB storage per month
  • Advanced tier starts at $0.60/hour for 4 vCPUs minimum
  • 3 TiB maximum storage on Basic and Standard tiers, 10 TiB per node on Advanced

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 CockroachDB and Upstash cost?

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

CockroachDB

Free
  • Standard$0.057/vcpu-hour
  • Mission Critical$0.162/vcpu-hour

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 CockroachDB if

  • You need distributed sql.
  • You want to start without paying.
  • You work on AWS, GCP, Azure.
  • You also want automatic sharding.

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 CockroachDB or Upstash better?
It depends on the job. CockroachDB fits distributed SQL database for scalable applications; Upstash fits caching. CockroachDB starts at Free and Upstash at Free.
Which is cheaper, CockroachDB or Upstash?
CockroachDB starts at Free and Upstash at Free.
Does CockroachDB or Upstash run on more platforms?
CockroachDB runs on AWS, GCP, Azure. Upstash runs on API, Vercel Edge, Web, AWS Lambda.
Can I use CockroachDB for free?
Both have a free tier, so you can try either at no cost before committing.
What is CockroachDB best used for?
CockroachDB is most often used for distributed sql database for scalable applications, multi-region deployment and failover. Of those, distributed sql database for scalable applications and multi-region deployment and failover are not what Upstash is typically brought in for.
What can CockroachDB do that Upstash cannot?
CockroachDB covers Distributed SQL, Automatic Sharding, Multi-region Replication, Geo-partitioning. Upstash covers Serverless Redis, Serverless Kafka, QStash, Global Replication. Both handle Cloud deployment.

Answered from the vendors’ own pages

CockroachDB: What does the free Basic tier include?

The Basic tier is free and includes 50 million RUs and 10 GiB storage per month, with a maximum compute of 30K RU/sec. No credit card is required to start.

Source
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
CockroachDB: How much do the paid tiers cost?

Standard tier starts at $0.18 per hour for 2 vCPUs, and Advanced tier starts at $0.60 per hour for 4 vCPUs. Both tiers support additional resources with higher costs for increased compute and storage.

Source
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
CockroachDB: What are the storage limits for each tier?

Basic plan supports up to 3 TiB storage, Standard tier up to 3 TiB, and Advanced tier up to 10 TiB per node with unlimited total storage.

Source
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
CockroachDB: Can I get trial credits before paying?

Yes, new users can try CockroachDB free with $400 in credits. The Basic and Standard plans do not require a credit card to start.

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
CockroachDB: Do legacy contracts have different pricing?

Customers with annual or multi-year contracts entered before December 1, 2024 can view legacy pricing terms on a separate page, which apply until their contract renewal date.

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