View a markdown version of this page

Creating an AI cost budget - AWS Cost Management

Creating an AI cost budget

An AI cost budget tracks your spend on Amazon Bedrock, Kiro, and AWS Quick within minutes of usage. You get alerts when spend reaches the thresholds that you set. For Amazon Bedrock, you can also block new requests when spend reaches 100 percent of the budget. For more information, see Blocking Amazon Bedrock usage with an AI budget. You can also create an AI cost budget for individual IAM Identity Center users, an IAM Identity Center group, or IAM principals. For more information, see Creating an AI cost budget for users, groups, or IAM principals.

You can also create an AI cost budget from a template. The steps are the same, with the settings filled in for you. After you create a budget from a template, you can change only its amount.

The following steps create an AI cost budget for accounts. To create a budget for users, groups, or IAM principals, see Creating an AI cost budget for users, groups, or IAM principals later on this page.

To create an AI cost budget for accounts
  1. Open the Billing and Cost Management console at https://console.aws.amazon.com/cost-management/.

  2. In the navigation pane, choose Budgets.

  3. At the top of the page, choose Create budget.

  4. Under Budget setup, choose Customize (advanced).

  5. Under Budget types, choose AI cost budget. Then, choose Next.

  6. Under Accounts, choose the linked accounts whose AI spend counts toward this budget:

    • All linked accounts: every linked account in your organization, including accounts that are added later.

    • Specific linked accounts: only the accounts that you select from the list.

  7. Under Details, do the following:

    1. For Budget name, enter a name of up to 100 characters.

    2. For Budget period, choose Daily, Weekly, or Monthly. The budget resets to its full amount at the start of each period, at 00:00 UTC.

    3. For Amount, enter the budget amount in USD. We recommend using the AI cost dashboard to evaluate current spend before selecting the budget amount.

    4. For Cost metric, choose Public On-Demand Cost (list price) or Estimated Contracted Cost (estimated cost after your negotiated pricing).

    5. For Duration, choose Ongoing to keep the budget resetting until you change or delete it, or Until an end date to stop it at the end of the day that you choose.

    Note

    The budget starts today. If today isn't the start of a period, the first period is shorter and still gets the full amount.

  8. Under AI services, select the services whose spend counts toward this budget:

    • Bedrock: Inference Model (Token): only tracks the costs of model inference priced in tokens. Other Amazon Bedrock costs, such as model inference not priced in tokens, Provisioned Throughput, and Guardrails, aren't tracked in AI cost budgets. Includes third-party models. For Models, choose one of the following:

      • All models: every provider, model, and version, including ones that are added later.

      • Specific providers: every model and version from the providers that you choose, including ones that they add later.

      • Specific models: only the models that you choose, as they are today. Models released later, including new versions, don't count.

    • Kiro: Credit Pooling Consumption: the budget counts every Kiro credit used through credit pooling. Kiro seats and credit packs aren't included.

    • Quick: Agent Hour Consumption: the budget counts only AWS Quick agent hours beyond the hours included with your subscription. Subscription costs aren't included.

  9. (Optional) Under Additional filters, choose Add filter. Choose a Dimension, such as Region, Service tier, Token type, Usage type, or IAM principal (available only when Amazon Bedrock is the only AI service selected), and then choose one or more Values. You can add up to five filters, one for each dimension.

    Note
    • Spend counts toward the budget only when it matches every filter. Within a filter, spend that matches any of its values counts.

    • To block Amazon Bedrock requests on the Alerts and blocking step, the budget must cover only Amazon Bedrock with All models, and have no additional filters. You can still block new Amazon Bedrock requests if you select specific linked accounts.

  10. Choose Next.

  11. (Optional) Under Block requests, turn on Block Bedrock requests, and then select Allow AWS Budgets to block requests with Service Control Policies (SCPs). For details about what this does, see Blocking Amazon Bedrock usage with an AI budget.

  12. Under Alert thresholds, every AI cost budget alerts when spend reaches 100 percent of the budget. To warn sooner, choose Add alert and enter a threshold as a percentage of the budget.

  13. Under Notification settings, do the following:

    1. For Email recipients, enter up to 10 email addresses, separated by commas. For a larger group, use an email list address.

    2. (Optional) For Amazon SNS topic ARN, enter the ARN of an Amazon SNS topic to also post alerts to chat, page an on-call team, or start a workflow. The topic's access policy must allow AWS Budgets to publish to it. For more information, see Creating an Amazon SNS topic for budget notifications.

  14. Choose Next. Review your settings, and then choose Create budget.

