# What does a day of Claude Code in the cloud cost?

> A whole workday on a 2 vCPU shedix machine is under a dollar, and it sleeps overnight for cents. The same 8-hour day on five other options, priced.

*2026-11-10 · claude-code, costs, remote-dev*

A whole workday of Claude Code on a 2 vCPU shedix machine is under a dollar: 8 hours at $0.09/hr comes to $0.72.
Overnight it sleeps by itself for cents, with everything kept, so the full 24 hours come to about $0.82.

That is the machine bill. Your Claude plan is a second, separate bill, and it's the same wherever Claude Code runs.
Below, the same 8-hour day is priced on E2B, Daytona, Modal, GitHub Codespaces and Fly.io Sprites, with each
machine's spec written out.

We make shedix. Every other figure comes from each provider's own pages.

## What are the two bills?

**The model bill** is your Claude plan. Claude's [plans](https://claude.com/pricing) are Pro at $20 a month ($17 a
month billed yearly), Max at $100 and Ultra at $200, as of 2026-11-10, and Claude Code comes with all three. Spread over
a 30-day month, that's about $0.67, $3.33 or $6.67 a day. The plan uses the same usage limits whether Claude Code
runs on your laptop, a server or a cloud machine. Signing in with an API key instead bills each token.

**The machine bill** is the computer Claude Code works on. Claude Code itself is light: most of the time it waits on
the model. The machine matters for what the agent runs, such as installs, builds, tests, Docker, a dev server or a
browser. The rest of this page is about that bill only.

## What does the same 8-hour day cost on each?

One working day: the agent works 8 hours, and the machine is idle for the other 16. Every option is priced for a
2 vCPU, 4 GB box, or the nearest it sells. Rows are ordered by the whole day.

