Anthropic Code Execution vs Sailboxes

Anthropic Code Execution costs $0.05 per vCPU-hour and Sailboxes costs $0.015 per vCPU-hour. Anthropic Code Execution runs containers. Sailboxes runs full VMs and has no session limit.

Updated

Anthropic Code Execution

Isolation
Container
Free tier
1,550 free hours per month
Max session
Not listed

Sailboxes

Isolation
Full VM
Free tier
$5 credit every month
Max session
No limit

What is different

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

Anthropic Code Execution
Sailboxes
vCPU, per hour
Anthropic Code Execution: $0.05
Sailboxes: $0.015
RAM, per GiB-hour
Anthropic Code Execution: Included
Sailboxes: $0.008
Free tier
Anthropic Code Execution: 1,550 free hours per month
Sailboxes: $5 credit every month
Billing
Anthropic Code Execution: Bundled machine time
Sailboxes: Per second
Largest sandbox
Anthropic Code Execution: 1 vCPU · 5 GiB
Sailboxes: 8 vCPU · 256 GiB
Isolation
Anthropic Code Execution: Container
Sailboxes: Full VM
SDKs
Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
Sailboxes: Python, TypeScript, Rust

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Anthropic Code Execution: $0.05
Sailboxes: $0.015
RAM, per GiB-hour
Anthropic Code Execution: Included
Sailboxes: $0.008
Storage
Anthropic Code Execution: Not listed
Sailboxes: $0.0007 per GiB-hour
Free tier
Anthropic Code Execution: 1,550 free hours per month
Sailboxes: $5 credit every month
Paid plan from
Anthropic Code Execution: Not listed
Sailboxes: Pay as you go
Billing
Anthropic Code Execution: Bundled machine time
Sailboxes: Per second

Limits

Max session
Anthropic Code Execution: Not listed
Sailboxes: No limit
Idle stop
Anthropic Code Execution: Not listed
Sailboxes: Not listed
Largest sandbox
Anthropic Code Execution: 1 vCPU · 5 GiB
Sailboxes: 8 vCPU · 256 GiB
Concurrent sandboxes
Anthropic Code Execution: Not listed
Sailboxes: Up to 5,000

Platform

Isolation
Anthropic Code Execution: Container
Sailboxes: Full VM
GPU
Anthropic Code Execution: Not listed
Sailboxes: Not listed
Snapshots
Anthropic Code Execution: Not listed
Sailboxes:
Pause and resume
Anthropic Code Execution:
Sailboxes:

Developer

SDKs
Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
Sailboxes: Python, TypeScript, Rust
Integrations
Anthropic Code Execution: Not listed
Sailboxes: Claude Code

Trust

License
Anthropic Code Execution: Not listed
Sailboxes: Not listed
BYOC
Anthropic Code Execution: Not listed
Sailboxes: Not listed

Hourly cost

One sandbox running for one hour

Anthropic Code Execution
Sailboxes
1 vCPU · 2 GiB
Anthropic Code Execution: $0.050
Sailboxes: $0.031
2 vCPU · 4 GiB
Anthropic Code Execution: $0.100
Sailboxes: $0.062
4 vCPU · 8 GiB
Anthropic Code Execution: $0.200
Sailboxes: $0.124

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Sailboxes fits when

  • You want each sandbox to be a full VM.
  • You use Claude Code.
  • You want the lower list price: $0.062 against $0.100 an hour for 2 vCPU and 4 GiB.
  • You need snapshots.

More comparisons

See all comparisons

Related