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

# GuardrailCapacityLimit

## Example Usage

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

let value: GuardrailCapacityLimit = {
  limit: 100000,
  models: "all",
  unit: "tokens",
};
```

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `limit` | *number* | ✔️ | Bucket capacity and per-minute refill rate. | 100000 |
| `models` | *models.Models* | ✔️ | Either `"all"` to cover every model or a non-empty list of exact model slugs. | all |
| `unit` | [models.GuardrailCapacityLimitUnit](../models/guardrailcapacitylimitunit.mdx) | ✔️ | Rate-limit unit: per-minute tokens (`tokens`) or requests (`requests`). | tokens |