AWS Budgets sends email alerts in a daily summary at 9:00 AM UTC, only on days when an alert fires. An Amazon SNS topic receives each alert as it fires. To get alerts right away, add an Amazon SNS topic to the budget.

To view your AI cost budgets, open the Budgets page and choose the AI cost budgets tab. The list shows each budget's status, enforcement status, amount, and amount used. The list also shows the Principals over budget for each budget. To see one person's AI spend in every budget that they have spent in during the current period, use Find a person. Choose the identity type, such as Identity Center user, enter the person's email or user ID, and press Enter. The search is an exact match and ignores case.

Creating an AI cost budget for users, groups, or IAM principals

You can create an AI cost budget that applies to IAM Identity Center users, an IAM Identity Center group, or IAM principals, instead of tracking all AI spend in your accounts against one budget. The budget tracks the spend of each assignee on Amazon Bedrock, Kiro, and AWS Quick within minutes of usage. AI cost budgets for users and groups are in preview. These budgets send alerts and don't block usage.

For Amazon Bedrock, budgets for users and groups include only token-priced model inference, and only when the requests are sent to the Amazon Bedrock Runtime endpoint. Requests sent to the Amazon Bedrock Mantle endpoint, batch inference, and bidirectional streaming aren't included. For IAM principals, the budget counts Amazon Bedrock spend only.

To create a budget for IAM Identity Center users or a group, first set up AI tracking at the user level. For more information, see Setting up AI tracking at the user level. You don't need these steps for budgets for IAM principals and accounts. You can create a budget without finishing the last step, trusted identity propagation. However, spend that goes through a shared application role doesn't count toward each person's budget.

A member account can also create an AI cost budget for users, groups, or IAM principals. The budget uses the IAM Identity Center instance of the management account. It counts the spend of the users in that instance who operate within the linked account, and this spend also appears in the AI cost dashboard.

