Dome Systems

Quotas

Cap governed spend, tokens, or calls across workspaces, agents, Gateways, pools, models, and tools

A Quota caps governed LLM spend in USD over a daily or monthly window for a workspace, agent, Gateway, pool, or model. Dome rejects or reroutes metered calls when the budget is exhausted.

Refer to Quotas for the enforcement model and subjects. All quota operations use this tool family. All tools require workspace context.

Quotas

dome_quotas_list

List quotas in the active workspace.

ParameterTypeRequiredDescription
dimensionstringNoOnly list one dimension: all, llm, or tool
gatewaystringNoOnly list the caps on one Gateway (name)
Requires gateways.view.

dome_quotas_set

Create a spend, token, or call cap. The subject decides what the cap covers; dimension is usually implied by the subject.

ParameterTypeRequiredDescription
subjectstringYesworkspace, agent, act-as, pool, model, gateway, or tool
dimensionstringNoTraffic metered: all, llm, or tool — usually implied by subject
unitstringNodome_usd (what you spend with Dome — exact, default), provider_usd (an estimate of the upstream model bill), tokens, or calls. The two dollar units are different money.
limit_usdnumberConditionalDollar cap (e.g. 500 or 12.50) — required for dome_usd or provider_usd
limit_tokensnumberConditionalToken cap (whole number) — required for unit=tokens
limit_callsnumberConditionalCall-count cap (whole number) — required for unit=calls
windowstringNoReset window: daily or monthly (default monthly)
namestringNoOptional human-readable label
modelstringConditionalModel connection name (subject=model)
poolstringConditionalPool name (subject=pool, or to scope a model quota to one pool)
agentstringConditionalAgent name or id (subject=agent)
act_asstringConditionalVerified end-user OIDC subject (subject=act-as)
gatewaystringConditionalGateway name (subject=gateway)
toolstringConditionalOne MCP tool as <connection>/<tool>, e.g. github/create_issue (subject=tool)
per_callerboolNosubject=model only: apply the limit independently per agent and per verified end user
disabledboolNoCreate disabled; no enforcement until enabled
Requires gateways.manage.
Per-model in-pool budget (drives spill-over)
{
  "name": "dome_quotas_set",
  "arguments": {
    "subject": "model",
    "model": "claude-sonnet",
    "pool": "production",
    "limit_usd": 1000,
    "window": "monthly"
  }
}
Gateway monthly cap
{
  "name": "dome_quotas_set",
  "arguments": {
    "subject": "gateway",
    "gateway": "prod-tools",
    "limit_usd": 500,
    "window": "monthly",
    "name": "prod-monthly"
  }
}

dome_quotas_update

Update a quota's name, limit, window, or enforcement state. Omitted fields stay unchanged. Subject and unit cannot change.

ParameterTypeRequiredDescription
quota_idstringYesQuota id (from dome_quotas_list)
namestringNoNew human-readable label
limit_usdnumberNoNew spend cap in US dollars (dollar quotas only)
limit_tokensnumberNoNew token cap (tokens quotas only)
limit_callsnumberNoNew call-count cap (calls quotas only)
windowstringNoNew reset window: daily or monthly
enabledboolNoEnable or disable enforcement
Requires gateways.manage.

dome_quotas_remove

Remove a quota by id. Marked destructive.

ParameterTypeRequiredDescription
quota_idstringYesQuota id (from dome_quotas_list)
Requires gateways.manage.

Next steps

  • Set Usage Limits how-to for the full workflow
  • Pools when per-model budgets should spill to the next member
  • Models for the connections quotas cover

On this page

Was this page helpful?