Skip to content
freetier.wiki

Cloudflare Durable Objects

Stateful serverless objects with their own SQLite storage, for coordination, chat, and multiplayer apps. · Cloudflare · Compute

Overview

Durable Objects are available on the Workers Free plan. Past a daily limit, further operations fail.

Good fit

Use when you need strongly consistent state per room, user, or document.

  • realtime apps
  • coordination

Not a fit

Avoid for simple stateless APIs.

  • simple CRUD
Quickstart · 3 steps
  1. Define a Durable Object class in a Worker.
  2. Add the binding and a migration in wrangler config.
  3. Get a stub by ID and call its methods.

Other free compute options

Cloudflare · Compute
100,000 requests/day · 10ms CPU time/request · Up to 100 Workers per account
Billing risk: None
No card
Vercel · Compute
1,000,000 Edge Requests/month included · 100 GB Fast Data Transfer/month included · 1 team seat on the Hobby plan
Billing risk: None
No card
1,000,000 Function Invocations/month included · 4 hours Fluid Active CPU/month included · 360 GB-hrs Fluid Provisioned Memory/month included
Billing risk: None
No card
Trigger.dev · Compute
$5 compute credits per month · 20 concurrent runs · Unlimited tasks
Billing risk: None
No card