> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloudthinker.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Cost Explorer

> Compare completed monthly spend by service, region, or account, ask CloudThinker why a cost changed, and export the breakdown as CSV.

Cost Explorer shows how one cloud account's spend changed over the last 6 or 12 completed months, and lets you ask CloudThinker why. It's CloudThinker's own page under **Optimize**, separate from the AWS Cost Explorer service it reads AWS billing from.

## Prerequisites

* A cloud account connected to Optimize with at least one completed billing month. See the [Optimize quickstart](https://docs.cloudthinker.io/guide/cost-optimization/quickstart.md).
* Any workspace role, Viewer included, can view Cost Explorer. Asking CloudThinker about it needs Developer or higher.

## Read spend over time

**1. Open Cost Explorer**

Click **Optimize → Cost Explorer**, then pick the account in the selector next to the page title.

**Success state:** you see a **Spend over time** chart and a **Breakdown by service** table.

![Cost Explorer with Group by Service, the 6 months range, Ask CloudThinker and Export buttons, a stacked Spend over time chart, and the Breakdown by service table](https://mintcdn.com/cloudthinker/IOnNsZPtwT4C7tHY/images/cost-optimization/analytics/01-cost-explorer.webp?fit=max\&auto=format\&n=IOnNsZPtwT4C7tHY\&q=85\&s=7e483272bc75005bc19938f9d097416e)

Cost Explorer for an AWS account, grouped by service over 6 completed months

**2. Pick a range**

Choose **6 months** or **12 months**. The stacked chart shows monthly spend for that many completed months. **Last full month** in the chart header shows the total for the most recent completed month. Optimize also reads one month before the range, so the oldest month in the table still gets a MoM figure.

**3. Pick a grouping**

Next to **Group by**, choose **Service**, **Region**, or **Account**. The chart and table regroup together, and the table title follows (for example **Breakdown by region**). **Account** groups by the connection's name, so with one account selected it's a single row.

Cost Explorer leaves out the current, unfinished month. For month-to-date spend and the month-end forecast, use [Overview](https://docs.cloudthinker.io/guide/cost-optimization/overview.md).

## Read the breakdown table

The chart stacks the five biggest groups across the range and adds the rest together as **Other**. The table lists every group for the latest completed month in your range, 10 rows per page.

| Column | Meaning |
| - | - |
| **Service**, **Region**, or **Account** | The group, named by your provider's billing data |
| **Share** | Percentage of that month's total spend |
| **Spend** | Finalized spend for that month |
| **MoM** | Percent change from the month before, with a sign and an up or down arrow (for example **+12.4%**). Rises are also red and drops green. A dash means there's no earlier month to compare |

The chart and table always cover one account. To compare several accounts in one document, generate a report with **All accounts** scope in [Reports](https://docs.cloudthinker.io/guide/cost-optimization/reports.md).

## See how this month is paid (AWS)

On AWS accounts, a card below the breakdown shows how the current month is paid, for example **How October is paid · \$9,600.52**. GCP and Azure accounts don't show it.

![How October is paid card with a bar split into On-Demand, Savings Plans, Reserved, Spot, and Unused commitment, coverage 0% marked Bought too little, and no commitments](https://mintcdn.com/cloudthinker/IOnNsZPtwT4C7tHY/images/cost-optimization/analytics/02-commitments.webp?fit=max\&auto=format\&n=IOnNsZPtwT4C7tHY\&q=85\&s=af398f12dfb502784df25cd8c7a06f2c)

An account that runs everything On-Demand or Spot, so its coverage reads Bought too little

The bar splits the month's spend into **On-Demand**, **Savings Plans**, **Reserved**, **Spot**, and **Unused commitment**. Below it, three figures each get a badge:

| Figure | What it measures | Badge |
| - | - | - |
| **Coverage of eligible spend** | The share of spend that Savings Plans and Reserved Instances could cover and do cover | **Bought too little** under 70%, otherwise **Covered** |
| **Commitment utilization** | The share of purchased commitments you use | **Unused** under 95%, otherwise **Healthy** |
| **Next expiry** | The nearest commitment end date | **No decision yet** within 60 days, otherwise **Healthy** |

Each Savings Plan or Reserved Instance gets its own row. A row is marked **Unused** below 80% use, and **Renew?** when it ends within 30 days. With no commitments, the card says everything runs On-Demand or Spot. Commitments are read on the daily refresh, so a new account can show **Commitments are read on the next daily refresh** at first.

[Cost Health](https://docs.cloudthinker.io/guide/cost-optimization/cost-health.md) scores the same commitments under **Rate optimization**.

## Ask CloudThinker why spend changed

**1. Open the ask drawer**

Click **Ask CloudThinker** in the toolbar. To ask about one service, group by **Service** and click the sparkle icon on its row (**Ask why** on a phone).

The drawer opens beside the page, scoped to the selected account and range. You stay on Cost Explorer.

**2. Pick or write a question**

Choose a suggested question, or type your own in **Ask anything about this spend**. A question from **Ask why** is filled in for you but not sent until you send it.

![Suggested questions: Why did this spend change?, What is driving most of this bill?, Find and record savings opportunities, What changed between the last two completed months?, Which existing actions should we do first?, and Is this growth efficient?](https://mintcdn.com/cloudthinker/IOnNsZPtwT4C7tHY/images/cost-optimization/analytics/03-ask-suggestions.webp?fit=max\&auto=format\&n=IOnNsZPtwT4C7tHY\&q=85\&s=0070cd493ccb773bc40f56c03f07e73e)

The six suggested questions in the ask drawer

**Find and record savings opportunities** can save new findings to [Findings](https://docs.cloudthinker.io/guide/cost-optimization/recommendations.md). The other suggestions only answer.

```text theme={null}
Why did Amazon EC2 spend go up last month, and which resources drove it?
Which services grew the most over the last 6 months?
```

**3. Send and read the answer**

Press Enter or click the arrow. CloudThinker starts a new conversation in the drawer, scoped to the account, range, and service you asked about.

**Success state:** CloudThinker's reply appears in the drawer. Click **Ask another question** (the pencil icon) to start a fresh conversation.

Closing the drawer keeps your draft and the page as they were.

## Export the breakdown

Click **Export** to download a CSV of the breakdown table for the current grouping. It has four columns: the group, **Last full month spend**, **Share of total**, and **MoM change**. **Export** stays greyed out until there's data to export.

The CSV covers only the latest completed month, not the monthly series in the chart. For month-by-month figures, use **Ask CloudThinker**, for example "Give me a table of monthly spend by service for the last 12 months".

## Currency

AWS and GCP show USD. Azure shows the billing scope's own currency (see [Provider differences](https://docs.cloudthinker.io/guide/cost-optimization/overview.md#provider-differences)). Optimize never converts Azure amounts to another currency, so compare Azure accounts only with others in the same currency.

## Troubleshooting

> [accordion] No cost history yet
>
> **Cause:** the account has no completed billing month in Optimize yet. History appears once billing for at least one full calendar month has been imported.
>
> **Fix:** check that the first scan finished on **Overview**. A brand-new cloud account shows history only after its first full month.

> [accordion] Couldn't load Cost Explorer
>
> **Cause:** the request failed. Your saved data isn't affected.
>
> **Fix:** click **Retry**. If it keeps failing, check the connection status in **More → Workspace settings → Connections** (see [Connections](https://docs.cloudthinker.io/guide/connections/overview.md)).

> [accordion] The latest month looks low or is missing
>
> **Cause:** providers finalize billing after usage happens. AWS Cost Explorer can lag by 24 to 48 hours.
>
> **Fix:** check the **Updated** time in the page header. Leave **Daily refresh** on so Optimize picks up late billing data on its own.

> [accordion] The sparkle icon or Ask why doesn't appear
>
> **Cause:** per-row asking works only when you group by **Service**.
>
> **Fix:** switch **Group by** to **Service**, or use **Ask CloudThinker** in the toolbar.
>
> If the icon appears but the panel says **Chat access is required to ask CloudThinker**, your role is Viewer. Asking needs Developer or higher, so ask a workspace Admin to change your role.

> [accordion] Couldn't open the investigation
>
> **Cause:** the conversation didn't start.
>
> **Fix:** your question is kept. Click **Retry** to send it again. If it keeps failing, check the connection status in **More → Workspace settings → Connections** (see [Connections](https://docs.cloudthinker.io/guide/connections/overview.md)).

## Next steps

> [card] [Work your findings](https://docs.cloudthinker.io/guide/cost-optimization/recommendations.md)
>
> Turn the biggest cost drivers into savings you track to done

> [card] [Review anomalies](https://docs.cloudthinker.io/guide/cost-optimization/anomalies.md)
>
> See which days a service spent more than expected


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.