---
url: https://docs.mochiexec.io/reference/cli/mochi_ai_usage.md
description: Show your Mochi gateway usage and credits
---

# mochi ai usage

Show your Mochi gateway usage and credits

## Synopsis

Shows how much of your license's included AI you have used, and the rate limit. For usage through your own provider keys, see `mochi ai usage local`.

```shell
mochi ai usage [flags]
```

## Options

| Flag | Type | Description |
|------|------|-------------|
| `-h, --help` |  | help for usage |
| `-o, --output` | `string` | Output format: text or json (default "text") |

## Options inherited from parent commands

| Flag | Type | Description |
|------|------|-------------|
| `-L, --log-level` | `string` | Log verbosity level (debug, info, fatal) (default "info") |
| `--sync` |  | Sync flow cache and workspaces |

## See also

* [mochi ai](mochi_ai.md) — Describe, explain, and diagnose executables with AI
* [mochi ai usage local](mochi_ai_usage_local.md) — Show AI usage recorded on this machine
