Overview of Amazon Q Developer's cost analysis capability - AWS Cost Management

Overview of Amazon Q Developer's cost analysis capability

Amazon Q Developer’s cost analysis capability is a feature of Amazon Q Developer that works with Cost Explorer. With the cost analysis capability in Amazon Q Developer, you can ask questions about your AWS costs and receive answers in natural language that reflect the actual costs of your AWS services. Amazon Q Developer’s cost analysis capability uses generative AI and large language models (LLMs) to interpret your question, requests the relevant cost data from Cost Explorer, and provides an easy-to-understand, conversational response. With each response, Amazon Q Developer provides transparency on the parameters that were used to retrieve your cost data, as well as a link to a matching visualization in the Cost Explorer console.

For example, if you ask Amazon Q Developer a question such as “What services did I spend the most on last month?”, it will return a response similar to the following:

The AWS services with the highest costs for your account last month were:

  1. Amazon Relational Database Service: $2,595.55 (36.65% of total cost)

  2. EC2 - Other: $1,222.71 (17.26% of total cost)

  3. Amazon QuickSight: $1,006.32 (14.21% of total cost)

  4. Amazon OpenSearch Service: $695.07 (9.81% of total cost)

  5. Amazon ElastiCache: $482.11 (6.81% of total cost)

  6. Amazon Elastic Load Balancing: $269.05 (3.80% of total cost)

  7. AWS Supply Chain: $208.32 (2.94% of total cost)

  8. Amazon Elastic Container Service for Kubernetes: $148.80 (2.10% of total cost)

  9. Amazon Virtual Private Cloud: $141.50 (2.00% of total cost)

  10. AWS Glue: $67.57 (0.95% of total cost)

The following Cost Explorer parameters were used to answer your question:

  • Date range: 2024-03-01 through 2024-03-31 (inclusive)

  • Granularity: "MONTHLY"

  • Group-by dimensions: "Service"

  • Filter: Excludes charge types “Refund”, “Credit”

  • Metric: "UnblendedCosts"

If the response isn’t immediately useful, you can ask follow-up questions to expand on the initial response. Amazon Q Developer’s cost analysis capability uses the context from your current conversation to create follow-up responses.

Getting started

To use the cost analysis capability in Amazon Q Developer, you must first opt in to Cost Explorer. To opt in to Cost Explorer, open the Billing and Cost Management console at https://console.aws.amazon.com/costmanagement/. Once you’ve opted in to Cost Explorer, it can take up to 24 hours for your cost data to be available.

To start a conversation with Amazon Q Developer
  1. Log in to the AWS Management Console at https://console.aws.amazon.com.

  2. Choose the Amazon Q Developer icon on the right side of the console.

  3. Ask a question about your costs, such as “What were my costs last month?”

Pricing

The cost analysis capability is included with Amazon Q Developer. For information about Amazon Q Developer pricing, see Amazon Q Developer pricing.