Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
include_byok_in_budgets | Optional[bool] | ➖ | Whether BYOK (bring-your-own-key) inference spend counts toward this guardrail’s limit_usd, in addition to OpenRouter credit spend. Defaults to false. | false |
limit_usd | OptionalNullable[float] | âž– | Spending limit in USD. Must be provided together with reset_interval: a request that sets only one of the two is rejected with a 400. | 50 |
reset_interval | OptionalNullable[components.GuardrailInterval] | âž– | Interval at which the limit resets (daily, weekly, monthly) | monthly |