FlareCalc

Cloudflare cost calculator

← All Calculators

Cloudflare Durable Objects Pricing Calculator

Durable Objects provide strongly consistent coordination and storage for Cloudflare Workers. Each Durable Object is a single-threaded actor with its own embedded SQLite database, ideal for real-time collaboration, session management, rate limiting, and game state. They also provide first-class WebSocket support with efficient message billing.

Durable Objects

Stateful Workers backed by SQLite with WebSocket support

Free ~3M req/mo, ~390K GB-s · Paid 1M req, 400K GB-s incl.

$0.00

Compute

Free: ~3M requests/month and ~390K GB-s/month.

Workers Paid: 1M requests/month and 400K GB-s/month included before overage.

WebSockets

Incoming messages are billed at a 20:1 ratio (20 messages = 1 billed request). Outgoing messages and protocol pings are free.

Storage (SQLite)

Free: ~150M rows read/month, ~3M rows written/month, and 5 GB storage.

Workers Paid: 25B rows read/month, 50M rows written/month, and 5 GB included before overage.

Cost Breakdown

Requests $0.00
WS Messages i $0.00
Duration $0.00
Rows Read $0.00
Rows Written $0.00
Storage $0.00
Subtotal $0.00

Durable Objects Pricing Breakdown

Free

  • ~3 million requests per month
  • ~390,000 GB-seconds per month
  • ~150 million rows read per month
  • ~3 million rows written per month
  • 5 GB storage

Workers Paid ($5/mo)

  • 1 million requests per month included
  • 400,000 GB-seconds per month included
  • 25 billion rows read per month included
  • 50 million rows written per month included
  • 5 GB storage included
  • $0.15 per additional million requests
  • $12.50 per additional million GB-seconds

Frequently Asked Questions

How much do Cloudflare Durable Objects cost?
Durable Objects are included in the free tier with ~3 million requests/month. On Workers Paid ($5/mo), you get 1 million requests and 400K GB-seconds included, with per-unit overage pricing after that.
How are WebSocket messages billed in Durable Objects?
Incoming WebSocket messages are billed at a 20:1 ratio, meaning every 20 incoming messages counts as 1 billed request. Outgoing messages and protocol pings are free. Each new WebSocket connection also counts as 1 request.
What is GB-seconds billing for Durable Objects?
GB-seconds measures how long your Durable Objects are active weighted by their memory allocation (128 MB per object). For example, 10 objects active for 84 hours each at 128 MB ≈ 387K GB-seconds.
When should I use Durable Objects vs D1 or KV?
Use Durable Objects when you need strong consistency within a single entity (e.g. a chat room, counter, or game session) and real-time coordination via WebSockets. Use D1 for relational queries across many records. Use KV for globally distributed, read-heavy data where eventual consistency is fine.

Related Calculators