Chatting about your costs - Amazon Q Developer

Chatting about your costs

Amazon Q's cost analysis capability is in preview and can make mistakes. Please verify your cost data with AWS Cost Explorer. Use the thumb icon in Amazon Q to provide feedback and help us improve.

You can ask Amazon Q about your AWS bill and account costs in the AWS Management Console. Amazon Q can retrieve your cost data, explain costs, and analyze cost trends, so you can understand your costs without referring to documentation or interrupting your workflow.

When you ask Amazon Q about your costs, its response includes information about the requested cost figure, including the metric, time period and granularity, and any groups or filters applied to retrieve the cost data. It also provides a link to an AWS Cost Explorer view with the same specifications, so you can see visualizations or download the data for your own analysis.

Prerequisites

Add permissions

To chat about your costs, your IAM identity must have the following permissions:

Enable AWS Cost Explorer

To chat about your costs with Amazon Q, you must enable AWS Cost Explorer in your AWS account. To enable Cost Explorer, open the Cost Explorer console. For more information, see Enabling Cost Explorer in the AWS Cost Management User Guide.

Example questions

Following are example questions about costs that you can ask Amazon Q:

  • How much did we spend on SageMaker in January?

  • What are the top contributing services to my AWS bill in the 'eu-central-1' region?

  • What were my Amazon EC2 costs by instance type last week?

  • What was my cost breakdown by service for the past three months?

  • Which linked accounts increased their spend the most from January to February?

  • Which linked accounts spent the most on DynamoDB last month?

  • What were my cost trends by region over the last three months?