# Fleets on agent clouds (/guide/hosts/fleet-economics)

<Callout type="info" title="Snapshot: December 2026">
  Researched on 1 December 2026 from the vendors' own pricing pages and docs. Several of these products are in public
  preview or beta, two vendors' prices conflict between their own pages, and rates have moved more than once this year.
  Every number here is "check before quoting".
</Callout>

Running one agent is a hobby. Running twenty is an **operations problem**: twenty machines to patch, twenty sets of credentials, twenty bills that accrue while the agents sit waiting for a webhook. A new set of products promises to make that easy and cheap: hosting that is built **specifically for agents**, not adapted from VMs.

This page compares eight of them. The short version: **how a vendor meters an agent matters more than its hourly rate**, a fixed plan fee dominates small fleets, and on the usage-metered hosts **tokens cost roughly 10 to 30 times more than the compute** at every fleet size. That last point is why the most interesting products are starting to bundle inference.

## Four ways to sell an agent [#four-ways-to-sell-an-agent]

Every vendor here has a story about what an agent *is*. The story decides what you rent, what you can run on it, and which meter runs while the agent waits.

| Narrative | What you rent | Vendors | What it costs you |
|---|---|---|---|
| **"A computer for your agent"** | A Linux box that sleeps when idle | Fly.io Sprites, E2B, Modal | Runs any harness unchanged. You build the fleet tooling yourself. |
| **"A runtime for agent sessions"** | A managed session: sandbox, lifecycle and tool access, billed while the agent works | DigitalOcean Managed Agents, AWS Bedrock AgentCore, Claude Managed Agents | Less to operate. Sessions have caps, and the goal must live outside them. |
| **"The agent is an object"** | An addressable actor with its own storage and alarms | Cloudflare Agents on Durable Objects | By far the cheapest idle, if you rewrite the agent for the platform. |
| **"An AI teammate, always on"** | A private, always-on instance of one harness for a flat fee | MyClaw (managed OpenClaw) | Nothing to operate, predictable bill, no scale-to-zero. |

These map onto the [three approaches to "fake always-on"](/guide/hosts): snapshot the machine, hibernate the actor, or split the brain (session log, harness) from the hands (sandbox).

## The eight players [#the-eight-players]

