Artificial Intelligence1 min read

Cost attribution and controls for AI developer and productivity tools on Amazon Bedrock

By · Published by Everything Blog

In short

Cloud administrators can track generative AI expenses back to specific initiating identities without altering application code or API requests. Operating natively at the endpoint layers, this tracking routes caller identities and metadata straight into standard AWS billing utilities. The system aggregates billing records by principal and usage type over hourly or daily export intervals rather than logging each individual request. This framework allows enterprises to assess team expenditures against business value and implement native controls across developer workflows.

Key points

  • Built-in cost attribution enables organizations to map artificial intelligence tool expen…: Built-in cost attribution enables organizations to map artificial intelligence tool expenditures back to individual users and specific teams.
  • Billing reports aggregate inference usage over hourly or daily intervals instead of recor…: Billing reports aggregate inference usage over hourly or daily intervals instead of recording data on a per-request basis.
  • Per-request metadata tagging and invocation logs allow enterprises to review token-level,…: Per-request metadata tagging and invocation logs allow enterprises to review token-level, per-prompt details for granular auditing.

Sources checked by our analysis pipeline: 1

Artificial Intelligence

Cost attribution and controls for AI developer and productivity tools on Amazon Bedrock

Amazon Bedrock provides built-in, zero-instrumentation cost attribution that traces every inference call back to the IAM principal that made it. The identity flows along with organizational tags, into AWS Cost and Usage Reports (CUR 2.0) and AWS Cost Explorer while keeping data inside the AWS security boundary. This post shows you how to use these capabilities to answer three questions that every FinOps and AI Platform leader asks as AI tool adoption scales: What is the real per-user cost? Which teams generate the most spend, and does that spend correlate with the value they deliver? How should next year’s budget scale with headcount and adoption?

The approach works identically regardless of which AI coding or productivity tool makes the call. Claude Code, Claude Desktop, OpenAI Codex, ChatGPT Work, and OpenCode all invoke Amazon Bedrock through one of two inference endpoints: bedrock-runtime

or bedrock-mantle

, and Bedrock’s attribution mechanism operates at the endpoint layer, beneath any tool-specific logic. You configure identity propagation once, and every tool…

Artificial Intelligence