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

# Metrics

> Chart spend, requests, error rate and latency in the dashboard, split by model kind, model, API key, workspace and member.

The **Metrics** page charts what a workspace or the whole account spends and how its requests go. Use it to find which model, key or person drives the cost, and to spot a rise in errors or latency.

## Before you begin

Admins and members with the Billing role see Metrics. A member sees it only for the workspaces they administer; see [Roles](https://docs.naga.ac/account/organizations.md#roles).

Metrics open on the workspace you're in. The **All workspaces** tab shows the whole account, and **This workspace** goes back.

## Pick a period and filters

1. Open **Workspace → Metrics**.
2. Pick a period from 15 minutes to 30 days.
   Periods in days count whole UTC calendar days, today included.
3. Optional: filter the page by API key, model, workspace, or member.

## Read the totals

The top of the page adds up every model kind. The charts and tables are listed in the order they appear:

| Part | What it shows |
| - | - |
| Totals | Spend, requests, error rate, and the number of models used |
| **Spend by type** | Spend stacked by chat, image, video, and the other model kinds |
| **Requests by outcome** | Requests split into successes and errors |
| A tab per model kind, the costliest first | That kind's spend, requests, error rate and latency, with time to first token where it's measured. Chat adds a tokens chart. |
| **Usage by unit** | How much of each billed unit the kind used and what it cost: text tokens, images, seconds of video or audio, characters of speech, and search calls |
| Spend by model, API key, and model publisher | Where the money went. Select a model or a key to open its requests in [Logs](https://docs.naga.ac/account/logs.md). |

## Split spend by workspace and member

On the account's Metrics, spend splits by workspace when the account has several. Once keys come from more than one person, it splits by member too. Each request counts as follows:

* A request with a key counts in the workspace the key is in now, and for the person who created the key.
* A key with no person behind it counts as **No owner**. That's a [workspace key](https://docs.naga.ac/account/workspaces.md#choose-who-owns-a-key), a key whose creator left, or a key made before keys recorded who created them.
* The Playground sends requests without a key, so they count in the workspace they were made in and show as **Playground** in the member list.

## See also

* [Logs](https://docs.naga.ac/account/logs.md): open the single requests behind a chart.
* [Check balance and spending with the API](https://docs.naga.ac/account/balance-and-activity.md): the same totals for your own reports.
* [Budgets and policies](https://docs.naga.ac/account/budgets-and-policies.md): cap what a workspace or a person spends.


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