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

# Unit

## Example Usage

```python theme={null}
from openrouter.components import Unit

# Open enum: unrecognized values are captured as UnrecognizedStr
value: Unit = "image"
```

## Values

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

* `"image"`
* `"megapixel"`
* `"token"`
