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

# ~~RateLimit~~ - TypeScript SDK

> ~~RateLimit~~ type definition

<Warning>
  The TypeScript SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/typescript-sdk/issues).
</Warning>

Legacy rate limit information about a key. Will always return -1.

> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible.

## Example Usage

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

let value: RateLimit = {
  interval: "1h",
  note: "This field is deprecated and safe to ignore.",
  requests: 1000,
};
```

## Fields

| Field      | Type     | Required             | Description                             | Example                                      |
| ---------- | -------- | -------------------- | --------------------------------------- | -------------------------------------------- |
| `interval` | *string* | :heavy\_check\_mark: | Rate limit interval                     | 1h                                           |
| `note`     | *string* | :heavy\_check\_mark: | Note about the rate limit               | This field is deprecated and safe to ignore. |
| `requests` | *number* | :heavy\_check\_mark: | Number of requests allowed per interval | 1000                                         |
