---
title: "Unit"
---

## Example Usage

```python
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"`
