Softwr

Logging · head to head

Cloudflare Workers vs Datadog Logs

Cloudflare Workers logo

Cloudflare Workers

Logging

Serverless compute on Cloudflare's network, free to start and $5 a month minimum on the paid plan

From
Free
Free plan
Yes
Datadog Logs logo

Datadog Logs

Logging

Log Management and Analytics

From
$0.1/per GB ingested per month
Free plan
No

The short version

  • Cloudflare Workers has a free plan, then $5/mo; Datadog Logs starts at $0.1/mo.
  • Only Cloudflare Workers lists edge execution; only Datadog Logs lists log ingestion.
  • Where Cloudflare Workers falls short: free has a 10 ms CPU cap.
  • Where Datadog Logs falls short: complex, multi-tiered pricing model based on ingestion, indexing, and storage; can become expensive at scale.

How do Cloudflare Workers and Datadog Logs differ?

Cloudflare Workers and Datadog Logs differ on starting price, pricing model and free tier (Yes against No). Only the attributes on which Cloudflare Workers and Datadog Logs actually diverge.

Attributes where Cloudflare Workers and Datadog Logs differ
AttributeCloudflare WorkersDatadog Logs
Starting priceFree$0.1/per GB ingested per month
Pricing modelFree plan plus usage-based paid planUsage-based
Free tierYesNo
PlatformsWeb, Linux, macOS, WindowsWeb

Not yet recorded: category for Cloudflare Workers, founded for Cloudflare Workers.

Which features does each one have?

They share no listed features; 6 appear only for Cloudflare Workers and 9 only for Datadog Logs. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Cloudflare Workers

  • Edge execution
  • Workers KV
  • Durable Objects
  • Hyperdrive
  • Queues
  • Spend limits

Only in Datadog Logs

  • Log ingestion
  • Full-text search
  • Custom dashboards
  • Log-based metrics
  • API
  • Webhooks
  • REST
  • Web support

What is each one used for?

Cloudflare Workers is most often brought in for A low-latency API or middleware; Datadog Logs for centralised log aggregation and analysis. The jobs each tool is most often brought in to do.

Cloudflare Workers

  • A low-latency API or middlewarenot Datadog Logs
  • A full-stack app with static assetsnot Datadog Logs
  • A cron-driven data jobnot Datadog Logs
  • Rewriting or protecting traffic at the edgenot Datadog Logs

Datadog Logs

  • Centralised log aggregation and analysisnot Cloudflare Workers
  • Multi-source log correlation with metrics and tracesnot Cloudflare Workers
  • Root cause analysis and troubleshootingnot Cloudflare Workers
  • Security monitoring and threat detectionnot Cloudflare Workers

Where do Cloudflare Workers and Datadog Logs fall short?

Cloudflare Workers's most cited limit: free has a 10 ms CPU cap. Datadog Logs's: complex, multi-tiered pricing model based on ingestion, indexing, and storage; can become expensive at scale. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Cloudflare Workers

  • Free has a 10 ms CPU cap
  • The runtime is not full Node.js, so some libraries do not run
  • Costs scale with CPU time, so heavy compute surprises
  • Durable Objects and other products are billed separately
  • Logs and Logpush follow separate observability pricing from December 2026

Datadog Logs

  • Complex, multi-tiered pricing model based on ingestion, indexing, and storage; can become expensive at scale
  • Ingestion pricing of $0.10/GB can accumulate rapidly for high-volume logging environments
  • Flex Logs does not support monitors or Watchdog Insights; only Standard Indexing does
  • Usage above an annual commitment is billed at 50 percent more than the committed annual price
  • On-demand accounts default to 15-day retention, and forwarding between Datadog accounts is not supported

How much do Cloudflare Workers and Datadog Logs cost?

Cloudflare Workers has a free plan, with paid plans from $5/mo; Datadog Logs starts at $0.1/mo. Plan by plan below, from each vendor's own pricing page.

Cloudflare Workers

Free
  • Workers FreeFree
    • 100,000 requests per day
    • 10 ms CPU per invocation
  • Workers Paid$5/mo
    • 10 million requests included, then $0.30 per million
    • 30 million CPU ms included, then $0.02 per million

Datadog Logs

$0.1/per GB ingested per month
  • Log ingest$0.1/per gb
  • Standard Indexing (15-day retention, annual)$1.7
  • Flex Storage$0.05
  • Flex Logs Starter$0.6

Which should you pick?

Choose Cloudflare Workers if

  • You need edge execution.
  • You want to start without paying.
  • You work on Web, Linux, macOS, Windows.
  • You also want workers kv.

Choose Datadog Logs if

  • You need log ingestion.
  • You also want full-text search.

Questions people ask

Is Cloudflare Workers or Datadog Logs better?
It depends on the job. Cloudflare Workers fits a low-latency API or middleware; Datadog Logs fits centralised log aggregation and analysis. Cloudflare Workers starts at Free and Datadog Logs at $0.1/per GB ingested per month.
Which is cheaper, Cloudflare Workers or Datadog Logs?
Cloudflare Workers has a free tier; the other does not. Paid plans start at Free for Cloudflare Workers and $0.1/per GB ingested per month for Datadog Logs.
Does Cloudflare Workers or Datadog Logs run on more platforms?
Cloudflare Workers runs on Web, Linux, macOS, Windows. Datadog Logs runs on Web.
Can I use Cloudflare Workers for free?
Yes. Cloudflare Workers has a free tier, so you can try it without paying. Datadog Logs starts at $0.1/per GB ingested per month.
What is Cloudflare Workers best used for?
Cloudflare Workers is most often used for a low-latency api or middleware, a full-stack app with static assets, a cron-driven data job, rewriting or protecting traffic at the edge. Of those, a low-latency api or middleware and a full-stack app with static assets are not what Datadog Logs is typically brought in for.
What can Cloudflare Workers do that Datadog Logs cannot?
Cloudflare Workers covers Edge execution, Workers KV, Durable Objects, Hyperdrive. Datadog Logs covers Log ingestion, Full-text search, Custom dashboards, Log-based metrics.

Answered from the vendors’ own pages

Cloudflare Workers: Is Cloudflare Workers free?

Yes, with 100,000 requests a day.

Datadog Logs: What pricing options does Datadog offer for log ingestion and processing?

Log ingestion starts at $0.10/GB (annual billing; $0.10 on-demand). Standard indexing costs $1.70 per million events per month (annual; $2.55 on-demand). Flex Storage costs $0.05/million events stored per month (annual; $0.075 on-demand). Flex Logs Starter costs $0.60/million events stored per month (annual; $0.90 on-demand).

Source
Cloudflare Workers: What does Paid cost?

A $5 monthly minimum plus usage.

Datadog Logs: What retention options are available and how does it affect pricing?

Standard indexing offers 15-day retention with options for 3 to 30+ days. Flex Storage supports flexible retention up to 15 months. Flex Logs Starter includes bundled compute for retention of 3-15 months.

Source
Cloudflare Workers: Are static assets charged?

No, they are free and unlimited.

Datadog Logs: Is there a cost to forward logs to external systems?

Yes, log forwarding costs $0.25/GB outbound per destination for routing logs to external systems.

Source
Datadog Logs: What discounts are available for high-volume customers?

Multi-year and volume discounts are available for customers processing 3B+ events per month.

Source
Share

Related pages

Other head to heads