---
title: "Partition"
---

Partitioning strategy for sorting: "model" (default) groups endpoints by model before sorting (fallback models remain fallbacks), "none" sorts all endpoints together regardless of model.

## Example Usage

```python
from openrouter.components import Partition

# Open enum: unrecognized values are captured as UnrecognizedStr
value: Partition = "model"
```


## Values

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

- `"model"`
- `"none"`
