Amazon Bedrock AgentCore Code Interpreter vs Runtime

Amazon Bedrock AgentCore Code Interpreter costs $0.0895 per vCPU-hour and Runtime costs $0.025 per vCPU-hour. Amazon Bedrock AgentCore Code Interpreter runs microVMs and limits a session to 8 hours. Runtime runs Firecracker microVMs and has no session limit.

Updated

Amazon Bedrock AgentCore Code Interpreter

Isolation
MicroVM
Free tier
Not listed
Max session
8 hours

Runtime

Isolation
Firecracker microVM
Free tier
100 hours of a 1 GB machine in the first 30 days
Max session
No limit

What is different

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

Amazon Bedrock AgentCore Code Interpreter
Runtime
vCPU, per hour
Amazon Bedrock AgentCore Code Interpreter: $0.0895
Runtime: $0.025
RAM, per GiB-hour
Amazon Bedrock AgentCore Code Interpreter: $0.00945
Runtime: $0.0075
Max session
Amazon Bedrock AgentCore Code Interpreter: 8 hours
Runtime: No limit
Largest sandbox
Amazon Bedrock AgentCore Code Interpreter: 2 vCPU · 8 GiB
Runtime: 16 vCPU · 64 GiB
Concurrent sandboxes
Amazon Bedrock AgentCore Code Interpreter: Up to 1,000
Runtime: Up to 200
Isolation
Amazon Bedrock AgentCore Code Interpreter: MicroVM
Runtime: Firecracker microVM
SDKs
Amazon Bedrock AgentCore Code Interpreter: Python
Runtime: JavaScript / TypeScript, Python, Go, Ruby, Java
Integrations
Amazon Bedrock AgentCore Code Interpreter: LangChain
Runtime: OpenAI Agents SDK, Vercel AI SDK, Claude Agent SDK, LangChain, MCP, Claude Code

Full comparison

18 fields, at each provider's list price

Pricing

vCPU, per hour
Amazon Bedrock AgentCore Code Interpreter: $0.0895
Runtime: $0.025
RAM, per GiB-hour
Amazon Bedrock AgentCore Code Interpreter: $0.00945
Runtime: $0.0075
Storage
Amazon Bedrock AgentCore Code Interpreter: Not listed
Runtime: $0.000119 per GiB-hour after 10 free GiB
Free tier
Amazon Bedrock AgentCore Code Interpreter: Not listed
Runtime: 100 hours of a 1 GB machine in the first 30 days
Paid plan from
Amazon Bedrock AgentCore Code Interpreter: Not listed
Runtime: Pay as you go
Billing
Amazon Bedrock AgentCore Code Interpreter: Active CPU time only
Runtime: Active CPU time only

Limits

Max session
Amazon Bedrock AgentCore Code Interpreter: 8 hours
Runtime: No limit
Idle stop
Amazon Bedrock AgentCore Code Interpreter: Not listed
Runtime: After 5 minutes
Largest sandbox
Amazon Bedrock AgentCore Code Interpreter: 2 vCPU · 8 GiB
Runtime: 16 vCPU · 64 GiB
Concurrent sandboxes
Amazon Bedrock AgentCore Code Interpreter: Up to 1,000
Runtime: Up to 200

Platform

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

Developer

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

Trust

License
Amazon Bedrock AgentCore Code Interpreter: Not listed
Runtime: Not listed
BYOC
Amazon Bedrock AgentCore Code Interpreter: Not listed
Runtime: Not listed

Hourly cost

One sandbox running for one hour

Amazon Bedrock AgentCore Code Interpreter
Runtime
1 vCPU · 2 GiB
Amazon Bedrock AgentCore Code Interpreter: $0.108
Runtime: $0.040
2 vCPU · 4 GiB
Amazon Bedrock AgentCore Code Interpreter: $0.217
Runtime: $0.080
4 vCPU · 8 GiB
Amazon Bedrock AgentCore Code Interpreter: $0.434
Runtime: $0.160

Compute only, at list rates.

Open the calculator

Which one fits

Based on the fields above

Amazon Bedrock AgentCore Code Interpreter fits when

  • You need SOC 2, HIPAA and ISO 27001.

Runtime fits when

  • A session must run longer than 8 hours.
  • You use the OpenAI Agents SDK, the Vercel AI SDK, the Claude Agent SDK, MCP or Claude Code.
  • You want the lower list price: $0.080 against $0.217 an hour for 2 vCPU and 4 GiB.
  • You need snapshots.

More comparisons

See all comparisons

Related