Amazon Bedrock AgentCore Runtime vs E2B

Amazon Bedrock AgentCore Runtime costs $0.0895 per vCPU-hour and E2B costs $0.0504 per vCPU-hour. Amazon Bedrock AgentCore Runtime runs microVMs and limits a session to 8 hours. E2B runs Firecracker microVMs and limits a session to 24 hours.

Updated

Amazon Bedrock AgentCore Runtime

Isolation
MicroVM
Free tier
Not listed
Max session
8 hours

E2B

Isolation
Firecracker microVM
Free tier
$100 credit, one time
Max session
24 hours

What is different

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

Amazon Bedrock AgentCore Runtime
E2B
vCPU, per hour
Amazon Bedrock AgentCore Runtime: $0.0895
E2B: $0.0504
RAM, per GiB-hour
Amazon Bedrock AgentCore Runtime: $0.00945
E2B: $0.0162
Storage
Amazon Bedrock AgentCore Runtime: Session storage is free during preview. Code storage is billed at Amazon ECR or S3 rates
E2B: Free
Paid plan from
Amazon Bedrock AgentCore Runtime: Pay as you go
E2B: $150 / month
Billing
Amazon Bedrock AgentCore Runtime: Active CPU time only
E2B: Per second
Max session
Amazon Bedrock AgentCore Runtime: 8 hours
E2B: 24 hours
Largest sandbox
Amazon Bedrock AgentCore Runtime: 2 vCPU · 8 GiB
E2B: 8 vCPU · 8 GiB
Concurrent sandboxes
Amazon Bedrock AgentCore Runtime: Up to 5,000
E2B: Up to 100
Isolation
Amazon Bedrock AgentCore Runtime: MicroVM
E2B: Firecracker microVM
SDKs
Amazon Bedrock AgentCore Runtime: Python, TypeScript
E2B: Python, JavaScript / TypeScript
Integrations
Amazon Bedrock AgentCore Runtime: Claude Agent SDK, LangChain, MCP, OpenAI Agents SDK
E2B: LangChain, OpenAI Agents SDK, Vercel AI SDK, MCP, Claude Code

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Amazon Bedrock AgentCore Runtime: $0.0895
E2B: $0.0504
RAM, per GiB-hour
Amazon Bedrock AgentCore Runtime: $0.00945
E2B: $0.0162
Storage
Amazon Bedrock AgentCore Runtime: Session storage is free during preview. Code storage is billed at Amazon ECR or S3 rates
E2B: Free
Free tier
Amazon Bedrock AgentCore Runtime: Not listed
E2B: $100 credit, one time
Paid plan from
Amazon Bedrock AgentCore Runtime: Pay as you go
E2B: $150 / month
Billing
Amazon Bedrock AgentCore Runtime: Active CPU time only
E2B: Per second

Limits

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

Platform

Isolation
Amazon Bedrock AgentCore Runtime: MicroVM
E2B: Firecracker microVM
GPU
Amazon Bedrock AgentCore Runtime: Not listed
E2B: No
Snapshots
Amazon Bedrock AgentCore Runtime: Not listed
E2B:
Pause and resume
Amazon Bedrock AgentCore Runtime:
E2B:

Developer

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

Trust

License
Amazon Bedrock AgentCore Runtime: Not listed
E2B: Apache-2.0
BYOC
Amazon Bedrock AgentCore Runtime: Not listed
E2B: Enterprise plan

Hourly cost

One sandbox running for one hour

Amazon Bedrock AgentCore Runtime
E2B
1 vCPU · 2 GiB
Amazon Bedrock AgentCore Runtime: $0.108
E2B: $0.083
2 vCPU · 4 GiB
Amazon Bedrock AgentCore Runtime: $0.217
E2B: $0.166
4 vCPU · 8 GiB
Amazon Bedrock AgentCore Runtime: $0.434
E2B: $0.331

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Amazon Bedrock AgentCore Runtime fits when

  • You want to pay only for usage, with no plan fee.
  • You use the Claude Agent SDK.
  • Your code waits a lot: CPU is billed only while it is in use.
  • You need SOC 2 and ISO 27001.

E2B fits when

  • A session must run longer than 8 hours.
  • You want an open-source platform (Apache-2.0) that you can self-host.
  • You use the Vercel AI SDK or Claude Code.
  • You want the lower list price: $0.166 against $0.217 an hour for 2 vCPU and 4 GiB.

More comparisons

See all comparisons

Related