Putting a dollar figure next to an agent's traces is the right idea, and nobody else's observability product does it this well. The thing to understand before anyone reports that number upward is where it comes from: it is summed from your telemetry, so it inherits every gap in your telemetry.
“Cost is summed from the spans that reach CloudWatch, so a model call whose span is dropped before it is exported, for example by sampling, adds no cost.”
Executive summary
The announcement is “Amazon CloudWatch Omni now includes agent experiments, agent cost, and SLOs” — three features, of which agent cost is the novel one. It shows what your agents' model calls, evaluations and Bedrock AgentCore resources cost over a time range, split by agent, model, session or any attribute the model-call spans carry.
It is portable, which is unusual for an AWS cost view: “Agent cost works for any agent whose spans reach CloudWatch, wherever it runs: on Amazon EKS, Amazon ECS, Amazon EC2, AWS Lambda, Amazon Bedrock AgentCore Runtime, or another cloud.” It is a telemetry feature, not a billing integration.
Which is the whole point and the whole caveat. The documentation opens with it: “Every figure is an estimate at list price, not your AWS bill.”
What changed
| Feature | What it does |
|---|---|
| Agent experiments | Run an agent version against datasets with evaluator scoring, get pass/fail verdicts, flag newly failing cases, and run it from CI in one command — for agents on AgentCore Runtime or any HTTPS endpoint |
| Agent cost (preview) | Estimated cost of model calls, evaluations and AgentCore resources, grouped and alertable |
| SLOs | Availability and latency targets with attainment, error budgets and burn rates; burn-rate and error-budget alerts can trigger investigations with AWS DevOps Agent or partner agents |
Three cost sources feed the total: inference, evaluations, and AgentCore resources — “The resources that record a cost are Gateway, Memory, Browser, Code Interpreter, and Runtime.” Those record their own cost and need no instrumentation from you.
Architecture
The number is a function of your sampling rate
Head-based sampling is normal practice in tracing. It is how teams keep trace volume affordable, and it is usually invisible in the results because what you are looking at is a representative sample. Cost is not a representative measure. It is a sum.
“Cost is summed from the spans that reach CloudWatch, so a model call whose span is dropped before it is exported, for example by sampling, adds no cost.”
An agent sampled at ten percent reports roughly a tenth of its spend. The page shows a total, a change against the previous window, a per-session average and a top-ten table, all computed from the sampled subset, and none of them is marked as a sample. The arithmetic is internally consistent and the number is an order of magnitude low.
There is a related, milder version of the same thing: cost has no history.
“The cost is written on the span when the span arrives in CloudWatch, before the Omni web UI
reads it. Cost is not added to a span after it is stored, so usage from before cost recording began
for your account and AWS Region has no cost estimate and adds nothing to any total.” The
previous-window comparison on the page will read New rather than showing a drop, which
is the right behaviour, but it means week-one numbers have nothing to compare against.
List price, not your bill
“Every figure is an estimate at list price, not your AWS bill.” Stated first, repeated throughout, and exactly right as a design choice — an observability product reading your negotiated rates would be a different and much more invasive integration.
The consequence is that this is a comparison tool, not an accounting one. It tells you which agent, model or session costs more than another, and how that is trending. It does not tell you what you will pay. Anyone wiring the alert threshold to a budget figure needs to know which of those two numbers they are thresholding on.
The handling of unpriced models is a nice detail in the same spirit:
“A model with no list price has no estimate, whatever its span carries. Where a figure would
appear, the page shows” an em dash and No estimate, never $0.
Showing zero would be a lie; showing nothing is a prompt to go and look.
Double counting is documented, not theoretical
Pricing is per span, and the rule is mechanical: “Each CLIENT span that meets the requirements in the preceding table is priced on its own, so when two instrumentation libraries each record the same call as such a span, the call is counted twice.”
This is a real configuration, not a corner case — ADOT alongside a framework's own instrumentation is a common setup. AWS gives the remedy directly: “If you pair ADOT with a second library that also records your Amazon Bedrock calls, disable ADOT's Bedrock instrumentation so that one library records each call.”
The saving grace is that framework spans are usually the other kind: “A framework span that records the same call as an INTERNAL span is not priced, so a call that ADOT records is counted once.” The span kind is what decides it, which means whether you double count depends on an implementation detail of a library you did not write.
So the reported figure can be wrong in both directions: low from sampling, high from double instrumentation. Worth a one-off reconciliation against Cost Explorer before anyone trusts it.
What makes a call priceable
A model call is priced only when its span carries four things: span kind CLIENT, a
gen_ai.operation.name of chat, text_completion,
generate_content or embeddings, a Bedrock model ID in
gen_ai.request.model or gen_ai.response.model, and token counts.
One detail will catch people:
“The model is recognized from its model ID, not from”
gen_ai.system or gen_ai.provider.name. If your instrumentation writes a
friendly provider name and an unrecognised model identifier, the call shows token counts and no cost.
The documented debugging step is exactly that: check the span kind, the attributes, and that the model
ID is the one Bedrock uses.
Two aggregation behaviours worth knowing
- “A session's cost adds the evaluations that scored the session and the AgentCore resources that served it, so a session can cost more than the sum of its traces.” Not a rounding artefact — sessions carry costs that no individual trace does. Anyone reconciling the two views needs to expect it.
-
“An Attribute grouping reads the attribute on the model-call span. If your agent writes an
attribute only on its root span or on a tool span, the page groups every call under”
No value. So grouping cost by release version — the obvious use, and the one the docs suggest — requires writing that attribute onto every model call, not once per request.
And “On-demand evaluations have no cost estimate and are not included”, so the evaluations line covers online evaluations only.
The alerts are narrower than the chart
You can create a cost alert from the breakdown chart, and the rule it builds is not quite what the chart shows: “A grouping by model, session, attribute, or AgentCore resource narrows the chart, not the rule.” The rule sums the visible cost sources and evaluates them per agent, in US dollars.
A filter to one agent does scope the rule to that agent. Filter to anything else — a model, a session, an attribute value, one AgentCore resource type — and Create alert becomes unavailable with the reason shown. So per-model cost alerting is not available from this surface, only per-agent.
Business value
Agent spend is hard to attribute with the tools that exist. Cost Explorer can tell you what Bedrock cost; it cannot tell you that one agent, one customer session or one release version is responsible for most of it. Tokens are the unit of spend and traces are where tokens live, so pricing the spans is the right place to solve this.
The grouping by arbitrary span attribute is the part that will get used most. Comparing the cost of two release versions of the same agent, from production traffic, is a question that currently has no good answer and a clear business consequence.
The portability matters too. Because it works from spans rather than from billing data, an agent running on EKS, on Lambda, or on another cloud entirely gets the same view — provided the model calls go to Bedrock.
Security considerations
Nothing here changes an access boundary, but two things are worth noting.
The grouping surface lists every span and resource attribute key your traces carry, so whatever you put on a span becomes a dimension anyone with access to the Omni UI can group by. That is useful and it is also a reminder that span attributes are visible to a wider audience than the engineers who wrote them — a customer identifier used for grouping is a customer identifier on a dashboard.
Second, the cost figure is a side channel of sorts: session-level spend reveals how much work was done on behalf of a user, and the top-ten sessions table surfaces the most expensive ones by default. Benign in most contexts, worth a thought where sessions map to identifiable people.
Cost considerations
No price is given for agent cost itself in the announcement or the documentation page, and it is in preview. The spend it depends on is the underlying telemetry: this reads the same spans the Agent traces page reads, so if your agents are already sending traces to CloudWatch there is no new ingestion to pay for, and if they are not, that is the cost of adopting it.
There is an awkward interaction worth stating plainly. The usual lever for controlling trace ingestion cost is sampling, and sampling is exactly what makes the cost figure wrong. Turning sampling down to get an accurate cost number raises your observability bill; leaving it on keeps the bill down and makes the number a fraction of reality. That trade is not acknowledged anywhere in the product, and it is the first thing to decide.
Operational considerations
Before using the number for anything, establish the factor between it and reality. Take a window, compare the Omni estimate against Bedrock spend in Cost Explorer for the same window, and write the ratio down. Sampling explains a shortfall; double instrumentation explains an overshoot; list price explains the rest.
Audit your instrumentation for the double-count case before you do that, or the reconciliation will be misleading. One library per Bedrock call.
If you want attribute grouping, write the attribute on every model-call span rather than on the root
span, and verify by grouping and checking you do not get a single No value bucket.
The Omni chat can answer cost questions directly — the documentation gives examples like what a session of a named agent costs on average, and which model calls cost the most this week. That is a faster path than the UI for ad-hoc questions, with the same caveats on the underlying numbers.
Tradeoffs
| Design choice | What you get | What it costs |
|---|---|---|
| Computing cost from spans | Works anywhere the agent runs, including other clouds | The total scales with your sampling rate, unmarked |
| List price rather than your bill | No billing integration, no extra permissions | Discounts and commitments are not reflected |
| Pricing each qualifying CLIENT span | Any OpenTelemetry instrumentation works, not just ADOT | Two libraries on one call means a double count |
| Writing cost at ingest, never backfilling | The figure is stable and cheap to read | No history before you enabled it |
| No estimate rather than $0 for unpriced models | The gap is visible instead of silently wrong | Totals exclude work you did actually pay for |
| Alert rules evaluated per agent | One clear unit of accountability | No per-model or per-session cost alerting here |
Implementation guidance
Start by checking what fraction of your model calls actually reaches CloudWatch. That one number determines how to read everything else on the page, and it is a property of your collector configuration rather than of Omni.
Then check instrumentation. One library per Bedrock call; if you run ADOT alongside a framework that also instruments Bedrock, disable ADOT's Bedrock instrumentation as documented.
Verify a handful of calls are being priced at all — span kind CLIENT, a recognised
operation name, a Bedrock model ID, token counts. A trace showing an em dash and
No estimate is telling you one of those is missing.
Then add the attribute you actually want to group by, on the model-call spans, and only then build alerts. Alerts evaluate per agent, so decide whether per-agent is the unit you want to be paged on.
Best practices
- Know your sampling rate before reading the total, and never report the figure upward without it.
- Reconcile once against Cost Explorer and record the factor between estimate and bill.
- One instrumentation library per Bedrock call; disable ADOT's Bedrock instrumentation if something else records it.
- Write grouping attributes on every model-call span, not on the root span.
- Treat the figure as a comparison and trend tool, not as an accounting number.
- Expect a session to cost more than the sum of its traces.
- Investigate
No estimaterather than ignoring it — it means a call was not priced, not that it was free.
Who should adopt this and when
Now, if your agents already send traces to CloudWatch. There is nothing to build and the attribution it gives you is not available any other way.
Now, also, if you are about to make a model or prompt change and want to compare versions on cost using production traffic. That is the strongest use of the attribute grouping and it answers a real question.
Carefully, if you sample aggressively — the feature will work and the number will be a fraction. And not yet as a budgeting input, both because it is in preview and because list price is not your price.
Key takeaways
- The cost total is summed from spans that reach CloudWatch, so sampling reduces it proportionally and nothing on the page says so.
- “Every figure is an estimate at list price, not your AWS bill.” It is a comparison tool, not an accounting one.
- Two instrumentation libraries recording one Bedrock call double count it; disable one, as documented.
- Cost is written at ingest and never backfilled, so there is no history before you turned it on.
- A model with no list price shows
No estimate, never$0— the right choice, and it means totals can exclude real spend. - Group-by attributes must be on the model-call span or everything lands in
No value. - A session can cost more than the sum of its traces, because it carries evaluations and AgentCore resources.
- Cost alerts evaluate per agent only; filtering to a model or session disables alert creation.
Official AWS references
- Amazon CloudWatch Omni now includes agent experiments, agent cost, and SLOs — the announcement, what each of the three features does, that experiments run from CI against AgentCore Runtime or any HTTPS endpoint, that agent cost is in preview and covers Amazon Bedrock models wherever the agent runs, and that SLO burn-rate and error-budget alerts can trigger investigations
- Agent cost — that every figure is an estimate at list price rather than the AWS bill, that cost is summed from spans so a sampled-away call adds nothing, the four span requirements for a call to be priced, that each qualifying CLIENT span is priced separately and two libraries double count while an INTERNAL span does not, the documented remedy of disabling ADOT's Bedrock instrumentation, that the model is recognised by model ID, that cost is written at ingest and never backfilled, that an unpriced model shows no estimate rather than zero, the AgentCore resources that record cost, that on-demand evaluations are excluded, that a session can cost more than the sum of its traces, the attribute-grouping requirement, and the per-agent scope of cost alerts
- Experiments — further reading on the experiments half of the announcement and the per-run cost it shows; no claims in this post are drawn from it
- Monitor service reliability with SLOs — further reading on the SLO half of the announcement; no claims in this post are drawn from it
- Send AI agent telemetry — further reading on the instrumentation setup that agent cost depends on; no claims in this post are drawn from it
Comments