Amazon Bedrock AgentCore Code Interpreter

AWS's managed code-execution tool for agents, with pre-built Python, JavaScript and TypeScript runtimes, S3 access and CloudTrail logging. For teams building agents on AWS.

vCPU
$0.0895/vCPU-hr (source: Amazon Bedrock AgentCore Pricing)
Memory
$0.0095/GiB-hr (source: Amazon Bedrock AgentCore Pricing)
2 vCPU + 4 GiB
$0.217/hr 1.31x E2B
Isolation
microVM
Pause / resume
Not published
Max session
15 min default, extendable to 8 h

Visit Amazon Bedrock AgentCore Code Interpreter Compare side by side Request a quote Checked

Before you buy

The AgentCore pricing page bills “from microVM boot”; the developer guide calls the runtime containerized. This page lists microVM, per the pricing page. Source, seen 9 Nov 2026.

Priced next to Amazon Bedrock AgentCore Code Interpreter

All providers against E2B
Provider2 vCPU + 4 GiB$/hrvs E2BRelative costIsolation
Upstash Box $0.200 (source: Upstash Box pricing) 1.21x container
Google Agent Platform Code Execution $0.206 (source: Google Cloud Agent Platform pricing) 1.24x —
Amazon Bedrock AgentCore Code Interpreter $0.217 (source: Amazon Bedrock AgentCore Pricing) 1.31x microVM
Modal Sandboxes $0.238 (source: Modal Pricing) 1.44x gVisor
Runloop $0.317 (source: Runloop Pricing) 1.91x VM

Every field

Source on each value
Isolation Isolation technology the vendor states for each sandbox.
microVM (source: Amazon Bedrock AgentCore Pricing)
Other isolation options Alternative runtimes the vendor offers besides the default (e.g. VM runtime, gVisor for GPU).
Not published
Deployment Managed cloud service, self-hosted software, or both.
managed (source: Amazon Bedrock AgentCore Pricing)
Billing basis What the meter counts: wall-clock allocated resources, active CPU only, requests/plan quota, session-hours, or free software.
active CPU (source: Amazon Bedrock AgentCore Pricing)
vCPU price $/vCPU-hr Published on-demand CPU rate normalised to USD per vCPU-hour (per-second rates multiplied by 3,600; per-core rates divided by vCPUs per core where the vendor defines it). Lowest public tier, default region.
$0.0895 (source: Amazon Bedrock AgentCore Pricing)
Memory price $/GiB-hr Published memory rate normalised to USD per GiB-hour (GB treated as GiB where the vendor does not distinguish). 0 means the vendor states memory is free.
$0.0095 (source: Amazon Bedrock AgentCore Pricing)
Sandbox from $/sandbox-hr Smallest published per-sandbox hourly price, where the vendor publishes one.
Not published
Paid plan from $/mo Cheapest paid platform plan fee (before usage).
Not published
Free tier A free plan, free monthly allowance or sign-up credit exists.
Yes (source: Amazon Bedrock AgentCore Pricing)
Free tier detail What the free tier or credit includes, as published.
General AWS Free Tier: up to $200 credits for new AWS customers (not Code Interpreter-specific). (source: Amazon Bedrock AgentCore Pricing)
Cold start ms Vendor-published create/boot time in milliseconds. Only filled when the vendor publishes a number; see startup_claim for context (percentile, conditions).
Not published
Resume time ms Vendor-published resume-from-pause/standby/snapshot time in milliseconds.
Not published
Startup claim The vendor's startup/resume wording with conditions, quoted or closely paraphrased.
Not published
Max session length Longest single sandbox session by plan, as published.
15 min default, extendable to 8 h (source: Amazon Bedrock AgentCore Pricing)
Persistence / snapshots Filesystem state can be kept between runs (snapshots, persistent disks, volumes).
Not published
Pause / resume A sandbox can be paused, suspended, hibernated or put in standby and resumed later.
Not published
Memory state kept Pause/hibernate preserves running memory state, not only the filesystem.
Not published
Fork / branch A running or snapshotted sandbox can be cloned into new sandboxes.
Not published
GPU GPU sandboxes are offered.
Not published
Self-host Can run on your own hardware or cluster (open source or licensed).
Not published
BYOC / VPC Vendor-managed deployment inside your own cloud account.
Not published
Open source Core sandbox runtime is published under an open-source licence.
Not published
Licence Open-source licence of the runtime, if any.
Not published
SDKs / languages Official SDK languages (or supported execution languages where noted).
Executes Python, JavaScript, TypeScript (source: Amazon Bedrock AgentCore Pricing)
Regions Published regions or region count.
Not published
Max vCPU per sandbox vCPU Largest published vCPU count per sandbox on any self-serve or enterprise plan.
Not published
Max memory per sandbox GiB Largest published memory per sandbox.
Not published
Concurrency Published concurrent sandbox limits by plan.
Not published
SOC 2 SOC 2 status as stated by the vendor.
Not published
HIPAA Vendor offers HIPAA-compliant usage/BAA (on any plan).
Not published
Pricing from
$0.0895 per vCPU-hour
Pricing as published
$0.0895/vCPU-h on actual CPU consumption and $0.00945/GB-h on peak memory, billed per second from microVM boot to session termination (I/O wait and idle are free when no background process runs). Files up to 100 MB inline, 5 GB via S3. Pricing checked 2026-11-09.

Sources

  1. Amazon Bedrock AgentCore Pricing accessed 2026-11-09
  2. AgentCore Code Interpreter developer guide accessed 2026-11-09

Get pricing from Amazon Bedrock AgentCore Code Interpreter and two close alternatives

Tell us what you need once. We send it to matching providers and they reply to you directly.

Quote requests open shortly. To get in first, email hello@sandboxproviders.com.