Skip to content
freetier.wiki

Cloudflare Workers KV

Cloudflare Workers KV is a globally distributed key-value storage for serverless applications running on Cloudflare Workers. · Cloudflare · Database

Overview

Cloudflare Workers KV provides globally distributed, eventually consistent key-value storage for serverless applications, ideal for edge use cases with simple data access patterns.

Good fit

Use when you need low-latency, globally distributed key-value storage for serverless or edge applications.

  • edge applications
  • stateless APIs
  • feature flags

Not a fit

Avoid if you require strong consistency, complex queries, or large object storage beyond 25 MB per value.

  • strong consistency required
  • large data sets
  • relational queries needed
Quickstart · 6 steps
  1. Sign up for a Cloudflare account.
  2. Install Wrangler CLI and authenticate.
  3. Create a new Worker project with Wrangler.
  4. Add a KV namespace in your Cloudflare dashboard.
  5. Bind the KV namespace to your Worker in wrangler.toml.
  6. Deploy your Worker and interact with KV storage.

Other free database options

Google Cloud · Database
50,000 reads/day · 20,000 writes/day · 20,000 deletes/day
Billing risk: None
No card
MongoDB · Database
512 MB storage (M0 cluster) · Shared RAM and vCPU · 32MB of sort memory
Billing risk: None
No card
Supabase · Database
500 MB database & 1 GB file storage · 50,000 monthly active users · 500,000 edge function invocations/month
Billing risk: None
No card
Supabase · Database
500 MB database storage · 1 GB file storage · 50,000 monthly active users
Billing risk: None
No card