Home / AI agent sandboxes / CodeSandbox / Pricing
CodeSandbox pricing
In short (2026-11-14): $0.075 per hour for Pico: 1 core / 2 GB (5 credits per hour), plans from $170.00 a month. Free tier: Build plan: free, with 400 VM credits each month (unused credits do not roll over) and up to 10 concurrent VMs. Source: official pricing page. Prices checked 2026-11-14.
Usage rates
- Fixed size
- $0.075 per hour (Pico: 1 core / 2 GB (5 credits per hour))
- Storage
- No separate monthly rate published
- Billing
- per minute (rounded up). VM runtime while a VM Sandbox is running; hibernated sandboxes are resumed from memory snapshots.
Plans
| Plan | Per month | Included credit | Limits |
|---|---|---|---|
| Build | $0.00 | $6.00 | 400 VM credits a month (about 40 hours of Nano), 5 members, 10 concurrent VM Sandboxes, 20 new SDK sandboxes an hour, 1,000 SDK requests an hour, VMs up to 4 vCPU / 8 GiB, 20 GB storage per VM. |
| Scale | $170.00 | $0.00 | From $170 a month per workspace. Up to 20 members, 250 concurrent VMs, 1,000 new sandboxes an hour, 10,000 requests an hour, VMs up to 16 vCPU / 32 GiB, on-demand credits. The included VM credits are stated as 160 hours a month on the pricing page and 1,100 credits in the SDK docs. |
What it costs in practice
| Workload | Usage | Cheapest plan | Total per month |
|---|---|---|---|
| Hobby agent: 1 vCPU, 1 GiB, 20 hours a month | $1.50 | Build | $0.00 |
| One dev agent: 2 vCPU, 4 GiB, 8 h a day for 22 days | $26.40 | Build | $20.40 |
| Team: 10 sandboxes of 2 vCPU, 4 GiB, 8 h a day for 22 days | $264.00 | Build | $258.00 |
| Always on: 4 vCPU, 8 GiB, 730 hours a month | $219.00 | Build | $213.00 |
CPU busy 30% (50% always on), which matters only where CPU is billed by active time. Storage, network and GPU are not included. Try your own numbers in the cost calculator.
Billing details that change the bill
- VM credits cost $0.015 each on the pricing page ($0.01486 in the docs). Per-size prices on the pricing page are linear at $0.075 per hour for each 1 core / 2 GB: Pico 1/2 GB $0.075, Nano 2/4 GB $0.15, Micro 4/8 GB $0.30, Small 8/16 GB $0.60, Medium 16/32 GB $1.20, Large 32/64 GB $2.40, XLarge 64/128 GB $4.80.
- The docs list slightly lower prices ($0.0743 per hour for Pico, $0.1486 for Nano) and describe Pico as 2 cores / 1 GB; we use the pricing page.
- CodeSandbox states RAM in GB and GiB in different places; we treat them as GiB.
- Billing uses minutes as the smallest unit: 3 minutes 25 seconds bills as 4 minutes.
- Build plan's 400 credits are worth $6 at $0.015 per credit (our conversion). Scale's included credits are stated inconsistently (160 hours vs 1,100 credits), so we show no included dollar amount.
- Session length is unlimited on every plan. Enterprise offers VMs up to 64 vCPU / 128 GiB, bulk credit discounts and dedicated clusters.
- Storage pricing beyond the 20 GB per VM is not stated. Network controls and GPU support are not described on the pages checked.
Price history
List price per month over timeNo change since 2026-11-13
No price change found since we started tracking on 2026-11-13. We check every pricing page daily.
Cheaper or better-fit CodeSandbox alternatives →
Sources
- https://codesandbox.io/pricing, checked 2026-11-14:
VM credits are only used on VM Sandboxes to translate virtual machine (VM) runtime per hour into precise costs. They are priced at $0.015 each.
- https://codesandbox.io/pricing, checked 2026-11-14:
priced at $0.15 per hour
- https://codesandbox.io/pricing, checked 2026-11-14:
160 hours of monthly VM credits
- https://codesandbox.io/pricing, checked 2026-11-14:
Programmatically create and manage Sandboxes at scale, but limited to 10 concurrent VM Sandboxes.
- https://codesandbox.io/docs/sdk/pricing, checked 2026-11-14:
We use minutes as the smallest unit of measurement for VM credits.
- https://codesandbox.io/docs/sdk/pricing, checked 2026-11-14:
Your Scale plan includes 1100 free VM credits each month
- https://codesandbox.io/docs/learn/credit-usage/credits, checked 2026-11-14:
A workspace on the free plan gets 400 credits per month.
- https://codesandbox.io/docs/learn/vm-sandboxes/overview, checked 2026-11-14:
You can fork VM Sandbox within 2 seconds and continue with an exact clone of the microVM.
- https://codesandbox.io/docs/learn/vm-sandboxes/overview, checked 2026-11-14:
VM Sandboxes run VMs and leverage our memory snapshotting to spin up an environment in 1.5 seconds.