# geni usage breakdown

> What spend went on, by member, specialist, resource, category or activity, largest first.

Source: https://docs.generalinput.com/cli/usage/breakdown



```sh
geni usage breakdown --by <group> [flags]
```

| Flag                | Notes                                                                                                                                                                                   |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--by <group>`      | Required. `member`, `team`, `specialist`, `resource`, `category` (AI tokens, machine time, hosted services), `activity`, `model` or `run` (the costliest runs, chats and app sessions). |
| `--specialist <id>` | Only this specialist's spend.                                                                                                                                                           |
| `--resource <id>`   | Only this workflow's, app's or skill's spend.                                                                                                                                           |
| `--metric <metric>` | `credits` (default) or `usage` (runs, operations or AI runtime).                                                                                                                        |
| `--window <window>` | `1d`, `2d`, `3d`, `7d`, `14d`, `30d` or `90d`, ending now. Default `7d`.                                                                                                                |
| `--from`, `--to`    | A calendar range instead (YYYY-MM-DD, both days included, in `--tz`), such as last month or Q3. At most 93 days.                                                                        |
| `--tz <zone>`       | IANA zone the window's days are cut in. Default: this machine's zone.                                                                                                                   |
| `--member <id>`     | One member's spend, split the same way. Another member's needs usage access.                                                                                                            |
| `--json`            | Print the whole breakdown, its timeline included ([`GET /v1/usage/breakdown`](/api/usage/breakdown)).                                                                                   |

## Output [#output]

```
Usage by category, last 7d (2026-11-20 to 2026-11-27, America/New_York)
Total 1,240.5

CATEGORY        CREDITS  ID
AI token usage  980.2
Machine time    260.3
```

On a plan that doesn't meter credits, it says so and measures in usage. By team it says when someone on several teams makes the rows add up past the total; by run each row names whom it's billed to.
