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

# anona-compute usage

> Show usage and cost for a billing period

```text theme={null}
Show the organization's usage and cost for a billing period (GET /v1/usage on the gateway):
meters, totals with the part not yet rated, a projection for the current month, and the
most expensive sandboxes.

Browser logins of any role may read usage; API keys need the usage:read scope.
--billing prints the plan, rates and invoices instead (GET /v1/billing): owners and admins,
or keys with billing:read. --json prints the gateway's whole document.
```

## Usage

```text theme={null}
anona-compute usage [flags]
```

## Flags

| Flag | Type | Description |
| - | - | - |
| `--billing` | | show plan, rates and invoices instead (owners, admins, keys with billing:read) |
| `--help`, `-h` | | help for usage |
| `--period` | string | billing period: current or YYYY-MM (default "current") |
| `--top` | int | list this many of the most expensive sandboxes (0 = none) (default 5) |

Global flags (`--api-key`, `--api-url`, `--json`, `--output`, `--profile`, `--request-timeout`, `--verbose`) work on every command; see [anona-compute](https://docs.anonalabs.com/compute/cli/reference/anona-compute.md).


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