Anthropic Code Execution vs StateSet Sandbox

Anthropic Code Execution costs $0.05 per vCPU-hour and StateSet Sandbox costs $0.0055 per vCPU-hour. Anthropic Code Execution runs containers. StateSet Sandbox runs gVisor and limits a session to 24 hours.

Updated

Anthropic Code Execution

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

StateSet Sandbox

Isolation
gVisor
Free tier
$25 trial credit, no card
Max session
24 hours

What is different

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

Anthropic Code Execution
StateSet Sandbox
vCPU, per hour
Anthropic Code Execution: $0.05
StateSet Sandbox: $0.0055
RAM, per GiB-hour
Anthropic Code Execution: Included
StateSet Sandbox: $0.00075
Free tier
Anthropic Code Execution: 1,550 free hours per month
StateSet Sandbox: $25 trial credit, no card
Billing
Anthropic Code Execution: Bundled machine time
StateSet Sandbox: Per second
Isolation
Anthropic Code Execution: Container
StateSet Sandbox: gVisor
SDKs
Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
StateSet Sandbox: Python, JavaScript / TypeScript

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Anthropic Code Execution: $0.05
StateSet Sandbox: $0.0055
RAM, per GiB-hour
Anthropic Code Execution: Included
StateSet Sandbox: $0.00075
Storage
Anthropic Code Execution: Not listed
StateSet Sandbox: Not listed
Free tier
Anthropic Code Execution: 1,550 free hours per month
StateSet Sandbox: $25 trial credit, no card
Paid plan from
Anthropic Code Execution: Not listed
StateSet Sandbox: Pay as you go
Billing
Anthropic Code Execution: Bundled machine time
StateSet Sandbox: Per second

Limits

Max session
Anthropic Code Execution: Not listed
StateSet Sandbox: 24 hours
Idle stop
Anthropic Code Execution: Not listed
StateSet Sandbox: Not listed
Largest sandbox
Anthropic Code Execution: 1 vCPU · 5 GiB
StateSet Sandbox: Not listed
Concurrent sandboxes
Anthropic Code Execution: Not listed
StateSet Sandbox: Up to 200

Platform

Isolation
Anthropic Code Execution: Container
StateSet Sandbox: gVisor
GPU
Anthropic Code Execution: Not listed
StateSet Sandbox: Not listed
Snapshots
Anthropic Code Execution: Not listed
StateSet Sandbox:
Pause and resume
Anthropic Code Execution:
StateSet Sandbox:

Developer

SDKs
Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
StateSet Sandbox: Python, JavaScript / TypeScript
Integrations
Anthropic Code Execution: Not listed
StateSet Sandbox: Claude Code, MCP

Trust

License
Anthropic Code Execution: Not listed
StateSet Sandbox: Not listed
BYOC
Anthropic Code Execution: Not listed
StateSet Sandbox: Not listed

Hourly cost

One sandbox running for one hour

Anthropic Code Execution
StateSet Sandbox
1 vCPU · 2 GiB
Anthropic Code Execution: $0.050
StateSet Sandbox: $0.007
2 vCPU · 4 GiB
Anthropic Code Execution: $0.100
StateSet Sandbox: $0.014
4 vCPU · 8 GiB
Anthropic Code Execution: $0.200
StateSet Sandbox: $0.028

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Anthropic Code Execution fits when

  • You need SOC 2 Type II and ISO 27001.

StateSet Sandbox fits when

  • You use Claude Code or MCP.
  • You want the lower list price: $0.014 against $0.100 an hour for 2 vCPU and 4 GiB.
  • You need snapshots.

More comparisons

See all comparisons

Related