Anthropic Code Execution vs Prime Sandboxes

Anthropic Code Execution costs $0.05 per vCPU-hour and Prime Sandboxes costs $0.02 per vCPU-hour. Anthropic Code Execution runs containers. Prime Sandboxes runs microVMs and has no session limit.

Updated

Anthropic Code Execution

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

Prime Sandboxes

Isolation
MicroVM
Free tier
Not listed
Max session
No limit

What is different

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

Anthropic Code Execution
Prime Sandboxes
vCPU, per hour
Anthropic Code Execution: $0.05
Prime Sandboxes: $0.02
RAM, per GiB-hour
Anthropic Code Execution: Included
Prime Sandboxes: $0.0125
Billing
Anthropic Code Execution: Bundled machine time
Prime Sandboxes: Per second
Largest sandbox
Anthropic Code Execution: 1 vCPU · 5 GiB
Prime Sandboxes: 16 vCPU · 64 GiB
Isolation
Anthropic Code Execution: Container
Prime Sandboxes: MicroVM
SDKs
Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
Prime Sandboxes: Python

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Anthropic Code Execution: $0.05
Prime Sandboxes: $0.02
RAM, per GiB-hour
Anthropic Code Execution: Included
Prime Sandboxes: $0.0125
Storage
Anthropic Code Execution: Not listed
Prime Sandboxes: $0.0002 per GiB-hour
Free tier
Anthropic Code Execution: 1,550 free hours per month
Prime Sandboxes: Not listed
Paid plan from
Anthropic Code Execution: Not listed
Prime Sandboxes: Pay as you go
Billing
Anthropic Code Execution: Bundled machine time
Prime Sandboxes: Per second

Limits

Max session
Anthropic Code Execution: Not listed
Prime Sandboxes: No limit
Idle stop
Anthropic Code Execution: Not listed
Prime Sandboxes: Not listed
Largest sandbox
Anthropic Code Execution: 1 vCPU · 5 GiB
Prime Sandboxes: 16 vCPU · 64 GiB
Concurrent sandboxes
Anthropic Code Execution: Not listed
Prime Sandboxes: Up to 1,024

Platform

Isolation
Anthropic Code Execution: Container
Prime Sandboxes: MicroVM
GPU
Anthropic Code Execution: Not listed
Prime Sandboxes: Not listed
Snapshots
Anthropic Code Execution: Not listed
Prime Sandboxes:
Pause and resume
Anthropic Code Execution:
Prime Sandboxes: Not listed

Developer

SDKs
Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
Prime Sandboxes: Python
Integrations
Anthropic Code Execution: Not listed
Prime Sandboxes: Not listed

Trust

License
Anthropic Code Execution: Not listed
Prime Sandboxes: Not listed
BYOC
Anthropic Code Execution: Not listed
Prime Sandboxes: Not listed

Hourly cost

One sandbox running for one hour

Anthropic Code Execution
Prime Sandboxes
1 vCPU · 2 GiB
Anthropic Code Execution: $0.050
Prime Sandboxes: $0.045
2 vCPU · 4 GiB
Anthropic Code Execution: $0.100
Prime Sandboxes: $0.090
4 vCPU · 8 GiB
Anthropic Code Execution: $0.200
Prime Sandboxes: $0.180

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Anthropic Code Execution fits when

  • You need pause and resume.

Prime Sandboxes fits when

  • You want each sandbox in its own microVM.
  • You want the lower list price: $0.090 against $0.100 an hour for 2 vCPU and 4 GiB.
  • You need snapshots.
  • You need a sandbox larger than 1 vCPU · 5 GiB.

More comparisons

See all comparisons

Related