dome quotas
Cap spend, tokens, or calls for workspace, agent, act-as, pool, model, Gateway, and tool subjects
dome quotas is the single command group for every usage cap in the active workspace. Model, tool, and Gateway quotas used to live on separate groups; they now share this surface.
| Command | |
|---|---|
| List quotas | dome quotas list |
| Set quota | dome quotas set --subject <kind> --limit <amount> |
| Update quota | dome quotas update <quota-id> |
| Remove quota | dome quotas rm <quota-id> |
Each quota has a subject (what it covers) and a dimension (which traffic it meters). Dimension is usually implied by --subject:
| Subject | Implied dimension | Typical units |
|---|---|---|
workspace, agent | all (model + tool) | dome_usd |
model, pool, gateway, act-as | llm | dome_usd, provider_usd, tokens, calls |
tool | tool | dome_usd, calls |
Pass --dimension only when a subject is valid on more than one dimension. Create is insert-only for each subject identity, dimension, and window pair. Subject and unit cannot change after create.
List quotas
dome quotas list
dome quotas list --dimension llm
dome quotas list --gateway prod-toolsList quotas in the active workspace with subject, dimension, unit, limit, window, usage, and enforcement state. Alias: ls.
| Flag | Type | Default | Description |
|---|---|---|---|
--dimension | string | — | Only list one dimension: all, llm, or tool |
--gateway | string | — | Only list caps on one Gateway (name or id) |
gateways.view.Set quota
dome quotas set --subject <kind> --limit <amount>Create a spend, token, or call cap. The Gateway either spills routing for an exhausted model budget or rejects traffic when a total cap is reached.
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--subject | string | Yes | — | workspace, agent, act-as, pool, model, gateway, or tool |
--dimension | string | No | implied | all, llm, or tool — usually implied by --subject |
--unit | string | No | dome_usd | dome_usd (what you spend with Dome), provider_usd (an estimate of the upstream model bill), tokens, or calls. The two dollar units are different money. |
--limit | string | Yes | — | US dollars for a dollar unit (e.g. 500 or 12.50); a whole count for tokens or calls |
--window | string | No | monthly | daily or monthly |
--name | string | No | — | Human-readable label |
--model | string | Conditional | — | Model connection name (--subject model) |
--pool | string | Conditional | — | Pool name (--subject pool, or to scope a model quota to one pool) |
--agent | string | Conditional | — | Agent name or id (--subject agent) |
--act-as | string | Conditional | — | Verified end-user OIDC subject (--subject act-as) |
--gateway | string | Conditional | — | Gateway name or id (--subject gateway) |
--tool | string | Conditional | — | One MCP tool as <connection>/<tool>, e.g. github/create_issue (--subject tool) |
--per-caller | bool | No | false | Apply the limit independently to each agent and verified end user (--subject model only) |
--disabled | bool | No | false | Create without enforcing until enabled |
gateways.manage.dome quotas set --subject workspace --limit 5dome quotas set --subject agent --agent bot --limit 1 --window dailydome quotas set --subject model --model gpt-4o --limit 500 --dimension llm# Caps claude-sonnet spend inside the production pool at $1000/month.
# When exhausted, the pool spills to the next member.
dome quotas set \
--subject model --model claude-sonnet --pool production \
--limit 1000 --window monthlydome quotas set --subject gateway --gateway prod-tools --limit 500 --window monthly --name prod-monthlydome quotas set --subject tool --tool github/create_issue --unit calls --limit 100The Gateway picks up a new quota on its next configuration sync.
Update quota
dome quotas update <quota-id> --limit 750
dome quotas update <quota-id> --enabled=falseUpdate a quota's name, limit, window, or enforcement state. Its subject and unit cannot change. --window has no default: an unset flag leaves the window unchanged.
| Flag | Type | Description |
|---|---|---|
--name | string | New label |
--limit | string | New limit, interpreted in the quota's existing unit |
--window | string | daily or monthly |
--enabled | bool | Enable or disable enforcement |
Pass at least one flag.
gateways.manage.Remove quota
dome quotas rm <quota-id>Remove a quota by id (from dome quotas list). Aliases: remove, delete.
gateways.manage.