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

# ContextBucket

Restrict to requests whose context length falls in this bucket (`1K`, `10K`, `100K`, `1M`, or `10M`). Exact dataset — cannot be combined with `category` or `language_type`.

## Example Usage

```python theme={null}
from openrouter.operations import ContextBucket

# Open enum: unrecognized values are captured as UnrecognizedStr
value: ContextBucket = "1K"
```

## Values

This is an open enum. Unrecognized values will not fail type checks.

* `"1K"`
* `"10K"`
* `"100K"`
* `"1M"`
* `"10M"`
