Amazon Bedrock AgentCore Code Interpreter vs Sandbox as a Service

Amazon Bedrock AgentCore Code Interpreter costs $0.0895 per vCPU-hour and Sandbox as a Service costs $0.045 per vCPU-hour. Amazon Bedrock AgentCore Code Interpreter runs microVMs and limits a session to 8 hours. Sandbox as a Service runs full VMs and limits a session to 24 hours.

Updated

Amazon Bedrock AgentCore Code Interpreter

Isolation
MicroVM
Free tier
Not listed
Max session
8 hours

Sandbox as a Service

Isolation
Full VM
Free tier
$5 credit
Max session
24 hours

What is different

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

Amazon Bedrock AgentCore Code Interpreter
Sandbox as a Service
vCPU, per hour
Amazon Bedrock AgentCore Code Interpreter: $0.0895
Sandbox as a Service: $0.045
RAM, per GiB-hour
Amazon Bedrock AgentCore Code Interpreter: $0.00945
Sandbox as a Service: Included
Billing
Amazon Bedrock AgentCore Code Interpreter: Active CPU time only
Sandbox as a Service: Bundled machine time
Max session
Amazon Bedrock AgentCore Code Interpreter: 8 hours
Sandbox as a Service: 24 hours
Largest sandbox
Amazon Bedrock AgentCore Code Interpreter: 2 vCPU · 8 GiB
Sandbox as a Service: 8 vCPU · 16 GiB
Concurrent sandboxes
Amazon Bedrock AgentCore Code Interpreter: Up to 1,000
Sandbox as a Service: Up to 20
Isolation
Amazon Bedrock AgentCore Code Interpreter: MicroVM
Sandbox as a Service: Full VM
SDKs
Amazon Bedrock AgentCore Code Interpreter: Python
Sandbox as a Service: Python, JavaScript / TypeScript
Integrations
Amazon Bedrock AgentCore Code Interpreter: LangChain
Sandbox as a Service: MCP

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Amazon Bedrock AgentCore Code Interpreter: $0.0895
Sandbox as a Service: $0.045
RAM, per GiB-hour
Amazon Bedrock AgentCore Code Interpreter: $0.00945
Sandbox as a Service: Included
Storage
Amazon Bedrock AgentCore Code Interpreter: Not listed
Sandbox as a Service: Not listed
Free tier
Amazon Bedrock AgentCore Code Interpreter: Not listed
Sandbox as a Service: $5 credit
Paid plan from
Amazon Bedrock AgentCore Code Interpreter: Not listed
Sandbox as a Service: Pay as you go
Billing
Amazon Bedrock AgentCore Code Interpreter: Active CPU time only
Sandbox as a Service: Bundled machine time

Limits

Max session
Amazon Bedrock AgentCore Code Interpreter: 8 hours
Sandbox as a Service: 24 hours
Idle stop
Amazon Bedrock AgentCore Code Interpreter: Not listed
Sandbox as a Service: Not listed
Largest sandbox
Amazon Bedrock AgentCore Code Interpreter: 2 vCPU · 8 GiB
Sandbox as a Service: 8 vCPU · 16 GiB
Concurrent sandboxes
Amazon Bedrock AgentCore Code Interpreter: Up to 1,000
Sandbox as a Service: Up to 20

Platform

Isolation
Amazon Bedrock AgentCore Code Interpreter: MicroVM
Sandbox as a Service: Full VM
GPU
Amazon Bedrock AgentCore Code Interpreter: Not listed
Sandbox as a Service: Not listed
Snapshots
Amazon Bedrock AgentCore Code Interpreter: Not listed
Sandbox as a Service:
Pause and resume
Amazon Bedrock AgentCore Code Interpreter: Not listed
Sandbox as a Service: Not listed

Developer

SDKs
Amazon Bedrock AgentCore Code Interpreter: Python
Sandbox as a Service: Python, JavaScript / TypeScript
Integrations
Amazon Bedrock AgentCore Code Interpreter: LangChain
Sandbox as a Service: MCP

Trust

License
Amazon Bedrock AgentCore Code Interpreter: Not listed
Sandbox as a Service: Not listed
BYOC
Amazon Bedrock AgentCore Code Interpreter: Not listed
Sandbox as a Service: Not listed

Hourly cost

One sandbox running for one hour

Amazon Bedrock AgentCore Code Interpreter
Sandbox as a Service
1 vCPU · 2 GiB
Amazon Bedrock AgentCore Code Interpreter: $0.108
Sandbox as a Service: $0.045
2 vCPU · 4 GiB
Amazon Bedrock AgentCore Code Interpreter: $0.217
Sandbox as a Service: $0.090
4 vCPU · 8 GiB
Amazon Bedrock AgentCore Code Interpreter: $0.434
Sandbox as a Service: $0.180

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Amazon Bedrock AgentCore Code Interpreter fits when

  • You want each sandbox in its own microVM.
  • You use LangChain.
  • Your code waits a lot: CPU is billed only while it is in use.
  • You need SOC 2.

Sandbox as a Service fits when

  • A session must run longer than 8 hours.
  • You want each sandbox to be a full VM.
  • You use MCP.
  • You want the lower list price: $0.090 against $0.217 an hour for 2 vCPU and 4 GiB.

More comparisons

See all comparisons

Related