Home / Agents

Costs

How much does a cloud VM for an AI agent cost?

Per-hour prices for a 4 vCPU / 8 GB machine range from about 3 cents to 33 cents. The price that matters more is how many hours you pay for while the agent is doing nothing.

Updated 2026-11-29 · 8 min read

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:

ProviderPer hourIf left on 24/7Plan 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$242Free 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.devflat$35/mo4 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?

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:

BudgetYurtBoatE2B (Pro)Daytona
$20666 h555 h0 h60 h
$1003,333 h2,777 h0 h301 h
$50016,666 h13,888 h1,056 h1,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?

  1. Stop paying for idle. Sleep or stop machines between tasks. This saves more than switching providers.
  2. Right-size. Most agent work is waiting on the model. 2 vCPU is often enough unless the agent compiles large projects.
  3. One VM per task, then delete it. Leftover machines are the most common surprise on the bill.
  4. 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

  1. Boat pricing, read 2026-11-29
  2. E2B pricing, read 2026-11-29
  3. Daytona pricing, read 2026-11-29
  4. 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 | sh

Keep reading