AWSErik MackTutorial
Track generative AI costs with Amazon Bedrock inference profiles
Summary
When multiple departments share a single foundation model in Amazon Bedrock under one IAM role, usage aggregates into one billing line item, complicating department-level chargebacks and budget tracking. This issue can be resolved by deploying Amazon Bedrock application inference profiles wrapped around the shared foundation model and tagging each profile for cost allocation. The application layer determines the user department during authentication and passes the corresponding inference profile ARN as the model identifier. Once the designated cost allocation tag is activated in the AWS Billing and Cost Management console, usage separates into per-department line items in AWS Cost Explorer. This method incurs standard per-token model rates without extra charges for cost attribution.
Context
Multiple teams sharing a single foundation model under one IAM role generate aggregate billing that prevents finance from performing chargebacks, setting per-team budgets, or tracking individual department spend.
Approach / What changed
Create department-specific application inference profiles referencing the same foundation model, tag each profile for cost allocation, and configure the application to route user requests to the respective profile ARN.
Takeaways
Using an application inference profile incurs standard per-token pricing with no additional charges for cost attribution.
Cost allocation tags take 24 to 48 hours after activation in AWS Billing and Cost Management to display tagged costs in Cost Explorer.
Deleting an application inference profile immediately breaks applications relying on its ARN, and recreated profiles receive new ARNs.
Source and freshness
- Source
- aws.amazon.com
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.