**DO-Compute Cost Vs Workers Compute Cost** (Adding Update to avoid any confusion : Assumption : Bot

DO-Compute Cost Vs Workers Compute Cost
(Adding Update to avoid any confusion :
Assumption : Both, DO and Workers are NOT performing any IO operations)

Since, both costing are based on different metric, so done a simple back-of-the paper mathematics to have common metric to compare.

Worker Compute Pricing (after FREE Tier) : $0.02 per million CPU milliseconds
= (0.02 ) / (1,000,000 * 128MB * 0.001s) = (0.02) / (1000 * 128 MB-s) = (0.02) / (128 GB-s)
= $ 0.00015625 per GB-second

DO Compute Pricing (after FREE Tier) : $12.50/million GB-s = $ 0.0000125 per GB-second

Conclusion : Workers Compute is 12.5x times COSTLIER than DO-Compute. (Subject to the Assumption stated above)
(Though, funny part is DO necessarily requires a parent Worker for itself to be invoked, so using DO necessarily requires 2 compute - Parent Worker Compute + DO Compute)

Please confirm /update above calculation and understanding.
Was this page helpful?