Skip to Content
loop.fun
MicroVM hosts

Costs

What a hibernating host saves for a waiting loop, why it saves nothing for a working loop, and why the real win only shows up at fleet scale.

Hibernating hosts are sold on "never pay for idle". That's true, but whether it matters depends on how much of your loop's life is idle and how much of your bill is compute at all.

A worked example

Illustrative arithmetic, not a benchmark

The rates below are the published list prices quoted elsewhere in this section (Sprites, E2B and Blaxel all land near $0.08 an hour for 1 vCPU and 2 GB). The token figures are assumptions, stated so you can redo the sums with your own numbers.

The waiting loop. A standing goal ("keep CI green and triage new issues") on a 1 vCPU, 2 GB machine. It wakes 48 times a day (every 30 minutes, OpenClaw's default heartbeat) and is busy for 90 seconds each time. That's about 36 hours of activity a month, a 5% duty cycle.

Compute per month
Always-on VM at about $0.08 per hourabout $60
Hibernating microVM at the same rateabout $3, plus cents for sleeping storage
Tokens: 1,440 wakes, each re-reading about 40k tokens of instructions, memory and tool definitions at $3 per million, plus about 2k output tokens at $15 per millionabout $215, on any host

The working loop. A /goal run that migrates a codebase for three hours straight, on 2 vCPU and 4 GB.

Compute for the run
Any VM, or any hibernating hostabout $0.50 (E2B's rates: $0.17 an hour)
Saved by hibernation$0. The machine never goes idle.
TokensFar larger, and set by the model and the task, not the host

What the numbers say

Where hibernation wins

  • Fleets of low-duty standing goals: one agent per user, customer, repo or ticket queue.
  • Wait-heavy goals: waiting on CI, a deploy, a human approval or a vendor callback for hours or days.
  • Event-driven loops: webhooks wake the machine only when something actually happened.
  • Branch-and-compare patterns: fork one warm machine into several attempts (Morph branching, E2B forks, Sprites checkpoints) instead of building N environments from scratch.
  • Reversible autonomy: a snapshot before a permission-free run is a cheap undo.

Where it doesn't

  • Working loops of any kind (see above).
  • A single personal agent, where compute is noise next to tokens.
  • Harnesses that never sleep: an in-process heartbeat, a held chat connection or a forgotten keep-alive keeps the meter running.
  • Polling every minute: resume overhead and cold prompt caches cancel out the savings. Push events instead.
  • GPU or local-model agents: no host here can snapshot a GPU, so every wake is a cold start.
  • Goals that sleep longer than the host keeps them: a 30-day snapshot expiry is fine for a daily heartbeat and fatal for a quarterly one.

How the meters differ

Wall-clock while awake
Sprites, E2B, Blaxel and Morph bill CPU and memory for as long as the machine is active, busy or not.
Active CPU only
Vercel bills CPU only while code is actually executing, not while it waits on a model response, but bills provisioned memory the whole time. This suits agents that mostly wait for the model.
Per active session
Claude Managed Agents charges about $0.08 per active session-hour on top of tokens and nothing while idle, according to third-party pricing write-ups (TrueFoundry).
Storage while asleep
Almost every host bills for the snapshot or disk of a sleeping machine, typically $0.02 to $0.50 per GB-month. Small per agent, noticeable for a large fleet of large disks.
Plan minimums
E2B Pro is $150 a month before usage, Sprites plans start at $100 with included hours, and Morph sells prepaid compute units. For small setups the minimum can be the biggest line item.

Further reading

loop.fun

Patterns, hints and tools for designing the loops that keep agents working, and for widening the set of loops you can think of.

© 2026 loop.fun · CC BY 4.0

On this page