View a markdown version of this page

Getting started with the AI cost dashboard - AWS Cost Management

Getting started with the AI cost dashboard

Permissions

To view the AI cost dashboard, your IAM user or role needs permission for the following actions:

  • ce:GetCostAndUsage

  • ce:GetDimensionValues

To open the AI cost dashboard
  1. Open the Billing and Cost Management console at https://console.aws.amazon.com/cost-management/.

  2. In the navigation pane, choose AI Costs.

You can also open the dashboard from the Budgets page by choosing View AI Costs.

The dashboard shows the following:

  • Set up AI tracking at the user level: a banner that shows how many of the three user-level setup steps you have done. For more information, see Setting up AI tracking at the user level.

  • Spend overview: today's spend (in UTC), your daily average for the time period, a chart of the last 24 hours, and the change compared with the same time yesterday. Today's spend always covers the current calendar day (UTC), whatever time period you select.

  • Cost chart: a chart of your spend over time, in USD.

  • Usage chart: your usage over time, in the service's own unit: tokens for Amazon Bedrock, credits for Kiro, and agent hours for AWS Quick. The chart appears only when you select one service at a time, because it shows one unit at a time.

  • A cost table: your total cost for the time period. When you group by a dimension, the table shows the total cost for each value and the corresponding usage values, and you can search the values.

For the Cost and Usage charts, you can choose an area, stacked bar, bar, or line chart.

Using the AI cost dashboard for the first time

The first time you open the AI cost dashboard, before you turn on user-level attribution, the dashboard shows the account-level view. It shows all of your costs, grouped by the three AI services: Amazon Bedrock, Kiro, and AWS Quick.

When you turn on user-level attribution, you can use the new dimensions, such as user, group, and user attributes. User-level data starts to populate from the moment that you turn on user-level attribution. AWS doesn't backfill this data, so it doesn't include spend from before you turned it on.

Setting up AI tracking at the user level

To track and budget AI spend by person, finish three setup steps. The dashboard shows them in the Set up AI tracking at the user level banner, with a count of the steps that are done. You don't need these steps for budgets for IAM principals and accounts.

To set up AI tracking at the user level
  1. Set up IAM Identity Center. Choose Set up Identity Center to create an organization instance, or to connect your identity provider. AWS Budgets reads your users and groups from it.

  2. Turn on user-level attribution. This lets the AI cost dashboard and AI budgets read your IAM Identity Center users, groups, and their attributes. Choose Turn on, and then do the following:

    1. Select Enable user-level attribution for AI cost dashboard and AI budgets. This includes users, groups, and their attributes.

    2. Under User attributes for cost allocation, select at least one of Department, Cost Center, Organization, and Division. User-level attribution needs at least one attribute.

    3. Choose Turn on.

    User-level attribution requires user attributes for cost allocation tags to be enabled. When you turn it on, AWS automatically turns on user attributes for cost allocation tags for department, cost center, organization, and division. If you have already enabled user attributes for cost allocation tags, turning on user-level attribution imports the tags that you previously enabled. To review the permissions, choose View permission details. You can turn off user-level attribution in Cost Management preferences.

  3. Set up trusted identity propagation. Choose Add identity provider to connect your AI apps to IAM Identity Center, so that each person's spend counts toward their own budget. We can't check this step, so choose Mark as complete when you're done.

You can create an AI cost budget without finishing the last step. However, spend that goes through a shared application role doesn't count toward each person's budget.

To attribute Amazon Bedrock spend from third-party coding assistants, such as Claude Code, to a person, use trusted identity propagation when you invoke the Amazon Bedrock APIs.

What happens when you change user-level settings

Turning off user-level attribution in Cost Management preferences. AWS stops attributing new AI usage to users, groups, and user attributes. In the AI cost dashboard, you can still group and filter usage from before the change by these dimensions. You can't create or update AI cost budgets for users or groups. Existing budgets stop counting new spend within about a minute and show Stopped tracking for the rest of the budget period. The spend that they already counted stays visible.

Turning user-level attribution back on. To resume tracking, create a new budget. It counts spend from the time that you create it. Spend from while user-level attribution was off is never attributed to users and never counts toward a budget.

Turning off a user attribute. New usage no longer carries the attribute, and you can't create a budget on it. Budgets that filter on the attribute stop counting new spend. Other budgets keep working. Usage from before the change keeps its attribute values. While user-level attribution is on, at least one user attribute must stay on. To track the attribute again, turn it back on and create a new budget on it.

Changes to users and groups in IAM Identity Center. Each usage record keeps the user, groups, and attributes from the time of use. A budget for a group picks up members who join or leave. A budget that matches users by attribute covers new users that match. Membership changes can take a few hours to show up. If a group is deleted, you can't create a budget for it, and existing budgets for that group stop tracking usage.

What these settings store. The user-level attribution setting stores only the IAM Identity Center instance that you chose. The user attribute setting stores only which attributes are on. Neither setting stores user names, group names, email addresses, prompts, or responses. The dashboard looks up user and group names in your browser, with your own credentials.