Short answer: a 4 vCPU / 8 GB VM costs between $0.030 and $0.331 per hour on agent platforms, billed per second. A flat-price VM like exe.dev costs $35/month for that size. An agent that works 4 hours a day costs a few dollars a month on the cheap end, and the plan minimum usually decides the bill.
What does each provider charge in 2026?
Prices for a 4 vCPU / 8 GB machine, from each provider's pricing page on 2026-11-29:
| Provider | Per hour | If left on 24/7 | Plan terms |
|---|---|---|---|
| Yurt | $0.030 | $22 | $20/mo minimum, paid back as VM time |
| Boat | $0.036 | $26 | $20/mo minimum, paid back as VM time; 7-day trial, card required |
| E2B | $0.331 | $242 | Free Hobby tier caps sessions at 1 hour; Pro is $150/mo + usage |
| Daytona | $0.331 | $242 | $200 free compute; storage after 5 GiB billed |
| exe.dev | flat | $35/mo | 4 vCPU / 8 GiB pool, shared by your VMs; 7-day free trial |
E2B and Daytona bill CPU and memory separately: $0.0504 per vCPU-hour and $0.0162 per GiB-hour on both. Yurt's prices are introductory and may change.
What are you actually paying for?
- CPU and RAM time. Per second on most agent platforms, per month on a VPS.
- Plan fees and minimums. Boat and Yurt turn the plan into VM time. E2B's Pro plan is a separate $150 monthly fee on top of usage.
- Session limits. E2B's free Hobby tier caps a sandbox session at 1 hour, and Pro at 24 hours. An agent that runs all night needs a plan without that cap.
- Disk. Free on E2B; first 5 GiB free on Daytona; included on Boat (51 GB on the default size).
Why does idle time matter more than the hourly price?
Coding agents work in bursts. They run for twenty minutes, then wait for you to review, for CI, or for tomorrow. A VPS bills all 730 hours of the month. A per-second platform bills only while the machine is on, but stopping it usually means losing what was in memory.
Yurt VMs sleep when idle with their memory saved, and wake in about 0.04 seconds. You pay for the hours the agent works and lose nothing in between. How that works.
How much will my agents cost?
30-day month. Plan minimums included. E2B uses the Pro plan ($150/mo) because the free tier stops sessions at 1 hour. exe.dev is priced as one pool big enough for every agent at full size.
What does $20, $100 or $500 a month buy?
Hours of a 4 vCPU / 8 GB machine, after plan fees:
| Budget | Yurt | Boat | E2B (Pro) | Daytona |
|---|---|---|---|---|
| $20 | 666 h | 555 h | 0 h | 60 h |
| $100 | 3,333 h | 2,777 h | 0 h | 301 h |
| $500 | 16,666 h | 13,888 h | 1,056 h | 1,509 h |
Daytona's $200 of free compute and E2B's one-time $100 Hobby credit come on top of these for new accounts.
How do you keep agent compute costs down?
- Stop paying for idle. Sleep or stop machines between tasks. This saves more than switching providers.
- Right-size. Most agent work is waiting on the model. 2 vCPU is often enough unless the agent compiles large projects.
- One VM per task, then delete it. Leftover machines are the most common surprise on the bill.
- Watch plan fees. A $150 platform fee costs more than months of compute for one or two agents.
Questions
How much does it cost to run Claude Code in the cloud?
The machine costs $0.030 to $0.331 an hour for 4 vCPU / 8 GB on agent platforms, or a flat monthly price on a VPS. The Claude subscription or API usage is billed separately by Anthropic.
What is the cheapest sandbox for AI agents?
By listed hourly price for 4 vCPU / 8 GB, Yurt ($0.030) and Boat ($0.036) are the lowest of the providers on this page. For a single always-on agent, a flat-price VM can be cheaper.
How much does E2B cost per hour?
E2B charges $0.000014 per vCPU-second and $0.0000045 per GiB-second, which is about $0.331 an hour for 4 vCPU / 8 GiB. The Pro plan adds $150 a month.
How much does Daytona cost per hour?
Daytona lists $0.0504 per vCPU-hour and $0.0162 per GiB-hour, about $0.331 an hour for 4 vCPU / 8 GiB, with $200 of free compute to start.
Is a VPS cheaper than an agent sandbox?
For one agent that runs around the clock, often yes. For agents that work a few hours a day, per-second billing usually wins, as long as stopping the machine doesn't lose your work.
Sources
- Boat pricing, read 2026-11-29
- E2B pricing, read 2026-11-29
- Daytona pricing, read 2026-11-29
- exe.dev pricing, read 2026-11-29
Give your agent its own computer. Full root, its own IPv6, and it sleeps with its memory when idle. Plans from $20/month, paid back as VM time.
curl -fsSL https://getyurt.dev/install | shKeep reading
Setup
How do you keep Claude Code running when your laptop is closed?
Claude Code stops when your laptop sleeps or SSH drops. Three ways to keep it running: tmux on a server, headless claude -p jobs, and a VM that sleeps with its memory.
Compare
Yurt vs Boat
Yurt vs Boat on price, sleep, networking and features. Both rent full Linux VMs to AI agents with a $20 plan paid back as VM time. Sources included.
Compare
Yurt vs E2B
Yurt vs E2B: E2B costs about $0.331/h for 4 vCPU / 8 GiB plus a $150 Pro plan for sessions over 1 hour. Yurt is $0.030/h with no session cap. Sources included.