Home / AI agent sandboxes / AWS Bedrock AgentCore Code Interpreter / Pricing
AWS Bedrock AgentCore Code Interpreter pricing
In short (2026-11-13): $0.0895 per vCPU-hour of active CPU, $0.00945 per GiB-hour of memory. Free tier: No Code Interpreter free allowance. New AWS customers receive up to $200 in AWS Free Tier credits usable across AWS. Source: official pricing page. Prices checked 2026-11-15.
Usage rates
- vCPU
- $0.0895 per vCPU-hour, billed only while the CPU is active
- Memory
- $0.00945 per GiB-hour
- Storage
- No separate monthly rate published
- Billing
- per second, 1-second minimum; 128 MB minimum memory billing. From microVM boot to session termination. CPU only for actual consumption (no charge during I/O wait); memory for the peak consumed up to each second, including idle periods.
What it costs in practice
| Workload | Usage | Cheapest plan | Total per month |
|---|---|---|---|
| Hobby agent: 1 vCPU, 1 GiB, 20 hours a month | $0.73 | Pay as you go | $0.73 |
| One dev agent: 2 vCPU, 4 GiB, 8 h a day for 22 days | $16.10 | Pay as you go | $16.10 |
| Team: 10 sandboxes of 2 vCPU, 4 GiB, 8 h a day for 22 days | $161.04 | Pay as you go | $161.04 |
| Always on: 4 vCPU, 8 GiB, 730 hours a month | $185.86 | Pay as you go | $185.86 |
CPU busy 30% (50% always on), which matters only where CPU is billed by active time. Storage, network and GPU are not included. Try your own numbers in the cost calculator.
Billing details that change the bill
- Rates are $0.0895 per vCPU-hour and $0.00945 per GB-hour; AWS writes GB, which we treat as GiB.
- Billing includes system overhead in addition to the code's own resource use.
- Network data transfer is charged separately at standard EC2 rates.
- Default session timeout is 15 minutes; execution can be extended up to 8 hours.
- Inline file upload is limited to 100 MB; files up to 5 GB can be moved through Amazon S3 from terminal commands.
- Maximum vCPU and memory per session are not stated on the pages checked.
Price history
List price per month over timeNo change since 2026-11-13
No price change found since we started tracking on 2026-11-13. We check every pricing page daily.
Cheaper or better-fit AWS Bedrock AgentCore Code Interpreter alternatives →
Sources
- https://aws.amazon.com/bedrock/agentcore/pricing/, checked 2026-11-13:
Code Interpreter | | CPU | $0.0895 per vCPU-hour
- https://aws.amazon.com/bedrock/agentcore/pricing/, checked 2026-11-13:
Memory | $0.00945 per GB-hour
- https://aws.amazon.com/bedrock/agentcore/pricing/, checked 2026-11-13:
Billing is calculated per second, using actual CPU consumption and peak memory consumed up to that second, with a 1-second minimum
- https://aws.amazon.com/bedrock/agentcore/pricing/, checked 2026-11-13:
which spans from microVM boot, initialization, active processing, idle periods, until session termination (microVM shutdown)
- https://aws.amazon.com/bedrock/agentcore/pricing/, checked 2026-11-13:
Network data transfer charges apply at standard EC2 rates
- https://aws.amazon.com/bedrock/agentcore/pricing/, checked 2026-11-13:
New AWS customers receive up to $200 in Free Tier credits.
- https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/code-interpreter-tool.html, checked 2026-11-13:
The Code Interpreter tool provides support for a default execution time of 15 minutes, which can be extended for up to eight hours.
- https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/code-interpreter-tool.html, checked 2026-11-13:
For inline upload, the file size can be up to 100 MB.
- https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/code-interpreter-resource-session-management.html, checked 2026-11-13:
you can choose network settings (Sandbox or Public)