> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# GuardrailBudgetPolicyConfig

## Example Usage

```typescript theme={null}
import { GuardrailBudgetPolicyConfig } from "@openrouter/sdk/models";

let value: GuardrailBudgetPolicyConfig = {};
```

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `includeByokInBudgets` | *boolean* | ➖ | 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 |
| `limitUsd` | *number* | ➖ | 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 |
| `resetInterval` | [models.GuardrailInterval](../models/guardrailinterval.mdx) | ➖ | Interval at which the limit resets (daily, weekly, monthly) | monthly |
