Cost attribution and controls for AI developer and productivity tools on Amazon Bedrock
AWS•How-to••by Aamna Najmi, Aswath Ram A Srinivasan and Benedict Augustine•AWS Artificial Intelligence Blog
Amazon Bedrock provides built-in, zero-instrumentation cost attribution that traces every inference call back to the IAM principal that made it. This post shows how to attribute per-user Bedrock costs for AI developer and productivity tools using IAM Identity Center, session tags, and CUR 2.0, and how to enforce per-user usage limits.
Bedrock records the IAM principal behind each inference call, so per-user spend can be traced in CUR 2.0 using IAM Identity Center session tags and Athena queries.
Who it is for
FinOps and AI platform teams running Bedrock-based coding or productivity tools that need per-user cost visibility.
Key points
Attribution works at the Bedrock endpoint layer for bedrock-runtime and bedrock-mantle, so no per-tool instrumentation is needed.
Tags can take up to 48 hours to appear in CUR 2.0 and Cost Explorer, and activation is not retroactive.
AWS Budgets can lag up to 24 hours; CloudWatch and DynamoDB approaches enforce limits faster.
AI:Airbnb measures cost per task from evals and compares it with CloudWatch Bedrock metrics to choose models and set effort limits for its coding agents.
AI:Bedrock records the caller's IAM principal on each inference, so spend can be tagged, reported with CUR 2.0 or Cost Explorer, and capped with AWS Budgets actions that attach a Deny policy.
AI:A CloudWatch, Firehose, Lambda and Athena pipeline gathers Bedrock invocation logs from linked accounts into one queryable table with prompts, tokens, models and IAM identity.