<Accordions>
<Accordion title="Cloudflare: Agents SDK on Durable Objects (plus Sandbox)">
**Narrative:** "each agent has a durable identity, local SQL storage, real-time connections, scheduled work, and recoverable execution", and "each agent is a Durable Object" ([Agents docs](https://developers.cloudflare.com/agents/)). Cloudflare says a platform can hold "tens of millions+" of concurrent agents ([limits](https://developers.cloudflare.com/agents/platform/limits/)). <Evidence level="primary" />

**Why it is cheap:** an object that is idle and eligible for hibernation **is not billed for duration** at all. Awake time is billed at $12.50 per million GB-seconds on a fixed 128 MB, with 400,000 GB-s a month included in the $5 Workers Paid plan ([pricing](https://developers.cloudflare.com/durable-objects/platform/pricing/)). An agent busy 60 hours a month uses about 27,000 GB-s, so **the first dozen or so agents are free**.

**The catch:** your agent is TypeScript written for the platform, not Claude Code or Codex. To run a real CLI harness you add a **Sandbox** container (a microVM with its own kernel), billed per 10 ms with CPU on active use only, but which sleeps without its memory and restores its workspace from an R2 backup ([Containers pricing](https://developers.cloudflare.com/containers/pricing/), [backup and restore](https://developers.cloudflare.com/sandbox/concepts/backup-restore/)).
</Accordion>

<Accordion title="Modal: Sandboxes">
**Narrative:** "designed to give agents the computers they need at the scale, speed, and reliability they demand", with sub-second starts and "1M+ sandboxes in under a minute" ([product page](https://modal.com/products/sandboxes), vendor claims). The story is **elastic, disposable compute**: fan out thousands of short sandboxes for coding agents, evals or RL. <Evidence level="primary" />

**The meter:** per second, on the **greater of what you requested and what you used**, at three times Modal's normal list price: $0.1419 per physical core-hour (a core is 2 vCPU) and $0.024 per GiB-hour ([resources and pricing](https://modal.com/docs/guide/sandbox-resources)). Request little and let it burst, and you pay roughly for actual use. Request a fixed 2 vCPU and 4 GiB and you pay for it the whole time.

**For a standing fleet:** sandboxes live at most 24 hours, memory snapshots are experimental and expire after 7 days, and filesystem snapshots after 30 by default ([snapshots](https://modal.com/docs/guide/sandbox-snapshots)). The free Starter plan includes $30 of credit a month and 250 concurrent sandboxes ([pricing](https://modal.com/pricing)).
</Accordion>

<Accordion title="DigitalOcean: Managed Agents and Agent Droplets">
**Narrative:** the Droplet, again. "Fourteen years ago we put a virtual machine on the internet for $5 a month with everything included" ([Agent Droplets](https://digitalocean.com/blog/introducing-agent-droplets), Oct 2026). The pitch is **one bill instead of "six vendors, six invoices"**: compute, inference, memory and tool access from one provider. <Evidence level="primary" />

**What it is:** a **Harness Runtime** that runs each session in its own Firecracker microVM and auto-pauses it when there are "no outgoing LLM or tool calls", plus an **Action Gateway** that exposes tools over one managed MCP endpoint ([public preview](https://digitalocean.com/blog/managed-agents-public-preview), Sept 2026). It runs Claude Code, Codex CLI, OpenCode, Hermes and LangGraph, or your own OCI image.

**The meter:** $0.044 per vCPU-hour of **CPU actually consumed**, $0.0095 per GB-hour of memory allocated, $0.05 per GiB-month for snapshots ([Harness Runtime pricing](https://www.digitalocean.com/pricing/harness-runtime)). That is the lowest compute rate on this page. Agent Droplet plans ($50 or $200 a month) are a usage discount of 15 or 20%, not a machine. Public preview.
</Accordion>

<Accordion title="MyClaw: managed OpenClaw">
**Narrative:** "AI teammates that understand your goals, work with your tools, and help you get real work done" ([about](https://myclaw.ai/about)). MyClaw is managed hosting for [OpenClaw](/guide/environments/openclaw): an "isolated private instance" with "always-on uptime, automatic updates, daily backups", used through a web terminal and chat ([pricing](https://myclaw.ai/pricing)).

**The meter:** none. A **flat monthly fee per instance**. The live pricing page lists Pro at $20 a month ($17 billed yearly) for 4 vCPU, 8 GB and 4,000 credits, up to ULTRA at $200 for 16 vCPU and 32 GB. The site's own `llms.txt` lists a different lineup (Lite $19, Pro $39, Max $79) ([llms.txt](https://myclaw.ai/llms.txt)). <Evidence level="contested" /> We could not find what a credit buys, whether model usage is included or bring-your-own-key, or which cloud runs the instances.
</Accordion>

<Accordion title="Fly.io: Sprites">
**Narrative:** a persistent computer per agent. "The bill goes to zero when nobody's home", and "a Sprite that exists but does nothing costs nothing beyond its storage" ([Sprites](https://fly.io/sprites)). Fly also leans into [YOLO mode](https://fly.io/sprites/yolo-mode): let the agent run without permission prompts, and roll back with a checkpoint.

**The meter:** the most literal on the page. **CPU time actually used** ($0.0385 per CPU-hour, measured from `cpu.stat`) and **memory actually used** ($0.021875 per GB-hour), only while the Sprite is running; then hot storage while awake and $0.02 per GB-month cold. The free plan includes $5 of usage a month; Hero ($100) includes 1,200 CPU-hours and 4,800 GB-hours. DigitalOcean's comparison quotes Sprites at about double these rates, so check which is current. <Evidence level="contested" />
</Accordion>

<Accordion title="E2B">
**Narrative:** sandbox infrastructure that you embed in your own agent product, with ready-made templates for Claude Code and Codex, and open-source infrastructure you can self-host ([E2B](https://e2b.dev), [Claude Code template](https://docs.e2b.dev/agents/claude-code)). Paused sandboxes keep their memory and have no expiry ([persistence](https://docs.e2b.dev/sandbox/persistence)).

**The meter:** per second for **provisioned** CPU and RAM, $0.0504 per vCPU-hour and $0.0162 per GiB-hour, disk free, nothing while paused ([pricing](https://e2b.dev/pricing)). Hobby is free with a one-time $100 credit, 10 concurrent sandboxes and a 1-hour session cap. Pro costs **$150 a month** before usage, for 100 concurrent and 24-hour sessions. <Evidence level="primary" />
</Accordion>

<Accordion title="AWS: Bedrock AgentCore Runtime">
**Narrative:** enterprise agents as **sessions**: "each user session runs in a dedicated microVM with isolated CPU, memory, and filesystem resources", which is destroyed and sanitised at the end ([docs](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/agents-tools-runtime.html)). Any framework, any model, wrapped in IAM, VPC and CloudWatch.

**The meter:** per second, on consumption. "CPU scales to zero during I/O wait (waiting for LLM responses, tool / API calls…)" and Runtime v2 reclaims idle memory after 120 seconds. Rates are $0.1276 per vCPU-hour and $0.0169 per GB-hour on Arm ([pricing](https://aws.amazon.com/bedrock/agentcore/pricing/)). Gateway, Memory and Web Search are metered separately. Sessions end after **8 hours** on microVMs (14 days on EC2-backed instances), with a 15-minute idle timeout by default ([lifecycle](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-lifecycle-settings.html)). <Evidence level="primary" />
</Accordion>

<Accordion title="Anthropic: Claude Managed Agents">
**Narrative:** you don't rent a computer at all. Managed Agents "provides the harness and infrastructure for running Claude as an autonomous agent" ([overview](https://platform.claude.com/docs/en/managed-agents/overview)), with the session log, harness and sandbox split so a crash loses nothing ([engineering post](https://anthropic.com/engineering/managed-agents)).

**The meter:** **$0.08 per session-hour**, measured to the millisecond, only while the session is `running`. Time spent `idle` waiting for your next message or a tool confirmation is free, and there is no separate container fee ([pricing](https://platform.claude.com/docs/en/about-claude/pricing)). Tokens are billed at normal model rates, and it only runs Claude. Beta. <Evidence level="primary" />
</Accordion>
</Accordions>

## Feature matrix [#feature-matrix]

| | What you get | Runs your CLI harness? | Billed on | While idle | Survives sleep | Hard limits | Plan fee | Bundled models / tools |
|---|---|---|---|---|---|---|---|---|
| **Cloudflare Agents (DO)** | Actor with SQLite, alarms, WebSockets | **No**, TS on the platform | Wall-clock while awake, fixed 128 MB | Free once hibernated | Storage, schedules (not memory) | 30 s CPU per request, 1 GB state | $5 Workers Paid | Workers AI, AI Gateway |
| **Cloudflare Sandbox** | microVM container next to a DO | Yes | Active CPU; provisioned memory and disk | Sleeps after `sleepAfter` (10 min default) | Disk via R2 backup | Fixed instance types up to 4 vCPU | $5 Workers Paid | As above |
| **Modal** | Sandbox (gVisor) | Yes | max(request, used), 3× list | Billed until `idle_timeout` or stop | Filesystem snapshot; memory in alpha | 24 h lifetime | $0 (Starter, $30 credit) or $250 | No |
| **DigitalOcean** | Harness runtime, Firecracker per session | Yes, several built in | **Actual CPU**; allocated memory | Auto-pauses, compute free | Workspace and history | Preview; prepaid balance | None (plans are discounts) | **Yes**: open models, MCP gateway |
| **MyClaw** | Always-on OpenClaw instance | OpenClaw only | Flat fee | Always on | Always on | Per-plan size | $17 to $200 | "Credits" (unclear) |
| **Fly.io Sprites** | Persistent Firecracker VM | Yes | **Actual CPU and memory** | Sleeps in seconds, compute free | Disk, checkpoints | 100 running on Hero | $0 or $100 / $2,000 | No |
| **E2B** | Firecracker sandbox | Yes, templates | Provisioned CPU and RAM | Paused, compute free | **Memory and disk**, no expiry | 1 h / 24 h sessions; 10 / 100 concurrent | $0 (Hobby) or **$150** | No |
| **AWS AgentCore** | microVM per session | Yes, any container | Consumed CPU (free in I/O wait) and memory | Memory reclaimed after 120 s | Session storage (preview) | **8 h sessions** | None | Bedrock models, Gateway, Memory (metered) |
| **Claude Managed Agents** | Claude harness plus sandbox | Claude's harness only | Running session-hours | Free | Session log | Beta, rate limits | None | Claude only |

## Pricing on a common metric [#pricing-on-a-common-metric]

Comparing $/vCPU-hour across vendors misleads, because the meters differ: some bill what you **reserve**, some what you **use**, and some bill the session regardless of size. So we priced the same agent everywhere.

<Callout title="The reference agent (assumptions, not a benchmark)">
  A standing agent with a 2 vCPU, 4 GB sandbox and a 10 GB workspace. It is **active 60 hours a month** (2 hours a day,
  an 8% duty cycle, spread over many wakes) and asleep the rest. While active it mostly waits on the model, so it
  averages **0.5 vCPU and 2 GB actually used**. We assume the harness or orchestrator lets the machine sleep as soon as
  a turn ends. Compute and storage only; tokens are below.
</Callout>

**Price per active agent-hour**, and what the same agent would cost if it were busy all month (a [working loop](/guide/hosts#hibernation-saves-on-waiting-not-on-working)):

| | Per active hour | Agent-month at 60 h | Busy all month (730 h) | How we got it |
|---|---|---|---|---|
| Cloudflare Agents (DO) | **$0.006** | $0.34 | $4 | 128 MB × wall-clock |
| DigitalOcean | $0.060 | $3.60 | $44 | 0.5 vCPU used + 4 GB allocated |
| Fly.io Sprites | $0.070 | $4.19 | $51 | 0.5 CPU + 2 GB used + hot storage |
| Cloudflare Sandbox | $0.074 | $4.44 | $54 | standard-1: 0.5 vCPU, 4 GiB, 8 GB disk |
| Claude Managed Agents | $0.080 | $4.80 | $58 | flat per running session-hour |
| Modal | $0.084 | $5.01 | $61 | 0.25 core + 2 GiB used, small request |
| AWS AgentCore | $0.098 | $5.86 | $71 | 0.5 vCPU + 2 GB consumed, Arm |
| E2B | $0.166 | $9.94 | $121 | 2 vCPU + 4 GiB provisioned |
| MyClaw | $0.33 | $20 | **$20** | flat; always on, 4 vCPU / 8 GB |

Two things stand out. **E2B costs about three times DigitalOcean for the same work** only because it bills the reserved box while the agent waits on the model; its rates are not high. And **MyClaw is the most expensive way to run a mostly idle agent and the cheapest way to run a busy one.** A flat fee beats every usage meter on this page except Durable Objects once the agent is busy more than roughly 40 to 50% of the time.

### What a fleet costs [#what-a-fleet-costs]

Monthly compute and storage for the reference agent, including plan fees and free allowances, at list prices:

| Agents | 3 | 5 | 10 | 20 | 50 | 100 |
|---|---|---|---|---|---|---|
| Cloudflare Agents (DO) | $5 | $5 | $5 | $7 | $17 | $34 |
| Modal (Starter) | $0 | $0 | $20 | $70 | $220 | $471 |
| Fly.io Sprites | $8 | $17 | $39 | $83 | $168 ¹ | $388 ¹ |
| DigitalOcean | $12 | $21 | $41 | $82 | $205 | $410 |
| Cloudflare Sandbox | $18 | $26 | $49 | $93 | $226 | $448 |
| Claude Managed Agents | $14 | $24 | $48 | $96 | $240 | $480 |
| AWS AgentCore | $18 | $29 | $59 | $117 | $293 | $586 |
| E2B | $30 ² | $50 ² | $99 ² | $349 | $647 | $1,144 |
| MyClaw (monthly) | $60 | $100 | $200 | $400 | $1,000 | $2,000 |
| **Tokens, for comparison** ³ | **$324** | **$540** | **$1,080** | **$2,160** | **$5,400** | **$10,800** |

- ¹ On the $100 Hero plan, which becomes cheaper than pay-as-you-go at about 25 agents of this size.
- ² On the free Hobby plan (1-hour sessions, 10 concurrent), before the one-time $100 credit. A real fleet needs Pro from about 10 agents, which adds $150 a month.
- ³ A light load of 500k input and 20k output tokens per active hour at $3 and $15 per million, uncached. Prompt caching can cut this by half or more ([Cost](/guide/shortcomings/cost)). It is still the biggest line on every row.

## What the numbers say [#what-the-numbers-say]

<Accordions>
<Accordion title="Tokens are the bill. Compute is the rounding.">
At 100 agents the spread between the cheapest and the dearest usage-metered host is about $1,100 a month. The token line for the same fleet is about $10,800. Picking the best host saves **10% of the bill**; halving tokens per wake saves 50%. This is why the most aggressive pricing story on the page is DigitalOcean's: it bundles DO-hosted open models, quoting about $0.78 per million tokens blended for GLM 5.3 in its own estimates ([Agent Droplets](https://digitalocean.com/blog/introducing-agent-droplets)). A cheaper model on a mostly idle fleet moves the total far more than any meter. <Evidence level="anecdotal" />
</Accordion>
<Accordion title="The meter matters more than the rate">
The ranking above is almost entirely about **what gets billed while the agent waits on the model**, which is most of an agent's active time. Hosts that bill actual CPU (DigitalOcean, Sprites, Cloudflare Sandbox, AgentCore) charge for the half a core the agent really used. Hosts that bill the reservation (E2B, Modal with a fixed request) charge for all of it. If your harness spends 75% of a turn waiting on a model response, that is the difference.
</Accordion>
<Accordion title="Plan fees decide small fleets">
Below about ten agents the order is set by **free allowances and minimums**, not rates: Modal's $30 monthly credit covers five reference agents, Sprites' $5 covers one, Cloudflare's $5 plan covers a dozen Durable Object agents, and E2B's $150 Pro fee is larger than the usage of a 10-agent fleet. Check which plan you actually need for your session length and concurrency.
</Accordion>
<Accordion title="Rewrite for the platform and idle becomes free">
Cloudflare's Durable Objects are an order of magnitude cheaper than anything else because a hibernating object costs nothing and an awake one is billed on 128 MB. That only holds for an agent written for the platform. The moment it needs git, a compiler or an unmodified CLI harness, you are on Sandbox containers at roughly the same price as everyone else.
</Accordion>
<Accordion title="Hidden meters">
- **Idle tails.** Cloudflare Sandbox stays awake for `sleepAfter` (10 minutes by default) after the last request. At 24 wakes a day that is 120 extra awake hours a month of memory and disk, about $4.60 per agent. Shorten it. AgentCore holds memory for 120 seconds and the session for 15 minutes unless you stop it.
- **Storage while asleep.** Cheap per agent ($0.20 to $0.50 a month for 10 GB here) but it accrues for every agent you keep, including the ones nobody has woken for a month.
- **Retention.** Modal memory snapshots last 7 days, Cloudflare backups 3 days by default, AgentCore sessions 8 hours. A fleet of weekly agents must rebuild from files. See [Operations](/guide/hosts/operations).
- **Adjacent services.** AgentCore Gateway, Memory and Web Search, DigitalOcean's Action Gateway, and Claude's web search are all billed on top.
</Accordion>
<Accordion title="'Easy' has a different price on each">
The usage-metered hosts are cheap because **you** build the fleet: images, wake triggers, secrets, updates. The managed runtimes (DigitalOcean, AgentCore, Claude Managed Agents) take over the session lifecycle and tool access for a few cents more per hour, and MyClaw takes over everything for a flat fee. For a team without platform engineers, the managed price may be the cheaper one.
</Accordion>
</Accordions>

## Picking one [#picking-one]

| If your fleet is… | Start with |
|---|---|
| Many small, mostly idle agents you can write in TypeScript | **Cloudflare Agents** on Durable Objects |
| Existing CLI harnesses (Claude Code, Codex, Hermes) that sleep between wakes | **Sprites** or **DigitalOcean** (actual-use meters); **E2B** if you need memory to survive long sleeps |
| Bursty fan-out: many short sandboxes for evals, best-of-N or RL | **Modal** |
| Claude-only, and you want no infrastructure at all | **Claude Managed Agents** |
| Enterprise AWS, with IAM, VPC and audit requirements | **AgentCore**, with the goal state kept outside the 8-hour session |
| A few personal OpenClaw assistants that are busy much of the day | **MyClaw**, or a small always-on VM |
| Price-sensitive at 50+ agents | Whichever host lets you put the **cheapest adequate model** behind it ([Model choice](/guide/shortcomings/model-choice)) |

## Further reading [#further-reading]

- [Costs](/guide/hosts/costs) on this site: the duty-cycle arithmetic for a single agent
- [AI sandbox pricing, compared](https://fly.io/learn/ai-sandbox-pricing/) (Fly.io, a vendor; rates checked October 2026)
- [Why we built Managed Agents](https://www.digitalocean.com/blog/why-we-built-managed-agents) (DigitalOcean, a vendor: the case for active-CPU billing)
- [Project Think](https://blog.cloudflare.com/project-think/) (Cloudflare: durable agents, sub-agents and the execution ladder)
