Skip to content
Providers · Plate 2

AWS Bedrock AgentCore Code Interpreter

Managed code-execution sessions for agents in Amazon Bedrock AgentCore, each in its own microVM, billed per second for CPU actually used and peak memory.

Operated by Amazon Web Services, Inc. aws.amazon.com/bedrock/agentcore/ Status: active[1] Checked 31 Oct 2026

Agent sandboxes

AgentCore Code Interpreter

Compare Agent sandboxes
Price
$0.0895 /vCPU-h
+ $0.00945 per GB-hour
1-hour session
$0.217
2 vCPU / 4 GB · rank 19 of 26
Fleet month
$1,908
50 × 8 h × 22 days
Billed on
Active CPU
per second
Isolation
unknown
sessions up to 8 h

What to know

  • Active-CPU billingOnly CPU in use is billed, so idle time costs less; the light-use column shows how much.
  • Max session 8 hA sandbox is stopped after 8 h.

Prices

AgentCore Code Interpreter: prices per resource
ResourcePricePer hour
per vCPU$0.0895 /h[1]$0.0895
per GB of memory$0.00945 /h[1]$0.00945
  • Languages are Python, JavaScript and TypeScript, with shell and AWS CLI commands; common libraries are preinstalled. Network mode is Sandbox, Public or VPC.
  • Billing runs from microVM boot to shutdown and includes system overhead. The Browser tool uses the same rates.
  • Session files are deleted when the session ends; S3 Files and EFS access points can be mounted (VPC mode) for data that must persist.
  • Hardware is fixed at up to 2 vCPU and 8 GB per session; the 1,000 concurrent sessions per account (per region) quota can be raised.
  • New AWS customers get up to $200 in account-wide Free Tier credits; there is no AgentCore-specific free tier.
  • SOC 2 per the AgentCore compliance validation page.

Terms

Billing

Payment
Metered: usage billed afterwards[1]
Plan minimum
None[1]
Billing increment
Per second[1]
Minimum charge
1 s[1]
Per-job fee
None[1]

Runtime

Billed on
Active CPU[1]
Isolation
unknown[1]Each session runs in a dedicated microVM; the hypervisor is not named (the overview page also calls it a containerized environment)
Max session
8 h[1]
Concurrent sandboxes
1,000[1]
Largest vCPU
2[1]
Largest memory
8 GB[1]

Lifecycle

Survives a stop
Nothing (ephemeral)[3]
Snapshots
No[3]
Pause and resume
No[3]
Fork
No[3]
Compute billed while stopped
unknown[3]Sessions have no paused state; inside a running session idle CPU is not charged but memory is
Auto-stop
after 15 min[3]
Start time (vendor claim)
unknown[3]Not published

Capabilities

GPU
No[4]
Desktop
None[4]
Coding agents installed
None[4]
Agent prompt API
No[4]
SSH
No[4]
Docker inside
unknown[4]Not stated in the Code Interpreter docs
SDKs
Python, CLI, REST[4]
SOC 2
Yes[4]

Storage and network

Disk included
10 GB[1]
Extra disk
unknown[1]No session storage charge is listed; persistent storage is your own S3 Files or EFS, billed by those services
Snapshot storage
unknown[1]Code Interpreter has no snapshots
Egress
unknown[1]Billed at standard EC2 data transfer rates; no rate on the AgentCore pricing page

Platform

Regions
US East (N. Virginia), US East (Ohio), US West (N. California), US West (Oregon), Europe (Frankfurt), Europe (Ireland), Europe (London), Europe (Milan), Europe (Paris), Europe (Spain), Europe (Stockholm), Asia Pacific (Malaysia), Asia Pacific (Mumbai), Asia Pacific (Hyderabad), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Thailand), Asia Pacific (Tokyo), Asia Pacific (Seoul), Canada (Central), South America (São Paulo), AWS GovCloud (US-West)[2]
Your cloud (BYOC)
No[2]
Self-host
No[2]

Free allowance

Minutes a month
None[1]
Credit a month
None[1]
One-time credit
None[1]

Sources

  1. 1 aws.amazon.com/bedrock/agentcore/pricing · 31 Oct 2026
  2. 2 docs.aws.amazon.com/bedrock-agentcore/latest/devguide/agentcore-regions.html · 31 Oct 2026
  3. 3 docs.aws.amazon.com/bedrock-agentcore/latest/devguide/code-interpreter-session-characteristics.html · 31 Oct 2026
  4. 4 docs.aws.amazon.com/bedrock-agentcore/latest/devguide/code-interpreter-tool.html · 31 Oct 2026

Raw data: JSON