Cloudflare Sandbox vs Shellbox

Cloudflare Sandbox costs $0.072 per vCPU-hour and Shellbox costs $0.01 per vCPU-hour. Cloudflare Sandbox runs Firecracker microVMs. Shellbox runs Firecracker microVMs and has no session limit.

Updated

Cloudflare Sandbox

Isolation
Firecracker microVM
Free tier
None
Max session
Not listed

Shellbox

Isolation
Firecracker microVM
Free tier
Not listed
Max session
No limit

What is different

7 fields differ. The rest are the same or not listed.

Cloudflare Sandbox
Shellbox
vCPU, per hour
Cloudflare Sandbox: $0.072
Shellbox: $0.01
RAM, per GiB-hour
Cloudflare Sandbox: $0.009
Shellbox: Included
Storage
Cloudflare Sandbox: $0.000252 per GiB-hour
Shellbox: A stopped box costs $0.50 per x1 slot per month
Paid plan from
Cloudflare Sandbox: $5 / month
Shellbox: Pay as you go
Billing
Cloudflare Sandbox: Active CPU time only
Shellbox: Bundled machine time
Largest sandbox
Cloudflare Sandbox: 4 vCPU · 12 GiB
Shellbox: 16 vCPU · 32 GiB
Integrations
Cloudflare Sandbox: Claude Code, OpenAI Agents SDK
Shellbox: Claude Code

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Cloudflare Sandbox: $0.072
Shellbox: $0.01
RAM, per GiB-hour
Cloudflare Sandbox: $0.009
Shellbox: Included
Storage
Cloudflare Sandbox: $0.000252 per GiB-hour
Shellbox: A stopped box costs $0.50 per x1 slot per month
Free tier
Cloudflare Sandbox: None
Shellbox: Not listed
Paid plan from
Cloudflare Sandbox: $5 / month
Shellbox: Pay as you go
Billing
Cloudflare Sandbox: Active CPU time only
Shellbox: Bundled machine time

Limits

Max session
Cloudflare Sandbox: Not listed
Shellbox: No limit
Idle stop
Cloudflare Sandbox: Not listed
Shellbox: After 2 minutes
Largest sandbox
Cloudflare Sandbox: 4 vCPU · 12 GiB
Shellbox: 16 vCPU · 32 GiB
Concurrent sandboxes
Cloudflare Sandbox: Not listed
Shellbox: Up to 16

Platform

Isolation
Cloudflare Sandbox: Firecracker microVM
Shellbox: Firecracker microVM
GPU
Cloudflare Sandbox: Not listed
Shellbox: Not listed
Snapshots
Cloudflare Sandbox:
Shellbox:
Pause and resume
Cloudflare Sandbox: Not listed
Shellbox:

Developer

SDKs
Cloudflare Sandbox: TypeScript
Shellbox: Not listed
Integrations
Cloudflare Sandbox: Claude Code, OpenAI Agents SDK
Shellbox: Claude Code

Trust

License
Cloudflare Sandbox: Not listed
Shellbox: Not listed
BYOC
Cloudflare Sandbox: Not listed
Shellbox: Not listed

Hourly cost

One sandbox running for one hour

Cloudflare Sandbox
Shellbox
1 vCPU · 2 GiB
Cloudflare Sandbox: $0.090
Shellbox: $0.010
2 vCPU · 4 GiB
Cloudflare Sandbox: $0.180
Shellbox: $0.020
4 vCPU · 8 GiB
Cloudflare Sandbox: $0.360
Shellbox: $0.040

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Cloudflare Sandbox fits when

  • You use the OpenAI Agents SDK.
  • Your code waits a lot: CPU is billed only while it is in use.

Shellbox fits when

  • You want to pay only for usage, with no plan fee.
  • You want the lower list price: $0.020 against $0.180 an hour for 2 vCPU and 4 GiB.
  • You need pause and resume.
  • You need a sandbox larger than 4 vCPU · 12 GiB.

More comparisons

See all comparisons

Related