> ## 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.

# UpsertWorkspaceBudgetRequest

## Example Usage

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

let value: UpsertWorkspaceBudgetRequest = {
  limitUsd: 100,
};
```

## Fields

| Field                  | Type      | Required             | Description                                                                                                                                                                                                                                                                                                 | Example |
| ---------------------- | --------- | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| `includeByokInBudgets` | *boolean* | :heavy\_minus\_sign: | Whether to include BYOK (bring-your-own-key) spend when enforcing the workspace's budgets. This is a workspace-wide setting: it applies to every budget interval (daily, weekly, monthly, and lifetime), not just the interval being upserted in this request. Omit to leave the current setting unchanged. | true    |
| `limitUsd`             | *number*  | :heavy\_check\_mark: | Spending limit in USD. Must be greater than 0.                                                                                                                                                                                                                                                              | 100     |
