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

# rivvr cost

> Infrastructure cost for clusters and models.

What the AWS GPU machines in a cluster cost, and how much of that is counted toward each model. It doesn't cover your full AWS bill. See [costs and billing](https://docs.rivvr.ai/guides/costs-and-billing.md).

| Command | What it does |
| - | - |
| [`summary`](#rivvr-cost-summary) | Totals for a time range: what the cluster cost, its cost per hour, and the cost per million tokens. |
| [`series`](#rivvr-cost-series) | The same numbers as `summary`, split into equal time steps, so you can see how they changed. |

## rivvr cost summary

Totals for a time range: what the cluster cost, its cost per hour, and the cost per million tokens.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr cost summary [flags]
```

```bash Examples theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr cost summary --cluster development --since 24h
rivvr cost summary --cluster development --model hello --since 24h
```

| Flag | Default | Description | | |
| - | - | - | - | - |
| `--from <time>` | | Start time, RFC 3339. Can't be combined with `--since` | | |
| `--model <model>` | | Only this model's share | | |
| `--since <duration>` | | How far back to look, like `30m`, `24h`, or `168h`. Can't be combined with `--from` or `--to` | | |
| \`--step 1m | 1h | 1d\` | | Split the range into steps of this size. Rivvr picks one if you leave it out |
| `--to <time>` | | End time, RFC 3339 | | |

## rivvr cost series

The same numbers as `summary`, split into equal time steps, so you can see how they changed.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr cost series [flags]
```

```bash Example theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr cost series --cluster development --since 24h --step 1h
```

| Flag | Default | Description | | |
| - | - | - | - | - |
| `--from <time>` | | Start time, RFC 3339. Can't be combined with `--since` | | |
| `--model <model>` | | Only this model's share | | |
| `--since <duration>` | | How far back to look, like `30m`, `24h`, or `168h`. Can't be combined with `--from` or `--to` | | |
| \`--step 1m | 1h | 1d\` | | Split the range into steps of this size. Rivvr picks one if you leave it out |
| `--to <time>` | | End time, RFC 3339 | | |


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