Softwr

Software · head to head

Amphetamine vs E2B

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
E2B logo

E2B

Software

Cloud sandboxes for AI agents to run code, billed per second of runtime

From
Free
Free plan
Yes

The short version

  • Amphetamine is free; E2B starts at $150/mo.
  • Only Amphetamine lists display and lock options; only E2B lists per-second billing.
  • 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 E2B falls short: costs are two-part, a plan fee plus per-second usage, so monthly bills are hard to predict before you measure workloads.

How do Amphetamine and E2B differ?

Amphetamine and E2B differ on pricing model and platforms (macOS against Web). Only the attributes on which Amphetamine and E2B actually diverge.

Attributes where Amphetamine and E2B differ
AttributeAmphetamineE2B
Pricing modelFreePlan fee plus per-second usage
PlatformsmacOSWeb

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 8 only for E2B. 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 E2B

  • Sandboxes
  • Per-second billing
  • Concurrency
  • Long sessions
  • Custom CPU and RAM
  • SSO
  • Bring your own cloud
  • CLI and SDKs

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; E2B for A coding agent that needs a safe place to run generated code. 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 E2B
  • A laptop used with the lid closed and an external displaynot E2B
  • Keeping a remote database or VPN session alive during working hoursnot E2B
  • Preventing sleep only while a specific app, Wi-Fi network or USB device is presentnot E2B

E2B

  • A coding agent that needs a safe place to run generated codenot Amphetamine
  • A data analysis agent that executes Python on uploaded filesnot Amphetamine
  • Running automated tests in a fresh machine per tasknot Amphetamine
  • An enterprise that must run sandboxes in its own cloudnot Amphetamine

Where do Amphetamine and E2B fall short?

E2B's most cited limit: costs are two-part, a plan fee plus per-second usage, so monthly bills are hard to predict before you measure workloads. 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

E2B

  • Costs are two-part, a plan fee plus per-second usage, so monthly bills are hard to predict before you measure workloads
  • Hobby is capped at one-hour sessions, which stops long-running agent tasks
  • Pro caps concurrency at 100, and extra packs cost $500 a month each up to 1,100
  • SSO costs $300 a month on Pro, which matters for small teams with security requirements
  • Enterprise starts at a $2,000 a month commitment, a large step up from Pro

How much do Amphetamine and E2B cost?

Amphetamine is free to use; E2B has a free plan, with paid plans from $150/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

E2B

Free
  • HobbyFree
    • Free with a one-time $100 usage credit
    • Sessions up to 1 hour, 10 concurrent sandboxes
    • Up to 8 vCPUs and 8 GiB RAM per sandbox
  • Pro$150/mo
    • $150 a month plus usage
    • Sessions up to 24 hours, 100 concurrent sandboxes
    • SSO add-on $300 a month; extra concurrency $500 a month
  • EnterpriseOn request
    • Custom billing; the pricing page says it starts at a $2,000 a month commit
    • Multi-day sessions, BYOC, SCIM and SSO

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 E2B if

  • You need sandboxes.
  • You want to start without paying.
  • You also want per-second billing.

Questions people ask

Is Amphetamine or E2B better?
It depends on the job. Amphetamine fits a long download, render or backup that must finish with nobody at the Mac; E2B fits a coding agent that needs a safe place to run generated code. Amphetamine starts at Free and E2B at Free.
Which is cheaper, Amphetamine or E2B?
Amphetamine starts at Free and E2B at Free.
Does Amphetamine or E2B run on more platforms?
Amphetamine runs on macOS. E2B runs on Web.
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 E2B is typically brought in for.
What can Amphetamine do that E2B cannot?
Amphetamine covers Timed sessions, Triggers, Display and lock options, Closed-display mode. E2B covers Sandboxes, Per-second billing, Concurrency, Long sessions.

Answered from the vendors’ own pages

Amphetamine: Is Amphetamine free?

Yes. The Mac App Store lists it as free.

E2B: Is E2B free?

Hobby is free with a one-time $100 credit. Beyond that you pay Pro or usage.

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.

E2B: How is usage billed?

Per second of a running sandbox, by vCPU and memory.

Amphetamine: Which macOS does it need?

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

E2B: Is it open source?

The GitHub project shows an Apache-2.0 licence.

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