Softwr

Software · head to head

Amphetamine vs Cloudflare Workers

Amphetamine logo

Amphetamine

Software

Free Mac menu bar app that keeps your Mac awake on a timer or by trigger rules

From
Free
Free plan
Yes
Cloudflare Workers logo

Cloudflare Workers

Software

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

From
Free
Free plan
Yes

The short version

  • Amphetamine is free; Cloudflare Workers starts at $5/mo.
  • Only Amphetamine lists timed sessions; only Cloudflare Workers lists edge execution.
  • Where Amphetamine falls short: the app trigger can miss background daemons and some processes, so rules based on a headless process may not fire as expected.
  • Where Cloudflare Workers falls short: free has a 10 ms CPU cap.

How do Amphetamine and Cloudflare Workers differ?

Amphetamine and Cloudflare Workers differ on pricing model and platforms. Only the attributes on which Amphetamine and Cloudflare Workers actually diverge.

Attributes where Amphetamine and Cloudflare Workers differ
AttributeAmphetamineCloudflare Workers
Pricing modelFreeFree plan plus usage-based paid plan
PlatformsmacOSWeb, Linux, macOS, Windows

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 7 appear only for Amphetamine and 6 only for Cloudflare Workers. 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 Amphetamine

  • Timed sessions
  • Triggers
  • Display and lock options
  • Closed-display mode
  • Drive Alive
  • AppleScript support
  • Custom icons and sounds

Only in Cloudflare Workers

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

What is each one used for?

Amphetamine is most often brought in for A long download, render or backup that must finish with nobody at the Mac; Cloudflare Workers for A low-latency API or middleware. The jobs each tool is most often brought in to do.

Amphetamine

  • A long download, render or backup that must finish with nobody at the Macnot Cloudflare Workers
  • A laptop used with the lid closed and an external displaynot Cloudflare Workers
  • Keeping a remote database or VPN session alive during working hoursnot Cloudflare Workers
  • Preventing sleep only while a specific app, Wi-Fi network or USB device is presentnot Cloudflare Workers

Cloudflare Workers

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

Where do Amphetamine and Cloudflare Workers fall short?

Cloudflare Workers's most cited limit: free has a 10 ms CPU cap. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amphetamine

  • Closed-display mode on Apple Silicon laptops needs a helper script, and avoiding the authentication prompt needs a separate Power Protect download, which is extra setup
  • It is a one-developer project, so the roadmap and support depend on one person and the listing says support cannot be given through the App Store
  • The app trigger can miss background daemons and some processes, so rules based on a headless process may not fire as expected
  • The file-download option asks you to pick a file, which is awkward for browsers that create a placeholder and a partial file
  • Keeping a Mac awake overrides its power settings, so a forgotten session can drain a battery or keep a display on longer than intended

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

How much do Amphetamine and Cloudflare Workers cost?

Amphetamine is free to use; Cloudflare Workers has a free plan, with paid plans from $5/mo. Plan by plan below, from each vendor's own pricing page.

Amphetamine

Free
  • AmphetamineFree
    • Listed as free on the Mac App Store
    • No tiers or in-app plans shown on the listing

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

Which should you pick?

Choose Amphetamine if

  • You need timed sessions.
  • You want to start without paying.
  • You work on macOS.
  • You also want triggers.

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.

Questions people ask

Is Amphetamine or Cloudflare Workers better?
It depends on the job. Amphetamine fits a long download, render or backup that must finish with nobody at the Mac; Cloudflare Workers fits a low-latency API or middleware. Amphetamine starts at Free and Cloudflare Workers at Free.
Which is cheaper, Amphetamine or Cloudflare Workers?
Amphetamine starts at Free and Cloudflare Workers at Free.
Does Amphetamine or Cloudflare Workers run on more platforms?
Amphetamine runs on macOS. Cloudflare Workers runs on Web, Linux, macOS, Windows.
Can I use Amphetamine for free?
Both have a free tier, so you can try either at no cost before committing.
What is Amphetamine best used for?
Amphetamine is most often used for a long download, render or backup that must finish with nobody at the mac, a laptop used with the lid closed and an external display, keeping a remote database or vpn session alive during working hours, preventing sleep only while a specific app, wi-fi network or usb device is present. Of those, a long download, render or backup that must finish with nobody at the mac and a laptop used with the lid closed and an external display are not what Cloudflare Workers is typically brought in for.
What can Amphetamine do that Cloudflare Workers cannot?
Amphetamine covers Timed sessions, Triggers, Display and lock options, Closed-display mode. Cloudflare Workers covers Edge execution, Workers KV, Durable Objects, Hyperdrive.

Answered from the vendors’ own pages

Amphetamine: Is Amphetamine free?

Yes. The Mac App Store lists it as free.

Cloudflare Workers: Is Cloudflare Workers free?

Yes, with 100,000 requests a day.

Amphetamine: Does it work with the lid closed?

Yes, through Closed-Display Mode. On Apple Silicon laptops this uses a script, and Power Protect is an optional separate install that avoids the authentication prompt.

Cloudflare Workers: What does Paid cost?

A $5 monthly minimum plus usage.

Amphetamine: Which macOS does it need?

The listing says macOS 10.11 El Capitan or higher, with some features needing newer versions.

Cloudflare Workers: Are static assets charged?

No, they are free and unlimited.

Amphetamine: Can it start automatically?

Yes. Triggers can start a session based on apps, displays, devices, network, battery or power state.

Share

Related pages

Other head to heads