> For the complete documentation index, see [llms.txt](https://docs.infraglide.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.infraglide.com/jane-ai-copilot/cost-optimization.md).

# Cost Optimization & Guidance

Jane AI and related cost services help you estimate spend, spot waste, and narrate billing trends. Numbers are guidance — validate against your cloud provider’s official billing consoles before making financial decisions.

***

### Where Cost Features Appear

| Surface                      | What you get                                                                                                |
| ---------------------------- | ----------------------------------------------------------------------------------------------------------- |
| **Deployed Resources**       | **Cost advisor** / **Analyze costs**; **AI cost forecast** / **Forecast next month**                        |
| **Dashboard**                | Quick link **Cost report** → Deployed Resources; InfraGlide AI tips are heuristic, not live Jane cost calls |
| **Pipeline docs / TCO**      | Estimate total cost of ownership for a pipeline design                                                      |
| **Monitoring overview**      | Infra digest / health cards that may include cost-adjacent narrative                                        |
| **Settings / Jane features** | Cost alert thresholds (also under cost-alerts APIs)                                                         |

***

### Cost Advisor

**Analyze costs** asks Jane to review deployed resource inventory for the org/project scope and return qualitative savings ideas and right-sizing suggestions.

* Price source: primarily **LLM estimation** over resource snapshots in InfraGlide’s DB — not a full AWS Price List crawl for every line item.
* Use it for ideation; confirm with provider calculators.

<figure><img src="/files/gXR0SbISLvsW4t2kIiZQ" alt="Jane AI Cost Estimation Dashboard" width="700"><figcaption><p>Figure 1: Jane AI Infrastructure Cost Estimation &#x26; Advisory</p></figcaption></figure>

***

### Cost Forecast

**Forecast next month**:

* **AWS:** uses Cost Explorer style history/forecast APIs when the credential allows, then Jane narrates the trend.
* **Non-AWS:** LLM heuristic forecast only.

Shows an estimated next-month amount, range, and trend commentary.

***

### TCO Estimator

Pipeline-scoped TCO estimates monthly ranges, cost drivers, and assumptions.

* Prefers Gemini citing published list-price style reasoning.
* Falls back to server heuristic tables when the model is unavailable.

Always read the assumptions section — growth and usage guesses dominate TCO variance.

***

### Alerts & Narratives

* **Cost alert thresholds** — save thresholds Jane/cost services can evaluate.
* **Billing spike / anomaly narrative** — natural-language explanation of infrastructure expenditure spikes.
* **Capacity & Anomaly Detection** — smart advisory helpers for cost optimization.

***

## 🪙 Cost Features & Dashboards

### 1. Pre-Deploy Cost Estimation

* Estimates monthly spend directly from canvas resource specs (instance types, storage gigabytes, node counts).
* Helps cloud architects estimate TCO before clicking **Deploy**.

### 2. Deployed Resources Cost Cards

* Surfaces estimated spend breakdown per tracked cloud resource on **Operations → Deployed Resources**.
* Spot underutilized resources or over-provisioned instance sizes.

<figure><img src="/files/gXR0SbISLvsW4t2kIiZQ" alt="Jane AI Cost Estimation Dashboard"><figcaption><p>Figure 1: Jane AI Infrastructure Cost Estimation &#x26; Advisory</p></figcaption></figure>

### 3. Ask Jane Cost Advisory

* Ask Jane for recommendations on instance right-sizing, reserved instance savings, or storage tiering optimizations.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.infraglide.com/jane-ai-copilot/cost-optimization.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
