

# Cost estimate coverage and limits

When you plan what you can measure, you want the supported and unsupported cost dimensions for each primitive, so you know the gaps before you rely on a total. Each measured field also has a paired `.type` field that names the price-list entry it is billed under; the leading code in a `.type` value is the Region (for example `USW2` is us-west-2 and `USE1` is us-east-1).

## Model inference
<a name="_model_inference"></a>


| Dimension | Covered | 
| --- | --- | 
| Input tokens | Yes | 
| Output tokens | Yes | 
| Cache read tokens | Yes, when present | 
| Cache write tokens | Yes, when present (estimated; see note) | 

Model cost is recorded on the model-call span. Input-token and output-token costs are itemized; the span total also includes cache tokens when present. For example values of the model-call cost attributes (`aws.cost.inference.token.input` / `.output`, `aws.cost.total`, `aws.cost.currency`), see [Required attributes and headers](acv-pass-required-attributes.md#acv-required-attributes-and-headers). Some models are not priced, some token dimensions are estimated, and cache tokens need a recent ADOT; see [Model pricing caveats](acv-model-pricing-caveats.md).

## Runtime (compute)
<a name="_runtime_compute"></a>


| Dimension | Covered | Measured as | Example | 
| --- | --- | --- | --- | 
| CPU time | Yes |  `aws.agentcore.compute.vcpu_hours`  |  `0.0023093`; `.type` `USW2-Runtime:Consumption-based:vCPU-v2`  | 
| Memory time | Yes |  `aws.agentcore.compute.gb_hours`  |  `0.0042392`; `.type` `USW2-Runtime:Consumption-based:Memory-v2`  | 
| Instance management fee | No | — | — | 
| Data transfer | No | — | — | 

Runtime compute is measured for the session as a whole, written after the agent’s machine stops, so it arrives about 15 to 35 minutes after the session ends. It is not covered for a self-hosted agent, because Runtime is not in the path.

## Memory
<a name="_memory"></a>


| Dimension | Covered | Measured as | Example | 
| --- | --- | --- | --- | 
| Data written (short-term) | Yes |  `aws.agentcore.memory.ingest_bytes`  |  `12288`; `.type` `USW2-Memory:Consumption-based:STM-Ingest`  | 
| Data read back (short-term) | Yes |  `aws.agentcore.memory.read_bytes`  |  `36864`; `.type` `USW2-Memory:Consumption-based:STM-Read`  | 
| Long-term retrieval | Yes (counted per lookup, even if nothing is found) |  `aws.agentcore.memory.retrievals`  |  `1`; `.type` `USW2-Memory:Consumption-based:Long-Term-Memory-Retrieval`  | 
| Short-term and long-term storage | No | — | — | 

Memory is measured by bytes written and read, plus the number of long-term retrievals.

## Gateway
<a name="_gateway"></a>


| Dimension | Covered | Measured as | Example | 
| --- | --- | --- | --- | 
| API invocations (list tools, search tools, invoke tool) | Yes |  `aws.agentcore.gateway.api_invocations`  |  `1`; `.type` `USW2-Gateway:Consumption-based:API-Invocations`  | 
| Tool search | Yes |  `aws.agentcore.gateway.search_api`  |  `1`; `.type` `USW2-Gateway:Consumption-based:Search-API`  | 
| Web Search tool | Yes |  `aws.agentcore.gateway.web_search_queries`  | The field is defined but has not been seen on a real span, so no example value is available. | 
| Data processed to a VPC target | Yes |  `aws.agentcore.gateway.vpc_bytes`  | The field is defined but has not been seen on a real span, so no example value is available. | 
| Tool indexing | No | — | — | 

## Browser and Code Interpreter
<a name="_browser_and_code_interpreter"></a>


| Dimension | Covered | Measured as | Example (Code Interpreter / Browser) | 
| --- | --- | --- | --- | 
| CPU time | Yes |  `aws.agentcore.compute.vcpu_hours`  |  `0.000262` / `0.000134`; `.type` `USW2-CodeInterpreter:Consumption-based:vCPU` / `USW2-BrowserTool:Consumption-based:vCPU`  | 
| Memory time | Yes |  `aws.agentcore.compute.gb_hours`  |  `0.000848` / `0.007072`; `.type` `USW2-CodeInterpreter:Consumption-based:Memory` / `USW2-BrowserTool:Consumption-based:Memory`  | 

## Evaluations
<a name="_evaluations"></a>

Only **online evaluations** count toward agent cost. Batch and on-demand evaluations are not included.


| Dimension | Covered | 
| --- | --- | 
| Online evaluations | Yes | 
| Batch evaluations | No | 
| On-demand evaluations | No | 

## Breakdowns available
<a name="_breakdowns_available"></a>

Cost can be broken down by agent, session, and tenant across primitives. The Tag filter groups cost by the tags on the agent’s AgentCore Runtime resource; it is not available for agents hosted outside AgentCore Runtime. See [Scope and filter by tag or tenant](acv-find-most-expensive-agents-and-sessions.md#acv-scope-and-filter-cost).

## Supported dimensions and limits
<a name="acv-scope-at-launch"></a>

This section covers AgentCore Observability.

### In scope
<a name="_in_scope"></a>
+ A near-real-time **estimated cost** for every span, trace, session, and agent.
+ A **breakdown by component** (model inference, Runtime compute, Gateway, Memory, Browser, Code Interpreter, and online evaluations when in the path).
+  **Drill-down** from fleet to agent to session to trace to span.
+  **Roll-up by resource** across the fleet.
+  **Filters** by resource tag and a customer-defined tenant, applied across all Observability views.
+ Optional **cost metrics** in CloudWatch, for alarms and anomaly detection.
+ Cost for **self-hosted agents** that send signed telemetry to AWS X-Ray (model cost and the AgentCore tools they call).

### Not covered
<a name="_not_covered"></a>
+  **Invoice reconciliation.** The estimate is not reconciled to the AWS invoice.
+  **Discounted rates.** The estimate uses public rates only, with no private pricing, savings plans, or credits.
+  **Per-user cost views.** 
+  **Splitting Runtime compute below the session.** Compute is measured for the session as a whole and stays warm between turns.
+  **Spend caps and budget limits.** This feature shows and alarms on cost; it does not cap or block spend.
+  **Runtime compute for self-hosted agents** (Runtime is not in the path), and, for self-hosted agents, the Tag filter and the Spans/Traces/latency/error views beyond model-call spans.
+  **Batch and on-demand evaluations.** Only online evaluations count toward agent cost.

### Supported telemetry
<a name="_supported_telemetry"></a>

Cost attribution is supported when ADOT produces the agent’s telemetry. See [Choose your setup path](acv-choose-your-setup-path.md) for the supported frameworks and the instrumentation that is and is not supported.