AWS outlined how Bedrock customers can attribute inference costs to individual users and apply usage controls across AI coding and productivity tools.
An AWS Machine Learning post published November 13, 2026, explains how organizations can trace Amazon Bedrock inference spending to the IAM identity behind each request. The approach is intended for AI coding and productivity tools that route model calls through Bedrock, including Claude Code, Claude Desktop, OpenAI Codex, ChatGPT Work, and OpenCode.
Bedrock records the caller’s IAM identity at the inference endpoint, without requiring changes to API calls. With federated users, IAM Identity Center can provide distinct sign-in identities; session tags such as team or cost center can add organizational detail. The identity and tags can then appear in AWS Cost and Usage Reports 2.0 (CUR 2.0) and AWS Cost Explorer. The post describes support for both the bedrock-runtime and bedrock-mantle endpoints.
There is an important limit to the billing data: CUR reports usage by principal and usage type for each export interval—hourly or daily—but does not provide a cost for every individual request. Organizations needing prompt-level detail can use model invocation logs or request metadata tagging. AWS also describes using Amazon Athena to query the resulting data and connecting dashboards to services such as Quick Sight or Grafana.
The post outlines several ways to impose usage limits, each with different trade-offs. AWS Budgets can trigger an action after a threshold is crossed, but billing updates may lag: budgets update up to three times daily, and Bedrock charges can take up to 24 hours to appear. CloudWatch alarms paired with AWS Lambda can reduce enforcement latency to one to five minutes, while requiring inference profiles or per-user roles for user-level granularity. DynamoDB-based quotas act at credential refresh, and a gateway can block individual requests at the cost of added complexity and latency.
AWS’s suggested approach is to use CUR 2.0 for reporting and layer faster enforcement mechanisms with budgets as a backstop. The attribution depends on users authenticating as themselves; shared roles or gateway identities can otherwise consolidate usage under one principal.



