SIAgentNews.com
AI-made picture for the story: AWS introduces tools to track individual AI agent spending
AgentsPicture made with AI
← All news
ConfirmedAgents

AWS introduces tools to track individual AI agent spending

New features and policies help companies identify which specific AI agents are driving up cloud costs by attributing spend to specific owners.

3 min readMade with AI

The short version

  • AWS Bedrock inference can now be charged to specific IAM users or roles for better cost tracking.
  • The FinOps Foundation reported that 98% of its 1,192 respondents now manage AI spend, up from 31% two years ago.
  • Repeated AI tasks can differ by as much as 30x in tokens, making pre-run cost estimation difficult.
  • New policies can enforce 'owner' tags on every AI role to ensure every dollar spent has a responsible person.

The problem of anonymous AI spend

Companies are finding it increasingly difficult to track who is actually spending money on AI services. While AWS can now charge Bedrock inference to a specific IAM role, that role might be shared by multiple different AI agents. If a role is not tagged with a specific owner, the bill simply shows a technical ID without a human name attached to it.

This lack of clarity creates a significant hurdle for corporate finance teams. As thenewstack.io reported, an untagged role is like issuing a corporate card to an employee with no manager. Without a clear owner, the cost becomes a 'hot potato' that gets passed around until someone eventually has to pay for it.

The urgency for this tracking is growing rapidly across the industry. A recent survey by the FinOps Foundation showed that nearly all of their 1,192 survey participants are now tasked with overseeing AI expenditures, a sharp increase from just 31% of those surveyed two years ago.

30xdifference in tokens for repeated AI tasks

Why it matters

Without proper attribution, AI costs can become a 'communal corporate card' where nobody knows who is responsible for a high bill. These tools allow companies to move from guessing at budgets to enforcing accountability for every AI agent they deploy.

Why AI costs are hard to predict

Predicting how much an AI agent will cost before it runs is notoriously difficult. A study of frontier models on SWE-bench Verified showed that performing the same action multiple times can result in token counts that vary by as much as 30x. This means the same request can result in wildly different bills depending on how the model processes the data.

To make matters worse, the models themselves are often poor at estimating their own usage. When asked to predict how many tokens a run will use beforehand, they consistently underestimated the actual amount. Because neither the task nor the model can provide a reliable price tag, proactive budgeting becomes nearly impossible.

Because forecasting is unreliable, companies must rely on attribution after the fact. This means the only way to control the spending is to identify exactly which role or user triggered the cost once the bill arrives. The goal is to ensure that every role has a clear owner, a specific policy, and a measurable clock.

Technical tools for cost attribution

AWS provides a specific path for companies to start seeing this data in their reports. By creating a CUR 2.0 export and selecting the option to include caller identity, users can see which IAM principals are spending money. This allows teams to run SQL queries to find roles that have Bedrock spend but are missing an owner tag.

Once these owners are identified, companies can use AWS Budgets to set limits. By filtering budgets on the owner tag, each manager can receive an alert when the roles they are responsible for cross a certain spending threshold. This provides the closest thing to a hard spending limit for roles with unpredictable token counts.

The process requires a specific sequence to be effective. Users must first tag the roles they know about and activate those tags as cost allocation tags. Only after these steps are completed will the data appear in the exports, as costs incurred before activation cannot be retroactively tagged.

Enforcing ownership at deployment

To prevent new anonymous roles from being created, companies can use 'env zero' approval policies. These are rules written in OPA/Rego that check Terraform plans before they are deployed. These rules can demand that every new IAM role must carry an owner tag containing a valid person's email address.

These policies also check for 'wildcard grants' that are too broad. For example, a policy that allows Bedrock actions on every resource in an account can be blocked. This forces developers to scope the permissions so that an agent can only reach the specific resources it needs to function.

Using these automated checks ensures that no role can be deployed without a manager. If a role is shared by several agents, it can still be a problem because the spend is still attributed to the role. In those cases, companies may need to use distinct RoleSessionNames or session tags to separate the costs further.

Planning for the lifecycle of agents

Attribution is only the first step; companies also need a plan for when agents are no longer needed. Many AI agent roles exist only for a specific project rather than forever. A role that nobody remembers is the primary way that 'orphaned spend' begins to accumulate over time.

For temporary roles, the best practice is to use environments with a TTL, or Time To Live. This ensures that the role and its associated permissions automatically disappear when the work is finished. This prevents old, forgotten roles from continuing to run and generate costs on the company's behalf.

The ultimate goal is to move away from discovering a role's existence only when an invoice arrives. By ensuring every role has a manager from the moment of creation, companies can maintain better control over their AI investments.

What to watch

  • How companies will handle roles shared by multiple agents to achieve granular billing.
  • Whether AWS will introduce more automated 'guardrails' for Bedrock token usage.

Try it

Check your AWS Cost Explorer to see if you can enable 'Include caller identity (IAM principal) allocation data' in your CUR 2.0 exports.

Up nextA developer's coding agent was carrying 1,587 skills and 69 browser tools every turn

More stories

Say why

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

Sources

The reporting and documents this story is built from. Each link opens the original.

Written with AI by the SI Agent News Desk from the reporting above. Every number is checked against it.Spot a mistake? Corrections.

More AI news