AI Cloud Architect

Part 2: Amazon Bedrock cost attribution with Amazon Athena and CUDOS

AWSHow-to by Abhi Shivaditya, Brenno Passanha and Yash YamsanwarAWS Artificial Intelligence Blog

Learn how to visualize and analyze Amazon Bedrock cost attribution using Amazon Athena and CUDOS dashboards. This post shows how to set up CUR 2.0 with IAM principal data, query Bedrock spend by principal, project, and team, and build dashboards to track AI costs across your organization.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Bedrock spend can be broken down by IAM principal and tag using CUR 2.0 with caller identity data, queried in Athena and shown in CUDOS 5.8 dashboards.

Who it is for

Platform and FinOps teams running several Bedrock-based apps that need per-team or per-application AI cost reports.

Key points

  • Requires enabling caller identity (IAM principal) allocation data in a CUR 2.0 export; the first report can take up to 24 hours.
  • Enabling IAM principal data makes CUR files larger because each principal gets its own row.
  • Athena charges $5 per TB scanned with a 10 MB minimum per query; the sample pattern is intended to keep scans small.
  • CUDOS 5.8 adds a Bedrock section in the AI/ML tab with grouping by principal, tags, model and region.

The same at other vendors

Timeline

  1. What it explainsAmazon Bedrock now supports cost allocation by IAM user and role · AWS · Announcement
  2. What it explainsIntroducing granular cost attribution for Amazon Bedrock · AWS · Announcement
  3. This postPart 2: Amazon Bedrock cost attribution with Amazon Athena and CUDOS

Go deeper