# AI Analyst

How the analyst answers from your ledger and finance records and cites its sources.

AI Spendbook documentation, How it works. Web page: https://www.aispendbook.com/docs/ai-analyst

- It answers by calling tools that query your workspace's ledger, and each answer cites the tool calls and data it used.
- When the data can't answer a question, it says what it couldn't determine instead of guessing.
- Every workspace member can use it, viewers included. It only sees the workspace you are in.
- Each person can send a set number of messages per day, set by the [plan](https://www.aispendbook.com/docs/plans-and-billing). The allowance resets at 00:00 UTC.

## Finance records

Besides spend, usage, budgets and forecasts, the analyst has read-only tools for the finance records. Each tool returns what the matching page computes. No finance figure is computed by the analyst itself.

| Question | What the tool reads |
| --- | --- |
| Is a month ready to close? | Close status: spend, billed against accrual, days without a bill, open variances and what blocks closing. |
| What changed since a month was closed? | Drift against the locked snapshot, provider corrections recorded after the lock, and customers whose allocated spend changed. |
| How accurate were past forecasts? | Recorded forecasts scored against actual spend, and the backtest, by months ahead. |
| Did a recommendation produce savings? | Recommendation decisions with projected and measured savings, and frozen scenarios against actual spend. |
| When do credits run out? | Credit and prepaid balances, the projected exhaustion date and the amount projected to expire unused. |
| List, effective and cash cost | The three cost views by provider and month, with credits applied and commitments. |
| Spend by accounting class | The accounting split of one month with account codes. |
| Margin by customer | Allocated AI spend, revenue and margin per customer, and where total spend went. |
| Cost per accepted outcome | Outcome counts, token cost and non-token cost by kind for one outcome definition. |
| Model change reviews | Cost delta, quality delta per metric, how much evidence there is, and the decision. |
| Would this price work? | A deal evaluation for a customer's usage or for assumptions. It computes only. It saves and changes nothing. |
| Provider corrections | Revised bills and usage in a date range, and which customers' allocated spend they touch. |
| Employee AI tools | Seat cost by tool and department, inactive seats, renewals and overlaps. Emails only for members who can see employee data. |
| Infrastructure | Observed and modelled cost per deployment, cost per request and the same tokens priced on a hosted model. |

## Member limits

- For a member who cannot see revenue, tools that return revenue, margin, contract or deal figures are refused, and the analyst says so.
- For a member limited to projects, tools that take filters are forced to those projects, and tools that report workspace-wide records are refused. The finance tools above are all workspace-wide.
- For a member who cannot see employee data, the subscription tool returns totals only, with no emails or names.
- The limits are described on the [permissions](https://www.aispendbook.com/docs/permissions) page.

## Tables and charts

Every table in an answer has a CSV button, with money in dollars. The CSV holds the rows the tool put in the answer, not the tool's whole dataset. A table with a dollar column also gets a bar chart under it when the answer has no chart of its own.