| Option | Machine as priced | 8 working hours | The other 16 hours | Whole day |
|---|---|---|---|---|
| shedix | 2 vCPU, 4 GB RAM, 30 GB disk, the disk included | 8 × $0.09/hr = $0.72 | Asleep: 16 × $0.006/hr = $0.10, files and running programs kept | $0.82 |
| [E2B](https://e2b.dev/pricing) | 2 vCPU at $0.0504 per vCPU-hour, 4 GiB at $0.0162 per GiB-hour, disk included | $1.32 | Paused, files and memory kept | $1.32 |
| [Daytona](https://www.daytona.io/pricing) | Same per-vCPU and per-GiB rates as E2B, 30 GiB disk (5 GiB free, then $0.000108 per GiB-hour) | $1.35 | Stopped: disk only, $0.04 | $1.39 |
| [Fly.io Sprites](https://fly.io/sprites) | 2 CPUs at $0.0385 per CPU-hour, 4 GB at $0.021875 per GB-hour, at full use | Up to $1.32, plus storage | Asleep: cold storage at about $0.02 per GB-month | Up to $1.32, plus storage |
| [GitHub Codespaces](https://docs.github.com/en/billing/concepts/product-billing/github-codespaces) | 2 cores, 8 GB RAM (no 4 GB type), at $0.18 an hour; storage $0.07 per GB-month | $1.44 | Stopped: about $0.07 for 30 GB of storage | $1.51 |
| [Modal](https://modal.com/pricing) sandbox | 1 physical core (2 vCPU) at $0.1419 an hour, 4 GiB at $0.0240 per GiB-hour | $1.90 | Ended: snapshots and volumes billed as storage | $1.90, plus storage |

All prices are as of 2026-11-10, before tax. For the 8 working hours, a shedix machine costs 45–62% less than the
same box on E2B, Daytona, Codespaces or Modal, with its disk included. All-in, shedix works out at $0.0450 per
vCPU-hour on the 2 vCPU machine and $0.0525 from 4 vCPU, memory and disk included.

How the rivals' figures are worked out:

- **E2B and Daytona:** 2 × $0.0504 + 4 × $0.0162 = $0.1656 an hour, times 8. Daytona adds 25 GiB of disk past its free
  5 GiB, all day. On E2B's free Hobby plan a sandbox runs at most 1 hour at a time; 24-hour runs come with Pro, at $150
  a month.
- **Sprites** bill the CPU and memory actually used, so $0.1645 an hour is a ceiling. A mostly waiting agent uses far
  less, and storage is extra: hot storage at about $0.50 per GB-month while awake.
- **Codespaces** has no 2-core, 4 GB machine; its 2-core machine has 8 GB. A personal account gets a free monthly
  allowance of compute and storage.
- **Modal** prices a physical core of 2 vCPU. A sandbox lasts 5 minutes by default and up to 24 hours.

## What is each one built for?

- **E2B** is built for apps that run model-written code in fresh sandboxes from its SDK, often many a day.
- **Daytona** is built for long-lived sandboxes created from code, a CLI or its dashboard, with a shell you can open.
- **Sprites** are built for bursty work that mostly waits: a persistent Linux microVM from Fly.io, billed on use.
- **Codespaces** is built for a person at an editor, in a dev container made from a GitHub repository.
- **Modal** is built for Python and GPU workloads at scale, with sandboxes beside them, started from its SDK.
- **shedix** is built as a real computer for your coding agents: desktop, root, Docker, its own address, every way in.
  Your agent can start it and use a browser it shares with you; Claude Code and Codex come ready; you pay while it works.

## What happens in the 16 hours nobody is using it?

- **E2B:** a paused sandbox keeps its filesystem and memory, running processes included
  ([persistence docs](https://docs.e2b.dev/sandbox/persistence)).
- **Daytona:** a stopped container sandbox keeps its files but not its memory
  ([sandbox docs](https://www.daytona.io/docs/en/sandboxes/)).
- **Sprites:** go to sleep seconds after activity ends and keep their disk; a request to the Sprite's URL wakes it.
- **Codespaces:** stops after 30 idle minutes by default and after
  [12 hours at most](https://docs.github.com/en/codespaces/about-codespaces/understanding-the-codespace-lifecycle).
  Files are kept; running processes end.
- **Modal:** what you saved to a snapshot or volume is kept for a later sandbox to start from
  ([sandbox guide](https://modal.com/docs/guide/sandboxes)).
- **shedix:** a machine sleeps by itself when nobody uses it and keeps its files and running programs, so a Claude Code
  session in tmux picks up where it was. Claude Code or Codex working counts as use, so the agent's machine stays awake
  while it works, and you can [close the laptop](/use-cases/close-the-laptop) meanwhile. A sleeping machine wakes in
  under a minute. Machines run in the United States.

## What if the agent works around the clock?

Then every option bills all 24 hours. Left on for a whole month (730 hours), the 2 vCPU box is $65.70 on shedix,
up to $120.09 on Sprites at full use, and $120.89 on E2B or Daytona before Daytona's disk; Codespaces can't stay on, as
GitHub stops a codespace after 12 hours at most. For most people, Claude Code works in bursts, and the hours it waits
are the ones a sleeping machine doesn't charge for: a working month of 4 hours on each of 22 workdays is
$11.77 on the 2 vCPU shedix machine, asleep the rest. Our [pricing page](/pricing) has every size.

## Can Anthropic's own cloud sessions do it for free?

For many Claude Code tasks, yes. Cloud sessions come with Pro, Max, Ultra and Team plans, and Anthropic's
[docs](https://code.claude.com/docs/en/claude-code-on-the-web) say "there's no separate charge for the cloud VM", as of
2026-11-10. They're built for Claude Code tasks rather than a machine you keep: a paused VM can be reclaimed, and
commands have time limits. If you need Docker, your own tools, Codex beside Claude Code or a shell you can attach to,
a machine of your own fits better. Our post on [cloud sessions or your own machine](/blog/claude-code-cloud-sessions-or-your-own-machine)
walks through where that line falls, and [what a coding agent's computer costs](/blog/coding-agent-machine-costs-compared)
compares a 4 vCPU machine hour for hour.

## What does a whole day come to?

Add the two bills. On Max, the plan is about $3.33 a day. The machine adds $0.82 for a full 24 hours on the 2 vCPU
shedix machine, $1.32 on E2B, $1.39 on Daytona and $1.51 on Codespaces, with Sprites
and Modal depending on use and storage. Prices change, so check each provider's own
pricing before you choose.

## What to do next

To see who makes shedix, read [about us](/about) and [how machines are kept apart](/security). [Start a machine](/), or install the
[shedix skill](/skills) and let Claude Code start one for you. Your first 12 hours of compute are on us.
