GetAiSpend
Shows the monthly LLM spend cap, the key source and the spend (spent, reserved, calls, reset time) of the current and previous UTC month of the central-key LLM gateway.
Examples
Cap and spend of the context's tenant:
octo-cli -c GetAiSpend
Cap and spend of another tenant (system tenant, role AiBudgetAdmin):
octo-cli -c GetAiSpend -t "ai-sandbox"
Options
| Short | Long | Required | Description |
|---|---|---|---|
-t | --tenantId | no | Tenant to read as platform admin (system tenant, role AiBudgetAdmin). Default: the context's own tenant |
Notes
A tenant without a cap reads as key source None: the gateway refuses its central-key calls.
Spent and reserved are the amounts the gateway enforces (its ledger); the reset is the start of the next UTC month.