Anthropic Code Execution vs Caged

Anthropic Code Execution costs $0.05 per vCPU-hour and Caged costs $0.06 per vCPU-hour. Anthropic Code Execution runs containers. Caged runs Firecracker microVMs and limits a session to 4 hours.

Updated

Anthropic Code Execution

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

Caged

Isolation
Firecracker microVM
Free tier
Free plan, 5 sandboxes a day
Max session
4 hours

What is different

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

Anthropic Code Execution
Caged
vCPU, per hour
Anthropic Code Execution: $0.05
Caged: $0.06
Free tier
Anthropic Code Execution: 1,550 free hours per month
Caged: Free plan, 5 sandboxes a day
Largest sandbox
Anthropic Code Execution: 1 vCPU · 5 GiB
Caged: 8 vCPU · 8 GiB
Isolation
Anthropic Code Execution: Container
Caged: Firecracker microVM

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Anthropic Code Execution: $0.05
Caged: $0.06
RAM, per GiB-hour
Anthropic Code Execution: Included
Caged: Included
Storage
Anthropic Code Execution: Not listed
Caged: Free
Free tier
Anthropic Code Execution: 1,550 free hours per month
Caged: Free plan, 5 sandboxes a day
Paid plan from
Anthropic Code Execution: Not listed
Caged: $29 / month
Billing
Anthropic Code Execution: Bundled machine time
Caged: Bundled machine time

Limits

Max session
Anthropic Code Execution: Not listed
Caged: 4 hours
Idle stop
Anthropic Code Execution: Not listed
Caged: Not listed
Largest sandbox
Anthropic Code Execution: 1 vCPU · 5 GiB
Caged: 8 vCPU · 8 GiB
Concurrent sandboxes
Anthropic Code Execution: Not listed
Caged: Up to 5

Platform

Isolation
Anthropic Code Execution: Container
Caged: Firecracker microVM
GPU
Anthropic Code Execution: Not listed
Caged: Not listed
Snapshots
Anthropic Code Execution: Not listed
Caged: Not listed
Pause and resume
Anthropic Code Execution:
Caged: Not listed

Developer

SDKs
Anthropic Code Execution: Python, TypeScript, Go, Java, Ruby
Caged: Not listed
Integrations
Anthropic Code Execution: Not listed
Caged: MCP, Claude Code

Trust

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

Hourly cost

One sandbox running for one hour

Anthropic Code Execution
Caged
1 vCPU · 2 GiB
Anthropic Code Execution: $0.050
Caged: $0.060
2 vCPU · 4 GiB
Anthropic Code Execution: $0.100
Caged: $0.120
4 vCPU · 8 GiB
Anthropic Code Execution: $0.200
Caged: $0.240

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Anthropic Code Execution fits when

  • You want the lower list price: $0.100 against $0.120 an hour for 2 vCPU and 4 GiB.
  • You need pause and resume.

Caged fits when

  • You want each sandbox in its own microVM.
  • You use MCP or Claude Code.
  • You need a sandbox larger than 1 vCPU · 5 GiB.

More comparisons

See all comparisons

Related