Amazon Bedrock AgentCore pricing: Runtime, tools and examples
AgentCore pricing is a set of separate meters: Runtime hosts the agent, Code Interpreter and Browser run tools, and Gateway, Memory, Identity and Observability bill on their own. Code Interpreter and Browser each cost $0.0895 per vCPU-hour of CPU actually consumed plus $0.00945 per GB-hour of memory. Runtime v2 costs $0.1276 per vCPU-hour and $0.0169 per GB-hour. CPU charges stop while a session waits on I/O with nothing else running, but memory is still billed. Model inference is a separate bill. Source: AWS pricing, checked November 9, 2026.
If you only need isolated code execution, try Lizard (lizard.build): lizard sandbox create -t interpreter -s small starts a Small code interpreter sandbox (2 vCPU, 4 GB) at $0.0162 per hour. The code interpreter guide shows how to return its output to your agent. Price orchestration, authentication and monitoring separately.
By Yura Dubinin. Prices checked November 9, 2026. AWS figures are USD list prices, and the AgentCore pricing page does not say whether tax is included. Lizard prices include tax.
How is Amazon Bedrock AgentCore priced?
Amazon Bedrock AgentCore bills each service you use on its own meter. An agent hosted in Runtime that calls Code Interpreter pays for both. Gateway, Memory and logging add their own charges.
For the microVM services (Runtime, Code Interpreter and Browser), estimate each session with:
CPU cost = consumed vCPU-seconds / 3600 × CPU hourly rate
Memory cost = billable GB-seconds / 3600 × memory hourly rate
Session compute = CPU cost + memory costOne vCPU used for ten seconds is ten vCPU-seconds. Two vCPUs for ten seconds is twenty. Session length alone does not tell you CPU use.
Memory is metered differently by service. Code Interpreter and Browser bill the peak memory consumed up to each second. Runtime v2 reclaims idle memory. Model the CPU and memory curves separately.
The AWS pricing terms, checked November 9, 2026, set per-second billing, a one-second minimum and a 128 MB minimum memory charge for these microVM services. System overhead is billed too. A Code Interpreter or Browser session is metered from microVM boot to shutdown, so your forecast should include startup and cleanup.
A full budget also needs model tokens, network transfer at standard EC2 rates, artifact storage and any optional AgentCore features. The worked examples below use the list rates on the AWS pricing page. Confirm the rates for your Region before you commit spend.
What does AgentCore Runtime cost?
Runtime microVM prices depend on the version. The AWS rate table, checked November 9, 2026, lists:
| Runtime microVM option | CPU per vCPU-hour | Memory per GB-hour |
|---|---|---|
| v1 | $0.0895 | $0.00945 |
| v2 consumption | $0.1276 | $0.0169 |
| v2 committed baseline, as listed | $0.0997 | $0.0132 |
On November 9, 2026, AWS still labels the baseline rates "launching by October 2026". Budget with consumption rates until AWS confirms baseline terms for your account.
Runtime v2 reclaims idle memory after 120 seconds, according to AWS's pricing page. Its GB-hour rate is higher, but it can apply to fewer GB-seconds. To compare v1 and v2, estimate how much memory the session holds over time, including the minutes after a large intermediate result is no longer needed.
Runtime also offers Instances. They bill the underlying EC2 instance per instance-hour from boot until it stops, with a minimum of about one minute, plus an AgentCore management fee. EBS storage and network transfer are extra. AWS's example uses a 12% fee; G-series families carry 7.8%. The fee is charged on the public EC2 On-Demand price, and your Savings Plans or Reserved Instances lower only the EC2 part. See AWS's Instances pricing, checked November 9, 2026.
An instance costs the same per hour whether its CPU is busy or waiting on a model, so the active-CPU formula above does not apply. The Runtime guide explains both hosting options.
What do Code Interpreter and Browser cost?
Code Interpreter and Browser have the same published rates, and each session is billed separately. Rates from AWS pricing, checked November 9, 2026:
| Resource | Price | What is metered |
|---|---|---|
| CPU | $0.0895/vCPU-hour | CPU actually consumed |
| Memory | $0.00945/GB-hour | Peak memory consumed up to each second |
One user question can trigger several executions. Count the whole session, including gaps between calls, because memory stays billed in those gaps.
A browser waiting for a page or a model can still use CPU. JavaScript, rendering and background tabs keep running, so estimate that CPU explicitly.
According to AWS AgentCore pricing, Browser Profiles store cookies and local storage in Amazon S3 at S3 Standard rates, billed from April 15, 2026. Network transfer is billed at standard EC2 rates. A Browser compute estimate leaves both out.
Capacity is a separate check. Read the AgentCore quotas, checked November 9, 2026, for session and concurrency limits in your Region before you project throughput.
What do Gateway, Memory, Identity and Observability cost?
These services add per-request, storage and telemetry charges on top of tool compute. Rates from AWS pricing, checked November 9, 2026.
Gateway
| Operation | Price |
|---|---|
| API invocations, including tool listing, invocation and ping | $0.005/1,000 |
| Search API invocations | $0.025/1,000 |
| Tool indexing | $0.02/100 tools/month |
One million ordinary invocations cost $5. One million search invocations cost $25. Count discovery and health-check calls along with tool calls. Gateway search finds tools; Web Search is a different meter.
Memory
| Memory operation | Price |
|---|---|
| Short-term ingestion | $1.00/GB |
| Short-term retrieval | $0.20/GB |
| Short-term storage | $0.10/GB-month |
| Long-term built-in storage | $0.75/1,000 records/month |
| Long-term override or self-managed storage | $0.25/1,000 records/month |
| Long-term retrieval | $0.50/1,000 retrievals |
Short-term ingestion and retrieval bill each event at a minimum of 12 KB and a maximum of 64 KB. Storage uses the actual event size over its time to live (TTL). A shorter TTL cuts storage but leaves ingestion charges as they were. Override and self-managed long-term strategies can also add model charges in your account.
Identity
| Access path | Price |
|---|---|
| Through Runtime or Gateway | No additional Identity charge |
| Other paths to non-AWS resources | $0.010/1,000 successful token or API-key requests |
Observability
Telemetry goes to Amazon CloudWatch. Ingestion, storage, queries and masking of sensitive data are billed at CloudWatch pricing, checked November 9, 2026. Estimate from your real log and trace volume. An agent that logs large tool responses on every turn can cost far more than a flat share of compute would suggest.
Optional meters
AWS AgentCore pricing, checked November 9, 2026, lists Web Search at $7 per 1,000 queries and Web Answer at $10 per 1,000 calls. Policy authorization costs $0.000025 per request. Evaluations with built-in evaluators cost $0.0024 per 1,000 input tokens and $0.012 per 1,000 output tokens. Add these only if you turn them on. The AWS pricing page lists more meters, such as Agent Registry, custom evaluators and batch evaluations; check it for any feature you plan to use.
What do three typical agent workloads cost?
At the published Code Interpreter and Browser rates, these workloads cost $36.47, $82.55 and $1,861.50 per month respectively. These are calculations from assumed inputs, with a single tool session per task. The inputs include startup, system overhead, processing and cleanup. Replace them with observed usage before you treat the totals as a forecast.
Scope: one month, AWS list rates, no discounts or promotional allowances. These are tool-only totals. Model inference, Runtime, Gateway, Memory, Observability, storage, traffic, taxes and optional services are left out.
Inputs
| Input | One question | One-hour coding session | Browser task |
|---|---|---|---|
| Service | Code Interpreter | Code Interpreter | Browser |
| Session length | 120 seconds | 3,600 seconds | 600 seconds |
| CPU during processing | 2 vCPU for 48 seconds | 2 vCPU for 900 seconds | 2 vCPU for 120 seconds |
| CPU during remaining time | 0 | 0 | 0.4 vCPU for 480 seconds |
| Billable memory throughout | 4 GB | 4 GB | 5 GB |
| Sessions/month | 10,000 | 1,000 | 100,000 |
Results
| Calculated charge | One question | One-hour coding session | Browser task |
|---|---|---|---|
| CPU/session | $0.00238667 | $0.04475000 | $0.01074000 |
| Memory/session | $0.00126000 | $0.03780000 | $0.00787500 |
| Total/session | $0.00364667 | $0.08255000 | $0.01861500 |
| Monthly tool compute | $36.47 | $82.55 | $1,861.50 |
One question: 96 / 3600 × 0.0895 + 480 / 3600 × 0.00945. These inputs match AWS's own Code Interpreter example. AWS assumes three executions per request and prices 30,000 executions at $109.40 a month. If each question runs three sessions, triple this column too.
The coding session uses 1,800 vCPU-seconds and holds 4 GB for the full hour. It assumes zero CPU between runs. Check that against background processes in your setup.
The browser task uses 120 × 2 + 480 × 0.4 = 432 vCPU-seconds and holds 5 GB throughout. AWS's own Browser example has the same shape: a 10-minute session, 100,000 sessions a month, 0.4 vCPU and 5 GB during I/O. Its arithmetic prices 120 vCPU-seconds at 2 vCPU and 4 GB of memory, which gives $0.012267 per session and $1,226.67 a month. Counting the stated I/O CPU and memory raises that to $1,861.50, about 52% more.
Sensitivity: one more minute holding 4 GB adds $0.00063 of memory. One more minute at 2 vCPU adds about $0.00298 of CPU. Both use the AWS resource rates checked November 9, 2026. Closing unused sessions cuts both.
What changed in AgentCore pricing in 2026?
Short-term Memory moved from a price per event to a price per GB. The AWS rate table dates the new rates to October 6, 2026. The AWS announcement was posted October 12. When you review a bill, go by the effective date in the rate table.
Ingestion cost $0.25 per 1,000 new events through October 5. Now ingestion, retrieval and storage are billed separately, with the 12 KB to 64 KB per-event bounds above. AWS says long-term Memory pricing is unchanged. Because small events are billed at 12 KB, payload size alone underestimates ingestion.
AWS announced Runtime Instances on August 6, 2026. That added a compute option billed as EC2 plus a management fee. Code Interpreter and Browser rates stayed the same. Both announcements and the rate table were checked November 9, 2026.
How does AgentCore Code Interpreter compare with a standalone sandbox?
Compare the execution layer first, then add what the rest of your application needs; our AI agent infrastructure guide lists those layers. AgentCore bills consumed CPU, which favors sessions that mostly wait. Lizard Sandboxes bill a flat rate per size for every second they run, idle time included. A paused Lizard sandbox has no compute charge, so lizard sandbox pause <id> between tasks stops paying for idle time. Since November 10, 2026, pause keeps files only: running processes and memory end, and resume boots fresh, so a code-interpreter session loses its Python state.
| Decision | AgentCore Code Interpreter | Lizard Sandboxes |
|---|---|---|
| Compute accounting | Consumed CPU plus billable memory | Sandbox size × running seconds |
| Fully active 2 vCPU, 4 GB for one hour | $0.2168 | Small: $0.0162 of usage |
| One-hour coding scenario above | $0.08255 | Small: $0.0162 of usage |
| Account plan | Consumption pricing | Pro: $19/month, includes $19 of usage |
| Integration fit | AWS IAM and AgentCore services | Lizard CLI or Lizard SDK |
Sources: AWS pricing and Lizard pricing, checked November 9, 2026. The table compares assumed resource use. It is not a throughput measurement, and the two products do not cover the same features. It assumes the workload fits in Small; a slower or faster run changes session length.
Lizard also lists Medium (4 vCPU, 8 GB) at $0.0324/hour and Large (8 vCPU, 16 GB) at $0.0648/hour, billed per second. Usage above the $19 included in Pro is pay as you go. In a paid Pro month with no other usage, 1,000 one-hour Small sessions use $16.20 of the included $19, so the month's bill stays $19. Apps, databases and other Sandboxes draw on the same $19. The trial includes $5 of usage and allows 50 Small starts in all, with one Small running at a time.
The commands assume you have signed in and linked a project; otherwise add -p <project>. Outside the trial, Lizard CLI defaults to Medium, so set -s small to match this comparison. The default lifetime is five minutes (300000 ms). For a one-hour session, add --timeout 3600000. On the trial, a sandbox is deleted one hour after it starts and cannot be extended. After the first payment, a VM stops after at most 596 hours. See sandbox limits and the CLI reference.
Pick AgentCore when AWS IAM and its managed services save you work you would otherwise build. Pick Lizard when you need a sandbox for code execution and have checked the libraries, network access and lifecycle you need. The sandbox pricing comparison covers other providers, and Lizard vs AWS covers app hosting beyond AgentCore. For Anthropic's hosted runtime, see Claude Managed Agents pricing: the model's token price plus $0.08 per session-hour.
FAQ
Does AgentCore pricing include model tokens? No. Add your model provider's inference charges to the AgentCore services your agent uses.
Is AgentCore Runtime charged during I/O wait? CPU charges drop to zero when no process uses CPU. Memory stays billable, though Runtime v2 reclaims idle memory after 120 seconds.
Do Browser and Code Interpreter cost the same? Both cost $0.0895 per vCPU-hour and $0.00945 per GB-hour. Their workloads use different amounts of CPU and memory, and Browser Profiles add S3 storage.
Is one user question one billable execution? Not always. One question can trigger several calls or sessions, and each session is billed for its own CPU and memory. Budget the real execution flow.
Does a standalone sandbox replace all of AgentCore? It covers isolated code execution. Orchestration, authentication, memory and monitoring still need to come from your own code or from managed services.
Build with AI. Ship with Lizard
You don't need a platform team to go live. Your whole cloud, one CLI command away.
- Services
- —
- Add-ons
- —
- Deployments
- —
- Sandbox starts
- —