
要点
- On 13 November 2026 Amazon Web Services published a guide, by Aamna Najmi, Aswath Ram A Srinivasan, and Benedict Augustine, on attributing and controlling spend from AI developer and productivity tools that call Amazon Bedrock.
- AWS says Bedrock records the IAM identity of every inference caller with no change to the API call. The identity is written to Cost and Usage Reports 2.0 in the line_item_iam_principal column. Claude Code, Claude Desktop, OpenAI Codex, ChatGPT Work, and OpenCode are named as tools that can inherit this attribution if they call the bedrock-runtime or bedrock-mantle endpoints.
- Usage in the billing export is aggregated per principal and per usage type for each interval, one hour in an hourly export or one day in a daily export. CUR does not contain per-request cost. For per-prompt detail, the post points to model invocation logs or request metadata tagging.
- Optional session tags, such as team or cost center, can flow into CUR 2.0 with an iamPrincipal/ prefix and appear as filters in Cost Explorer. The post walks through a federated-identity pattern with IAM Identity Center and an external identity provider.
- AWS lists three layers of usage control: Budgets as a backstop, a DynamoDB-based quota that withholds credentials at the next refresh rather than on each API call, and an LLM gateway that can block individual invocations at the cost of added latency and operational complexity. The post includes no customer spend figures.
On 13 November 2026, Amazon Web Services published a guide to a problem that shows up as soon as a company puts AI coding tools in many employees' hands. Finance and platform teams want to know what each person costs, which teams spend the most, and how next year's budget should move with headcount. The AWS answer is that Amazon Bedrock already records the IAM identity of every inference caller, and writes that identity into Cost and Usage Reports 2.0, without a change to the application request.
The claim does not depend on which tool makes the call. The post says Claude Code, Claude Desktop, OpenAI Codex, ChatGPT Work, and OpenCode all reach Bedrock through one of two endpoints, bedrock-runtime or bedrock-mantle, and that attribution happens at that layer. Configure identity propagation once, and every tool that routes inference through Bedrock inherits per-user cost visibility. The useful question is what that visibility leaves out.
[1]When a user invokes a model through either endpoint, Bedrock captures the caller's full IAM Amazon Resource Name, including the session name for federated users, and publishes it in the line_item_iam_principal column of CUR 2.0. In the billing data, usage is aggregated per principal and per usage type for each export interval. That interval is one hour in an hourly export, or one day in a daily export. The post is explicit that CUR does not contain per-request cost. Teams that need a cost for each prompt are told to use model invocation logs or request metadata tagging.
Optional tags can add a second axis. Tags attached to IAM principals, or session tags passed during federation, such as team or cost center, appear in CUR 2.0 with an iamPrincipal/ prefix, and can be used as filters in Cost Explorer. The post says the same mechanism supports four access patterns: IAM users, per-application roles, federated identities, and gateways that proxy calls to Bedrock. This walkthrough uses federated identity, which AWS calls the natural fit when each developer signs in as themselves. Users authenticate with the same aws sso login flow they already use for other AWS access.
[1]The built-in path answers "who called," on a delay that matches the billing export. It does not, by itself, stop a person mid-session. AWS describes three further controls, and it is candid about the lag in each of the cheaper ones.
AWS Budgets can watch attributed spend and send alerts, or start a scripted response, after the billing data lands. That is a backstop, not a live brake. A DynamoDB-based quota, incremented by a Lambda function at the authentication layer, can withhold credentials once a per-user token count is exceeded. Enforcement takes effect at the next credential refresh, not on the individual API call. An LLM gateway can block a single invocation across Bedrock models and software-development-kit workloads, at the cost of more operational work and added latency on every request. The post's own advice is to layer them: CUR 2.0 for reporting, a gateway or DynamoDB quota for tighter control, and Budgets as a last check.
[1]The operational pitch is incremental adoption. Start by connecting an identity provider to IAM Identity Center and assigning a Bedrock permission set, which gives session-level attribution in CloudTrail immediately. Activate cost-allocation tags so the same identity shows up in CUR 2.0. Add Athena queries and dashboards as reporting needs grow. Add tighter controls only as the organization's tolerance for lag shrinks.
That sequence is coherent. It also shows where the product still hands work back to the customer. The "zero-instrumentation" phrase in the lede applies to the API call, not to the surrounding identity, tagging, query, and enforcement stack. A company that wants a hard, per-prompt cap still has to build or buy a gateway. A company that only needs a monthly team report can stay closer to the native path.
[1]A fair reading is that putting the caller's identity on every Bedrock inference, and doing it under the existing AWS security boundary, is the right default now that many coding tools have become thin clients over the same two endpoints. It is better than asking each vendor for a different export, or minting a separate IAM role for every developer. AWS also deserves credit for stating, in the same post, that CUR will not give per-request cost, and that budget alerts lag the event.
The evidence is a mechanism description, not a measured finance result. There are no customer figures for how much unattributed spend this removes, how often a DynamoDB quota actually fires, or what latency a gateway adds. The post also does not compare Bedrock's native attribution with the export quality of tools that call other model APIs directly. Treat it as a platform design note for teams already standardized on Bedrock, not as proof that AI-tool FinOps is now a solved report in Cost Explorer.
[1]Over the next six months, the useful check is whether finance teams actually build Athena queries on line_item_iam_principal and use them in budget conversations, and whether companies that need live caps publish which of the three control layers they chose. If the native export is widely used for monthly reporting, and if real-time stopping remains a sidecar, the post will have described the split accurately. If teams still cannot say what a single developer cost last week, the identity column in CUR will have been a necessary start, not the control plane the headline might suggest.
[1]