Amazon Bedrock AgentCore Runtime vs Docker Sandboxes

Amazon Bedrock AgentCore Runtime costs $0.0895 per vCPU-hour and Docker Sandboxes costs $0.07 per vCPU-hour. Amazon Bedrock AgentCore Runtime runs microVMs and limits a session to 8 hours. Docker Sandboxes runs microVMs and limits a session to 24 hours.

Updated

Amazon Bedrock AgentCore Runtime

Isolation
MicroVM
Free tier
Not listed
Max session
8 hours

Docker Sandboxes

Isolation
MicroVM
Free tier
$25 credit, one time
Max session
24 hours

What is different

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

Amazon Bedrock AgentCore Runtime
Docker Sandboxes
vCPU, per hour
Amazon Bedrock AgentCore Runtime: $0.0895
Docker Sandboxes: $0.07
RAM, per GiB-hour
Amazon Bedrock AgentCore Runtime: $0.00945
Docker Sandboxes: Included
Storage
Amazon Bedrock AgentCore Runtime: Session storage is free during preview. Code storage is billed at Amazon ECR or S3 rates
Docker Sandboxes: Free
Billing
Amazon Bedrock AgentCore Runtime: Active CPU time only
Docker Sandboxes: Bundled machine time
Max session
Amazon Bedrock AgentCore Runtime: 8 hours
Docker Sandboxes: 24 hours
Largest sandbox
Amazon Bedrock AgentCore Runtime: 2 vCPU · 8 GiB
Docker Sandboxes: 16 vCPU · 32 GiB
Concurrent sandboxes
Amazon Bedrock AgentCore Runtime: Up to 5,000
Docker Sandboxes: Up to 10
SDKs
Amazon Bedrock AgentCore Runtime: Python, TypeScript
Docker Sandboxes: JavaScript / TypeScript
Integrations
Amazon Bedrock AgentCore Runtime: Claude Agent SDK, LangChain, MCP, OpenAI Agents SDK
Docker Sandboxes: MCP, Claude Code

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Amazon Bedrock AgentCore Runtime: $0.0895
Docker Sandboxes: $0.07
RAM, per GiB-hour
Amazon Bedrock AgentCore Runtime: $0.00945
Docker Sandboxes: Included
Storage
Amazon Bedrock AgentCore Runtime: Session storage is free during preview. Code storage is billed at Amazon ECR or S3 rates
Docker Sandboxes: Free
Free tier
Amazon Bedrock AgentCore Runtime: Not listed
Docker Sandboxes: $25 credit, one time
Paid plan from
Amazon Bedrock AgentCore Runtime: Pay as you go
Docker Sandboxes: Pay as you go
Billing
Amazon Bedrock AgentCore Runtime: Active CPU time only
Docker Sandboxes: Bundled machine time

Limits

Max session
Amazon Bedrock AgentCore Runtime: 8 hours
Docker Sandboxes: 24 hours
Idle stop
Amazon Bedrock AgentCore Runtime: After 15 minutes
Docker Sandboxes: Not listed
Largest sandbox
Amazon Bedrock AgentCore Runtime: 2 vCPU · 8 GiB
Docker Sandboxes: 16 vCPU · 32 GiB
Concurrent sandboxes
Amazon Bedrock AgentCore Runtime: Up to 5,000
Docker Sandboxes: Up to 10

Platform

Isolation
Amazon Bedrock AgentCore Runtime: MicroVM
Docker Sandboxes: MicroVM
GPU
Amazon Bedrock AgentCore Runtime: Not listed
Docker Sandboxes: Not listed
Snapshots
Amazon Bedrock AgentCore Runtime: Not listed
Docker Sandboxes:
Pause and resume
Amazon Bedrock AgentCore Runtime:
Docker Sandboxes:

Developer

SDKs
Amazon Bedrock AgentCore Runtime: Python, TypeScript
Docker Sandboxes: JavaScript / TypeScript
Integrations
Amazon Bedrock AgentCore Runtime: Claude Agent SDK, LangChain, MCP, OpenAI Agents SDK
Docker Sandboxes: MCP, Claude Code

Trust

License
Amazon Bedrock AgentCore Runtime: Not listed
Docker Sandboxes: Not listed
BYOC
Amazon Bedrock AgentCore Runtime: Not listed
Docker Sandboxes: Not listed

Hourly cost

One sandbox running for one hour

Amazon Bedrock AgentCore Runtime
Docker Sandboxes
1 vCPU · 2 GiB
Amazon Bedrock AgentCore Runtime: $0.108
Docker Sandboxes: $0.070
2 vCPU · 4 GiB
Amazon Bedrock AgentCore Runtime: $0.217
Docker Sandboxes: $0.140
4 vCPU · 8 GiB
Amazon Bedrock AgentCore Runtime: $0.434
Docker Sandboxes: $0.280

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Amazon Bedrock AgentCore Runtime fits when

  • You use the Claude Agent SDK, LangChain or the OpenAI Agents SDK.
  • Your code waits a lot: CPU is billed only while it is in use.
  • You need SOC 2 and HIPAA.

Docker Sandboxes fits when

  • A session must run longer than 8 hours.
  • You use Claude Code.
  • You want the lower list price: $0.140 against $0.217 an hour for 2 vCPU and 4 GiB.
  • You need snapshots.

More comparisons

See all comparisons

Related