To create an AI cost budget for users, groups, or IAM principals
  1. Open the Billing and Cost Management console at https://console.aws.amazon.com/cost-management/.

  2. In the navigation pane, choose Budgets.

  3. At the top of the page, choose Create budget.

  4. Under Budget setup, choose Customize (advanced).

  5. Under Budget types, choose AI cost budget. Then, choose Next.

  6. On the Scope and assignees step, under Accounts, choose the linked accounts whose AI spend counts toward this budget:

    • All linked accounts: every linked account in your organization, including accounts that are added later.

    • Specific accounts: only the linked accounts that you select.

  7. Under Identities, choose Select individual identities to apply the budget to IAM Identity Center users, a group, or IAM principals. If you choose Don't select identities, the budget tracks all AI spend in the accounts in scope against one budget.

  8. Under Identity type, choose the type of identity. A budget applies to one type of identity:

    • Identity Center users: users in your IAM Identity Center instance. You can narrow them by attributes such as department or cost center.

    • Identity Center group: one group. Members who join or leave later are picked up automatically.

    • IAM principals: IAM roles and IAM users. This counts Amazon Bedrock spend only.

    Under Identity Center instance, check the name, Region, and instance ID of the instance. The budget reads users and groups from this instance.

  9. Choose the identities that the budget covers. For Identity Center users, under Identity Center users, choose one of the following:

    • All Identity Center users: every IAM Identity Center user in scope, including users that are added later.

    • Specific Identity Center users: for Users, enter each user's email or user ID, exactly as IAM Identity Center has it, and then choose Add. Add more users one at a time. Users that are added to IAM Identity Center later aren't covered. (Optional) To count only the users whose IAM Identity Center attributes match your conditions, choose Add condition.

    • Identity Center users that match conditions: narrow the users by department, organization, division, or cost center. Choose an Attribute, a Condition, and a Value. Each condition checks an attribute of the identity, and an identity must match every condition. New users that match are covered automatically.

    Matching ignores case. To enter several values, separate them with commas. A user matches if their attribute has any of the values. You can add one condition for each attribute.

    For Identity Center group, enter one group's name or ID from IAM Identity Center, and then choose Add. You can find the group's name or ID in the IAM Identity Center console. Members who join or leave later are picked up automatically. (Optional) To count only the members of the group whose attributes match every condition, choose Add condition.

  10. Under Allocation, choose how the budget amount reaches the assignees:

    • Individual: every assignee gets their own counter, for example $100.00 a month each. One person's usage never uses up another's.

    • Shared: all assignees draw from one counter, for example $1,000.00 a month for the team.

  11. Under AI services, select the services whose spend counts toward this budget, or choose Select all:

    • Bedrock: Inference Model (Token). Bedrock totals might be lower than your bill. Only token-priced model inference through the Bedrock Runtime endpoint is included in the AI cost dashboard and AI budgets. All models includes third-party foundation models from Amazon Bedrock Marketplace and third-party agentic coding assistants.

    • Kiro: Credit Pooling Consumption. This covers the credit pooling model only. Kiro subscriptions aren't included.

    • Quick: Agent Hour Consumption. This covers usage costs only. AWS Quick subscriptions aren't included.

  12. (Optional) Under Additional filters, choose Add filter. Choose a Dimension, and then choose one or more Values. You can add up to three filters, one for each dimension. For budgets for identities, the Region filter shows US East (N. Virginia), and the budget tracks AI spend in this Region only.

  13. Choose Next.

  14. On the Amount and period step, under Details, do the following:

    1. For Budget name, enter a name of up to 100 characters.

    2. For Period, choose Monthly, Weekly, or Daily. This is when the budget resets.

    3. For the amount, for example Monthly amount per assignee, enter the budget amount in USD, up to 2 decimal places.

    The budget starts today and keeps resetting until you change or delete it. If today isn't the start of a period, the first period is shorter and still gets the full amount.

  15. Under Cost metric, choose how usage is priced for this budget:

    • Estimated contracted cost: the cost of on-demand usage, priced at negotiated rates. It excludes commitment-based discounts such as Reserved Instances and Savings Plans, tax, credits, and refunds.

    • Public on-demand cost: the cost of on-demand usage, priced at public rates. Each SKU is priced at a single public rate, so free tiers and volume tiers aren't applied. Instead, the highest-tier rate is used. It excludes commitment-based discounts such as Reserved Instances and Savings Plans, tax, credits, and refunds.

    The Your budget so far panel shows the allocation, the amount per assignee, the assignees, and the total per month. With Individual allocation, the total grows with the number of users that the budget covers.

  16. Choose Next.

  17. (Optional) On the Alerts step, under Alert thresholds, every budget sends an alert when an assignee reaches 100 percent of their budget. To warn sooner, choose Add alert and enter a threshold as a percentage of the budget.

  18. (Optional) Under Notification settings, do the following:

    1. For Email recipients, enter email addresses, separated by commas. Email recipients receive a daily summary at 9:00 AM UTC. Email recipients that you add on or after September 30, 2026 must verify their address before they receive budget notifications.

    2. For Amazon SNS topic ARN, enter the ARN of an Amazon SNS topic. The topic receives each alert as it fires.

    Alerts go only to the email addresses and Amazon SNS topic that you enter. Without either, the budget tracks spend but sends no alerts.

  19. Choose Next.

  20. On the Review and create step, review your settings, and then choose Create budget. To change a setting, choose Edit. After you create the budget, you can change only the budget amount. To change any other setting, create a new budget.

Note

A budget for users, groups, or IAM principals starts to populate only when there is usage. If you assign a budget to one or more users and none of them has AI spend, the budget shows 0 assignees and $0 spend. When a user starts to accumulate usage, their name is added to the Assignees with spend list. Anyone who hasn't spent yet isn't listed.

Important

It can take several minutes for a budget to be created and for budget changes to take effect. During this time, your usage isn't tracked in the budget.

Choosing between AI cost budgets and Amazon Bedrock gateway spend limits

