Skip to content
freetier.wiki

Type at least 2 letters.

Enter to open · Esc to close

Cloudflare Durable Objects

Cloudflare Durable Objects on Workers Free includes 100,000 requests and 13,000 GB-seconds a day plus 5 GB of SQLite, and an open WebSocket keeps spending duration unless you hibernate it.

Cloudflare Durable Objects give each room, user, or document its own small server with built-in storage, so state stays consistent in one place. They are for developers building realtime or coordinated apps on Cloudflare Workers.

By CloudflareComputeChecked ✓ 23 Nov 2026

Is it a fit?

Good fit

Use it when many clients must share one consistent piece of state, such as a room, a counter, or a document.

  • realtime apps
  • coordination

Not a fit

Avoid it for simple stateless APIs, for plain CRUD apps that fit a normal database, or if you need the key-value backed storage that the free plan lacks.

  • simple stateless APIs
  • plain CRUD apps
  • key-value backed storage on the free plan

You write a Durable Object as a JavaScript or TypeScript class inside a Cloudflare Worker, then call it from the Worker by name. It suits developers who need one place to hold shared state, such as a chat room or a game lobby, without running a database server.

What the free plan gives you

Durable Objects work on the Workers Free plan, but only with the SQLite storage backend. The daily free limits are 100,000 requests and 13,000 GB-s of compute duration. A GB-s is one second of running with 1 GB of memory, and duration billing counts 128 MB of memory per object.

For storage, the free plan allows 5 million rows read per day, 100,000 rows written per day, and 5 GB of SQL stored data in total. Key-value methods such as get and put count as rows read and rows written. Daily limits reset at 00:00 UTC.

When you hit a limit

On the Workers Free plan, a hard stop applies. If you pass any one of the free limits, further operations of that type fail with an error.

Daily request, duration, and row-operation quotas reset at 00:00 UTC. The 5 GB storage ceiling is separate: stored data does not disappear at the daily reset. Duration also counts while an object sits idle in memory and cannot hibernate. Open WebSocket connections are the usual cause. The WebSocket Hibernation API can sharply cut those duration charges, so it also stretches your free duration.

Gotchas

  • An object that calls accept on a WebSocket pays duration for as long as that connection stays open. Use the Hibernation API for chat-style apps.
  • Pending input and output work can keep an object in memory for up to 15 minutes, and that time counts as duration.
  • The free plan cannot use key-value backed Durable Objects. New classes must use the SQLite backend.

Alternatives in this atlas

  • Cloudflare Workers: when you only need stateless code at the edge.
  • Supabase: when you want a Postgres database with realtime features.
  • Upstash Redis: when you want a shared counter or cache without writing a class.

Questions people ask

Are Cloudflare Durable Objects free?

Yes, on the Workers Free plan, with SQLite storage only. The daily limits are 100,000 requests and 13,000 GB-s of duration.

What happens when I go over the Durable Objects free limits?

Further operations of the type you exceeded fail with an error. Daily quotas reset at 00:00 UTC; the storage ceiling requires reducing stored data or upgrading.

Do Durable Objects need a credit card?

Cloudflare advertises free account signup without a card. SQLite-backed Durable Objects are included in Workers Free, and operations past its quotas fail rather than becoming paid overages.

How to get started

  1. Sign up for a Cloudflare account and install Node.js.
  2. Run npm create cloudflare@latest with the name durable-object-starter and choose the Worker + Durable Objects template.
  3. Write your Durable Object class and use its SQL API for storage.
  4. Bind the class in the wrangler.jsonc config and test locally with npx wrangler dev.
  5. Deploy with npx wrangler deploy.

Other free compute options

Same category, safest first.

Cloudflare · Compute
100,000 requests/day · 10ms CPU time/request · Up to 100 Workers per account
Billing risk: None
No card
1,000,000 Function Invocations/month included · 4 CPU-hrs Fluid Active CPU/month included · 360 GB-hrs Fluid Provisioned Memory/month included
Billing risk: None
No card
Cloudflare · Compute
100,000 requests per day, shared with Workers requests · 3,000 steps per day · 1 GB-month of storage
Billing risk: None
No card
Trigger.dev · Compute
$5 compute credits per month · 20 concurrent runs · Unlimited tasks
Billing risk: None
No card