> For the complete documentation index, see [llms.txt](https://docs.hivel.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hivel.ai/ai-adoption/hivel-surge-ai-roi-dashboard-overview/recovery-r-money-you-could-have-saved.md).

# Recovery (R) — Money you could have saved

The Recovery pillar quantifies waste and surfaces opportunities to reduce spend without cutting capability. It identifies four distinct waste categories:

* **Zombie Sessions** — AI agent runs that produced no commits or output
* **Idle Licenses** — seats paid for but never used in the period
* **Stale Code** — AI-generated lines that were committed but never merged or immediately reverted
* **Model Misselection** — sessions where an expensive model was used for tasks a cheaper alternative handles equally well

See total recoverable spend across your organization and drill down to the team and model level. Compare accepted versus rejected AI-generated code to measure output quality and spot teams struggling with AI integration. This pillar transforms abstract "waste" into concrete dollar figures.

**Key metrics:**

* Total Recoverable — aggregate savings potential across all waste categories
* Productive vs. Recoverable Spend — stacked view showing real output versus waste, by team or model
* AI LOC Accepted vs. Not Accepted — lines of code generated but rejected, with cost visibility
* Recovery Opportunity Map — treemap visualization showing waste distribution by category and team

<figure><img src="https://3057781534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5KAIOUWph0JLSgQqbzyT%2Fuploads%2FRZfeMGTNVZYQkKs9Q5te%2FScreenshot%202026-07-15%20at%205.02.05%E2%80%AFPM.png?alt=media&amp;token=c321402f-6f2e-4d42-8a29-4798488c581b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3057781534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5KAIOUWph0JLSgQqbzyT%2Fuploads%2FAZkoqSiSGElFjcwb8zli%2FScreenshot%202026-07-15%20at%205.04.04%E2%80%AFPM.png?alt=media&amp;token=b855e9d6-0ba1-4eba-8315-214b079fefa6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3057781534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5KAIOUWph0JLSgQqbzyT%2Fuploads%2FT4frYOiFzwaUF2u1OKdg%2Fimage.png?alt=media&amp;token=445624b1-c867-4878-8d7e-e84f3c8a7e3c" alt=""><figcaption></figcaption></figure>
