# AI Spend

The Spend tab helps you measure the financial metrics of your AI investment by tracking total token consumption, overall expenditure, and the unit cost breakdown of AI-assisted delivery.\
​\
We break down expenditures by tokens, dollar amounts, and team distributions to help engineering leaders understand adoption costs, manage budgets effectively, and monitor the direct cost-efficiency of AI-generated code.

<figure><img src="/files/z3nYTdrxv4HxVs67Ruwy" alt=""><figcaption></figcaption></figure>

#### Total Spend / Total Tokens

&#x20;This chart displays the overall volume of your AI investment. Toggle between By Token to view the total volume of tokens consumed, or By Dollar to view the total estimated financial cost incurred from token consumption within the chosen date range. ​

#### Avg Tokens/Dev

This metric tracks the average number of tokens consumed per developer within the selected time frame, helping you analyze usage patterns and tool adoption across your engineering team. ​

#### Cost/AI PR

This chart helps you understand unit economics by calculating the average cost incurred per pull request. This is calculated by dividing the total cost by the number of merged AI PRs in the selected time range. ​

***

#### Team & Developer Level Breakdown

​ The tables at the bottom of the dashboard provide a comprehensive summary of AI resource allocation. You can toggle between the Teams view and the Developers view to track precisely how your AI investments are distributed across the organization.

* **Users:** The total number of active developers utilizing the AI coding tool within the selected team and date range.
* **Token Used:** The total volume of tokens consumed by the team or individual developer.
* **Avg Tokens/Dev:** The average token footprint per developer to help identify high or low utilization.
* **Cost/AI PR:** The average financial spend incurred per merged AI pull request for that specific cohort.
* **Total Spend:** The total financial cost incurred by the team or individual developer within the chosen date range.


---

# Agent Instructions: 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:

```
GET https://typo.gitbook.io/typo-help-docs/platform/ai-coding/ai-spend.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
