Skip to content

intutic_member_budget Cloud ​

A member's LLM spend budgets per UTC day and month, or the default member budget (member_id = "default"). A member's own budget for a period replaces the default's for that period. Needs a plan with member budgets (Biz Org and up) and the OWNER or ADMIN role. Destroying the resource removes the budgets.

Example Usage ​

terraform
# Every member without a budget of their own: $20 a day, refused past it, and
# $300 a month, alert only.
resource "intutic_member_budget" "default" {
  member_id                  = "default"
  daily_budget_usd           = 20
  monthly_budget_usd         = 300
  monthly_budget_enforcement = "soft"
}

# One member's own month budget replaces the default month budget for them;
# the default day budget still applies.
resource "intutic_member_budget" "lead" {
  member_id          = "mem_0123456789abcdef"
  monthly_budget_usd = 1000
}

Schema ​

Required ​

  • member_id (String) The member whose spend this limits — across the virtual keys they own — or default for the budget every member without their own gets for that period.

Optional ​

  • daily_budget_enforcement (String) hard (the default): the proxy refuses a request the rest of the day budget does not cover, with 429 BUDGET_EXCEEDED. soft: the budget only raises alerts.
  • daily_budget_usd (Number) Spend the member may run up per UTC day, in USD (above 0, at most 1,000,000). Omit for no day budget.
  • monthly_budget_enforcement (String) hard (the default): the proxy refuses a request the rest of the month budget does not cover, with 429 BUDGET_EXCEEDED. soft: the budget only raises alerts.
  • monthly_budget_usd (Number) Spend the member may run up per UTC month, in USD (above 0, at most 1,000,000). Omit for no month budget.

Read-Only ​

  • id (String) The member id, or default.

Import ​

shell
# Import by member id, or `default` for the default member budget.
terraform import intutic_member_budget.lead mem_0123456789abcdef
terraform import intutic_member_budget.default default

The circuit breaker for AI agents