View a markdown version of this page

AgentCore agent cost visibility overview - Amazon Bedrock AgentCore

AgentCore agent cost visibility overview

When you run an agent on Amazon Bedrock AgentCore, its cost is spread across several things the agent does: the models it calls, the compute that runs it, and the memory, gateway, and tools it uses. AgentCore agent cost visibility brings those into one place, so you can see what an agent, a session, or your whole fleet cost, and trace a cost back to the action that caused it.

This overview explains what the feature gives you, where you work with it, and how to move through these docs to the task you came for.

What the feature does

AgentCore agent cost visibility is part of AgentCore Observability. It:

  • Shows an estimated cost for every span, trace, session, and agent, within a short time of the work happening.

  • Attributes cost to the right session and agent, and breaks it down by what drove it (model inference, Runtime compute, Gateway, Memory, Browser, Code Interpreter, and online evaluations).

  • Lets you drill down from a fleet total to an agent, a session, a trace, and the single span that caused a change.

  • Can publish cost as Amazon CloudWatch metrics so you can set alarms and use anomaly detection.

The estimate is built from public AWS price-list rates applied to the usage on each span. It is meant for troubleshooting, monitoring, and optimization. It is not an invoice, it does not apply your discounts, and it is not reconciled to your bill. See How cost estimates are calculated.

Where you work

You work in the AgentCore Observability console. Cost appears alongside the latency, quality, and outcome data already on the same spans, so you can read cost next to whether the work succeeded. See Read cost estimates against outcomes.

How to use these docs

  1. Get started. Read this page, then See your first agent cost in the console to reach a cost figure quickly.

  2. Monitor and investigate cost. Use the task guides under Monitor and investigate cost to find costly work, investigate a session, and publish cost metrics.

  3. Set up cost visibility for your agent. If your agent does not show cost automatically, follow Choose your setup path.

  4. Go deeper. How agent cost visibility works explains how the figures are produced; the Reference lists coverage, limits, and model pricing caveats.

What cost works with

AgentCore agent cost visibility attributes cost when your agent’s telemetry is produced by the AWS Distro for OpenTelemetry (ADOT). For the setups that covers and how to enable each, see Choose your setup path. For coverage and limits, see Cost estimate coverage and limits.

AgentCore agent cost visibility records cost for work that runs after you set it up. Earlier work shows blank rather than an incorrect figure.