AI cost budgets for users and groups track token-priced model inference sent to the Amazon Bedrock Runtime endpoint. They don't include batch inference, bidirectional streaming, any requests sent to the Amazon Bedrock Mantle endpoint, or any model inference that isn't priced by token. They send alerts and don't block usage. If you need to cover all Amazon Bedrock spend for a user or group, or to stop a user at their limit, use spend limits in the Amazon Bedrock gateway (gated preview).

Use case Use What you can do Requirements
Track, alert on, and stop AI spend (Amazon Bedrock, Kiro, and AWS Quick) for an account or organization AI cost budgets for accounts See spend in the AI cost dashboard within minutes, get alerts within minutes through Amazon SNS, set alert thresholds before the limit, and block new Amazon Bedrock requests in linked accounts at the limit AWS Budgets permissions
Track and alert on AI spend (Amazon Bedrock, Kiro, and AWS Quick) for IAM Identity Center users or groups AI cost budgets for users and groups (preview) See spend in the AI cost dashboard within minutes, get alerts within minutes through Amazon SNS, and set alert thresholds before the limit AWS Budgets permissions, IAM Identity Center, and trusted identity propagation
Stop all Amazon Bedrock spend in a Region for a user or group at a limit, at public rates Amazon Bedrock gateway spend limits (gated preview) Block, throttle, or fall back to another model AWS Budgets permissions

Viewing an AI cost budget for users, groups, or IAM principals

To view a budget, open the Budgets page, choose the AI cost budgets tab, and then choose the name of the budget. Spend takes about 5 minutes to reach the budget, so the spend and alerts might not reflect final spend yet. The budget page shows the following:

  • Alerts: the alert thresholds, the email recipients and how many have verified their address, and the Amazon SNS topic.

  • Email verification: the verification status of each email recipient. Recipients that you add on or after September 30, 2026 must verify their address first. To send a verification email, choose Send email verification.

  • Budget details: the status, budget amount, cost metric, start date, accounts, assignees, Region, AI services and models, models released later, IAM Identity Center instance, and alert delivery.

For a budget with Individual allocation, the page also shows the following:

  • Assignee status: the assignees that have AI spend this month, by status. Over budget means that an assignee spent 100 percent or more of their budget. Approaching budget means that they spent 80 to 99 percent of their budget this month. On track means that they spent less than 80 percent of their budget.

  • A banner when assignees are over budget, for example 38 of 10,000 users over budget. An alert goes to the budget's email recipients and Amazon SNS topic for each assignee who reached 100 percent. To give everyone more room, edit the budget amount.

  • Month-to-date spend against this budget: the budget for each user, the month-to-date spend across all users so far, and the number of assignees with spend.

  • Assignees with spend: the people who have used AI services this month, with the most spend first and names from IAM Identity Center. The list shows each assignee's Status, Budget, Spend, percentage Used, and Last usage. Anyone who hasn't spent yet isn't listed. To find specific assignees, enter an exact email or user ID, and press Enter. The search ignores case. You can separate up to 20 with commas.

For a budget with Shared allocation, the page shows the spend for the whole pool, not for each assignee: the percentage used, the amount spent of the total, the amount left, and the status. To raise the shared amount, choose Increase shared amount.

To change the budget amount, choose Edit. To remove the budget, choose Delete.

Budget end date and expiry notifications

Every budget has an end date. If you don't provide an end date when you create the budget, it defaults to 2087-06-15. AWS Budgets sends an expiry notification when a budget will expire within 7 days. AI cost budgets for accounts send expiry notifications in the same way.

For AI cost budgets for users and groups, AWS Budgets can't guarantee expiry notifications. You might receive one if you are already receiving a "notification threshold breached" email for the budget.

Creating an AI cost budget with the API

To create an AI cost budget with the AWS Budgets API, call CreateBudget with a COST budget, and set the metric to PublicOnDemandCost or EstimatedContractedCost. These metrics match the Cost metric options in the console.

To list only your AI cost budgets, use the Metrics parameter with DescribeBudgets, DescribeBudgetActionsForAccount, or DescribeBudgetNotificationsForAccount. The response includes only the budgets, actions, or notifications for budgets that use one of the metrics that you specify.